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

Gold Problem

renancs

New Member
Joined
Jul 8, 2008
Messages
252
Reaction score
3
Hello,

I hope some one can help me to solve this.

in game i cant buy or sell nothing,

when i try to buy some item from NPC, apears like i have no money and when i try to sell some item, the npc dont give-me the money of the transation.

some one know how to solve this?

thank you.
 
No error, and i can sell the itens properly, u just can buy ( apears like i has no money, or sell, the items disapear, but the player dont receive the gold pieces.)
=(

I will try another npcs libs here.

ty =)
 
I edited some scripts a long time ago, and now I start to update the server in these weekend,
and so i notice this problem =)
 
I already try to change data/npc/lib~ to another one, but it keep not working.

Recently i change my items.otb, to make the northern part of zao work, maybe this cause the problem?
 
I just make a test and a notice that the doPlayerAddMoney(cid, 2000) function, is not working - maybe theres some changes in theses functions, and this is causing this problem on Npcs.

some advice to test this option?
 
I just check this.

they are like theses ones ( i just copy from items.xml)

PHP:
	<item id="2148" article="a" name="gold coin" plural="gold coins">
		<attribute key="weight" value="10"/>
		<attribute key="currency" value="1"/>
	</item>
PHP:
	<item id="2152" article="a" name="platinum coin" plural="platinum coins">
		<attribute key="weight" value="10"/>
		<attribute key="currency" value="100"/>
	</item>
PHP:
	<item id="2160" article="a" name="crystal coin" plural="crystal coins">
		<attribute key="weight" value="10"/>
		<attribute key="currency" value="10000"/>
	</item>
 
I will try right now, if works i will give you a kiss =D

HAHA!! its OK right now

thank you babe!
i spend the whole afternoon -.-

=D

"You must spread some Reputation around before giving it to Cykotitan again."

=DD
 
Back
Top