You last visited: Today at 14:04
Advertisement
Cube Bug
Discussion on Cube Bug within the Metin2 Private Server forum part of the Metin2 category.
01/11/2016, 15:37
#1
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 1817 , in BINARY_Cube_MaterialInfo
0111 15 : 26 : 22313 :: File "uiCube.py" , line 442 , in 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 1817 , in BINARY_Cube_MaterialInfo
0111 15 : 26 : 22314 :: File "uiCube.py" , line 442 , in 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 1796 , in 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 1779 , in 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 ??
01/12/2016, 16:46
#2
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
push
01/13/2016, 17:47
#3
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
02/10/2016, 20:30
#4
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 1180 , in OnMove 0210 20 : 29 : 22331 :: File "ui.py" , line 87 , in __call__ 0210 20 : 29 : 22331 :: File "ui.py" , line 69 , in __call__ 0210 20 : 29 : 22331 :: File "ui.py" , line 2305 , in OnMove 0210 20 : 29 : 22331 :: File "ui.py" , line 87 , in __call__ 0210 20 : 29 : 22331 :: File "ui.py" , line 69 , in __call__ 0210 20 : 29 : 22331 :: File "uiCube.py" , line 186 , in OnScrollResultList 0210 20 : 29 : 22331 :: File "uiCube.py" , line 431 , in Refresh 0210 20 : 29 : 22331 :: ZeroDivisionError 0210 20 : 29 : 22331 :: : 0210 20 : 29 : 22331 :: integer division or modulo by zero 0210 20 : 29 : 22331 ::
02/11/2016, 10:49
#5
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
02/11/2016, 21:01
#6
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Ein Bild von den betroffenen Zeilen
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.
02/11/2016, 21:17
#8
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 ( slotPos , player . GetItemIndex ( invenPos ), itemCount ) else: del self . cubeItemInfo [ slotPos ] self . cubeSlot . ClearSlot ( slotPos ) i = 0 for itemVnum , count in self . cubeResultInfos [ self . firstSlotIndex :]: currentSlot = self . resultSlots [ i ] item . SelectItem ( itemVnum ) currentSlot . SetItemSlot ( 0 , itemVnum , count ) currentSlot . Show () # Center Align item . SelectItem ( itemVnum ) sizeX , sizeY = item . GetItemSize () localX , localY = currentSlot . GetLocalPosition () currentSlot . SetSize ( self . SLOT_SIZEX , self . SLOT_SIZEY * sizeY ) adjustLocalY = 0 if sizeY < 3 : adjustLocalY = int ( 32 / sizeY ) currentSlot . SetPosition ( localX , 0 + adjustLocalY ) i = i + 1 if 3 <= i : break
431 ist in dem fall diese Zeile:
adjustLocalY = int(32 / sizeY)
02/11/2016, 22:17
#9
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
02/11/2016, 22:33
#10
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Nein die Size ist auf 2 ^.
02/13/2016, 02:31
#11
elite*gold: 0
Join Date: Dec 2014
Posts: 1,018
Received Thanks: 500
Kommt schon Leute, hab nicht soviel Ahnung von Python.
02/13/2016, 13:16
#12
elite*gold: 0
Join Date: Aug 2009
Posts: 1,422
Received Thanks: 1,369
Quote:
Originally Posted by
BizepsSupportAccount
Nein die Size ist auf 2 ^.
der Error sagt aber genau das Gegenteil aus, sizeY ist leer wie .Inya schon sagte.
02/13/2016, 13:56
#13
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.
All times are GMT +2. The time now is 14:07 .