Introducing Cash Shop Support

Cash Shop Update~!

What~!

  • Added Ryuuzaki's kafra point support
  • Updated file format to reflect Beret and Yommy's suggestions
cashshop_db.conf format sample

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 }})
Special Thanks
  • to Beret and Yommy for the new file format suggestion!
Links~!


 
Last edited by a moderator:
the search function is purely client-side to my knowledge.

 
the search function is purely client-side to my knowledge.
on rA they confirmed it.http://rathena.org/board/tracker/issue-7559-search-function-for-cashop-is-not-working/
Well, they're wrong
default_tongue.png
I just tested to ensure. typed 'Apple', listed Apple and Apple Juice.and the server has no knowledge of the search feature -- the client does it by itself. If in your client it doesn't list then its a problem on your client's files, not on Hercules.

 
Last edited by a moderator:
Well, they're wrong  I just tested to ensure. typed 'Apple', listed Apple and Apple Juice.and the server has no knowledge of the search feature -- the client does it by itself. If in your client it doesn't list then its a problem on your client's files, not on Hercules.
I agree I tried to sniff if the client sent something in the server when doing a search but it doesn't so it means the search is a client function only...

default_ani_meow.gif


 
the search function is purely client-side to my knowledge.
on rA they confirmed it.http://rathena.org/board/tracker/issue-7559-search-function-for-cashop-is-not-working/
Well, they're wrong
default_tongue.png
I just tested to ensure. typed 'Apple', listed Apple and Apple Juice.and the server has no knowledge of the search feature -- the client does it by itself. If in your client it doesn't list then its a problem on your client's files, not on Hercules.
the search function is a case sensitive. if you want to search you should type it correctly. example. Apple. to make it work you need to type Apple. is there any chances to disable the case sensitive function for search?

 
Sir.. there's something missing.. the category NEW and POPULAR are self updated.. In NEW appears the new items listed into Limited, Rental, Gear, Buff, Costume automatically.. and in POPULAR the most buyed both from left to right also the LIMITED dissapear automatically in X days but that's not important can be done manually

 
Last edited by a moderator:
cat_0: { //New
Valkyrja's_Shield:70
3D_Glasses:250
        Bapho_Jr._Egg:10
}
 
The format above is not working
Please confirm. Thanks
default_smile.png

 
Last edited by a moderator:
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!!!!!!!!!
default_smile.png


 
Last edited by a moderator:
+1 to kyeme. interesting discount.
Thank you
default_smile.png


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!!!!!!!!!
default_smile.png
Is this possible?

 
cat_0: { //New

Valkyrja's_Shield:70

3D_Glasses:250

        Bapho_Jr._Egg:10

}

The format above is not working

Please confirm. Thanks
default_smile.png
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

 
cat_0: { //New

Valkyrja's_Shield:70

3D_Glasses:250

        Bapho_Jr._Egg:10

}

The format above is not working

Please confirm. Thanks
default_smile.png
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 
default_biggrin.png
 http://herc.ws/board/topic/1291-cash-shop-discount/#entry9354

 
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

 
Last edited by a moderator:
Back
Top