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

Lua Banlist.lua

Czupryn1994

New Member
Joined
Jul 13, 2014
Messages
13
Reaction score
0
I need help witch this:
[13/07/2014 16:04:52] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/banlist.lua:7: '<eof>' expected near 'end'
[13/07/2014 16:04:52] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/banlist.lua)
[13/07/2014 16:04:52] data/talkactions/scripts/banlist.lua:7: '<eof>' expected near 'end'

I traing to repair this mistake but i can't this is to hard to me please help.
 
So what to do ? :p

My script look :
function onSay(cid, words, param)
getBanList(type[, value ])
getBanReason(id)
doShowTextDialog(cid, itemid, text)
end
return TRUE
end

Sorry for my english
 
Remove the xml line for it in talkactions.xml, this script does nothing (not defined parameters).
Or if you want it to do something, explain what it should do.
 
Okey ,I do this and now I heven't this error . Thanks! I have some little errors can you help me? Maybe i send to you private messages or write in this topic?
 
Thanks a lot!
[13/07/2014 18:22:53] [Error - LuaScriptInterface::loadFile] cannot open data/movements/scripts/bomb/bombtiles.lua: No such file or directory
[13/07/2014 18:22:53] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/bomb/bombtiles.lua)
[13/07/2014 18:22:53] cannot open data/movements/scripts/bomb/bombtiles.lua: No such file or directory

I haven't this file or what ? :D
 
Yes, this means you don't have a lua script with that name or it's not in the right folder, so it can't find it.
 
Refresh Okey i do it myself
I find this in dta movements.lua and i delete this lines :) becouse i haven't this script in my ots folder :)

But i need your help witch this:
[13/07/2014 18:41:54] > Loading football.xml...[Warning - GlobalEvents::configureEvent] Duplicate registered globalevent with name: timer
[13/07/2014 18:41:54] done.
 
I have this engine : cryingdamson 0.3.6 (8.60) V8.2

I have this in my globalevents.xml :

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<globalevents>
    <globalevent name="save" interval="9000" event="script" value="save.lua"/>
    <globalevent name="clean" interval="7200" event="script" value="clean.lua"/>
    <globalevent name="effecttile" interval="3" script="effectile.lua"/>

    <globalevent name="shop" interval="30" script="shop.lua"/>   
    <globalevent name="serverstart" type="start" event="script" value="start.lua"/>
    <globalevent name="playersrecord" type="record" event="script" value="record.lua"/>
</globalevents>

It's look good yes?
 
Last edited by a moderator:
Okey, thanks!
Next problem :

[13/07/2014 19:29:24] >> Initializing game state modules and registering services...
[13/07/2014 19:29:24] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such function: UNIX_TIMESTAMP (SELECT houses.owner,houses.id,players.name FROM houses
[13/07/2014 19:29:24] LEFT JOIN players ON players.id=houses.owner
[13/07/2014 19:29:24] WHERE players.lastlogin < (UNIX_TIMESTAMP() - 14*24*60*60)
[13/07/2014 19:29:24] AND
[13/07/2014 19:29:24] players.world_id =0)
[13/07/2014 19:29:24] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: guild_wars (DELETE FROM "guild_wars" WHERE "status" = 0 AND "begin" < 1405099764;)
[13/07/2014 19:29:24] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: guild_wars (UPDATE "guild_wars" SET "status" = 5, "end" = 1405272564 WHERE "status" = 1 AND "end" > 0 AND "end" < 1405272564;)
 
[13/07/2014 19:43:17] >> Checking software version... failed checking - malformed file.--This is error ? Maybe you help witch this...


Does exsist TFS version for Tibia 8.6 where guildwars script work? Maybe you have link...
 
Client version doesn't matter, server version matters. I'm not sure if there is a guild wars system for TFS 0.3.6, haven't seen one.
That message is not really an error, it's because of the link it tries to connect to that no longer exists that you get this message, so you can just ignore it.
 
Maybe on this forum is better TFS than my Engine...? is it for Tibia 8.6? Maybe on this TFS guildwars script will be working.
I love Tibia 8.6 so i want create OTS for this client version.
 
Back
Top