• 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!

[Help] Custom Client Only (Latest TFS)

justin234

New Member
Joined
Jan 22, 2008
Messages
999
Reaction score
4
How can I make it to where ONLY my custom client is allowed?
Currently, Anyone can log in, and they will debug...
I've added custom spites/outfits/items that I made.

Can Someone tell me how to do it step by step?
Dont just say 1 "Keyword."


Thanks A lot!

Regards,
Justin.
 
B...
U...
M...
P...

This is URGENT.
My Server Is Currently an Asset,
Soon, It'll be a liability.

Please Help Someone?
 
I don't think it's possible, you'd have to change the version number in the client, and set the server to only accept that version number. But I'm not sure if you can change the version number by hex editing the client?
 
In sources you need to change:
Code:
#define CLIENT_VERSION_MIN 821
#define CLIENT_VERSION_MAX 822

For example, we'll take new version for our client = 8.44
So in sources use:
Code:
#define CLIENT_VERSION_MIN 844
#define CLIENT_VERSION_MAX 844

Ok, thats all from server side ^^

Now, you need to open tibia client, with any hex editor. (Im using - XVI32)

For 8.21 client, you need go to addresses:
15CF6 <- this is sent when player request char list (login)
16386 <- this one is sent when player is login to game world

How it will look:
hex_edit.jpg


821, in HEX = 335. Thats why standard there is 35 03.

We want to have client with version 844.

We'll use HEX-DEX converter:
HEXADECIMAL to BINARY conversion, HEX to Decimal converter, Hexdecimal convertor

Ok then, after converting, we know that 34C in hex = 844 version.

Now we need this value in client (simple yea? ;p)
35 03 -> need to be changed for 4C 03.

Same with char login at address 16386.

I hope you understand my bad english.. ;s
 
I can't find the

#define CLIENT_VERSION_MIN 821
#define CLIENT_VERSION_MAX 822

part on TFS Mystic spirit, please help.

Also , could you point the address on the client 8.22 please.

Thanks
 
In TFS Mystic Spirit, you need to find this:
if(version < 830)

and change to:

if(version < 830 && version != 844)

8.22
in HEX = 336. 36 03 <- you need to find this.
 
Sorry, but what do I have to fin on the client? 36 03? I found like 5 matches, how do I know which one is? Thanks

EDIT:
Nevermind, I figured out. Thanks.
 
Last edited:
In sources you need to change:
Code:
#define CLIENT_VERSION_MIN 821
#define CLIENT_VERSION_MAX 822

For example, we'll take new version for our client = 8.44
So in sources use:
Code:
#define CLIENT_VERSION_MIN 844
#define CLIENT_VERSION_MAX 844

Ok, thats all from server side ^^

Now, you need to open tibia client, with any hex editor. (Im using - XVI32)

For 8.21 client, you need go to addresses:
15CF6 <- this is sent when player request char list (login)
16386 <- this one is sent when player is login to game world

How it will look:
hex_edit.jpg


821, in HEX = 335. Thats why standard there is 35 03.

We want to have client with version 844.

We'll use HEX-DEX converter:
HEXADECIMAL to BINARY conversion, HEX to Decimal converter, Hexdecimal convertor

Ok then, after converting, we know that 34C in hex = 844 version.

Now we need this value in client (simple yea? ;p)
35 03 -> need to be changed for 4C 03.

Same with char login at address 16386.

I hope you understand my bad english.. ;s

i have done that if(version < 844) and all client 8.44 + can connect to my server how to do that only my custom client can connect?(i mean if some1 will change those things at their normal tibia client they can still connect to ots)
 
Last edited:
how to do that only your client can connect to ur ots ? because if(version < 830 && version != 844) not working all clients can connect i have done that if(version < 844) and all client 8.44 + can connect to my server how to do that only my custom client can connect?

there is no 8.44 clients :D just your custom
 
Back
Top