Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 05:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Python]Adding Item to exchange Window

Discussion on [Python]Adding Item to exchange Window within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 3
Received Thanks: 0
[Python]Adding Item to exchange Window

Ok. I edit code with some help. Now If i uncomment one line with SendExchangeItemPacket script wont run:
PHP Code:
import ui,app,chat,chr,net,player,item,skill,time,game,shop,chrmgr,thread,event,exchange

SWITCH_RARE_VNUM 
30270
start 
0
end 
3000000
SzamVID 
0
exslot 
1
for vid in range(startend):
    if 
chr.GetInstanceType(vid) != 6:
        continue
    
    if 
chr.GetNameByVID(vid) == "DajSeNaLuz":
        
SzamVID vid
        
break
        
net.SendExchangeStartPacket(SzamVID)
for 
i in range(0,90*2):
    
attachedSlotType player.INVENTORY
    attachedInvenType 
player.SlotTypeToInvenType(attachedSlotType)
    
itemVnum player.GetItemIndex(attachedInvenTypei)
    
    if 
itemVnum == SWITCH_RARE_VNUM:
        
#net.SendExchangeItemAddPacket(i,0)
        #net.SendExchangeItemAddPacket(i,exslot,1)
        
chat.AppendChat(chat.CHAT_TYPE_INFO"Odłamek znaleziony")
        
exslot=exslot+1
net
.SendExchangeAcceptPacket() 
Now what can i edit to make it run ?
radek01105 is offline  
Reply


Similar Threads Similar Threads
Visualize max skill / adding new npc item / adding new npc
04/10/2016 - SRO Private Server - 4 Replies
Hello ! I'm a little bit confused about disabling some skills from the client.You know if a server is cap 80 I don't want skills above to appear.I tried to make this happen some time ago and the client crashed every time I opened the skill window "S". I know it's about disabling some skills by putting 0 instead of 1 in a line but how do I do it in the proper way because, as I said, it crashed every time. And secondly, is there a software of an easy way to add new NPCs, add new items to...
JULY 19 2012 THIS FOR WINDOW 7 AND VISTA AND ALSO FOR WINDOW XP WALLHACK
07/27/2012 - Soldier Front Hacks, Bots, Cheats & Exploits - 11 Replies
DETECTED In window xp
1Cabal Window 1Maple Window at Same TIME??
05/26/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 0 Replies
let talk about 1 cabal 1 maple at same time... possible?? how to do tat...?? teach me please :p
Rename CO2 window title (any window actually)
05/13/2006 - CO2 Exploits, Hacks & Tools - 4 Replies
I have seen a few posts requesting this. It is a simple autohotkey macro nothing fancy here. You will notice also that the UPX packer detection is not triggered. If you use autohotkey and want to know how to remove the packer PM me it is rather simple. To use this little tool thingie it is very simple: Execute the code. Focus your window. Press Hotkey CTRL+WIN+w Change the Title. Apply



All times are GMT +1. The time now is 05:25.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.