diff options
author | Dipesh Amin <yaypunkrock@gmail.com> | 2011-09-01 13:39:38 +0100 |
---|---|---|
committer | Dipesh Amin <yaypunkrock@gmail.com> | 2011-09-01 13:39:38 +0100 |
commit | ff76f98a0e8d519c08938fa44b77d70294e8cb1e (patch) | |
tree | 4519cbf51ffc096913d296aa00af581eab41cf05 | |
parent | 2caac2d05e8b40b13b4a03a1186d2ce8e1fc10df (diff) | |
download | manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.gz manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.bz2 manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.xz manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.zip |
add something to logging.
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -773,7 +773,7 @@ def main(): index = packet.read_int16() - inventory_offset amount = packet.read_int16() - logging.info("Remove item: %s, Amount: %s", ItemDB.getItem(player_node.inventory[index].itemId).name, str(amount)) + logging.info("Remove item: %s, Amount: %s, Index: %s", ItemDB.getItem(player_node.inventory[index].itemId).name, str(amount), str(index)) player_node.remove_item(index, amount) elif packet.is_type(SMSG_PLAYER_INVENTORY): |