Multiplayer Access To Games

Experiencing a technical issue or bug with Hidden & Dangerous 2, discuss it here and ask for help.
User avatar
TungSol
Private
Posts: 4
Joined: Sat Nov 10, 2012 6:28 am

Re: Multiplayer Access To Games

Unread post by TungSol » Tue Nov 13, 2012 9:57 am

I think the new serverlist might not work...at least it didnt for me...or no one at all is online, which would seem unusual...

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: Multiplayer Access To Games

Unread post by Marvin (hun) » Tue Nov 13, 2012 4:43 pm

SWAT4 also down? OMG. It's the end of the world... shit. SWAT4 is the other best tactical game after HD2. The only solution what I can see is to use Tunngle for creating and joining servers.

Lars
Commando
Posts: 876
Joined: Wed Sep 08, 2004 9:37 pm

Re: Multiplayer Access To Games

Unread post by Lars » Tue Nov 13, 2012 6:56 pm

hd2 mp nearly dead .. own hdd site dead .. 21.12.2012 can come now :twisted:

SQDN LDR Ted Striker
Private
Posts: 20
Joined: Fri Apr 25, 2008 9:32 pm

Re: Multiplayer Access To Games

Unread post by SQDN LDR Ted Striker » Tue Nov 13, 2012 10:52 pm

it's not the end of the world ;)

User avatar
TungSol
Private
Posts: 4
Joined: Sat Nov 10, 2012 6:28 am

Re: Multiplayer Access To Games

Unread post by TungSol » Wed Nov 14, 2012 5:10 am

I wouldnt say its dead, but lack of consistency in the servers definitely doesnt help...haha...also of all the games I've played, it seems some HD2 Adims are very quick to kick players (maybe they are new?) and likely turns off players that would likely want to play...sometimes you need to cut people some slack if you want to have enough people to play :mrgreen:

User avatar
Jason
Administrator
Posts: 1895
Joined: Thu Sep 02, 2004 7:26 pm
Location: Perth, Australia
Contact:

Re: Multiplayer Access To Games

Unread post by Jason » Wed Nov 14, 2012 7:39 am

Lars wrote:hd2 mp nearly dead .. own hdd site dead .. 21.12.2012 can come now :twisted:
:shock: do you have a backup? I will host it for you.

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: Multiplayer Access To Games

Unread post by Marvin (hun) » Fri Nov 16, 2012 12:11 pm

Stupid question: Is there any chance to setting a new master server+modifying the IP in the game?
I have no better idea, just to start the servers with using Tunngle.

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: Multiplayer Access To Games

Unread post by Marvin (hun) » Mon Nov 19, 2012 1:38 pm

I found this part in the exe of sabre: "%s.master.gamespy.com" If someone setting up a new master server, the best would be to change this line in the exe to the correct address :))))

User avatar
JonnySniper
Lieutenant
Posts: 101
Joined: Thu Dec 24, 2009 11:33 am
Location: Germany
Contact:

Re: Multiplayer Access To Games

Unread post by JonnySniper » Mon Nov 19, 2012 6:01 pm

208.88.178.49 is IP for Gamespy Protocol as far as i know :mrgreen:

User avatar
betteryouthanme
Lieutenant
Posts: 116
Joined: Thu Jun 12, 2008 1:37 pm
Location: Germany
Contact:

Re: Multiplayer Access To Games

Unread post by betteryouthanme » Tue Nov 20, 2012 12:15 pm

JonnySniper wrote:208.88.178.49 is IP for Gamespy Protocol as far as i know :mrgreen:
If i enter the ip, my browser leads me to X-Fire website?

However, how does such a protocol look like?

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: Multiplayer Access To Games

Unread post by hdmaster » Tue Nov 20, 2012 7:51 pm

The master server for H&D2 is "hd2.master.gamespy.com" which resolves to the IP address "69.10.30.248". The server used to authorize clients (CD-Key etc.) is "hd2.ms14.gamespy.com" (69.10.30.247).

Here's a small documentation on the Gamespy Protocol I: https://dl.dropbox.com/u/32112219/gamespy.doc. However H&D2 uses version 2 which looks like this http://int64.org/docs/gamestat-protocols/gamespy2.html. But still, a lot of info in the doc applies to the new one, too.

A initial heartbeat from a H&D2 server that wants to be registered by the master server looks like the following:

Code: Select all

