• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tut]Edit cash shop

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 17, 2008
Messages
27
Reaction score
10
D:\game\server_data\mall_pack_proto.xml
packed 5 item sell in cash shop
Code:
<mallpack id="9" item_id1="9100151" item_id2="9100152" item_id3="9100153" item_id4="9100154" item_id5="9100155" item_num1="1" item_num2="1" item_num3="1" item_num4="1" item_num5="1" item_price1="1" item_price2="1" item_price3="1" item_price4="1" item_price5="1" purchase_price="5" promote_year="-1" promote_month="-1" promote_day="-1" promote_hour="-1" sale_num="-1" present_id="-1" present_num="0" exchange_volume_assign="0" exchange_volume_num="0" min_group_rebate="-1" mid_group_rebate="-1" max_group_rebate="-1" new_goods="1" hot_goods="1"/>

mallpack id - pack id number
item_id1,item_id2,item_id3,item_id4,item_id5 - item id 1~5
*search the item detail at D:\game\data\local\zhCN\attdata\item_name.xml
item_num1,item_num2,item_num3,item_num4,item_num5 - number of item 1~5
item_price1,item_price2,item_price3,item_price4,item_price5 - price of item 1~5
purchase_price - total price of item 1~5
promote_year/promote_month/promote_day/promote_hour - promotion during year,month,day,hour *PS "-1" mean doesnt have promotion
present_id/present_num - present item id and number of present * "-1" mean dont have present



D:\game\server_data\mall_item_proto.xml
cash shop item
Code:
<mallitem id="1" typeid="2610158" type="7" purchase_price="10" promote_price="-1" promote_year="-1" promote_month="-1" promote_day="-1" promote_hour="-1" sale_num="-1" present_id="-1" present_num="0" exchange_volume_assign="0" exchange_volume_num="0" min_group_rebate="-1" mid_group_rebate="-1" max_group_rebate="-1" new_goods="1" hot_goods="1" pro_goods_sort="-1"/>
similiar as above


D:\game\server_data\mall_free_item_proto.xml
daily free cash shop item
Code:
<mall_free_item_proto id="1" free_item_id="1340001" free_item_price="25" free_num="1"/>
 
Status
Not open for further replies.
Back
Top