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

How to use ip changer in tibia 12

drakylucas

Intermediate OT User
Joined
Dec 15, 2015
Messages
235
Solutions
7
Reaction score
121
Hello everyone,

after updating my TFS to the current code in master branch, it's saying I need the client with protocol 12.85 to connect (and that's fine, I really want to use tibia 12 instead of 10.98).
but, in the client side, how can I use an ip changer to connect into it?

I configured my oracle VPS (from How to get FREE VPS from Oracle Cloud (https://otland.net/threads/how-to-get-free-vps-from-oracle-cloud.279318/#post-2686356)) following this steps: SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu (https://otland.net/threads/simple-all-in-one-from-nothing-to-a-fully-working-dedicated-server-on-ubuntu.212117/)

It was working fine with Tibia 10.98. So I tried to change the branch to "master" instead of "1.4" (trying to update to Tibia 12)
The above tutorial makes use of Znote AAC, which should work with Tibia 12 protocol.
Is there any tool that is working with Tibia 12.85?
the IP must be with X characters? (I see somewhere that's 17 or 19, I don't know).

Also, the current tibia is on version 12.86. Is there any official link to download the 12.85 version (same needed in TFS)?


Some tutorials that I saw said to change the login.url and service.url to "http://127.0.0.1/login.php", but I'm trying to connect in a not-local server (already hosted in my VPS), what should I change?
This IP Changer - Releases · nekiro/OTIPChanger (https://github.com/nekiro/OTIPChanger/releases/) - crashed when I tried to change my IP to the VPS one (also adding /login.php).

Thanks and best regards!!
 
Solution
Skip even bothering with an ip-changer, it's dead for years ever since 8 series.
enter https://tibia.com
download their latest client
edit the client with notepad++
OBS!
while editing, make sure to use INSERT mode.
point it towards your login.php (Website) so http or https://youripordomain.com/login.php


If you're using znote acc, make sure to edit config.lua and config.php parts.
That's pretty much it. Now you have an client pointed towards your server
Skip even bothering with an ip-changer, it's dead for years ever since 8 series.
enter https://tibia.com
download their latest client
edit the client with notepad++
OBS!
while editing, make sure to use INSERT mode.
point it towards your login.php (Website) so http or https://youripordomain.com/login.php


If you're using znote acc, make sure to edit config.lua and config.php parts.
That's pretty much it. Now you have an client pointed towards your server
 
Solution
Skip even bothering with an ip-changer, it's dead for years ever since 8 series.
enter https://tibia.com
download their latest client
edit the client with notepad++
OBS!
while editing, make sure to use INSERT mode.
point it towards your login.php (Website) so http or https://youripordomain.com/login.php


If you're using znote acc, make sure to edit config.lua and config.php parts.
That's pretty much it. Now you have an client pointed towards your server
Hi, thanks for the quick answer.

How can I edit Tibia.exe with notepad? I opened it on notepad++ but I couldn't find any place pointing to "login.php" or similar text. What should I find/replace?
 
Hi, thanks for the quick answer.

How can I edit Tibia.exe with notepad? I opened it on notepad++ but I couldn't find any place pointing to "login.php" or similar text. What should I find/replace?
Notepad ++ not notepad
Ctrl + F
search for: tibia.com
 
Thank you!

I could do it.

For other people having the same problem:
go to the folder "Tibia\packages\Tibia\bin"
open client.exe with notepad++
change "https://www.tibia.com/clientservices/loginservice.php" to "http://yourip/login.php" (and add spaces until you fill 53 characters)
change "https://www.tibia.com/clientservices/clientservices.php" to "http://yourip/login.php" (and add spaces until you fill 55 characters)



Now I'm having another issue:
I can log-in into my account, but I can't login with my character.
TFS didn't show any error.



on Znote config.php, the GameServer part is like this:
Lua:
    // Gameserver info is used for client 11+ loginWebService
    $config['login_web_service'] = true; // loginWebService for client 11+ enabled?
    $config['gameserver'] = array(
        'ip' => '127.0.0.1',
        'port' => 7172,
        'name' => 'Forgotten' // Must be identical to config.lua (OT config file) server name.
    );


I also tried putting my VPS ip instead of 127.0.0.1 but it is still with the same issue.
Any clue?

Do I also need to edit the RSA? I'm using the default key.pem on TFS side, but didn't edited anything on Tibia client. If I need, how can I do that? what should I search for?

Thanks again!
 
Last edited:
Thank you!

I could do it.

For other people having the same problem:
go to the folder "Tibia\packages\Tibia\bin"
open client.exe with notepad++
change "https://www.tibia.com/clientservices/loginservice.php" to "http://yourip/login.php" (and add spaces until you fill 53 characters)
change "https://www.tibia.com/clientservices/clientservices.php" to "http://yourip/login.php" (and add spaces until you fill 55 characters)



Now I'm having another issue:
I can log-in into my account, but I can't login with my character.
TFS didn't show any error.



on Znote config.php, the GameServer part is like this:
Lua:
    // Gameserver info is used for client 11+ loginWebService
    $config['login_web_service'] = true; // loginWebService for client 11+ enabled?
    $config['gameserver'] = array(
        'ip' => '127.0.0.1',
        'port' => 7172,
        'name' => 'Forgotten' // Must be identical to config.lua (OT config file) server name.
    );


I also tried putting my VPS ip instead of 127.0.0.1 but it is still with the same issue.
Any clue?

Do I also need to edit the RSA? I'm using the default key.pem on TFS side, but didn't edited anything on Tibia client. If I need, how can I do that? what should I search for?

Thanks again!
change the ip in config.lua and config.php into your ipv4. The serverName needs to match your serverName in config.lua (config.php, if you don't get it)
Lua:
'name' => 'Forgotten' // Must be identical to config.lua (OT config file) server name.

Everything is noted down and you can just read your way through, that's why notes exists.
There's Dossin of tutorials just for the client 12

Remember: 127.0.0.1 can ONLY be accessed by the same network.
 
It's still not working.

My config.php part:
Lua:
        $config['status'] = array(
                'status_check' => false, // Enable or disable status checker
                'status_ip' => '152.70.220.25',
                'status_port' => "7171",
        );

        // Gameserver info is used for client 11+ loginWebService
        $config['login_web_service'] = true; // loginWebService for client 11+ enabled?
        $config['gameserver'] = array(
                'ip' => '152.70.220.25',
                'port' => 7172,
                'name' => 'Forgotten' // Must be identical to config.lua (OT config file) server name.
        );

my config.lua part:
Code:
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
-- NOTE: allowWalkthrough is only applicable to players
ip = "152.70.220.25"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
allowWalkthrough = true
serverName = "Forgotten"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25

my client.exe part:
Code:
loginWebService=http://152.70.220.25/login.php                    
clientWebService=http://152.70.220.25/login.php

Using like this I can login into my account, but not on my character. No errors on console, it just keeps loading forever and after that, enters in a queue.

Did I do something wrong?
 
Last edited:
Replying here..
From my last comment, everything is working now. The problem was that I was using tibia 12.86 and not 12.85 to connect. On 12.86 it goes to the character list but never logs in, but in 12.85 client everything works like a charm

Thanks so much for the help!
 
Back
Top