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

TalkAction [TFS 0.2.5] Ingame Highscores

error

Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/highscore.lua:eek:nSay

data/talkactions/scripts/highscore.lua:8: bad argument #1 to 'connect' (string expected, got nil)

I usign TheForgottenServer0.2.5
 
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/highscores.lua: onSay

data/talkactions/scripts/highscores.lua:8: bad argument #1 to 'connect' (string expected, got nil)

I get this error too, using ForgottenServer0.2.5
What is the problem?

Dundox~
 
I love this script!

In my server I have some kind of Pet System.

Is it possible to make this check storage values?
Like, when you say !ranks "pet it shows players with the highest value in storage no. 9376?

Nevermind, I did it.
 
Last edited:
Strange, but when i use it sometimes the SQLite database locks, then it stop working.
(using 0.2.8)
 
What does this mean?

Code:
Lua Script Error: [Talkaction Interface]
data/talkactions/scripts/highscores.lua:onSay

data/talkactions/scripts/highscores.lua:158: LuaSQL: there are open cursors
 
Does mystic spirit [TFS 0.2.9] have luasql? does it work with mysql? Do i have to do something special to get "luasql" or is it allready added by tala~When he made 0.2.9?
 
By luasql script can connect with database drop there info etc, its in every tfs.
 
so does think work or not b/c it will really be great for my pvp-e server
 
Why does the part in talkactions for LUaSQL
Code:
~~~ = assert(con:execute("SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` <= "..maxgroupid.." ORDER BY `experience` DESC LIMIT 0,"..players..";"))
never work in talkactions or creaturescripts for me? It works fine in NPC scripts
 
Does it work for TFS v0.2.11 ???
If dont, plz make the script for this version!
 
Back
Top