erjin999 Posted February 1, 2011 Share Posted February 1, 2011 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 65551verchk 7936 6553 6lobcount 7936 (927573611xxxxxxxxx)whereto tibsun tibpass99 7936 65536 031507233699xxxxxxxxQUIT: 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: 607CVERS 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 NONREQLIST -1 31SETCODEPAGE 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 1252SETLOCALE 0 SQUADINFO 0 GETINSIDER erjin999 TIME: 310 u 0 : 439 : 399 u erjin999`0 : 391 u irc.westwood.com :1290599816CLICKING CUSTOMGETBUDDY : 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 GAMELIST -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 HOSTPART #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 GAMEQUIT : 607 PAGING SOMEONEPAGE 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 Quote Link to comment Share on other sites More sharing options...
sjleo Posted February 2, 2011 Share Posted February 2, 2011 Excellent news!!!Than we can help you? Quote Link to comment Share on other sites More sharing options...
erjin999 Posted February 3, 2011 Author Share Posted February 3, 2011 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. Quote Link to comment Share on other sites More sharing options...
Sean Posted February 13, 2011 Share Posted February 13, 2011 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. :) Quote Link to comment Share on other sites More sharing options...
erjin999 Posted February 14, 2011 Author Share Posted February 14, 2011 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! Quote Link to comment Share on other sites More sharing options...
Sean Posted February 24, 2011 Share Posted February 24, 2011 Excellent, glad you were able to find it useful!I'm not much of a C developer but, I could certainly assist.If you use msn, feel free to give me a shout - sean at typ0 dot org Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.