-- Syntax:
-- BuyFromItemShop(itemGUID, secondaryPassword [, number] )
-- BuyPresentFromItemShop(itemGUID, secondaryPassword, recipient [,subject] [,body])
-- guid = FindItemShopGUID(nameOrId, currency [,ammount])
--
-- Arguments:
-- itemGUID (type number) - The uniquie id of the item selection. Use FindItemShopGUID to find.
-- secondaryPassword (type string) - Your secondary password for that account
-- number (type number) - The number you want to buy of that selection. Optional. If not specified will, buy only one.
-- recipient (type string) - The person you want to send the present to.
-- subject (type string) - The subject of the message sent with the present. Optional.
-- body (type string) - The body of the message sent with the present. Optional.
-- nameOrId (type string or number) - The full name or id of the item. Not the GUID.
-- currency (type string) - The currency you wish to use. Can be "diamond", "ruby", "coin" or variations.
-- ammount (type number) - Number of items you receive, "Ammount:n". Optional. Assumes 1.
--
-- Examples:
-- To buy 2 items with GUID of 100
-- BuyFromItemShop(100, "secpass', 2)
-- To buy an item with GUID of 100 and send it as a present
-- BuyPresentFromItemShop(100, "secpass', "recipientName")
-- To find the guid of the 10 pack of charges you buy with coins.
-- guid = FindItemShopGUID(202928,"coin")
if inventory:itemTotalCount("Phirius Token Coin") > 1199 then
The secondary password is a string so it needs quotes. I added the secondary password as an argument because some people might have different passwords for different accounts.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
If my character trys to buy something from the item shop. I get the error : Item shop backpack is full. There are 1 item transaction not completed or something
Is this a common error? im buying purified fusion stones.
Its not about cheating. Its about being smarter than the game...
Just had an idea. Is that code you posted part of a loop where it buys more that one puri at a time? Because, probably, if you buy them fast enough you might fill the incoming stack. Although this seems very unlikely.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
if inventory:itemTotalCount("Phirius Token Coin") >= 1200 then
BuyFromItemShop(436,"2ndpass",1)
end
local ATQ = RoMScript("CheckQuest(421457);");
if ATQ ~= 0
then
charges = RoMScript("GetMagicBoxEnergy()")
if charges == 1 then
if inventory:itemTotalCount("Phirius Token Coin") >= 300 then
BuyFromItemShop(453,"2ndpass",1)
inventory:useItem(202928)
end
end
end
Its not about cheating. Its about being smarter than the game...
I can confirm the same in-game error (backpack full) when trying to buy purified fusion stones (id 11941) with phirrius tokens.
However, I have no trouble buying transmutor charges.
I used the command line.
from the commandline. My guid number might be different because I think guid numbers are different between servers. I left out the last argument because I know it defaults to '1'.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.