• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Next question about new client make

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
665
Hello
I was put the right RSA to my OTserv and Client and all it's OK.
But now i edited the protocol in c++ the line:
"Only clients with protocol 8.54 can enter"

and I have a question when i change the:
#define CLIENT_PROTOCOL "854"

to (my custom client v1.05)
#define CLIENT_PROTOCOL "105"

Where i need to change it in Client ? (i mean what line in Hex editor or something)
 
@Cyko
Don't even suggest that, about 95% of the people of this forum(or more) wouldnt even know how to work on assembly xD

@Ontopic
Sorry, dunno how to help you :(
 
I can't be arsed to test if it works but here's a couple of positions to point your hexeditor at:
0x15E83 : change 68 67 03 00 00 to: 68 64 00 00 00 (0x367 = 871, 0x64 = 100)
0x16812 : same as above, if above doesn't work
0x111040: same as above, if up doesnt work
 
didn't find anything, so not sure if it can be done with simple hex

maybe you have to do asm edit :p:p
Wow! something that Cyko doesn't know but i do! *Proud* ^_^ it can be changed with Hex Editor, but not with XVI32 since its a int16 value and you can't see such things in that sucky hex editor :ninja:
 
Back
Top