Jump to content
  • 0

Help with Cash Shop


ZAGALiC

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   0
  • Joined:  06/07/13
  • Last Seen:  

I can't buy the item i've put in Cash Shop.

When I click OK, nothing happens.

Help with this please:D

 

post-17750-0-89379500-1372434567_thumb.jpg

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  138
  • Reputation:   0
  • Joined:  07/05/12
  • Last Seen:  

hello 

 

How do I shop like this??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   0
  • Joined:  06/07/13
  • Last Seen:  

 

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  105
  • Reputation:   67
  • Joined:  04/05/13
  • Last Seen:  

2012 clients are not supported with the current cash shop window implementation on rAthena. Please stick to the 2013 clients if you're trying to utilize the cash shop window.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   0
  • Joined:  06/07/13
  • Last Seen:  

2012 clients are not supported with the current cash shop window implementation on rAthena. Please stick to the 2013 clients if you're trying to utilize the cash shop window.

 

What 2013 client should I use?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  105
  • Reputation:   67
  • Joined:  04/05/13
  • Last Seen:  

I haven't personally done any testing with any of the 2013 clients so I couldn't really give a specific answer. What I can tell you is the cash shop functionality currently in rA was designed for 2013 clients and there hasn't been any testing or work done on making it compatible with 2012 Ragexe clients. They were not available at the time the cash shop window functionality was put in.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   0
  • Joined:  06/07/13
  • Last Seen:  

Thanks everyone for the help, I've finally fix my problems:D Thanks alot guys.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

im using 26b 6 2013 client. its works like charm.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...