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

NPC [Release] Forgotten server Banker!

@Herox: But the servers with 3 or 4 citys and depot changes, i think this script is good..

good release.
 
really nice but i am having an problem.:confused:

have little problem here when i say balance, withdraw or deposit:
Lua Script Error: [Npc interface]
data/npc/scripts/banker.lua: onCreatureSay

data/npc/scripts/banker.lua:25: attempt to call global 'getCount' (a nil value)

Why i am getting this error?

I am using SVN 237 last revision :O
 
really nice but i am having an problem.:confused:

have little problem here when i say balance, withdraw or deposit:


Why i am getting this error?

I am using SVN 237 last revision :O

You forgot to add getCOunt function.



If you have some getCount(msg) problems add this in your Npc.lua:

Code:
	-- Function used to match a number value from a string. the getCount Module
function getCount(msg)
 local ret = -1
 local b, e = string.find(msg, "%d+")
    if b ~= nil and e ~= nil then
       ret = tonumber(string.sub(msg, b, e))
    end
 
    return ret
end
 
You forgot to add getCOunt function.

HUmm , i tested and worked :thumbup:, Npc does support deposit of more than 1.000.000? value just for test xD

That problem whit getStorageplayer() don't affect script to give a possibility to get Bug like npc stop work?
 
HUmm , i tested and worked :thumbup:, Npc does support deposit of more than 1.000.000? value just for test xD

That problem whit getStorageplayer() don't affect script to give a possibility to get Bug like npc stop work?


the getStorageplayer is just somting placed wrong in the script it took me more then 4 hour's to test it fully.. it dosen't give any bugs at all


Rep ++ xD
 
oh good, now can i have banker on my serv

xD i have more script.. but i wont release them till i have like 15 Rep point..


---I will only release them if i have 15 rep (only counting rep i got 9 ATM)within 1 week---
-savarground
-postman
-Djinn quest
 
Back
Top