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
Tell what lobby client used in the replay file?
Moderator: Moderators
Tell what lobby client used in the replay file?
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
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
-
Auswaschbar
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Tell what lobby client used in the replay file?
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?
oh right, but it was before...?
so what we can do about it then... will we just continue this messed up inconsistency? -.-
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?
Yes.TradeMark wrote:oh right, but it was before...?
so what we can do about it then... will we just continue this messed up inconsistency? -.-
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?
Right...
So, how we can change things better then?
So, how we can change things better then?
-
Auswaschbar
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Tell what lobby client used in the replay file?
You could improve your parser to only use the data available.
Re: Tell what lobby client used in the replay file?
does that give me the missing data... no...
and thats what i already do
and thats what i already do
Re: Tell what lobby client used in the replay file?
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?
gimme the name list 
Re: Tell what lobby client used in the replay file?
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?
TradeMark wrote:gimme the name list
-
Auswaschbar
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Tell what lobby client used in the replay file?
Springlobby: BrainDamage
TASClient: noone
SPADS: bibim
Springie: Licho
TASClient: noone
SPADS: bibim
Springie: Licho
Re: Tell what lobby client used in the replay file?
what is BrainDamage's nick on these forums?
Re: Tell what lobby client used in the replay file?
its spawn_retard
Re: Tell what lobby client used in the replay file?
Thanks, it was "Brain Damage"
Re: Tell what lobby client used in the replay file?
ROFL.rattle wrote:its spawn_retard
Also, I heard Licho is now maintaining TASclient, but you want to check with him about that.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Tell what lobby client used in the replay file?
Licho has always been my go-to guy for delphi questions.
Re: Tell what lobby client used in the replay file?
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?
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?
What info do you want in the script.txt?
