Tell what lobby client used in the replay file?

Tell what lobby client used in the replay file?

Requests for features in the spring code.

Moderator: Moderators

User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Tell what lobby client used in the replay file?

Post 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 :wink:

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?

Post by Auswaschbar »

script.txt is not generated by the client lobby, but by the server (lobby, spads, springie ...).
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

oh right, but it was before...?

so what we can do about it then... will we just continue this messed up inconsistency? -.-
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Tell what lobby client used in the replay file?

Post 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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

Right...

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?

Post by Auswaschbar »

You could improve your parser to only use the data available.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

does that give me the missing data... no...

and thats what i already do
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Tell what lobby client used in the replay file?

Post by imbaczek »

bug lobby/authost devs to include the data you need in the scripts they send out to clients.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

gimme the name list ;)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Tell what lobby client used in the replay file?

Post by Tobi »

Yes, what imbaczek suggested is by far the easiest way to get what you want :P
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

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?

Post by Auswaschbar »

Springlobby: BrainDamage
TASClient: noone
SPADS: bibim
Springie: Licho
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

thanks.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

what is BrainDamage's nick on these forums?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Tell what lobby client used in the replay file?

Post by rattle »

its spawn_retard
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Tell what lobby client used in the replay file?

Post by TradeMark »

Thanks, it was "Brain Damage"
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Tell what lobby client used in the replay file?

Post 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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Tell what lobby client used in the replay file?

Post by CarRepairer »

Licho has always been my go-to guy for delphi questions.
BaNa
Posts: 1562
Joined: 09 Sep 2007, 21:05

Re: Tell what lobby client used in the replay file?

Post 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?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Tell what lobby client used in the replay file?

Post 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?
Post Reply

Return to “Feature Requests”