@Fraysa, well I was looking through playerInteractionHandler.java to see if I could find any clues as to what the trade d/c and I was thinking that at the of the code I could check if the packet was being sent like so:
Code here
Sry about linking to it but it doesn't format correctly in vbulletin..

Originally Posted by
buttocks
If I'm not mistaken, it sends the player an additional trade/shop window while they're already in trade. Simply check if a player is in trade already, and if he is disable the 04 mode.
@buttocks
Hmm, would you recommend the way I did it in the link up there or should I also add a check for trade in the if statement to something like:
PHP Code:
if ( player.getTrade() != null && slea.toString().contains("7B 00 04 B7 50 00 00 00 00")) { //...