• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.6 - problem when connecting to server

Batalj

Member
Joined
May 26, 2017
Messages
53
Solutions
1
Reaction score
14
Hello!

I get this problem when trying to connect to server via otclient

1766243009570.webp


LUA:
[Error - mysql_real_query] Query: INSERT INTO `sessions` (`token`, `account_id`, `ip`) VALUES ('þõY·í│7¬RY\\;▄ì', 1, INET6_ATON(::ffff:127.0.0.1))
Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '::ffff:127.0.0.1))' at line 1

Have been trying to change login.cpp etc, but no success...
 
This solves it.


I recommend always using the main repo.

I see you're out of date, you probably need this PR too.
 
Last edited:
Back
Top