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

My coins ingame doesn't work.

Johanz

New Member
Joined
Dec 31, 2008
Messages
188
Reaction score
1
Tryed a bank script a few days ago. No console errors or anything. Buy when i try to deposit money he says i doesn't have that much money on me even though i have it. I thought it was the script that was bugged. But now i tested my Npcs and i can't buy any items due to that i dont have any money it says. But i have..

Anyone got a clue? i dont xD

Tfs 0.3.1
 
Yeah, just as I thought
2ah9zxs.gif


items.xml (add bold red lines into yours)

Code:
	<item id="2148" article="a" name="gold coin" plural="gold coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="1"/>[/COLOR][/B]
	</item>
Code:
	<item id="2152" article="a" name="platinum coin" plural="platinum coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="100"/>[/COLOR][/B]
	</item>
Code:
	<item id="2160" article="a" name="crystal coin" plural="crystal coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="10000"/>[/COLOR][/B]
	</item>
 
Yeah, just as I thought
2ah9zxs.gif


items.xml (add bold red lines into yours)

Code:
	<item id="2148" article="a" name="gold coin" plural="gold coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="1"/>[/COLOR][/B]
	</item>
Code:
	<item id="2152" article="a" name="platinum coin" plural="platinum coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="100"/>[/COLOR][/B]
	</item>
Code:
	<item id="2160" article="a" name="crystal coin" plural="crystal coins">
		<attribute key="weight" value="10"/>
[B][COLOR="Red"]		<attribute key="worth" value="10000"/>[/COLOR][/B]
	</item>

Works like a charm :) tho the bank script doesn't work.

[13/05/2010 19:09:31] Lua Script Error: [Npc interface]
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:eek:nCreatureSay

[13/05/2010 19:09:31] data/npc/scripts/bank.lua:79: attempt to call global 'doPlayerSetBalance' (a nil value)
[13/05/2010 19:09:31] stack traceback:
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:79: in function 'callback'
[13/05/2010 19:09:31] data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:9: in function <data/npc/scripts/bank.lua:9>

he takes my deposited money but it doesn't get on my balance :/


19:09 Banker: Would you really like to deposit 100 gold?
19:09 Admin Johan [9999]: yes
19:09 Admin Johan [9999]: balance
19:09 Banker: Your account balance is 0 gold.

Know it's shouldn't be posted here but i got your attention in here :) thanks for quick response! REp! :D
 
You need to upgrade to atleast 0.3.3 :)

Seeing that you had issues upgrading from 0.2 to 0.3.1, I wouldn't recommend you to attempt upgrading 0.3.1 to 0.3.3 :p
 
I downloaded the server at 0.3.1 so the guy had upgraded it to 0.3.1 :p Is there any tutorial on how to upgrade my 0.3.1 to higher? XD
 
Back
Top