Yoh Asakura 9 Posted June 8, 2015 (edited) Hello, I would like to know if it's possible to create a npc shop that is only possible to buy items using Vote Points. @edit: https://rathena.org/board/files/file/2344-fluxcp-addon-vote-for-points/ This works with hercules? Thanks! Edited June 8, 2015 by Yoh Asakura Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted June 8, 2015 make a script that exchanges the vote table into any account bound variable and use our awesome trader thing and for v4p I'd recommend this one Quote Share this post Link to post Share on other sites
0 Yoh Asakura 9 Posted June 8, 2015 (edited) @@evilpuncker I've just tested the version 1.0 and it worked, I just wonder if it's possible to change the script...I would like the script like the quest_shop (npc/custom/quests/quest_shop.txt), that shows the item image, and to buy the item you'd need the votepoints, and if possible to set how many of that item you'd like. voteforpoints.txt Edited June 8, 2015 by Yoh Asakura Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted June 8, 2015 @@evilpuncker I've just tested the version 1.0 and it worked, I just wonder if it's possible to change the script...I would like the script like the quest_shop, that shows the item image, and to buy the item you'd need the votepoints, and if possible to set how many of that item you'd like. that is almost exactly of what the script does: prontera,153,152,1 trader TestCustom2 952,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion; end; /* allows currency to be Red_Potion */OnCountFunds: setcurrency(countitem(Red_Potion)); end;/* receives @price (total cost) */OnPayFunds: if( countitem(Red_Potion) < @price ) end; delitem Red_Potion,@price; purchaseok(); end;} 1 Yoh Asakura reacted to this Quote Share this post Link to post Share on other sites
0 Yoh Asakura 9 Posted June 8, 2015 (edited) @@evilpuncker I believe you didin't get me. I would like a script for vote4points just like the quest_shop.txt script.A script that when you click it will open the shop window with the items to choose, not only the name of the items, but also their images.... after you choose and click on buy it will tell you how much POINTS OF VOTE it costs. It would also be nice to choose the quantity, and choosing the quantity it would change the amount of vote4points needed. Is it possible? Edited June 8, 2015 by Yoh Asakura Quote Share this post Link to post Share on other sites
0 Dogpatch 7 Posted June 8, 2015 Emistry's Multi Currency Shop in rAthena works fine with my servers. That's what I use for my VoteShop. Just set the currency to the variable you want and you're good to go. 1 Yoh Asakura reacted to this Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted June 8, 2015 @@Yoh Asakura trader npc are normal shop npcs, therefore they will display item images as well, they act just like a normal shop, but they use the currency you set them to. Quote Share this post Link to post Share on other sites
0 Yoh Asakura 9 Posted June 8, 2015 @@evilpuncker Thank you for always helping people with their doubts. @@Dogpatch Thank you, I'll use the npc. Quote Share this post Link to post Share on other sites
Hello,
I would like to know if it's possible to create a npc shop that is only possible to buy items using Vote Points.
@edit:
https://rathena.org/board/files/file/2344-fluxcp-addon-vote-for-points/
This works with hercules?
Thanks!
Edited by Yoh AsakuraShare this post
Link to post
Share on other sites