First thing you need to do is get a Hex Editing software. I use Notepad++ with the Hex-Editor plugin. Its free and I think its open-source too.
Once you do that, open the Tibia client up in your hex editor.
[RSA Key]
Now you need to do is change the RSA key. Even though this has been posted MANY times, I'll put it here for convenience.
Search for a string and input this.
Now select this WHOLE string of numbers
Code:
124710459426827943004376449897985582167801707960697037164044904862948569380850421396904597686953877022394604239428185498284169068581802277612081027966724336319448537811441719076484340922854929273517308661370727105382899118999403808045846444647284499123164879035103627004668521005328367415259939915284902061793
And replace it with this one.
Code:
109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413
[IP Address]
Now you are ready to change the IP for your client.
Search for this string.
Now you should see lots of IPs directing to cipsoft.com (5 with tibia0x and 5 with login0x as the subdomain). Each one of these IPs are 19 characters long so you need to use an IP for your server that is 19 characters OR LESS.
For this example I will be using tds.tibiafans.com.
Take each IP of tibia0x.cipsoft.com and login0x.cipsoft.com and replace them with your own.
Example:
□ = the hex code "00" for an empy byte.
Before
Code:
tibia05.cipsoft.com□tibia04.cipsoft.com□tibia03.cipsoft.com□tibia02.cipsoft.com□tibia01.cipsoft.com□login05.cipsoft.com□□□login04.cipsoft.com□□□login03.cipsoft.com□□□login02.cipsoft.com□□□login01.cipsoft.com
After
Code:
xxx.xxxxxxxxx.com□□□xxx.xxxxxxxxx.com□□□xxx.xxxxxxxxx.com□□□xxx.xxxxxxxxx.com□□□xxx.xxxxxxxxx.com□□□xxx.xxxxxxxxx.com□□□□□xxx.xxxxxxxxx.com□□□□□xxx.xxxxxxxxx.com□□□□□xxx.xxxxxxxxx.com□□□□□xxx.xxxxxxxxx.com
The IP address you can type in normally in the string portion, but the □ must be written in the hex part as 00 (one byte is two hex characters, and 1 string character is a byte)
[Port]
After that is done we can change the port.
Search for the hex code
Only the 03 1c part is the port so you can ignore b9 now.
The tricky part is that tibia reverses the order it reads the bytes for the port, so if you plug 1c 03 into the calculator and convert it to decimal format it becomes 7171.
So lets say I want to change the port to 8000. I open up the calculator in scientific mode, type in 8000, then click hexidecimal and I get the number 1F 40. Now we reverse this and it becomes 40 1F. Just type that in and your all set.
Verifying
If you want to check to verify its connecting to the right port/ip address, try to connect to the server and while its trying to connect open up the command prompt and type "netstat -a" without the quotes. Verfy that Ip address and port (there is a long list, you need to find it) is showing correctly.
[Unique Map and Config]
Open up a String search and look for
Once you find it you should see
The first part "Automap" is the FOLDER where the map saves go inside the user documents whatever directery (differs per OS). You can't change that it saves in that location, but you can change the folder in that location.
The second part "Tibia.cfg" is the config file that gets saved in the same location as the Automap folder.
If we use "TDS1map" and "TDS-1.cfg" as the names then the String gets turned into
Once you change all that you want/need you can save your client (WHILE IN HEX MODE) and you should be able to run it!
IF I HELP YOU GIVEMESOME REP+ ^_^