0000   03 17 16 db 77 6c 6f 63 61 6c 69 70 30 00 31 39  ....wlocalip0.19
0010   32 2e 31 36 38 2e 32 2e 31 30 34 00 6c 6f 63 61  2.168.2.104.loca
0020   6c 70 6f 72 74 00 31 31 30 30 34 00 6e 61 74 6e  lport.11004.natn
0030   65 67 00 30 00 73 74 61 74 65 63 68 61 6e 67 65  eg.0.statechange
0040   64 00 33 00 67 61 6d 65 6e 61 6d 65 00 68 64 32  d.3.gamename.hd2
0050   00 68 6f 73 74 6e 61 6d 65 00 48 26 44 20 32 20  .hostname.H&D 2 
0060   53 45 52 56 45 52 00 67 61 6d 65 76 65 72 00 31  SERVER.gamever.1
0070   2e 31 32 00 68 6f 73 74 70 6f 72 74 00 31 31 30  .12.hostport.110
0080   30 31 00 6d 61 70 6e 61 6d 65 00 41 66 72 69 63  01.mapname.Afric
0090   61 31 00 6e 75 6d 70 6c 61 79 65 72 73 00 30 00  a1.numplayers.0.
00a0   6d 61 78 70 6c 61 79 65 72 73 00 33 32 00 67 61  maxplayers.32.ga
00b0   6d 65 6d 6f 64 65 00 30 00 67 61 6d 65 74 79 70  memode.0.gametyp
00c0   65 00 44 65 61 74 68 6d 61 74 63 68 00 69 73 64  e.Deathmatch.isd
00d0   65 64 69 63 61 74 65 64 00 31 00 70 61 73 73 77  edicated.1.passw
00e0   6f 72 64 00 30 00 76 6f 69 63 65 63 68 61 74 00  ord.0.voicechat.
00f0   30 00 65 78 70 61 6e 73 69 6f 6e 00 31 00 00 00  0.expansion.1...
0100   00 70 6c 61 79 65 72 5f 00 73 63 6f 72 65 5f 00  .player_.score_.
0110   64 65 61 74 68 73 5f 00 70 69 6e 67 5f 00 74 65  deaths_.ping_.te
0120   61 6d 5f 00 00 00 01 74 65 61 6d 5f 74 00 73 63  am_....team_t.sc
0130   6f 72 65 5f 74 00 00 61 78 69 73 00 30 00        ore_t..axis.0

User avatar
JonnySniper
Lieutenant
Posts: 101
Joined: Thu Dec 24, 2009 11:33 am
Location: Germany
Contact:

Re: Multiplayer Access To Games

Unread post by JonnySniper » Wed Nov 21, 2012 10:19 am

hdmaster wrote:The master server for H&D2 is "hd2.master.gamespy.com" which resolves to the IP address "69.10.30.248". The server used to authorize clients (CD-Key etc.) is "hd2.ms14.gamespy.com" (69.10.30.247).
not 100% correct :)
this is the protocol for a Server-Info...this contains Players, Points, Port etc.
but to load a list of all hd2 Servers is a different adress....
i tried it with "Wireshark" months ago...
I saw that Hd2 connects to 208.88.178.49 and receive a big ca.700bytes Protocol in TCP.
after this it starts to load each Server-Info with 69.10.30.248 in UDP.

Sadly you cannot see a succesfull protocol becouse of gamespy, but i wrote a thread about this months ago in GS forum,
but the homepage inc Forum is down :sad:

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: Multiplayer Access To Games

Unread post by hdmaster » Wed Nov 21, 2012 4:36 pm

Yes, the second link I posted describes only the client <-> gameserver communication. However I'm sure the IPs are correct, I've tested them several times using Wireshark, too, and a host to ip info: http://www.hcidata.info/host2ip.cgi. But maybe they depend also on your location.
You're also right that the protocol used by Gamespy for master server queries is TCP. Here's a screen of Wireshark of what's going on when I press the refresh button in H&D2. 192.168.2.104 is my IP behind my router and 69.10.30.247 is the master server.

Image

The first query (after handshake, 4th packet) contains all the parameters H&D2 wants to know for each server listed on the master server. The query itself is, I guess, ALWAYS the same, despite the "Ghfg0Vhq" that is actually a generic key, which is created using a quite simple algorithm . I think the master server validates this key and uses it also for the encryption of the response. Here's the query:

Code: Select all

0000   00 92 00 01 03 01 00 00 00 68 64 32 00 68 64 32  .........hd2.hd2
0010   00 47 68 66 67 30 56 68 71 00 5c 68 6f 73 74 6e  .Ghfg0Vhq.\hostn
0020   61 6d 65 5c 67 61 6d 65 6d 6f 64 65 5c 67 61 6d  ame\gamemode\gam
0030   65 74 79 70 65 5c 6d 61 70 6e 61 6d 65 5c 6e 75  etype\mapname\nu
0040   6d 70 6c 61 79 65 72 73 5c 6d 61 78 70 6c 61 79  mplayers\maxplay
0050   65 72 73 5c 68 6f 73 74 70 6f 72 74 5c 69 73 64  ers\hostport\isd
0060   65 64 69 63 61 74 65 64 5c 67 61 6d 65 76 65 72  edicated\gamever
0070   5c 70 61 73 73 77 6f 72 64 5c 76 6f 69 63 65 63  \password\voicec
0080   68 61 74 5c 65 78 70 61 6e 73 69 6f 6e 00 00 00  hat\expansion...
0090   00 00                                            ..
Now here's the encrypted response from the master server (6th packet)

