• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Bank npc (TFS 1.0)

oualid6496

Well-Known Member
Joined
Aug 24, 2014
Messages
408
Solutions
4
Reaction score
78
Location
Dordrecht, The Netherlands
Can anyone help me?
The bank npc doesn't react when I try to deposit when I say something after deposit he just doesn't react.
00:08 Dutch Berserker [283]: hi
00:08 Bankman Parli: Greetings, Oualid.
00:08 Dutch Berserker [283]: deposit
00:08 Bankman Parli: Please tell me how much gold it is you would like to deposit.
00:08 Dutch Berserker [283]: 1000
00:08 Bankman Parli: Would you really like to deposit 1000 gold?
00:08 Dutch Berserker [283]: yes

npc script (couldn't paste it because it was to big)
https://www.dropbox.com/s/clr60bc8gnuifbx/bank.lua?dl=0
 
nop this one is giving me errors when im trying to deposit
Lua Script Error: [Npc interface]
data/npc/scripts/bankman parli.lua:eek:nCreatureSay
data/npc/scripts/bankman parli.lua:91: attempt to call global 'getMoneyCount' <a nil value>
stack traceback:
[C] in function 'getMoneyCount'
data/npc/scripts/bankman parli.lua:91: in function 'callback'
data/npc/lib/npcsystem/npchandler.lua:410: in function 'onCreatureSay'
data/npc/scripts/bankman parli.lua:8: in function <data/npc/scripts/bankman parli.lua:8>
 
Back
Top