Shindu Posted December 27, 2013 Posted December 27, 2013 Hey guys, i can not buy items from a cash shop. I get this error; [Warning]: Player 150000 sent incorrect cash shop buy packet (len 14:10)! Im using 20101116 client. packet_db is set to default. Is there somthing im doing wrong here? Thank you. Sorry for the bumb, just quite urgent.Is there some SRC edits I need to do? Quote
Lighta Posted December 27, 2013 Posted December 27, 2013 hmm ye kinda, you're packet handling is in clif.c:clif_parse_cashshop_buy when you click buy in the cashshop you arrived directly in that function. Ok so there a probability you have misconfigured the serv to match the client so it would be great to have the value of : PACKETVER, packet_db, clientinfo version and the version the serv say he have recognized for you. Then beside this it appear we do not have a proper version linked to that date, 2010-11-16, the next one is 2010-11-24 and that packer_ver = 26. Now that one has the correct definition for the cashshopbuy : 0x0288,-1,cashshopbuy,2:4:6:10 10 is the index where he should found the amount of item you buying from cashshop wich is appear to not have found and thus having that 10 here (len 14:10)! (14 is expected value, 10 = 10 + count * itemsize) => count = 0 So since we are in 2010-11-24 we should be linked to packer_ver = 25 wich unfortunatly have that definition : 0x0288,10,cashshopbuy,2:4:6 (herited from packet_ver : 22) Wich since doesn't have the index from count doesn't fetch it and therefore failling... A simple fix would be to alter packet_db.txt and change line 1020 from 0x0288,10,cashshopbuy,2:4:6 to 0x0288,10,cashshopbuy,2:4:6:10 I think that should do it but this is a very old client quite depreciated, as you can see those packet there ain't well maintened. Quote
Shindu Posted December 27, 2013 Author Posted December 27, 2013 (edited) okay i changed this; A simple fix would be to alter packet_db.txt and change line 1020 from 0x0288,10,cashshopbuy,2:4:6 to 0x0288,10,cashshopbuy,2:4:6:10 Rebooted the server. Im still getting the same error; [Warning]: Player 150000 sent incorrect cash shop buy packet (len 14:10)! Here are my details; rAthena Version : SVN r17690 db/packet_db.txt : packet_db_ver: default src/common/mmo.h : PACKETVER 20101116 clientinfo.xml : <version>25</version> <langtype>1</langtype> NVM i fixed the issue Edited December 27, 2013 by Avid Quote
Shindu Posted December 28, 2013 Author Posted December 28, 2013 changed 0x0288,-1,cashshopbuy,2:4:6:10 to 0x0288,-1,cashshopbuy,2:4:8:10 Quote
Question
Shindu
Hey guys, i can not buy items from a cash shop.
I get this error;
Im using 20101116 client.
packet_db is set to default.
Is there somthing im doing wrong here?
Thank you.
Sorry for the bumb, just quite urgent.
Is there some SRC edits I need to do?
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.