Download this client:
go to /bin/ and edit client.exe (or 127.0.0.1.exe) with notepad++ (download and install it in case you don't have it)
search for "loginWebService"
edit it.
It's important to use exactly the same number of characters, so if you have fewer characters in your login.php server address, complete with empty spaces.
example:
my login server is
http://play.drakyot.com/login.php, but Tibia login server has more characters, so I edited it like "loginWebService=
http://play.drakyot.com/login.php "
the same for clientWebService:
"clientWebService=
http://play.drakyot.com/login.php " (note that clientWebService is bigger than loginWebService, so I added two more spaces)
EDIT: I can't put empty spaces in otland comment '-' but after login.php I have a lot of spaces before reaching the end of line, like my screenshot below:
View attachment 66367
save it and try