kyeme 71 Posted May 27, 2013 (edited) Im suggesting for cash shop discount xD Example: cash_shop: ( { discount: 50 // 50% discount in cat_0 cat_0: { //New RTC_Winner_Hat:2000 King_Poring_Hat:2500 } }, { discount: 10 // 10% discount in cat_1 cat_1: { //Hot Baricade_Repair_Kit:10 Guardian_Stone_Repair_Kit:8 Muffler_Box:3 } }, { discount: 0 // default cat_2: { //Rental Boarding_Halter_7_Box:25 } } ~Results: RTC_Winner_Hat = 1000 King_Poring_Hat = 1250 Baricade_Repair_Kit = 9 Guardian_Stone_Repair_Kit = 7 (10% of 8 = 0.8) Muffler_Box = 3 (10% of 3 = 0.3) no discount? xD Suggestion only . Thanks!!!!!!!!! Edited May 27, 2013 by kyeme Quote Share this post Link to post Share on other sites
Relzz 32 Posted May 27, 2013 There is any cash shop reload script? Quote Share this post Link to post Share on other sites
Beret 50 Posted June 9, 2013 +1 to kyeme. interesting discount. Quote Share this post Link to post Share on other sites
kyeme 71 Posted June 13, 2013 +1 to kyeme. interesting discount. Thank you Im suggesting for cash shop discount xD Example: cash_shop: ( { discount: 50 // 50% discount in cat_0 cat_0: { //New RTC_Winner_Hat:2000 King_Poring_Hat:2500 } }, { discount: 10 // 10% discount in cat_1 cat_1: { //Hot Baricade_Repair_Kit:10 Guardian_Stone_Repair_Kit:8 Muffler_Box:3 } }, { discount: 0 // default cat_2: { //Rental Boarding_Halter_7_Box:25 } } ~Results: RTC_Winner_Hat = 1000 King_Poring_Hat = 1250 Baricade_Repair_Kit = 9 Guardian_Stone_Repair_Kit = 7 (10% of 8 = 0.8) Muffler_Box = 3 (10% of 3 = 0.3) no discount? xD Suggestion only . Thanks!!!!!!!!! Is this possible? Quote Share this post Link to post Share on other sites
Ind 945 Posted June 27, 2013 cat_0: { //New Valkyrja's_Shield:70 3D_Glasses:250 Bapho_Jr._Egg:10 } The format above is not working Please confirm. Thanks Such are considered invalid by format unfortunately, for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield.As for the discount field, could you post it in the suggestions forum please? Thank you Quote Share this post Link to post Share on other sites
kyeme 71 Posted June 28, 2013 cat_0: { //New Valkyrja's_Shield:70 3D_Glasses:250 Bapho_Jr._Egg:10 } The format above is not working Please confirm. Thanks Such are considered invalid by format unfortunately, for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield.As for the discount field, could you post it in the suggestions forum please? Thank you Done http://herc.ws/board/topic/1291-cash-shop-discount/#entry9354 Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted June 29, 2013 how do i add the cash shop item ? Quote Share this post Link to post Share on other sites
unknown 5 Posted June 29, 2013 (edited) how do i add the cash shop item ? for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield. valkyrie shield itemd id is 2115 use ID2115 then the price is 70 example like this: ID2115:70 Edited June 29, 2013 by unknown Quote Share this post Link to post Share on other sites
Mystery 594 Posted June 29, 2013 how do i add the cash shop item ? for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield. valkyrie shield itemd id is 2115 use ID2115 then the price is 70 example like this: ID2115:70 You're able to use the item's constant as well. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted June 29, 2013 how do i add the cash shop item ? for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield. valkyrie shield itemd id is 2115 use ID2115 then the price is 70 example like this: ID2115:70 how do i add the cash shop item ? for now you'd need to add such items using the 'ID' syntax e.g. 'ID2115:70' for valkyrie shield. valkyrie shield itemd id is 2115 use ID2115 then the price is 70 example like this: ID2115:70 You're able to use the item's constant as well. where to edit it ? Quote Share this post Link to post Share on other sites
jaBote 438 Posted June 29, 2013 where to edit it ? Your reply is in the first post of the topic: Links~! [*]Commit [*]cashshop_db.conf file As you can see, it's located on db/cashshop_db.conf. P.S.: Please, avoid quoting large and redundant pieces of text. It difficults reading. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted June 30, 2013 where to edit it ? Your reply is in the first post of the topic: > Links~! [*]Commit [*]cashshop_db.conf file As you can see, it's located on db/cashshop_db.conf. P.S.: Please, avoid quoting large and redundant pieces of text. It difficults reading. ok. sorry sir Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted July 3, 2013 how do i reload when i add new item at cashshop.conf ? Quote Share this post Link to post Share on other sites
kyeme 71 Posted July 3, 2013 how do i reload when i add new item at cashshop.conf ? Restart server. Currently we are discussing it here: http://herc.ws/board/topic/1247-adding-reloadcashshop/ 1 jaBote reacted to this Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted July 3, 2013 how do i reload when i add new item at cashshop.conf ? Restart server. Currently we are discussing it here: http://herc.ws/board/topic/1247-adding-reloadcashshop/ ok thx alot bro Quote Share this post Link to post Share on other sites
simplynice 1 Posted July 5, 2013 Yep you did mentioned Yommy. Wait.,..did you?? +1 for this. Quote Share this post Link to post Share on other sites
Dramosith 4 Posted August 14, 2013 Well if i am bothering to ur project. Idk if it is good idea Cashshop button next of MAP. it can be annoying in WoE miss click on Cash button. if possible to be hide or else spot? just found from warpportal forum http://forums.warpportal.com/index.php?/topic/61943-cash-shop-icon/ Quote Share this post Link to post Share on other sites
Yommy 265 Posted August 14, 2013 i replied there 1 evilpuncker reacted to this Quote Share this post Link to post Share on other sites
kiros 0 Posted August 15, 2013 (edited) i was testing last tuesday hercules for the first time and since my test server is a rathena my client was made in that way in that emulator i was in need to do source changes and packet's every new update to make work my cash shop but went i use my client to test this emulator ,,, What was my surprise!!!! Cash Shop works just perfect out of the box!!!! omg this is getting nicer with the plus of the WPE Free addition i am thinking seriously to move here i am starting to love it ..... Great!!!!!! Work!!! +++++++++++++++++ :wub: :wub: Thanks @Yommy Edited August 15, 2013 by kiros Quote Share this post Link to post Share on other sites
Yommy 265 Posted August 15, 2013 publishing hex edits on iRO forum results in huge eruptions of drama Quote Share this post Link to post Share on other sites
Mystery 594 Posted August 15, 2013 publishing hex edits on iRO forum results in huge eruptions of drama Can't view the topic anymore :> Quote Share this post Link to post Share on other sites
macroblitz 0 Posted December 27, 2013 Cash Shop Support Hello~! - What?! [*]1st, getting this together has only been possible thanks to Yommy [*]2nd, really, without Yommy's help this wouldn't have worked [*]3rd, did I already mention Yommy made this possible? screenHercules006.jpg cashshop_db.conf format//====================================================//= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ '__/ __| | | | |/ _ / __|//= | | | | __/ | | (__| |_| | | __/__ //= _| |_/___|_| ___|__,_|_|___||___///= //= http://herc.ws/board/ //====================================================//= http://herc.ws/board/topic/367-introducing-cash-shop-support/cash_shop: ({ cat_0: { //New Apple:100 ID531:250 } cat_1: { //Popular ID513:100 Banana_Juice:250 } cat_2: { //Limited Grape:100 ID533:250 } cat_3: { //Rental ID515:100 Carrot_Juice:250 } cat_4: { //Permanent Green_Herb:100 ID510:250 } cat_5: { //Scroll ID501:100 ID502:250 } cat_6: { //Usable White_Potion:150 Blue_Potion:500 } cat_7: { //Other ID909:400 ID907:500 }}) Is it ready?![*]The packets work, you can buy, list, etc. BUUUUT I wouldn't bet it is 100% complete -- I'm not very aware of how the cashpoint stuff works, I'd guess the behavior is not 100% -- BUUUT getting the packets to work was the toughest part, just drop us a bug report and we sure will fix any broken formulas instantly. [*]I'm not aware of what the official servers have in it being sold either, I've put random garbage with absurdly high prices in the db (so we all can debug). [*]BTW This only works on ragexe (not ragexere!) clients, e.g. : http://herc.ws/board/topic/289-2013-ragexe-area/ Special Thanks [*]Yommy [*]Yommy [*]...Yommy! [*]malufett [*]Judas [*]Beret [*]kLabMouse [*]And everyone whos helped us get the 2013 client to work, Thank you All! [*]to Beret and Yommy for the new file format suggestion! Links~! [*]Commit [*]cashshop_db.conf file how do you buy there? or how do you get cash points? is it variable? or item? Quote Share this post Link to post Share on other sites
Tepoo 23 Posted December 27, 2013 #KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database. greetings Tepoo Quote Share this post Link to post Share on other sites
PokemonRO 2 Posted December 28, 2013 you can give yourself and players cash points using @cash command Quote Share this post Link to post Share on other sites
snowflake1963 1 Posted February 10, 2014 What if we don't want to use kafra points in the cash shop, and want to use Loyalty, Event, Vote Points or Donate points? How can we change it? Quote Share this post Link to post Share on other sites