• 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 Naji, bank npc error. Transfer gold.

ohman

Member
Joined
Oct 24, 2008
Messages
289
Reaction score
5
Location
Sweden
Hi! I get this error when a player say:
  • Hi
  • transfer
  • 500
  • "to a random name that not exist on server.
The npc should say "that name does not exist". But it dosnt, instead a error comes up. I use rev 0.3.7 rev 5969 on Linux. But I got same problem on rev 3884.

This is the error:
[16:49:12.346] [Error - NpcScript Interface]
[16:49:12.347] data/npc/scripts/Naji.lua:eek:nCreatureSay
[16:49:12.347] Description:
[16:49:12.347] data/lib/004-database.lua:106: [Result:free] Result not set!
[16:49:12.347] stack traceback:
[16:49:12.347] [C]: in function 'error'
[16:49:12.347] data/lib/004-database.lua:106: in function 'free'
[16:49:12.347] data/npc/scripts/Naji.lua:43: in function 'playerExists'
[16:49:12.347] data/npc/scripts/Naji.lua:190: in function 'callback'
[16:49:12.347] data/npc/lib/npcsystem/npchandler.lua:455: in function 'onCreatureSay'
[16:49:12.347] data/npc/scripts/Naji.lua:22: in function <data/npc/scripts/Naji.lua:22>

My naji.lua script:
script was to big for forum, here is it on textuploader.com!

http://textuploader.com/1rp1

I have looked at the script but cant see any fault. I hope you can :) Thanks!
 
Haha great that you found it, maybe you should make a new npc thread so others can find it?
:)
 
Back
Top