Page 1 of 1

Store

Posted: Mon Sep 12, 2011 7:15 am
by D1mAnn
How the bot to buy a "Purified Fusion Stone" from the store for Phirius Token Coin?

Re: Store

Posted: Sun Sep 18, 2011 4:44 am
by D1mAnn
As I understand it store html page, right?

Re: Store

Posted: Tue Sep 20, 2011 9:31 am
by sdude13
You can also go to the NPC in Varanas (Classhall) and buy there.

Re: Store

Posted: Tue Sep 20, 2011 8:52 pm
by rock5
'store' is for buying from merchants. Users would normally just use "player:merchant()" to buy and sell stuff but you can use the store functions directly to directly control what you buy. Any npc that has a store can be used.

The way you would buy a specific item is

Code: Select all

player:openStore("npcname")
store:buyItem(nameIdOrIndex, quantity)
If an npcs "open store" option in their dialog is not the first one, then you will have to specify which option it is. eg house maids.

Code: Select all

player:openStore("npcname",2)

Re: Store

Posted: Sat Sep 24, 2011 3:22 pm
by MiesterMan
I'm pretty sure he meant the itemshop, hehe.

Re: Store

Posted: Sun Sep 25, 2011 5:10 am
by D1mAnn
MiesterMan wrote:I'm pretty sure he meant the itemshop, hehe.
exactly