summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDipesh Amin <yaypunkrock@gmail.com>2011-09-01 13:39:38 +0100
committerDipesh Amin <yaypunkrock@gmail.com>2011-09-01 13:39:38 +0100
commitff76f98a0e8d519c08938fa44b77d70294e8cb1e (patch)
tree4519cbf51ffc096913d296aa00af581eab41cf05
parent2caac2d05e8b40b13b4a03a1186d2ce8e1fc10df (diff)
downloadmanamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.gz
manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.bz2
manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.tar.xz
manamarket-ff76f98a0e8d519c08938fa44b77d70294e8cb1e.zip
add something to logging.
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 3df8f1c..0ddb00c 100755
--- a/main.py
+++ b/main.py
@@ -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):