Jump to content

xVotemap v1.3.1


ImportBot

Recommended Posts

Originally Posted by Hand-of-Shadow*:

 

  mtnkodiak* said:

Well, I have to assume not. Our server is already running the new maps in preparation for tomorrow, and I am getting the following:

 

[16:53:31 09] [xVotemap] Info: Current gamemode is not recognised: TankSuperiority0

 

So, for those that are comfortable editing the source, I reckon following the directions above will probably clear up this particular problem.

 

--

EDIT: No, I don't think that it will cover all the bases. The addition of "Superiority" to the ConvertGamemodeToShorthand() method is certainly needed, but to get rid of the error I am getting, change the line in SetVoteStartAndEndTimes() that says

 

if (m_strCurrentGameMode.Contains("Conquest") || m_strCurrentGameMode.Contains("DeathMatch") || m_strCurrentGameMode.Contains("Domination"))

 

and add Superiority to it:

 

if (m_strCurrentGameMode.Contains("Conquest") || m_strCurrentGameMode.Contains("DeathMatch") || m_strCurrentGameMode.Contains("Domination") || m_strCurrentGameMode.Contains("Superiority"))

 

Disclaimer: These are all guesses! I don't have any players on the server yet to test this. All I know at this point is that I no longer see the error message. YMMV!

works it?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 959
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    960

Originally Posted by mtnkodiak*:

 

  Hand of Shadow* said:

works it?

I'm not sure. It gets rid of the error in the log, but I just saw it report that the winning vote was Alborz mountain tank superiority, but the map that was loaded was death Valley squad rush. :-( I think the TS mode breaks it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hand-of-Shadow*:

 

  mtnkodiak* said:

Well, I have to assume not. Our server is already running the new maps in preparation for tomorrow, and I am getting the following:

 

[16:53:31 09] [xVotemap] Info: Current gamemode is not recognised: TankSuperiority0

 

So, for those that are comfortable editing the source, I reckon following the directions above will probably clear up this particular problem.

 

--

EDIT: No, I don't think that it will cover all the bases. The addition of "Superiority" to the ConvertGamemodeToShorthand() method is certainly needed, but to get rid of the error I am getting, change the line in SetVoteStartAndEndTimes() that says

 

if (m_strCurrentGameMode.Contains("Conquest") || m_strCurrentGameMode.Contains("DeathMatch") || m_strCurrentGameMode.Contains("Domination"))

 

and add Superiority to it:

 

if (m_strCurrentGameMode.Contains("Conquest") || m_strCurrentGameMode.Contains("DeathMatch") || m_strCurrentGameMode.Contains("Domination") || m_strCurrentGameMode.Contains("Superiority"))

 

Disclaimer: These are all guesses! I don't have any players on the server yet to test this. All I know at this point is that I no longer see the error message. YMMV!

change Superiority in TankSuperiority becouse bf3.def?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hand-of-Shadow*:

 

Here a working TEST-Version

 

http://procon.h--o--s.net/xVotemap/xVotemap.cs

 

NEW VERSION !!!!

 

sry for my bad english

 

// 09-13-2012

 

- Sourcecode cleaning

- works with no-AK-Maps

- Correct display from maps + mods > XP1 Pack ( CQ-L ) other modes in the future.......

- Correct display from maps + mods with the option "Exclude Current Map From Options"

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by alexlive1076*:

 

I tested it, too... Autobalance does not work unfortunately

 

// EDIT: Sorry, i was in hurry... Not Autobalance... i meant the autostart of voting

 

i allways got the message that the voting has started in plugin console, but nothing was shown in chat ...

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumpyNutZ*:

 

Any advice with this

 

Code:

[12:19:00 95] [xVotemap] Error: Exception Caught while trying to remove current map, continuing without removing =\
[12:19:00 95] [xVotemap] Error: Object reference not set to an instance of an object.
[12:19:01 04] [xVotemap] Error: Exception caught in SortMapList, continuing without proper map order =\
[12:19:01 06] [xVotemap] Error: Object reference not set to an instance of an object.
[12:19:01 19] [xVotemap] Error: Exception caught in GenerateMapOptions
[12:19:01 19] [xVotemap] Error: Failed to compare two elements in the array.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hand-of-Shadow*:

 

  LumpyNutZ* said:

Any advice with this

 

Code:

[12:19:00 95] [xVotemap] Error: Exception Caught while trying to remove current map, continuing without removing =\
[12:19:00 95] [xVotemap] Error: Object reference not set to an instance of an object.
[12:19:01 04] [xVotemap] Error: Exception caught in SortMapList, continuing without proper map order =\
[12:19:01 06] [xVotemap] Error: Object reference not set to an instance of an object.
[12:19:01 19] [xVotemap] Error: Exception caught in GenerateMapOptions
[12:19:01 19] [xVotemap] Error: Failed to compare two elements in the array.
your maplist. txt ?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dasSofa*:

 

I got the Error

 

  Quote

