Jump to content
Ind

Introducing Cash Shop Support

Recommended Posts

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 by kyeme

Share this post


Link to post
Share on other sites

+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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

 

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  :D http://herc.ws/board/topic/1291-cash-shop-discount/#entry9354

Share this post


Link to post
Share on other sites

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 by unknown

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

 

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 ? 

Share this post


Link to post
Share on other sites

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: :wub: :wub: :wub:  Thanks @Yommy

Edited by kiros

Share this post


Link to post
Share on other sites

 

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?

attachicon.gifscreenHercules006.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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.