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

Problem in tibia death

Labhdeep

New Member
Joined
Apr 10, 2018
Messages
5
Reaction score
0
Hello friends, this is my first post: p.

Ok, I have a problem in my ot i is that when a player1 kills another player2 player2 does not die, I explain, stays at hp 0 but nothing happens, the pj dies when the killer (player1) logout.
this is the error log:

[06/12/2018 14:13:16] [Error - CreatureScript Interface]
[06/12/2018 14:13:16] buffer: onKill
[06/12/2018 14:13:16] Description:
[06/12/2018 14:13:16] [string "loadBuffer"]: 26: attempt to call field 'getResult' (to nil value)
[06/12/2018 14:13:16] stack traceback:
[06/12/2018 14:13:16] [string "loadBuffer"]: 26: in function <[string "loadBuffer"]: 6>

I hope you have explained me well, thank you very much.
 

Attachments

I'll assume this is 0.4, there is no property of DB called getResult,
There are 2 files which use db.getResult inside of your creaturescripts/scripts directory one is called frag.lua and the other is called login.lua open up both these files and change the db.getResult to db.storeQuery

You will need to reboot your server after this change.
 
I'll assume this is 0.4, there is no property of DB called getResult,
There are 2 files which use db.getResult inside of your creaturescripts/scripts directory one is called frag.lua and the other is called login.lua open up both these files and change the db.getResult to db.storeQuery

You will need to reboot your server after this change.


I've already tried it but it's still not working :(
 
Back
Top