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

When i die i dont lose iten! Help me fix this!

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,112
Reaction score
221
Location
Germany
GitHub
eubrunomiguel
I'm using TFS 0.3.4

When the player die... dont lose iten, backpack, set, NOTHING!


i tested with 3 data/creaturescripts/scripts/playerdeath.lua to try fix, but i dont had susses :/

1º Script say this:
Code:
[24/05/2009 21:38:23] Lua Script Error: [CreatureScript Interface] 
[24/05/2009 21:38:24] data/creaturescripts/scripts/playerdeath.lua:onDeath

[24/05/2009 21:38:24] luaGetCreatureName(). Creature not found




2 Script say this:
Code:
[24/05/2009 21:40:05] Lua Script Error: [CreatureScript Interface] 
[24/05/2009 21:40:05] data/creaturescripts/scripts/playerdeath.lua:onDeath

[24/05/2009 21:40:05] data/creaturescripts/scripts/playerdeath.lua:7: attempt to index global 'luasql' (a nil value)
[24/05/2009 21:40:05] stack traceback:
[24/05/2009 21:40:05] 	data/creaturescripts/scripts/playerdeath.lua:7: in function <data/creaturescripts/scripts/playerdeath.lua:3>


3 Script say this:
Code:
[24/05/2009 21:41:37] Lua Script Error: [CreatureScript Interface] 
[24/05/2009 21:41:37] data/creaturescripts/scripts/playerdeath.lua:onDeath

[24/05/2009 21:41:37] luaGetCreatureName(). Creature not found





Help please, i need fix one. I had test with 3 script and all dont work. What i need do?
 
Back
Top