Register for your free account! | Forgot your password?

You last visited: Today at 08:32

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

Advertisement



[How To] Autopott Effect entbuggen.

Discussion on [How To] Autopott Effect entbuggen. within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 506
Received Thanks: 177
[How To] Autopott Effect entbuggen.

Guten Tag, Elitepvpers.
Da mehrere mich angesprochen haben das sie einen Fehler mit den Autopotts haben mache ich nun ein How To.
Als 1. entpacken wir die:
PHP Code:
root.eix root.epk 
Dann öffnen wir die:
PHP Code:
uiinventory.py 
Nun gehen wir zu:
PHP Code:
    def RefreshBagSlotWindow(self): 
Und fügen dort drunter das hier ein:
PHP Code:
    getItemVNum=player.GetItemIndex
        getItemCount
=player.GetItemCount
        setItemVNum
=self.wndItem.SetItemSlot
        
        
for i in xrange(player.INVENTORY_PAGE_SIZE):
            
slotNumber self.__InventoryLocalSlotPosToGlobalSlotPos(i)
            
itemCount getItemCount(slotNumber)
            if 
itemCount <= 1:
                
itemCount 0
                
            itemVnum 
getItemVNum(slotNumber)
            
setItemVNum(iitemVnumitemCount)
            
            
## ÀÚµ¿¹°¾à (HP: #72723 ~ #72726, SP: #72727 ~ #72730) Æ¯¼ö󸮠- ¾ÆÀÌÅÛÀε¥µµ ½½·Ô¿¡ È°¼ºÈ*/ºñÈ°¼ºÈ* Ç¥½Ã¸¦ À§ÇÑ ÀÛ¾÷ÀÓ - [hyo]
            
if constInfo.IS_AUTO_POTION(itemVnum):
                
# metinSocket - [0] : È°¼ºÈ* ¿©ºÎ, [1] : »ç¿ëÇÑ ¾ç, [2] : ÃÖ´ë ¿ë·®
                
metinSocket = [player.GetItemMetinSocket(slotNumberj) for j in xrange(player.METIN_SOCKET_MAX_NUM)]    
                
                if 
slotNumber >= player.INVENTORY_PAGE_SIZE:
                    
slotNumber -= player.INVENTORY_PAGE_SIZE
                    
                isActivated 
!= metinSocket[0]
                
                if 
isActivated:
                    
self.wndItem.ActivateSlot(slotNumber)
                    
potionType 0;
                    if 
constInfo.IS_AUTO_POTION_HP(itemVnum):
                        
potionType player.AUTO_POTION_TYPE_HP
                    elif constInfo
.IS_AUTO_POTION_SP(itemVnum):
                        
potionType player.AUTO_POTION_TYPE_SP                        
                    
                    usedAmount 
int(metinSocket[1])
                    
totalAmount int(metinSocket[2])                    
                    
player.SetAutoPotionInfo(potionTypeisActivated, (totalAmount usedAmount), totalAmountself.__InventoryLocalSlotPosToGlobalSlotPos(i))
                    
                else:
                    
self.wndItem.DeactivateSlot(slotNumber)            
                    
        
self.wndItem.RefreshSlot() 
Jetzt packen wir die:
PHP Code:
 root.eix root.epk 
Und euer Autopott sollte nun im Inventar angezeigt werden.
mfg .In¢redible´.
Attached Files
File Type: rar uiinventory.rar (5.7 KB, 81 views)
.In¢redible´ is offline  
Thanks
7 Users
Old 09/20/2013, 13:14   #2
 
[Castro]'s Avatar
 
elite*gold: 0
Join Date: Sep 2013
Posts: 166
Received Thanks: 104
Für manche sicher nützlich... Aber ist ja schon drinnen in den meisten Clients.

Trotzdem Thx 4 Sharing
[Castro] is offline  
Old 09/20/2013, 16:20   #3
 
LovecKrys's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 210
Received Thanks: 199
For begginers it may be good. Thx
LovecKrys is offline  
Old 09/20/2013, 16:51   #4
 
elite*gold: 21
Join Date: Oct 2012
Posts: 374
Received Thanks: 524
Quote:
Originally Posted by [Castro] View Post
Für manche sicher nützlich... Aber ist ja schon drinnen in den meisten Clients.

Trotzdem Thx 4 Sharing
realität

Quote:
Originally Posted by LovecKrys View Post
For begginers it may be good. Thx
Nein es ist total unnützlich für Anfänger, da in keinem Ansatz erklärt wird was geändert wird am Source wie soll man da was lernen?
Analyze™ is offline  
Thanks
1 User
Old 09/20/2013, 18:53   #5
 
Red Firestar's Avatar
 
elite*gold: 0
The Black Market: 185/0/0
Join Date: Jul 2012
Posts: 5,520
Received Thanks: 1,350
.In¢redible´ also eig finde ich dich kacke.
Aber dieses mal sage ich danke fürs teilen <3
Jetzt machst du ja mal was gescheites <3
Red Firestar is offline  
Thanks
1 User
Old 09/20/2013, 18:58   #6

 
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,448
Quote:
Originally Posted by .н¢Kobra View Post
.In¢redible´ also eig finde ich dich kacke.
Aber dieses mal sage ich danke fürs teilen <3
Jetzt machst du ja mal was gescheites <3
Ja, er macht Sachen, die seit Jahren public sind.

1. bereits public
2. Sammelthread

Lg
Lord iRemix is offline  
Thanks
1 User
Old 09/21/2013, 02:18   #7

 
elite*gold: 0
The Black Market: 160/0/0
Join Date: May 2012
Posts: 7,283
Received Thanks: 822
Quote:
Originally Posted by .In¢redible´ View Post
Ah, der kleine Hacker auch hier, hi.
Schick mir mal einen Thread wo erklärt wird wie man sie entbuggt, ok ?
Sobalt du das neue Inventar Script einfügst, gehen die Autopotts ncht mehr.
Lern du erstmal die Rechtschreibung du Spezialist für Systemprogramme, kleiner Dennis
---
Wenn man die neue inventorywindow einfügt sollte man das eig beachten und ja, es ist bereits Public.
Quote:
Originally Posted by .In¢redible´ View Post
Schick mir mal einen Thread wo erklärt wird wie man sie entbuggt, ok ?
Hier werden keine Fragen gestellt !
#Reported ! :*
Ielinque is offline  
Closed Thread




All times are GMT +2. The time now is 08:32.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.