Client / Server Version checks

General assistance and guidelines for editing the server side of Soma.

Client / Server Version checks

Postby Tiffany » Tue Feb 26, 2008 11:19 am

Please note: the version information is send in plain text and therefore is only useful for general version check to inform the user and/or a server file updating program that the server had altered versions and they should update.

Client to 1per1 version checks.
Had a request to allow a Euro220 + Korean patched client K232 to connect to a oneperone.exe.

Latest uncompressed client packet trace from after User/password revealed:
0000 AA 55 06 00 FD B1 04 00 00 01 55 AA .U........U.


A comparison with a Korean patched client 232 showed:
0000 AA 55 06 00 FD CB 00 00 00 01 55 AA .U........U.


I opened Euro1per1.exe using ollydebug and found the following comparison:
00477582 |. 51 PUSH ECX
00477583 |. 57 PUSH EDI
00477584 |. E8 A7FDF8FF CALL Euro-1P1.00407330
00477589 |. 83C4 10 ADD ESP,10
0047758C |. 81FD B1040000 CMP EBP,4B1
00477592 |. 884424 18 MOV BYTE PTR SS:[ESP+18],AL
00477596 |. 74 47 JE SHORT Euro-1P1.004775DF
00477598 |. 8D5424 10 LEA EDX,DWORD PTR SS:[ESP+10]
0047759C |. 8DBE B8480000 LEA EDI,DWORD PTR DS:[ESI+48B8]


I did the same with another oneperone.exe which was wanted to support the korean client_232.

The difference being - Changed :
0047758C |. 81FD C8000000 CMP EBP,0C8

to
0047758C |. 81FD CB000000 CMP EBP,0CB


Using these general notes you can change the client server exe's t oany version you like to inform the user that a new client is needed... or perhaps someone can develop an update application so the server can download a new client if it finds an old one.
Tiffany
SD Pro 2 Star
SD Pro 2 Star
 
Posts: 428
Joined: Sat Jan 12, 2008 1:17 pm

Re: Client / Server Version checks

Postby Miser » Tue Feb 26, 2008 2:33 pm

Nice work :mrgreen:
Image
User avatar
Miser
SD Four Star
SD Four Star
 
Posts: 255
Joined: Sun Feb 24, 2008 9:06 pm
Location: Bristol

Re: Client / Server Version checks

Postby roachee » Thu Dec 30, 2010 7:09 pm

is there anyway i can make a esoma 1p1 work with remix's client for example?
[url=http://www.points2shop.com/?ref=uin1304533051[url]
User avatar
roachee
SD Pro 1 Star
SD Pro 1 Star
 
Posts: 410
Joined: Mon Jun 07, 2010 2:26 pm


Return to Server Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron