Jump to content

ZAGALiC

Members
  • Posts

    125
  • Joined

  • Last visited

Posts posted by ZAGALiC

  1.  

     

    Hello guys, I've got the same problem here.

    I've already tried the posted intruction from Brynner and still got the same problem.

    Nothing happens, when I click the OK Button to purchase some items, I can't seem to buy the item :(

    Anyone who could help me with this?

    to make it work for 2012 clients. you must edit the clif.c

     

    and look for 20130320

    on line 14501

    #if PACKETVER < 20130320

    and line 16501

    #if PACKETVER >= 20130320

     

    then replace with your client version.

    #if PACKETVER >= 20120410

     

    recompile and you can now buy on the cash shop.

    http://rathena.org/board/topic/84196-help-with-cash-shop/

    if you did not receive any error message after buying on the cash shop. check your packet_db.txt.

     

    this issue will look like this.

    http://rathena.org/board/tracker/issue-7723-cash-shop-it-not-working-on-latest-revision-using-2012-04-10aragexe/

    I've already done every instruction in that thread you gave me, yes there is no errors occuring.

    What should I do then?

  2. Hello guys, I've got the same problem here.

    I've already tried the posted intruction from Brynner and still got the same problem.

    Nothing happens, when I click the OK Button to purchase some items, I can't seem to buy the item :(

    Anyone who could help me with this?

    to make it work for 2012 clients. you must edit the clif.c

     

    and look for 20130320

    on line 14501

    #if PACKETVER < 20130320

    and line 16501

    #if PACKETVER >= 20130320

     

    then replace with your client version.

    #if PACKETVER >= 20120410

     

    recompile and you can now buy on the cash shop.

    http://rathena.org/board/topic/84196-help-with-cash-shop/

  3. If you're trying to utilize the cash shop window on 2012 clients with rAthena it's likely to fail or result in broken behavior, we don't officially support any 2012 clients for cash shop window functionality at this time. Only 2013 clients have been coded for and tested currently.

    What 2013 client should I use?

  4. Hello guys, I've got the same problem here.

    I've already tried the posted intruction from Brynner and still got the same problem.

    Nothing happens, when I click the OK Button to purchase some items, I can't seem to buy the item :(

    Anyone who could help me with this?

  5.  

    I've already visitied this thread, and tried all the posted instruction but still got the same problem.

     

    Here are my files.

     

    My item_cash_db.txt

    // This file contains the items sold in the ingame cash shop
    //
    // The structure of the file is
    // type, item ID, price
    //
    // type:
    //    0: New
    //    1: Hot
    //    2: Limited
    //    3: Rental
    //    4: Gear
    //    5: Buff
    //    6: Heal
    //    7: Other
    //
    // price:
    //    price of the defined item in cash points
    0,607,5000
    0,2383,10000
    0,4403,5000
    0,4085,5000
    0,1533,10000
    0,4440,1000
    0,4465,1000
    0,1599,20000
    0,4305,1000
    0,4493,1000
    0,4495,1000
    0,4498,1000
    

    my packet_db.txt

    
    //2012-04-10aRagexeRE
    packet_ver: 30
    0x01fd,15,repairitem,2:4:6:7:9:11:13
    0x089c,26,friendslistadd,2
    0x0885,5,hommenu,2:4
    0x0961,36,storagepassword,2:4:20
    0x0288,-1,cashshopbuy,2:4:6:10
    0x091c,26,partyinvite2,2
    0x094b,19,wanttoconnection,2:6:10:14:18
    0x0369,7,actionrequest,2:6
    0x083c,10,useskilltoid,2:4:6
    0x0439,8,useitem,2:4
    0x0945,-1,itemlistwindowselected,2:4:8:12
    0x0815,-1,reqopenbuyingstore,2:4:8:9:89
    0x0817,2,reqclosebuyingstore,0
    0x0360,6,reqclickbuyingstore,2
    0x0811,-1,reqtradebuyingstore,2:4:8:12
    0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
    0x0835,2,searchstoreinfonextpage,0
    0x0838,12,searchstoreinfolistitemclick,2:6:10
    0x0437,5,walktoxy,2
    0x0886,6,ticksend,2
    0x0871,5,changedir,2:4
    0x0938,6,takeitem,2
    0x0891,6,dropitem,2:4
    0x086c,8,movetokafra,2:4
    0x08a6,8,movefromkafra,2:4
    0x0438,10,useskilltopos,2:4:6:8
    0x0366,90,useskilltoposinfo,2:4:6:8:10
    0x0889,6,getcharnamerequest,2
    0x0884,6,solvecharname,2
    0x08e6,4
    0x08e7,10,bookingsearchreq,2:4:6:8:12
    0x08e8,-1
    0x08e9,2,bookingdelreq,0
    0x08ea,4
    0x08eb,39,bookingupdatereq,2
    0x08ec,73
    0x08ed,43
    0x08ee,6
    0x08ef,6,bookingignorereq,2
    0x08f0,6
    0x08f1,6,bookingjoinpartyreq,2
    0x08f2,36
    0x08f3,-1
    0x08f4,6
    0x08f5,-1,bookingsummonmember,2:4
    0x08f6,22
    0x08f7,3
    0x08f8,7
    0x08f9,6
    0x08fa,6
    0x08fb,6,bookingcanceljoinparty,2
    0x0907,5,moveitem,2:4
    0x0908,5
    0x08d7,28,battlegroundreg,2:4 //Added to prevent disconnections
    0x08cf,10 //Amulet spirits
    0x0977,14 //Monster HP Bar
    0x0916,26,guildinvite2,2
    0x091d,18,bookingregreq,2:4:6
    // New cashshop
    0x0844,2,cashshopopen,0
    0x084a,2,cashshopclose,0
    0x08c9,4,cashshopitemlist,0
    0x0848,-1,cashshopbuy,0
    

    and also i've already edited some in my clif.c like these.

    // TODO: find a more accurate date for this
    #if PACKETVER < 20120410
    /// Request to buy item(s) from cash shop (CZ_PC_BUY_CASH_POINT_ITEM).
    /// 0288 <name id>.W <amount>.W
    /// 0288 <name id>.W <amount>.W <kafra points>.L (PACKETVER >= 20070711)
    /// 0288 <packet len>.W <kafra points>.L <count>.W { <amount>.W <name id>.W }.4B*count (PACKETVER >= 20100803)
    void clif_parse_cashshop_buy(int fd, struct map_session_data *sd){
    

    and 

    // TODO: find a more accurate date for this
    #if PACKETVER >= 20120410
    void clif_parse_cashshop_buy( int fd, struct map_session_data *sd ){
    	struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)];
    	uint16 length = RFIFOW( fd, info->pos[0] );
    	uint16 count = RFIFOW( fd, info->pos[1] );
    

    Or I think there is a problem on my client. I'm using 2012-04-10Ragexe from Brynner.

×
×
  • Create New...