upcoming lobby protocol changes

upcoming lobby protocol changes

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

upcoming lobby protocol changes

Post by aegis »

multiple engine support (added params to OPENBATTLE/BATTLEOPENED)
QUIT on orderly disconnect
sayhooks (HOOK)

modhash added to OPENBATTLE/BATTLEOPENED
User avatar
Stealth870
Posts: 166
Joined: 13 Sep 2004, 00:25

Re: upcoming lobby protocol changes

Post by Stealth870 »

Tell your relative Stealth says Happy Birthday.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: upcoming lobby protocol changes

Post by lurker »

must..not..hook..every..character..
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

lurker wrote:must..not..hook..every..character..
wha?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

uberserver.clan-sy.com on port 8300 for anyone interested in testing
this version does not have multiple engine/version support because it was commented out for normal lobbies to be able to use it properly
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: upcoming lobby protocol changes

Post by lurker »

Can't you hook multiple characters? I'm fighting the urge to have every single character act as a hook.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

it's only one right now, though I could change the command to use a space-separated list...
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: upcoming lobby protocol changes

Post by lurker »

Well uberbot supported multiple hooks. :cry:
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: upcoming lobby protocol changes

Post by koshi »

could we please get proper documentation instead of bits and pieces?
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: upcoming lobby protocol changes

Post by bibim »

So, how are unique IDs gonna be implemented in the new server ? What about just adding a parameter to the ADDUSER command sent by the server ?

The ADDUSER syntax would then just change from

Code: Select all

ADDUSER <username> <country> <cpu>
to

Code: Select all

ADDUSER <username> <country> <cpu> <uniqueId>
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: upcoming lobby protocol changes

Post by lurker »

As long as you're changing the battle protocol, why not add a mod version field? Then we'll be one step closer to having unitsync not append it to the name.
Posts
Posts: 63
Joined: 02 Oct 2007, 04:00

Re: upcoming lobby protocol changes

Post by Posts »

re: uniqueId,
if backwards compatibility is a deterrence, how about a new command/query to fetch it instead.
if you are worried about lobby clients implementing this hack and later wanting to remove/change it, require the bot flag to cut down on the failure.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

I'm actually considering adding a param to LOGIN for new lobby clients to enable some of the protocol features (old lobby clients can function perfectly fine with assumed engine/version and without unique ids)
User avatar
tizbac
Posts: 136
Joined: 19 Jun 2008, 14:05

Re: upcoming lobby protocol changes

Post by tizbac »

Also add modhash & name to UPDATEBATTLEINFO to make that you can change mod without rehosting
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

tizbac wrote:Also add modhash & name to UPDATEBATTLEINFO to make that you can change mod without rehosting
probably not, at least not for now
Posts
Posts: 63
Joined: 02 Oct 2007, 04:00

Re: upcoming lobby protocol changes

Post by Posts »

when we talk about this unique id, we're not talking about the unique id that the client sends to the server on connect right?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

this one will be server-assigned (probably the user's SQL row id)
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: upcoming lobby protocol changes

Post by ZellSF »

has proper banning functions been implemented yet?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: upcoming lobby protocol changes

Post by aegis »

server, battle, or channel?
they've all been in uberserver for a while :)
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: upcoming lobby protocol changes

Post by ZellSF »

battle, so has any client actually allowed to do proper bans yet?
Post Reply

Return to “Engine”