prlucas / openhelbreath

Automatically exported from code.google.com/p/openhelbreath
0 stars 1 forks source link

LoginServer does not work properly on 64bit machines. #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Run LoginServer on 64bit machine
2. Register GameServer.
3. See "TOTAL: 0" in received configs.

The problem is - as far as I know - in packet headers. I used to sent Lh which 
means unsigned long + short. We all know that on 64bit machines long = 8 bytes, 
and on 32bit its 4bytes which is correct. Possible solution is to rename all Lh 
to Ih. For better compatibility with longer packets use '<IH' format.

Original issue reported on code.google.com by Drajwer@gmail.com on 29 Jun 2010 at 11:56