TribesNext

Welcome, Guest. Please login or register.
Did you miss your activation email?


TribesNext >  TribesNext.com Forums >  Support >  Server Support >  Does anyone know what this number means? « previous next »
Pages: [1] Print
Author Topic: Does anyone know what this number means?
Infernus
Nugget
Posts: 12

View Profile
January 29, 2018, 10:40:52 PM »
I setup a Renegades server and see this number at the end of the server name but not sure what it means. The number seems to increase as well. Does anyone know what it means?

Infernus
Nugget
Posts: 12

View Profile
1: January 30, 2018, 12:44:08 PM »
Today the number is different. Anyone know what this number is for?

Krash
Administrator
Posts: 257

View Profile
2: January 30, 2018, 01:27:51 PM »
The mod, or a script, is appending that to your $Host::GameName/$ServerName variable for whatever reason.  Couldn't really say why without seeing the script or knowing the author's intent, but I'd figure they'd put in a setting to disable it somewhere... if it can't be found, you should be able to just reset it with $ServerName = $Host::GameName; after the server loads (assuming it's only appending it on startup).

Infernus
Nugget
Posts: 12

View Profile
3: January 30, 2018, 11:52:31 PM »
I figured it out. It was Tricon2. When staying connected to the server via telnet using Tricon2, it was trying to re-push the server name to the prefs at the same time the server was running. This was duplicating the server name, hence the [2], [3] and [4] numbers following the server name on the list of servers. I restarted the server and disconnected Tricon2 and could no longer reproduce the issue.
Infernus
Nugget
Posts: 12

View Profile
4: January 31, 2018, 08:42:13 AM »
Well, nevermind. The issue came back after a few hours. Back to square one.
Infernus
Nugget
Posts: 12

View Profile
5: February 05, 2018, 09:45:57 AM »
Update on this.

ChocoTaco found that the number appears to increase each time a player connects to the server. I was able to confirm and reproduce this but I don't understand why someone would want this to appear in the public server list. It would be better to have player connection count appear in a log that only admins can view.

Ruled out Tricon 2 as the cause.

Isolated the cause to something in the Renegades mod but unable to diagnose further because Renegades comes already compiled with DSOs.

Next step is to try a work around.
Thyth
Apotheosis Incarnate

Posts: 798

View Profile
6: February 05, 2018, 01:20:46 PM »
You could probably look at the DSO files themselves to narrow down which one is responsible. Variable names (including globals) should be visible in the string tables. If you find the DSO that contains "Host::GameName", that might give you some indication of where it is, and if you can unload the particular file that causes it without disrupting much else.

Normally player connection events are handled by server.cs -- it would be strange to have that be a DSO for a mod. Even if it's a DSO, you should be able to use a package hook to restore the original server name on the player object connection/disconnection functions.

Oh, you might also be able to edit the DSO (carefully) to change that global reference to a different variable (e.g. "Host::FameName"), so the writes still occur, but not to the variable that actually controls the network protocol visible name of the server.
« Last Edit: February 05, 2018, 01:22:28 PM by Thyth »

Sarcastic, narcissistic, genius, resurrecting the game with brilliant strokes of wizardry.
Pages: [1] Print 
« previous next »
Jump to:  

irc.quakenet.org / #TribesNext Powered by SMF  © Simple Machines