Jump to content
  • 0
Sign in to follow this  
themon

How to add the new discounted item in cash shop?

Question

clif.h
enum CASH_SHOP_TABS {
 CASHSHOP_TAB_NEW    = 0,
 CASHSHOP_TAB_POPULAR  = 1,
 CASHSHOP_TAB_LIMITED  = 2,
 CASHSHOP_TAB_RENTAL    = 3,
 CASHSHOP_TAB_PERPETUITY = 4,
 CASHSHOP_TAB_BUFF    = 5,
 CASHSHOP_TAB_RECOVERY  = 6,
 CASHSHOP_TAB_ETC    = 7,
  CASHSHOP_TAB_SPECIAL   = 8,  //Discounted Items
 CASHSHOP_TAB_MAX,
};
 
[cbox]//====================================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ '__/ __| | | | |/ _ / __|
//= | | | | __/ | | (__| |_| | | __/__
//= _| |_/___|_| ___|__,_|_|___||___/
//=
//= http://herc.ws/board/
//================= More Information =================
//= http://herc.ws/board/topic/367-introducing-cash-shop-support/
//====================================================
// This file handles the entire Cashshop. You can simply
// add in any amount of items you like within each category.
// Please keep in mind that the Cashshop does not work
// with ragexere clients.
// Categories can be empty or even missing, but, if
// present, their names must be kept as cat_, where
// is a valid tab index, as descripbed in 'enum
// CASH_SHOP_TABS' in clif.c (normally 0 through 7)
//====================================================

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
}

cat_8: { //Special
ID909:400:10 //10% discount
ID907:500:15 //15% discount
}
}
)[/cbox]

Edited by themon

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

now the Ossi release 2014 client. What is the status of the cash shop discount? (server side)

Share this post


Link to post
Share on other sites
  • 0

as you can see, the discount tab isn't supported yet.

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
Answer this question...

×   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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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