• 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 do i fix this error

Add to database sql to your server this:

PHP:
CREATE TABLE `z_ots_comunication` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `action` varchar(255) NOT NULL,
  `param1` varchar(255) NOT NULL,
  `param2` varchar(255) NOT NULL,
  `param3` varchar(255) NOT NULL,
  `param4` varchar(255) NOT NULL,
  `param5` varchar(255) NOT NULL,
  `param6` varchar(255) NOT NULL,
  `param7` varchar(255) NOT NULL,
  `delete_it` int(2) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;
 
Depense what is causing it (the not valid packet size warnings), if it's from someone on your server who uses a bot like elfbot, you can set autoBanishUnknownBytes to true in config.lua.
Code:
autoBanishUnknownBytes = true
 
Add your global ip in config.lua and open port 7171 and 7172.
Use your IPv4 address in your IP Changer (other people (who login from a computer that doesn't host the server) should use your global ip).
 
Add your global ip (www.whatismyip.com) in config.lua.
If you don't login from the computer that hosts the server, it means port 7171 is already open. If you still get this error when you added your global ip in config.lua, make sure the gameport 7172 is open aswell.
 
@Limos And @Czupryn1994 Thanks Alot But There is An Error On Record Files In Global Events
This Is The script
function onRecord(current, old, cid)
db.executeQuery("INSERT INTO `server_record` (`record`, `world_id`, `timestamp`) VALUES (" .. current .. ", " .. getConfigValue('worldId') .. ", " .. os.time() .. ");")
addEvent(doBroadcastMessage, 150, "New record: " .. current .. " players are logged in.", MESSAGE_STATUS_DEFAULT)
end
But it Gives Me Error
And Another In Start
function onStartup()
db.executeQuery('UPDATE players SET online=0')
db.executeQuery('DELETE FROM player_storage WHERE `key` IN(126,127,128)')
doCreateNpc('Xodet', {x=569, y=2181, z=8})
doSetStorage(50290, 0)
doSetStorage(50320, 0)
end
 
Back
Top