Jump to content

xVotemap v1.3.1


ImportBot

Recommended Posts

Originally Posted by Hand-of-Shadow*:

 

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*:

 

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*:

 

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*:

 

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

 

[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

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.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • 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.