Code: Select all

0000   ef 00 00 01 e1 95 68 1a 10 f2 b6 af 06 0b 04 d5  ......h.........
0010   99 5c 11 2e 1c f0 b7 71 f6 40 b2 ae 65 74 b3 2e  .\.....q.@..et..
0020   eb e2 74 f3 ab c0 e9 37 18 0c 41 a6 eb 87 15 ef  ..t....7..A.....
0030   d1 3b 75 9d 21 77 eb e9 2f e5 52 08 53 3c cf a2  .;u.!w../.R.S<..
0040   6a f9 f8 70 c1 05 74 6a 39 d5 8a 3e 5d bf b6 77  j..p..tj9..>]..w
0050   38 e3 d8 62 3f 62 db 91 d8 bd 8f 47 5a 0f 1a 0f  8..b?b.....GZ...
0060   8d 8a 08 f9 d6 23 9e 77 a5 65 43 51 e2 77 dd 41  .....#.w.eCQ.w.A
0070   f4 b4 0f f6 10 ea 10 f3 39 eb 03 c7 bc 79 8e 78  ........9....y.x
0080   cc 94 0c 19 f7 e2 b4 65 f6 85 0d 79 f4 c4 fb 6e  .......e...y...n
0090   e9 e5 0d 7a 43 bc 64 a5 0c 97 8d 1c              ...zC.d.....
Using OllyDbg I can easily trace what's going on and what the decrypted message is. This is the result:

Code: Select all

0000   EF 00 00 01 E1 95 68 1A 10 F2 B6 AF 06 0B 04 D5  ï..á•hò¶¯Õ
0010   50 83 FB AE 19 64 0C 00 68 6F 73 74 6E 61 6D 65  Pƒû®d..hostname
0020   00 00 67 61 6D 65 6D 6F 64 65 00 00 67 61 6D 65  ..gamemode..game
0030   74 79 70 65 00 00 6D 61 70 6E 61 6D 65 00 00 6E  type..mapname..n
0040   75 6D 70 6C 61 79 65 72 73 00 00 6D 61 78 70 6C  umplayers..maxpl
0050   61 79 65 72 73 00 00 68 6F 73 74 70 6F 72 74 00  ayers..hostport.
0060   00 69 73 64 65 64 69 63 61 74 65 64 00 00 67 61  .isdedicated..ga
0070   6D 65 76 65 72 00 00 70 61 73 73 77 6F 72 64 00  mever..password.
0080   00 76 6F 69 63 65 63 68 61 74 00 00 65 78 70 61  .voicechat..expa
0090   6E 73 69 6F 6E 00 00 00 FF FF FF FF              nsion...ÿÿÿÿ
All values are 0 (the first 0 delimits the parameter from its value) -> No servers found

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: Multiplayer Access To Games

Unread post by Marvin (hun) » Sat Dec 01, 2012 6:01 pm

Greeting Fans,

- Check out this page: http://www.nomandown.com/hd2/servers/
- Install HD2-Connector at the bottom of the page
- after install/start you can join from the site

Thanks to BenRIPclan for the info.

ShiningPanther
Private
Posts: 6
Joined: Mon Dec 17, 2012 6:12 pm

Re: Multiplayer Access To Games

Unread post by ShiningPanther » Mon Dec 17, 2012 6:30 pm

Hey,
after i found out there are other options to still connect to H&D2 servers ive tried them, because ive set up a server by my own on which i had played with my friends some months ago. We stopped for a while and now wanted to play again but as you all may know, we couldnt find the servers anymore.
So ive been googling and found out that its possible to connect with entering the IP. We have tried it but it wouldnt work. So we found the "HD2 connector" tool from nomandown. Since it always crashes when i try to start it, i asked my friends to try it. When they tried to connect to my server, it wouldnt work, but connectiong any other server would work.
I also have added my server to the list wich is put online and the website created it there. I just don know why the website could take the information like servername, max. players and so on, but my friends couldnt connect.

Im playing on win7, 64bit home premium, i have changed nothing on my firewall settings sonce we stopped playing on the server i hosted, so i dont know why they cant connect.
If you want to know anything more, just ask :)
ShiningPanther

Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests