Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=961
There is a problem with default eathena behavior.
When you're overweight or have full inventory, any received items get dropped on the ground.
I received a report about the card remover script, where the abovementioned behavior lets you bypass item drop restrictions, and allow other players to get otherwise nontradeable items.
The person who reported this to me fixed it this way:
CODE
CARDNUMCHECK:
if(getequipcardcnt(@part) == 0) goto DENYCARDCOUNT;
set @cardcount,getequipcardcnt(@part);
+ getinventorylist;
+ if (@inventorylist_count+@cardcount) > 100 {
+ mes "You don't have enough room to take these cards off! Come back when you are ready.";
+ close;
+ }
PS: aegis wipes out the item when the target cannot carry it.