[13:35:42 10] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[13:35:42 10] [xVotemap] Error: Object reference not set to an instance of an object.

My Maplist.txt
  Quote

XP3_Desert ConquestLarge0 2

XP3_Alborz ConquestLarge0 2

XP3_Shield ConquestLarge0 2

XP3_Valley ConquestLarge0 2

But anyway, it works !
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by nepabigdog*:

 

I tried it and it seems to work, I just upgraded to the new version that I just saw and will try that one out too, but what I did notice is that I think the Randomness is messed up, I am running only Armor maps and when the vote comes up it displays only two sets of maps with there gametype, I would like to see more maps displayed in the vote other than just two. I have the vote open to 6 to choose from but only see two maps to choose from. 1 through 3 would be like valley and 3 through 6 would be like desert with different gametypes, but before the upgrade I used to get a mix of maps.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by movedgoalposts*:

 

I'm a bit of a numpty when it comes to things like this, and really don't understand the code going on behind the scenes so don't know what to troubleshoot.

 

I'm running AK Conquest Large maps. I've uploaded Hand of Shadows votemap file to my Procon layer host and restarted that, but I don't think that supports AK maps yet. I'm seeing the same errors as LumpyNutz.

 

Any ideas welcomed, or, if this plugin is no longer supported, are there suggestions of an alternative map voting system?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by nepabigdog*:

 

What you have to do is use Hand of Shadow link, click on this below:

 

http://procon.h--o--s.net/xVotemap/xVotemap.cs

 

1. Click link above

2. Highlight everything and copy

3. Then open up a copy of your current xVotemap.cs file (If you don't want to lose what's in this file back up your current xVotemap.cs first).

4. Then Delete everything in your current xVotemap cs file

5. Paste what you copied from Hand of Shadow link

6. Save file

7. Then FTP file to your procon layer, restart procon layer

8. You should be good to go.

 

This will work for all gametypes and maps

 

This is what I did..

 

Bigdog

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by movedgoalposts*:

 

Thanks, but that is what I did yesterday.

 

I'm now suspicious that my issue may be with the hosted layer service, rather than just the plugin. When I look at the file dates and size via ftp on the hosted layer service, I can see many are much older than those running locally on my PC client. I can't see a way to force a layer hosting service update remotely as I only have ftp access through a GSP's control panel that allows restart or the ftp file management.

 

I've just managed to find reference to the BF3.def file in procon's configs folder and am hoping that upload of that to the layer host and restart will achieve something. Otherwise I'll have to contact my GSP to make sure the PRocon Layer host is current.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by nepabigdog*:

 

Yes, I would make sure your procon layer is shutdown and then use FTP to move your files and then start back up, if you still see an issue with older versions on your procon layer then definitely submit a ticket with your GSP.

 

Bigdog

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by movedgoalposts*:

 

Wohoo, changing the bf3.def file to the current one on my layer hosting has made Hand of Shadow's votemap file* work correctly with Armoured Kill :smile:

 

bf3.def simply copied from my recently updated local PC procon client to the layer hosting service via ftp and restarted that host.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mondo100*:

 

Hi im using the Hand of Shadow version and i have updated the BF3.def.

 

im getting the following error and it wont build the map options.

 

any help would be apreciated thanks

 

[13:35:53 88] [xVotemap] Error: Exception caught in SortMapList, continuing without proper map order =\

[13:35:53 88] [xVotemap] Error: Object reference not set to an instance of an object.

[13:35:53 95] [xVotemap] Error: Exception caught in GenerateMapOptions

[13:35:53 95] [xVotemap] Error: Failed to compare two elements in the array.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

suggestion :

 

voting banner options display in this manner :

 

/1 (0) Gulf of Oman /2 (0) Strike at Karkand

/3 (0) Sharqi peninsula /4 (0) Wake Island

 

player A : /1

player B : /1

player c : /2

 

 

/1 (2) Gulf of Oman /2 (1) Strike at Karkand

/3 (0) Sharqi peninsula /4 (0) Wake Island

 

 

player D : /1

player E : /3

player F : /4

 

/1 (3) Gulf of Oman /2 (1) Strike at Karkand

/3 (1) Sharqi peninsula /4 (1) Wake Island

 

thank you for updating the plugin :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hand-of-Shadow*:

 

ok by which map comes the error msg ?

 

or select in the xvote options the debug level 5 und log all and copy the log in a txt file and poste this here // sry for my eng

 

Mondo100 > contact me on battlelog

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Sabn0ck*:

 

It seems to work on my servers, except the Tank Superiority mode doesn't show in poll options in-game.

example:

/1 Death Valley[CQ] /2 Operation 925[CQD]

/3 Armored Shield /4 Operation Metro[CQ]

 

 

/3 Being the Tank Superiority mode.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mondo100*:

 

Thanks for Hand of Shandows. he was Very helpfull in getting this working. my issue was there were no options showing for map votes. after i updated the bf3.def and his new version of the map vote it then worked perfectly.

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.