Register for your free account! | Forgot your password?
Rust Cheats

You last visited: Today at 05:58

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

Advertisement



Cube Bug

Discussion on Cube Bug within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Cube Bug

hallo liebe epvp com mein cube fenster ist total am rumbuggen, sobald ich z.B npc 20383 öffne und was craften will stürzt client ab hier mal der syserror


PHP Code:
´0111 15:26:00334 :: CSoundManager::PlayMusic Failed to load stream sound BGM/login_window.mp3
0111 15
:26:08316 :: CSoundManager::PlayMusic Failed to load stream sound BGM/characterselect.mp3
0111 15
:26:17782 :: CSoundManager::PlayMusic Failed to load stream sound BGM/enter_the_east.mp3
0111 15
:26:22313 :: Traceback (most recent call last):

0111 15:26:22313 ::   File "game.py"line 1817in BINARY_Cube_MaterialInfo

0111 15
:26:22313 ::   File "uiCube.py"line 442in Refresh

0111 15
:26:22313 :: KeyError
0111 15
:26:22313 :: : 
0111 15:26:22313 :: 1
0111 15
:26:22313 :: 

0111 15:26:22314 :: Traceback (most recent call last):

0111 15:26:22314 ::   File "game.py"line 1817in BINARY_Cube_MaterialInfo

0111 15
:26:22314 ::   File "uiCube.py"line 442in Refresh

0111 15
:26:22314 :: KeyError
0111 15
:26:22314 :: : 
0111 15:26:22314 :: 1
0111 15
:26:22314 :: 

0111 15:26:22314 :: Traceback (most recent call last):

0111 15:26:22314 ::   File "game.py"line 1796in BINARY_Cube_MaterialInfo

0111 15
:26:22314 :: ValueError
0111 15
:26:22314 :: : 
0111 15:26:22314 :: need more than 1 value to unpack
0111 15
:26:22314 :: 

0111 15:26:22328 :: Traceback (most recent call last):

0111 15:26:22328 ::   File "game.py"line 1779in BINARY_Cube_MaterialInfo

0111 15
:26:22328 :: IndexError
0111 15
:26:22328 :: : 
0111 15:26:22328 :: list index out of range
0111 15
:26:22328 :: 
keiner will helfen ??
BizepsSupportAccount is offline  
Old 01/12/2016, 16:46   #2
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
push
BizepsSupportAccount is offline  
Old 01/13/2016, 17:47   #3
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
was steht den in

0111 15:26:22313 :: File "uiCube.py", line 442, in Refresh

poste das mal
gerald500 is offline  
Old 02/10/2016, 20:30   #4
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
push, bug exestiert immer noch. kann bitte kurz jmd helfen?

PHP Code:
 0210 20:29:22331 :: Traceback (most recent call last):

0210 20:29:22331 ::   File "ui.py"line 1180in OnMove

0210 20
:29:22331 ::   File "ui.py"line 87in __call__

0210 20
:29:22331 ::   File "ui.py"line 69in __call__

0210 20
:29:22331 ::   File "ui.py"line 2305in OnMove

0210 20
:29:22331 ::   File "ui.py"line 87in __call__

0210 20
:29:22331 ::   File "ui.py"line 69in __call__

0210 20
:29:22331 ::   File "uiCube.py"line 186in OnScrollResultList

0210 20
:29:22331 ::   File "uiCube.py"line 431in Refresh

0210 20
:29:22331 :: ZeroDivisionError
0210 20
:29:22331 :: : 
0210 20:29:22331 :: integer division or modulo by zero
0210 20
:29:22331 :: 
BizepsSupportAccount is offline  
Old 02/11/2016, 10:49   #5
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Poste die Relevanten Code Zeilen die in der Syserr angegeben werden und wir könnten dir evtl helfen
.Inya is offline  
Old 02/11/2016, 21:01   #6
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500

Ein Bild von den betroffenen Zeilen
BizepsSupportAccount is offline  
Old 02/11/2016, 21:04   #7
 
elite*gold: 0
Join Date: Apr 2015
Posts: 428
Received Thanks: 361
Das Bild existiert nicht mehr; poste es doch als puren Code hier im Forum.
#Metho is offline  
Old 02/11/2016, 21:17   #8
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
PHP Code:
def Refresh(self):
        for 
slotPos in xrange(self.cubeSlot.GetSlotCount()):

            if 
not slotPos in self.cubeItemInfo:
                
self.cubeSlot.ClearSlot(slotPos)
                continue

            
invenPos self.cubeItemInfo[slotPos]
            
itemCount player.GetItemCount(invenPos)
            if 
itemCount 0:
                
self.cubeSlot.SetItemSlot(slotPosplayer.GetItemIndex(invenPos), itemCount)
            else:
                
del self.cubeItemInfo[slotPos]
                
self.cubeSlot.ClearSlot(slotPos)

        
0
        
for itemVnumcount in self.cubeResultInfos[self.firstSlotIndex:]:
            
currentSlot self.resultSlots[i]

            
item.SelectItem(itemVnum)
            
            
currentSlot.SetItemSlot(0itemVnumcount)
            
currentSlot.Show()

            
# Center Align
            
item.SelectItem(itemVnum)
            
sizeXsizeY item.GetItemSize()
            
localXlocalY currentSlot.GetLocalPosition()

            
currentSlot.SetSize(self.SLOT_SIZEXself.SLOT_SIZEY sizeY)

            
adjustLocalY 0
            
if sizeY 3:
                
adjustLocalY int(32 sizeY)

            
currentSlot.SetPosition(localXadjustLocalY)

            
1
            
if <= i:
                break 
431 ist in dem fall diese Zeile:

adjustLocalY = int(32 / sizeY)
BizepsSupportAccount is offline  
Old 02/11/2016, 22:17   #9
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Dein item hat eine Size von 0, vllt falsch eingetragen in der datenbank? Daher 0 division
.Inya is offline  
Old 02/11/2016, 22:33   #10
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Nein die Size ist auf 2 ^.
BizepsSupportAccount is offline  
Old 02/13/2016, 02:31   #11
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Kommt schon Leute, hab nicht soviel Ahnung von Python.
BizepsSupportAccount is offline  
Old 02/13/2016, 13:16   #12
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,422
Received Thanks: 1,368
Quote:
Originally Posted by BizepsSupportAccount View Post
Nein die Size ist auf 2 ^.
der Error sagt aber genau das Gegenteil aus, sizeY ist leer wie .Inya schon sagte.
blackout85 is offline  
Old 02/13/2016, 13:56   #13
 
BizepsSupportAccount's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Es hat aber ne größe von 2 und ist nicht falsch eingetragen.. aber ich kontrolliere es mal trotzdem nochmal.
BizepsSupportAccount is offline  
Reply




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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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