diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-04-12 23:35:06 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-04-14 11:27:30 +0200 |
commit | f4dcf3a0ed93546958c5fa59dbac32511a6bac0c (patch) | |
tree | 5d647baed130069fbf171bf8205506f54429935f /world/map/npc/052-2 | |
parent | 9c9034116fab44475c9bad57b727a374fbd01ebf (diff) | |
download | serverdata-f4dcf3a0ed93546958c5fa59dbac32511a6bac0c.tar.gz serverdata-f4dcf3a0ed93546958c5fa59dbac32511a6bac0c.tar.bz2 serverdata-f4dcf3a0ed93546958c5fa59dbac32511a6bac0c.tar.xz serverdata-f4dcf3a0ed93546958c5fa59dbac32511a6bac0c.zip |
Fix exploit in Brodomir script due to unexpected behavior of delitem/getitem.
- delitem: only deletes one item if applied to not-stackable item (equipment)
- getitem: gives item stacked, even if it's equipment
- fix: use a loop and only delete/give one item at a time
Diffstat (limited to 'world/map/npc/052-2')
0 files changed, 0 insertions, 0 deletions