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

Bank Script Doesnt Exist? TFS 2.15

Bullet ProoF

New Member
Joined
Jan 14, 2014
Messages
22
Reaction score
0
I have a bank.lua in my scripts folder under NPC, and everytime it goes to load the script, it says there is no such file or directory. I am using TFS 2.15 by MS, it is client 9.81. All my other NPCS work and their lua file is in the exact same place. I'm confused.. Help would be great, thanks. ~Bullet
 
Post the NPC.xml

Code:
<npc name="Alice" script="bless.lua" walkinterval="2000" floorchange="0">

Some revs uses another setup for the "script" path.
 
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Mike Money Bags" script="bank.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="132" head="17" body="54" legs="114" feet="0" addons="3"/>
<parameters>
<parameter key="message_greet" value="Hello |PLAYERNAME|. I will be your host this fine day. How may i help you?"/>
</parameters>
</npc>
 
Try this one:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Mike Money Bags" script="data/npc/scripts/bank.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="132" head="17" body="54" legs="114" feet="0" addons="3"/>
<parameters>
<parameter key="message_greet" value="Hello |PLAYERNAME|. I will be your host this fine day. How may i help you?"/>
</parameters>
</npc>
 
this is the error message I got:
[04/02/2014 16:57:01] [Warning - NpcScript::NpcScript] Can not load script: data/npc/scripts/bank.lua
[04/02/2014 16:57:01] data/npc/scripts/bank.lua:7: function arguments expected near ':'
 
its too long a code

do either of you have a better bank lua for tfs 2.15?
really anyone that works rather
 
Last edited by a moderator:
Back
Top