Issue information

Issue ID
#4701
Status
Fixed
Severity
Low
Started
Hercules Elf Bot
Jan 9, 2011 1:39
Last Post
Hercules Elf Bot
Jan 9, 2011 1:39
Confirmation
N/A

Hercules Elf Bot - Jan 9, 2011 1:39

Originally posted by [b]daniel_gp[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4701

Since rv14650+ (i don't know exactly) there's a bug when you buy something in cashshop NPC's, your current cash does not update, but the item goes to your inventory.

I found that a function which handle the cashshop was lately changed in clif.c and this bug came from a different size of packet (0x289). The previous value was 12, but was changed to packet_len(0x289), which returns 8.

To solve, i just changed the line 14338 (clif.c) to return the correct packet size.

QUOTE
0, 0, 0, 6, 0, 0, 0, 0, 0, 8, 18, 0, 0, 0, 0, 0,


to

QUOTE
0, 0, 0, 6, 0, 0, 0, 0, 0, 12, 18, 0, 0, 0, 0, 0,


Thanks.