ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
Kod:
0223 16:24:12653 :: Traceback (most recent call last):
0223 16:24:12653 :: File "game.py", line 1277, in OnKeyDown
0223 16:24:12654 :: File "game.py", line 348, in <lambda>
0223 16:24:12654 :: File "game.py", line 2502, in OpenRanking
0223 16:24:12654 :: File "uirank.py", line 51, in Open
0223 16:24:12654 :: File "uirank.py", line 73, in LoadInfo
0223 16:24:12654 :: File "uirank.py", line 116, in __init__
0223 16:24:12654 :: TypeError
0223 16:24:12654 :: :
0223 16:24:12654 :: int() argument must be a string or a number, not 'NoneType'
0223 16:24:12654 ::
[CODE title="uirank.py"] list = [ ["Level","level"],["Destroyed Stone","stone"],["Killed Monster","monster"],["Killed Boss","boss"],["Completed Dungeon","dungeon"],["Playtime","playtime"],["Gold","gold"],["Gaya","gaya"],["Caught Fishes","fish"],["Opened Chest","chest"]] #chat.AppendChat(chat.CHAT_TYPE_INFO, "index: %d"%index)
for j in xrange(10):
if constInfo.GetFlag("rank_%s_value_%d"%(list[index][1],j)) == 0:
continue
resultItem = ItemNEW(self,j+1,constInfo.GetFlag("rank_%s_name_%d"%(list[index][1],j)),constInfo.GetFlag("rank_%s_empire_%d"%(list[index][1],j)),constInfo.GetFlag("rank_%s_value_%d"%(list[index][1],j))) #chat.AppendChat(chat.CHAT_TYPE_INFO, "name: %s %s %d %d"%(list[index][1],constInfo.GetFlag("rank_%s_name_%d"%(list[index][1],j)),constInfo.GetFlag("rank_%s_empire_%d"%(list[index][1],j)),constInfo.GetFlag("rank_%s_value_%d"%(list[index][1],j))))
resultItem.Show()
self.ListBoxNew.AppendItem(resultItem)
for j in xrange(len(self.ListBox.itemList)):
if index == j:
self.ListBox.itemList[j].Image.SetUpVisual("ranking/btn_%d_1.tga"%j)
self.ListBox.itemList[j].Image.SetOverVisual("ranking/btn_%d_1.tga"%j)
self.ListBox.itemList[j].Image.SetDownVisual("ranking/btn_%d_1.tga"%j)
else:
self.ListBox.itemList[j].Image.SetUpVisual("ranking/btn_%d_0.tga"%j)
self.ListBox.itemList[j].Image.SetOverVisual("ranking/btn_%d_0.tga"%j)
self.ListBox.itemList[j].Image.SetDownVisual("ranking/btn_%d_1.tga"%j)