ServerInfo mutator

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
This mutator will add some up-to-date info to the server name (see also http://forums.tripwireinteractive.com/showthread.php?t=76551).
It will add:

  • Current active mutators
  • Number of human players and number of bots
The server name will look like:
My RO2 Server -[AL,BD,DMR (12/2/32)]-

This will mean that
- AL --> AntiLag
- BD --> BotDetonator
- DMR --> DynamicMapRotator
are active.
Also are there 12 human players and 2 bots. The server has 32 slots.


The mutator can be downloaded here: http://dl.dropbox.com/u/54368035/ServerInfo/ServerInfo.zip


Place both ini files in the ROGame\Config folder on your server. The .u file goes in the cookedpcfolder.

Note:
I could not yet test it on a public server, and have no idea when the server name is updated in the server browser. That part need still be tested.

Edit:
This mutator is not yet white-listed.

 
Last edited:

LordGleedo

FNG / Fresh Meat
Jul 18, 2010
800
74
0
Bucks, England
www.theoldgitsarmy.com
Just tried it for you Ducky.

The server name (at least for me) does not change in the server browser. WebAdmin reports the name expected as per your notes.

EDIT : Also just tried changing map from webadmin ensuring the mutator is in that command line. Also still no server name change.
 
Last edited:

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
This mutator will add some up-to-date info to the server name (see also [url]http://forums.tripwireinteractive.com/showthread.php?t=76551[/URL]).
It will add:

  • Current active mutators
  • Number of human players and number of bots
The server name will look like:
My RO2 Server -[AL,BD,DMR (12/2/32)]-

This will mean that
- AL --> AntiLag
- BD --> BotDetonator
- DMR --> DynamicMapRotator
are active.
Also are there 12 human players and 2 bots. The server has 32 slots.


The mutator can be downloaded here: [url]http://dl.dropbox.com/u/54368035/ServerInfo/ServerInfo.zip[/URL]


Place both ini files in the ROGame\Config folder on your server. The .u file goes in the cookedpcfolder.

Note:
I could not yet test it on a public server, and have no idea when the server name is updated in the server browser. That part need still be tested.

Edit:
This mutator is not yet white-listed.


Will it list all mutators (tanktweak) as well as the ones you posted?
 

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
The changes don't show on the browser,but they do show up on the Welcome screen.

 
Last edited:

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
I think the problem is that the browser takes the server name from the .ini and this can only be changed when the server is stopped.
Only this part is showing in the WebAdmin server name section -[(12/2/32)]-

Edit: oh wait, i restarted the server and the full info is showing in the WebAdmin = -[TT(0/0/32)]- but their are no changes in the .ini
 
Last edited:

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Just tried it for you Ducky.

The server name (at least for me) does not change in the server browser. WebAdmin reports the name expected as per your notes.

EDIT : Also just tried changing map from webadmin ensuring the mutator is in that command line. Also still no server name change.

Yeah :(. It seems as if the original server name is cached somewhere. Haven't figured out yet to bypass that.

I think the problem is that the browser takes the server name from the .ini and this can only be changed when the server is stopped.
Only this part is showing in the WebAdmin server name section -[(12/2/32)]-

Edit: oh wait, i restarted the server and the full info is showing in the WebAdmin = -[TT(0/0/32)]- but their are no changes in the .ini

I don't think that the server browser will take the server name from the ini files. I did some testing on this and it looks like the server will push his server name and ip to some steam server during server startup. That is before any mutators are loaded. I suspect that the server browser actually uses those cached server names, meaning they aren't aware of any server name change. I'm trying to figure out how to push a changed name into that cache, but no luck so far.

If you are in a game and you press the ESC button (to go to the pause menu), then at the top center of that screen you will see the server name and also the stuff that the mutator adds to it. So that part together with the welcome screen is working. But would be nice if it would also work in the server browser.

Will it list all mutators (tanktweak) as well as the ones you posted?

Yes, it does work with all mutators. Also mutators that have not yet been made. What it does is looking at the mutator name and then pick out all caps from that name to create the ID.
In the welcome screen all mutators will be listed with there full name. In the server name only the caps will be shown. Also can mutators be hidden in the server name by adding there name in the ini file of the server info mutator.
The welcome screen does not show any info about the number of actual players and the number of bots. If requested, then it will be easy too be added.

Any suggestions would be more than welcome.

PS: Can't put my sources online trough my SVN server, because the LAN router broke. Have a new one already, but struggling with a persistent NAT table.