gametechmods

Robot Arena => Discussion => Topic started by: nightcracker on June 24, 2011, 04:33:53 AM

Title: Fix online gameplay?
Post by: nightcracker on June 24, 2011, 04:33:53 AM
I had an idea, if we could find out the protocol of the master server, edit the (probably) hardcoded address of the gameserver that RA2 to our server, code the server then maybe we can play online without hamachi. It probably won't fix the lag, but it's worth a shot.

Anyone?
Title: Re: Fix online gameplay?
Post by: Squirrel_Monkey on June 24, 2011, 04:41:11 AM
No idea what that means but it seems pretty hardwired into RA2 to use Gamespy. (BTW what does the file in the Gamespy folder do?). Anyway, I'm happy with using Tunngle.
Title: Re: Fix online gameplay?
Post by: Scourge of teh Galaxy on June 24, 2011, 04:45:59 AM
I had an idea, if we could find out the protocol of the master server, edit the (probably) hardcoded address of the gameserver that RA2 to our server, code the server then maybe we can play online without hamachi. It probably won't fix the lag, but it's worth a shot.

Anyone?
That's a good idea, but where would we find said protocol?
Title: Re: Fix online gameplay?
Post by: JoeBlo on June 24, 2011, 04:48:35 AM
No idea what that means but it seems pretty hardwired into RA2 to use Gamespy.

What it means it to will correct the second part you said :P

In simple terms, we point the RA2 towards an active server so we can use the in game lobby in multiplayer without having to join Hamatchi severs..

The big advantage to that would be no more dealing with 15 people network limits.. you would be able to fight anyone who clicks Multiplayer (and has the modified game)

I have thought of doing something like this myself.. would be interested to see how far we could get..
Title: Re: Fix online gameplay?
Post by: Squirrel_Monkey on June 24, 2011, 04:50:15 AM
Ah OK, so we must find where it is coded? *Looks*
...
...
...
...
Nope, nothing. (Well I would never find anything)
...
...
...
Line 14557 of the .exe opened in Notepad++ has some stuff on gamespy.
Title: Re: Fix online gameplay?
Post by: nightcracker on June 24, 2011, 04:57:09 AM
I have to do more investigation, but I've done something similar before, with CoD4. The master server was annoyingly often down so I wrote my own. But that server was well-documented and changing to a different masterserver was simply opening the console in-game and changing a CVar.

I guess we'll have to do some emulating and packet sniffing.
Title: Re: Fix online gameplay?
Post by: ACAMS on June 24, 2011, 08:14:08 AM
No idea what that means but it seems pretty hardwired into RA2 to use Gamespy.


NO it doesn't, and I NEVER have installed gamespy since the first time and saw how bad it is. You can launch and play a game directly from the in game console and Tunngle or hamachi is not even needed, tho most people use a router that firewalls them from hosting games, and there is no way around that besides using one modem, and a static IP address.
Title: Re: Fix online gameplay?
Post by: nightcracker on June 24, 2011, 09:31:14 AM
Ah alright, I didn't know that.

NVM on this then  :mrgreen: