Jump to content

Emperor Server and Client Log


erjin999

Recommended Posts

Find below the log of the communication between server and client when a client (game) joins the server.

This is a "one client log" in that I only connected to the server with the one client at a time. Much better to test multiple clients at once to see how they interact.

Most of the detailed and difficult communication actually happens directly between the clients (games) and not through the server. This is certainly true of the game when it starts.

With this information I have managed to create a server that allows logging in and hosting a game reliably. Please note the "code" below is not formatted well here and is much more readable in the attached document which I will make available on my webpage.

-----

LOGGING IN
¬verchk 32512 65551
verchk 7936 6553 6
lobcount 7936 (927573611xxxxxxxxx)
whereto tibsun tibpass99 7936 65536 031507233699xxxxxxxx
QUIT
: 610 u 1
: 605 u :xwis.net 4000 '0:Emperor' -8 36.1083 -115.0582
: 608 u :xwis.net 4900 'Gameres server' -8 36.1083 -115.0582
: 607

CVERS 11015 7936 PASS supersecret NICK erjin999 apgar UcIsaFDa 0 SERIAL 031507233699xxxxxxx USER UserName HostName irc.westwood.com :RealName verchk 32512 720911 SETOPT 17,33
: 375 u :- Welcome to XWIS! : 372 u :- : 372 u :- 10 players (EBFD: 1, Nox: 9) are online : 372 u :- : 372 u :- Register your serials at xwis.net/control_panel/ to manage your nicks and clans. : 376 u : 379 u :none none none 1 32512 NONREQ
LIST -1 31
SETCODEPAGE 1252
: 321 u: : 327 u #Lob_31_0 0 0 388 : 327 u #Lob_31_1 0 0 388 : 327 u #Lob_31_2 0 0 388 : 323 u: : 329 u 1252
SETLOCALE 0 SQUADINFO 0 GETINSIDER erjin999 TIME
: 310 u 0 : 439 : 399 u erjin999`0 : 391 u irc.westwood.com :1290599816

CLICKING CUSTOM
GETBUDDY : 333 u LIST -1 31 : 321 u: : 327 u #Lob_31_0 0 0 388 : 327 u #Lob_31_1 0 0 388 : 327 u #Lob_31_2 0 0 388 : 323 u:

HOSTING A GAME
LIST -1 31 : 321 u: : 327 u #Lob_31_0 0 0 388 : 327 u #Lob_31_1 0 0 388 : 327 u #Lob_31_2 0 0 388 : 323 u: JOINGAME #erjin999 1 4 31 3 1 0 0 :erjin999!u@h JOINGAME 1 99 31 1 0 1545405593 0 :#erjin999 : 332 u #erjin999 : : 353 u = #erjin999 :@erjin999,0,1545405593 : 366 u #erjin999 : TOPIC #erjin999 :g1.2..erjin999 GETLOCALE erjin999 : 309 u erjin999`0 GETCODEPAGE erjin999 : 328 u erjin999`1252

ENDING A HOST
PART #erjin999 GETBUDDY :erjin999!u@h PART #erjin999 : 333 u LIST -1 31 : 321 u: : 327 u #Lob_31_0 0 0 388 : 327 u #Lob_31_1 0 0 388 : 327 u #Lob_31_2 0 0 388 : 323 u:
QUITTING THE GAME
QUIT : 607 PAGING SOMEONE
PAGE erjin999 :hello LIST 31 31 :erjin999!u@h PAGE u :hello : 389 u 0 : 321 u: : 323 u: PAGE tom :hello LIST 31 31 : 389 u 1 : 321 u: : 323 u:

1.conversation.doc

Link to comment
Share on other sites

Sorry about the delay in replying. I also want to have the source code and supporting stuff uploaded soon too.

I havent worked on this for about a month and a half or so, and thats not good.

The best type of people who could help are programmers who know what they are doing. I have hacked my was this far. So anyone out there good with ANCI C who can help will be gratefully received.

I think with a few more weeks of work the basic server could be up and running with nothing other then joining hosts and starting games. As soon as I get a bit of free time I will upload the files I used to get this far.

Link to comment
Share on other sites

  • 2 weeks later...

I think this may help you. I've documented a good portion of the WOL Game Server; obviously it may differ from Tiberian Sun but, most of the protocol should be relatively the same. :)

Ah wow Sean. Thanks for that. Very well laid out and easy to understand website.

The protocol seems identical from what I have seen. I will post my code so far and hope some saints can help with that too!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...