Jump to content

Cube System don´t show items


Recommended Posts

9 hours ago, [007]DawisHU said:

Hmm yeah :D
maybe client side again

  Reveal hidden contents

i found this in
locale_de/locale/de/ui/new_cube_bg.tga
 

  Reveal hidden contents

This is the hidden content, please

 


0323_194245.jpg

It works for you
the Same problem :@ Fuck is problem

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 months later...

Hello again, I now found this error :D
Why u no have the REAL syserr? Server don't communicating whit client in cube :P
REAL ORIGINAL ERROR:
 

Spoiler

0529 21:00:39774 :: Traceback (most recent call last):

0529 21:00:39774 ::   File "game.py", line 1677, in BINARY_Cube_Open

0529 21:00:39774 ::   File "game.py", line 1768, in BINARY_Cube_MaterialInfo

0529 21:00:39774 :: IndexError
0529 21:00:39775 :: :
0529 21:00:39775 :: list index out of range
0529 21:00:39775 ::

 

What is it ?

Spoiler

Root/Game.py -> (line 1677)
 

Spoiler

def BINARY_Cube_Open(self):
        #constInfo.CRAFTING_NPC_ID_OLD = constInfo.CRAFTING_NPC_ID
        self.interface.OpenCubeWindow()

        
        #if constInfo.CRAFTING_NPC_ID != constInfo.CRAFTING_NPC_ID_OLD:
        self.BINARY_Cube_ResultList()
        self.BINARY_Cube_MaterialInfo()
        self.interface.wndCube.Refresh()
        #constInfo.CRAFTING_NPC_ID_OLD = constInfo.CRAFTING_NPC_ID
        #else:
        #    cubeInfoList = self.cubeInformation[constInfo.CRAFTING_NPC_ID]
        #    
        #    i = 0
        #    for cubeInfo in cubeInfoList:                                
        #        self.interface.wndCube.AddCubeResultItem(cubeInfo["vnum"], cubeInfo["count"])
        #        
        #        j = 0                
        #        for materialList in cubeInfo["materialList"]:
        #            for materialInfo in materialList:
        #                itemVnum, itemCount = materialInfo
        #                self.interface.wndCube.AddMaterialInfo(i, j, itemVnum, itemCount)
        #            j = j + 1                        
        #                
        #        i = i + 1
        #        
        #    self.interface.wndCube.AddMaterialInfo(i, j, itemVnum, itemCount)
        #    self.interface.wndCube.Refresh()

Root/Game.py -> (line 1768)
 

Spoiler

    def BINARY_Cube_MaterialInfo(self):
        # Material Text Format : 125,1|126,2|127,2|123,5&555,5&555,4/120000
        try:
            #print listText
            listText = constInfo.CRAFTING_NEED
            startIndex = 0
            if 3 > len(listText):
                dbg.TraceError("Wrong Cube Material Infomation")
                return 0

            
            
            eachResultList = listText.split("@")

            
            cubeInfo = self.cubeInformation[constInfo.CRAFTING_NPC_ID]            
            
            itemIndex = 0
            for eachResultText in eachResultList:
                cubeInfo[startIndex + itemIndex]["materialList"] = [[], [], [], [], []]
                materialList = cubeInfo[startIndex + itemIndex]["materialList"]
                
                gold = 0
                splitResult = eachResultText.split("/")
                if 1 < len(splitResult):
                    gold = int(splitResult[1])
                    
                #print "splitResult : ", splitResult
                eachMaterialList = splitResult[0].split("&")
                
                i = 0
                for eachMaterialText in eachMaterialList:
                    complicatedList = eachMaterialText.split("|")
                    
                    if 0 < len(complicatedList):
                        for complicatedText in complicatedList:
                            (itemVnum, itemCount) = complicatedText.split(",")
                            itemVnum = int(itemVnum)
                            itemCount = int(itemCount)
                            self.interface.wndCube.AddMaterialInfo(itemIndex + startIndex, i, itemVnum, itemCount)
                            
                            materialList.append((itemVnum, itemCount))
                            
                    else:
                        itemVnum, itemCount = eachMaterialText.split(",")
                        itemVnum = int(itemVnum)
                        itemCount = int(itemCount)
                        self.interface.wndCube.AddMaterialInfo(itemIndex + startIndex, i, itemVnum, itemCount)
                        
                        materialList.append((itemVnum, itemCount))
                        
                    i = i + 1
                    
                    
                    
                itemIndex = itemIndex + 1
                
            #self.interface.wndCube.Refresh()
            
            self.interface.wndCube.SetScrollStep(itemIndex)
        except RuntimeError, msg:
            dbg.TraceError(msg)
            return 0
            
        pass
    
    # END_OF_CUBE  
   

 


How to fix?
 

Spoiler

Replace 4 item in cube and automatically loaded and refresh ( ymir or maybe webzen bug or source :D )

It work?

On 2017. 03. 23. at 10:38 PM, TheEnd said:

Same problem after search :(:(:( 
 

 

On 2017. 03. 23. at 8:04 PM, TheEnd said:

It works for you
the Same problem :@ Fuck is problem

 

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.