So the issue with the cash shop is the cash shop inventory. So basically in showCashInventory in MaplePacketHandler.
There's this line:
Because of that, the cash shop dcs anyone who hovers his mouse on an empty slot in it. The dc has no error, it just dcs you out of the game.
This issue has been interfering with rings on my server since every time someone gets his ring he dcs.
With that disabled, it didn't dc anymore and I got my ring when I bought it but my partner didn't get it because for some reason, when you buy any item, it gets placed into a random slot in the cash inventory.
It's something thats been bothering me for a while.
Anyone had this issue or before or can lead me into the right direction?
There's this line:
Code:
mplew.writeShort(c.getPlayer().getCashShop().getInventory().size());
Because of that, the cash shop dcs anyone who hovers his mouse on an empty slot in it. The dc has no error, it just dcs you out of the game.
This issue has been interfering with rings on my server since every time someone gets his ring he dcs.
With that disabled, it didn't dc anymore and I got my ring when I bought it but my partner didn't get it because for some reason, when you buy any item, it gets placed into a random slot in the cash inventory.
It's something thats been bothering me for a while.
Anyone had this issue or before or can lead me into the right direction?