Page 1 of 2
Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 16:13
by TradeMark
Yeah could that be like mandatory or something... would be cool to know that... statistically too... and i could concentrate my whining to the right people
there is a lot of inconsistency in the replay formats, its annoying... like modhash, maphash are missing, flags are missing, ranks are missing, modname is filename or modname, never really know, etc
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 16:24
by Auswaschbar
script.txt is not generated by the client lobby, but by the server (lobby, spads, springie ...).
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 17:11
by TradeMark
oh right, but it was before...?
so what we can do about it then... will we just continue this messed up inconsistency? -.-
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 17:21
by Tobi
TradeMark wrote:oh right, but it was before...?
so what we can do about it then... will we just continue this messed up inconsistency? -.-
Yes.
As I said earlier already, the replay just includes the literal script as the engine got it. The script format is just an API to start a Spring game with, and it happens to have a lot of optional / mutually exclusive options. One host (or client, in the past) application may write it one way, another may write it another way, and yet another may leave out a bunch of optional values, like ranks and flags.
If you really *need* it, some data could be written separately into the replay file by Spring (from the default values it uses), but certain other data like flags and ranks are just entirely unknown to the engine unless the host wrote them in the script. In other words, there's no way to have Spring make this data available somewhere, because it simply doesn't have the data.
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 17:55
by TradeMark
Right...
So, how we can change things better then?
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 18:45
by Auswaschbar
You could improve your parser to only use the data available.
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 19:13
by TradeMark
does that give me the missing data... no...
and thats what i already do
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 20:40
by imbaczek
bug lobby/authost devs to include the data you need in the scripts they send out to clients.
Re: Tell what lobby client used in the replay file?
Posted: 27 Mar 2009, 22:24
by TradeMark
gimme the name list

Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 09:15
by Tobi
Yes, what imbaczek suggested is by far the easiest way to get what you want

Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 13:15
by TradeMark
TradeMark wrote:gimme the name list

Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 13:36
by Auswaschbar
Springlobby: BrainDamage
TASClient: noone
SPADS: bibim
Springie: Licho
Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 14:25
by TradeMark
thanks.
Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 15:02
by TradeMark
what is BrainDamage's nick on these forums?
Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 15:43
by rattle
its spawn_retard
Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 16:39
by TradeMark
Thanks, it was "Brain Damage"
Re: Tell what lobby client used in the replay file?
Posted: 28 Mar 2009, 23:21
by MidKnight
rattle wrote:its spawn_retard
ROFL.
Also, I heard Licho is now maintaining TASclient, but you want to check with him about that.
Re: Tell what lobby client used in the replay file?
Posted: 30 Mar 2009, 18:07
by CarRepairer
Licho has always been my go-to guy for delphi questions.
Re: Tell what lobby client used in the replay file?
Posted: 02 Apr 2009, 18:38
by BaNa
MidKnight wrote:Also, I heard Licho is now maintaining TASclient, but you want to check with him about that.
WHAT WHAT it is alive?
Re: Tell what lobby client used in the replay file?
Posted: 02 Apr 2009, 19:08
by zwzsg
Not sure you care about that, but I made an .exe to create single player start scripts for KP.
What info do you want in the script.txt?