• 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 Elf's WAR System Problem!!

narko

vertrauenswürdig ~
Joined
Oct 19, 2008
Messages
1,317
Solutions
2
Reaction score
131
Location
Unknown
Lua:
[14:0:04.474] [Error - TalkAction Interface]
[14:0:04.474] data/talkactions/scripts/war.lua:onSay
[14:0:04.474] Description:
[14:0:04.474] data/talkactions/scripts/war.lua:3: attempt to compare number with nil
[14:0:04.474] stack traceback:
[14:0:04.474]   data/talkactions/scripts/war.lua:3: in function <data/talkactions/scripts/war.lua:1>

Please help?

i have compiled with WAR System so the problem is other part
 
change
Lua:
if(not guild or getPlayerGuildLevel(cid) < GUILDLEVEL_LEADER) then
to
Lua:
if(not guild or (getPlayerGuildLevel(cid) or 0) < GUILDLEVEL_LEADER) then
 
Same error :S

Lua:
[14:29:07.244] Admin Klass has logged in.

[14:29:13.040] [Error - TalkAction Interface]
[14:29:13.040] data/talkactions/scripts/war.lua:onSay
[14:29:13.040] Description:
[14:29:13.040] data/talkactions/scripts/war.lua:3: attempt to compare number with nil
[14:29:13.040] stack traceback:
[14:29:13.040]  data/talkactions/scripts/war.lua:3: in function <data/talkactions/scripts/war.lua:1>

u have a idea cyko?
 
maybe GUILDLEVEL_LEADER is nil? add this to 100-compat.lua:
Lua:
GUILDLEVEL_MEMBER = GUILD_MEMBER
GUILDLEVEL_VICE = GUILD_VICE
GUILDLEVEL_LEADER = GUILD_LEADER
and reload talkactions
 
Back
Top