Metin2 İtem use for İtem code

08/07/2014 17:05 salube#1
Hi guys. I need help for this command on python:
Code:
net.SendItemUsePacket(1)
This is use item but its use only slot code but i need use for item code. Sorry for my english not good.
08/07/2014 20:57 noahrmal#2
PHP Code:
for i in xrange(player.INVENTORY_PAGE_SIZE*3):
    
YourItemID player.GetItemIndex(i)
    if 
YourItemID == ItemID:
        
net.SendItemUsePacket(i)
        break 
ItemID = your item id which you want to use
08/09/2014 23:24 salube#3
Quote:
Originally Posted by 123klo View Post
PHP Code:
for i in xrange(player.INVENTORY_PAGE_SIZE*3):
    
YourItemID player.GetItemIndex(i)
    if 
YourItemID == ItemID:
        
net.SendItemUsePacket(i)
        break 
ItemID = your item id which you want to use

It's give LOG error.

I search auto pass this button (Python code):

[Only registered and activated users can see links. Click Here To Register...]