GameService Beta versions

Every Podheads know the meaning of this section
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

NicoDE a écrit :I tell the game about my "router" by generating a GS.bin with a custom tool.
For the record, I do :
ifconfig eth0 add 207.212.235.17

Which redirects pod requests to my local server.
Avatar de l’utilisateur
NicoDE
Messages : 32
Inscription : 09 sept. 2004 14:59
Localisation : Germany
Contact :

Re: GameService Beta versions

Message par NicoDE »

Dfg a écrit :Interest : high , spare time : low. :-)
Welcome to the club ;)
Dfg a écrit :I'm fairly experienced in linux development [...]
I'm open for any advices and templates.
(my virtual server is still on Hardy and my desktop on Wheezy)
Dfg a écrit :For the record, I do :
ifconfig eth0 add 207.212.235.17
Many thanks for the hint.

Are there any open questions regarding the library/protocol that I should try to answer first?
Else I would continue to work on the third connection component (the library reconnects to the IP/port returned in the CreateSession/JoinSession reply - like the ConnectionRequest to a server(arena)).
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

NicoDE a écrit :Are there any open questions regarding the library/protocol that I should try to answer first?
Else I would continue to work on the third connection component (the library reconnects to the IP/port returned in the CreateSession/JoinSession reply - like the ConnectionRequest to a server(arena)).
I'm always interested in more information about the protocol, though I don't have precise questions right now.

But I have enough material to play with.
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

Hi NicoDE,

I'm a bit puzzled. When sending the "74" success reply, I need to force the size of the message to 12 instead of 16 (12 bytes of data ; 4 bytes of header). Otherwise, POD does not enter the "Arena" screen.

Any idea ?

Edit: Forget about this, it was a really dumb bug :-) It now works fine.
Avatar de l’utilisateur
NicoDE
Messages : 32
Inscription : 09 sept. 2004 14:59
Localisation : Germany
Contact :

Re: GameService Beta versions

Message par NicoDE »

Not much spare time on last weekends, but in the meantime I published a small tool to decode/encode a GS.bin (normally written by the game when the router list is received).

http://svn.nicode.net/podgsbin/

POD's built-in default is:

Code : Tout sélectionner

UserName
Password
1
UBI SF
UBI SF
207.212.235.17
18723
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

Woot ! That will be useful. Btw, it compiles like a charm under linux.

I had some time to work on the router / server (I'd like to keep with one program for both the server and router) and things are progressing. I'll certainly setup a github project at some point.

Edit : I thought it was decoding / encoding the gs.dll file. What is exactly the gs.bin file ? I cannot find this file anywhere...
Avatar de l’utilisateur
NicoDE
Messages : 32
Inscription : 09 sept. 2004 14:59
Localisation : Germany
Contact :

Re: GameService Beta versions

Message par NicoDE »

Dfg a écrit :I had some time to work on the router / server (I'd like to keep with one program for both the server and router) and things are progressing.
Sounds good. Is there anything I can help you with?

(I think there is no urgent need to split the router/server/session logic. In my test application all three use the same port :)).
Dfg a écrit :What is exactly the gs.bin file ?
It is created/rewritten in the game directory when POD receives a reply to the GetRouterList message.

The game uses it to fill the initial connection (router) list screen and to prefill the username/password.
Might be useful to change the IP address (or port) the game is using for the connect (without adding the default IP to your network interface).

ps: sample screenshot attached
Pièces jointes
podgsbin sample screenshot
podgsbin sample screenshot
podgsbin.png (125.04 Kio) Consulté 11406 fois
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

Ok, I think I get it. I'll give it a try.
Avatar de l’utilisateur
Lazarus
Administrateur
Messages : 668
Inscription : 23 juil. 2003 11:40
Localisation : Tampere (Suomi)
Contact :

Re: GameService Beta versions

Message par Lazarus »

Wow, I just stumbled upon this thread!

If you manage to get a working GS server, my server will be more than happy to host it ;)
Avatar de l’utilisateur
Rob
Messages : 2876
Inscription : 20 juil. 2003 18:30
Localisation : Une fois la Belgique deux fois !
Contact :

Re: GameService Beta versions

Message par Rob »

Go go Dfg/NicoDE ! Image Image Image

:GROUINK:
Avatar de l’utilisateur
NicoDE
Messages : 32
Inscription : 09 sept. 2004 14:59
Localisation : Germany
Contact :

Re: GameService Beta versions

Message par NicoDE »

Maybe I should try to fix the performance (input lag) issues first :)
(I'm currently implementing a "V-Sync" loop to give POD more time to handle input events)
Avatar de l’utilisateur
Rob
Messages : 2876
Inscription : 20 juil. 2003 18:30
Localisation : Une fois la Belgique deux fois !
Contact :

Re: GameService Beta versions

Message par Rob »

NicoDE a écrit :Maybe I should try to fix the performance (input lag) issues first :)
(I'm currently implementing a "V-Sync" loop to give POD more time to handle input events)
You're the one ! Image
Avatar de l’utilisateur
Dfg
Messages : 968
Inscription : 20 juil. 2003 14:29
Localisation : Là bas dans les montagnes

Re: GameService Beta versions

Message par Dfg »

I wish I had time to work on this, but it's currently ... not the case.

Still, I'm not giving up on this :-)
Répondre