[ Postat de pe Android ]

Cod: Selectaţi tot
GetObject=self.dlgQuestion.GetChild
GetObject("message1").SetText(locale.REFINE_DESTROY_WARNING)
GetObject("message2").SetText(locale.REFINE_WARNING2)Cod: Selectaţi tot
locale.Cod: Selectaţi tot
localeInfo,Cod: Selectaţi tot
REFINE_DESTROY_WARNING Some TextAcum apare asta:Thomas Shelby scrie:Daca ai 28k foloseste ,Cod: Selectaţi tot
GetObject=self.dlgQuestion.GetChild GetObject("message1").SetText(locale.REFINE_DESTROY_WARNING) GetObject("message2").SetText(locale.REFINE_WARNING2)
Daca folosesti client 40k,Cod: Selectaţi tot
locale.
Cel mai probabil ai 40k,Cod: Selectaţi tot
localeInfo,
Exemplu ... fa asa:
localeInfo.REFINE_DESTROY_WARNING (Vezi sa ai si import localeInfo)
Apoi in locale_game.txt adauga :Cod: Selectaţi tot
REFINE_DESTROY_WARNING Some Text
Cod: Selectaţi tot
ui.py(line:3368) LoadScriptFile
system.py(line:192) execfile
system.py(line:163) Run
uiscript/refinedialog.py(line:95) <module>
LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'REFINE_CURRENT_ITEM'
0705 12:59:19836 :: ============================================================================================================
0705 12:59:19836 :: Abort!!!!
0705 12:59:19837 ::
uiRefine.py(line:65) __LoadScript
ui.py(line:3385) LoadScriptFile
exception.py(line:36) Abort
RefineDialog.__LoadScript.LoadObject - <type 'exceptions.SystemExit'>:
0705 12:59:19837 :: ============================================================================================================
0705 12:59:19837 :: Abort!!!!In uiscript , fisierul : refinedialog.pygubigubi scrie:Acum apare asta:Thomas Shelby scrie:Daca ai 28k foloseste ,Cod: Selectaţi tot
GetObject=self.dlgQuestion.GetChild GetObject("message1").SetText(locale.REFINE_DESTROY_WARNING) GetObject("message2").SetText(locale.REFINE_WARNING2)
Daca folosesti client 40k,Cod: Selectaţi tot
locale.
Cel mai probabil ai 40k,Cod: Selectaţi tot
localeInfo,
Exemplu ... fa asa:
localeInfo.REFINE_DESTROY_WARNING (Vezi sa ai si import localeInfo)
Apoi in locale_game.txt adauga :Cod: Selectaţi tot
REFINE_DESTROY_WARNING Some TextAm adăugat și la REFINE_WARNING2 că mi-a cerut.Cod: Selectaţi tot
ui.py(line:3368) LoadScriptFile system.py(line:192) execfile system.py(line:163) Run uiscript/refinedialog.py(line:95) <module> LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'REFINE_CURRENT_ITEM' 0705 12:59:19836 :: ============================================================================================================ 0705 12:59:19836 :: Abort!!!! 0705 12:59:19837 :: uiRefine.py(line:65) __LoadScript ui.py(line:3385) LoadScriptFile exception.py(line:36) Abort RefineDialog.__LoadScript.LoadObject - <type 'exceptions.SystemExit'>: 0705 12:59:19837 :: ============================================================================================================ 0705 12:59:19837 :: Abort!!!!
Cod: Selectaţi tot
0705 13:14:07301 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=109) - Strange Skill Need Weapon(jeongeop)
0705 13:15:07782 :: Traceback (most recent call last):
0705 13:15:07782 :: File "game.py", line 787, in OpenRefineDialog
0705 13:15:07782 :: File "interfaceModule.py", line 1002, in OpenRefineDialog
0705 13:15:07782 :: File "uiRefine.py", line 354, in Open
0705 13:15:07782 :: AttributeError
0705 13:15:07782 :: :
0705 13:15:07782 :: 'module' object has no attribute 'REFINE_CURRENT_PERCENTAGE'
0705 13:15:07782 ::
0705 13:15:07783 :: Traceback (most recent call last):
0705 13:15:07783 :: File "game.py", line 790, in AppendMaterialToRefineDialog
0705 13:15:07783 :: File "interfaceModule.py", line 1005, in AppendMaterialToRefineDialog
0705 13:15:07783 :: File "uiRefine.py", line 415, in AppendMaterial
0705 13:15:07783 :: AttributeError
0705 13:15:07783 :: :
0705 13:15:07783 :: 'module' object has no attribute 'UI_DEF_FONT'
0705 13:15:07783 ::
Cod: Selectaţi tot
import localeCod: Selectaţi tot
import localeInfoN-am reușit nimic și mi-am băgat *cenzurat* în el de systemThomas Shelby scrie:Deci, daca folosesti locale. si fisierul acesta nu l-ai luat din alt client cu totul, ca vad ca ai si import locale. REPET, daca folosesti locale. toate textele tale trebuie sa fie locale.TEXT_EXAMPLE si mai departe am scris mai sus.
Dar cel mai sigur ce cred eu, este ca folosesti localeInfo si fisierul uiRefine l-ai luat cu totul din alt client.
Cauta :
Inlocuieste cu :Cod: Selectaţi tot
import locale
Apoi fa asa in acest fisier :Cod: Selectaţi tot
import localeInfo
http://prntscr.com/k2thaj
Utilizatori ce ce navighează pe acest forum: Google [Bot], Semrush [Bot] și 81 vizitatori