Honorable Member xP3NG3Rx 19781 Posted March 22, 2015 Honorable Member Share Posted March 22, 2015 The cythonized root are modified. Before cython: def AutoSetItem(self, (invenType, invenPos), itemCount): After cython: def AutoSetItem(self, inven, itemCount): invenType, invenPos = inven 1 Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted March 23, 2015 Premium Share Posted March 23, 2015 For those who have this error : Error 25 error LNK2005: "struct rootlib_SMethodDef * rootlib_init_methods" (?rootlib_init_methods@@3PAUrootlib_SMethodDef@@A) already defined in PythonrootlibManager.obj C:UsersGaletDesktopXXXMetin2XXXClientXXXsrcUserInterfaceUserInterface.obj UserInterface Error 26 error LNK2005: "void __cdecl initrootlibManager(void)" (?initrootlibManager@@YAXXZ) already defined in PythonrootlibManager.obj C:UsersGaletDesktopXXXMetin2XXXClientXXXsrcUserInterfaceUserInterface.obj UserInterface Delete the .h link at the beginning or UserInterface. Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted March 24, 2015 Premium Share Posted March 24, 2015 (edited) Hello, i'ts me (again) https://metin2.download/picture/0kyi10pLP2Hgq834oYw8T9605629wQSP/.png Same problem with .pyd or packed .exe, I don't know why there's a "stopped working". Is it because my root are messed up ? Indeed, I think it's because the charset, when I put any "coding" at the top, here's my error : __pack_import() got an unexpected keyword argument 'level' Edit : syserr error with normal root fixed, use this charset instead of utf8 : # -*- coding: ISO-8859-1 -*- Edit : Once I've built a new launcher, here's my current error : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png Have a nice day. Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 3 Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted March 24, 2015 Share Posted March 24, 2015 (edited) Hello, i'ts me (again) https://metin2.download/picture/0kyi10pLP2Hgq834oYw8T9605629wQSP/.png Same problem with .pyd or packed .exe, I don't know why there's a "stopped working". Is it because my root are messed up ? Indeed, I think it's because the charset, when I put any "coding" at the top, here's my error : __pack_import() got an unexpected keyword argument 'level' Edit : syserr error with normal root fixed, use this charset instead of utf8 : # -*- coding: ISO-8859-1 -*- Edit : Once I've built a new launcher, here's my current error : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png Have a nice day. Try to coding python file in notepad++ with korean or ansi, dont put # -*- coding: x-*- in file. Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted March 24, 2015 Premium Share Posted March 24, 2015 Sometimes there isn't korean strings, just stranges strings, even with notepad++. You thing that my last bug is caused by # -*- coding: x-*- ? Thanks Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted March 24, 2015 Share Posted March 24, 2015 The cythonized root are modified. Before cython: def AutoSetItem(self, (invenType, invenPos), itemCount): or just delete the ( ) like: def Aut....(self, inventype, invenPos, itemCount): in the all sites https://m2admin.net/ Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted March 25, 2015 Share Posted March 25, 2015 Sometimes there isn't korean strings, just stranges strings, even with notepad++. You thing that my last bug is caused by # -*- coding: x-*- ? Thanks Possibly. Link to comment Share on other sites More sharing options...
Minion 75 Posted March 25, 2015 Share Posted March 25, 2015 0325 13:33:00312 :: Could not import uiScriptLocale 0325 13:33:01056 :: RunMain Error i compiled uisript.py in c++ is good Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted March 25, 2015 Premium Share Posted March 25, 2015 (edited) Same error, even without "coding" : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
alin2894 14 Posted March 29, 2015 Share Posted March 29, 2015 download page is down? Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted April 12, 2015 Premium Share Posted April 12, 2015 0413 00:21:02685 :: introLogin.py(line:566) introLogin.LoginWindow.__LoadScript (introLogin.c:11073) ui.py(line:2792) ui.PythonScriptLoader.LoadScriptFile (ui.c:67759) LoginWindow.__LoadScript.LoadObject - <type 'exceptions.KeyError'>:'window' 0413 00:21:02685 :: ============================================================================================================ 0413 00:21:02685 :: Abort!!!! Link to comment Share on other sites More sharing options...
Night 367 Posted April 13, 2015 Share Posted April 13, 2015 0413 00:21:02685 :: introLogin.py(line:566) introLogin.LoginWindow.__LoadScript (introLogin.c:11073) ui.py(line:2792) ui.PythonScriptLoader.LoadScriptFile (ui.c:67759) LoginWindow.__LoadScript.LoadObject - <type 'exceptions.KeyError'>:'window' 0413 00:21:02685 :: ============================================================================================================ 0413 00:21:02685 :: Abort!!!! some error im sure about this introLogin.py(line:566) look at what you have there you should at least know what is the reason if the bug (btw the smallest error might cz the client to crush so be carefull) Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted April 13, 2015 Premium Share Posted April 13, 2015 (edited) Same error, even without "coding" : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png Still this bug ^^ Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted April 14, 2015 Premium Share Posted April 14, 2015 0413 00:21:02685 :: introLogin.py(line:566) introLogin.LoginWindow.__LoadScript (introLogin.c:11073) ui.py(line:2792) ui.PythonScriptLoader.LoadScriptFile (ui.c:67759) LoginWindow.__LoadScript.LoadObject - <type 'exceptions.KeyError'>:'window' 0413 00:21:02685 :: ============================================================================================================ 0413 00:21:02685 :: Abort!!!! some error im sure about this introLogin.py(line:566) look at what you have there you should at least know what is the reason if the bug (btw the smallest error might cz the client to crush so be carefull) introLogin.py def __LoadScript(self, fileName): import dbg try: pyScrLoader = ui.PythonScriptLoader() pyScrLoader.LoadScriptFile(self, fileName) except: import exception exception.Abort("LoginWindow.__LoadScript.LoadObject") ui.py def LoadScriptFile(self, window, FileName): Body = self.ScriptDictionary["window"] self.CheckKeyList("window", Body, self.BODY_KEY_LIST) window.ClearDictionary() self.InsertFunction = window.InsertChild Link to comment Share on other sites More sharing options...
Night 367 Posted April 14, 2015 Share Posted April 14, 2015 0413 00:21:02685 :: introLogin.py(line:566) introLogin.LoginWindow.__LoadScript (introLogin.c:11073) ui.py(line:2792) ui.PythonScriptLoader.LoadScriptFile (ui.c:67759) LoginWindow.__LoadScript.LoadObject - <type 'exceptions.KeyError'>:'window' 0413 00:21:02685 :: ============================================================================================================ 0413 00:21:02685 :: Abort!!!! some error im sure about this introLogin.py(line:566) look at what you have there you should at least know what is the reason if the bug (btw the smallest error might cz the client to crush so be carefull) introLogin.py def __LoadScript(self, fileName): import dbg try: pyScrLoader = ui.PythonScriptLoader() pyScrLoader.LoadScriptFile(self, fileName) except: import exception exception.Abort("LoginWindow.__LoadScript.LoadObject") ui.py def LoadScriptFile(self, window, FileName): Body = self.ScriptDictionary["window"] self.CheckKeyList("window", Body, self.BODY_KEY_LIST) window.ClearDictionary() self.InsertFunction = window.InsertChild is there anything above that syserr ? Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted April 14, 2015 Premium Share Posted April 14, 2015 Nope. Link to comment Share on other sites More sharing options...
Premium mackabro2 216 Posted April 21, 2015 Premium Share Posted April 21, 2015 (edited) help fix error https://metin2.download/picture/UJYy7pJZL79s9iDeuEqKtOH45JrkHHba/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 2 1 Link to comment Share on other sites More sharing options...
Night 367 Posted April 21, 2015 Share Posted April 21, 2015 (edited) 0325 13:33:00312 :: Could not import uiScriptLocale 0325 13:33:01056 :: RunMain Error i compiled uisript.py in c++ is good maybe you did not replace system.py that marty included. or that was not complied Same error, even without "coding" : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png do you have it on your lib folder? + does it work without cython? download page is down? no , it was changed to github you should look on the right to find a download zip button . Same error, even without "coding" : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png Still this bug ^^ still the same answer Nope. this does not tell me much. help fix error https://metin2.download/picture/UJYy7pJZL79s9iDeuEqKtOH45JrkHHba/.png as i said in the shoutbox : for the cython error check lines around 43 there should be some unwanted charcter change them / delet them if they are comments Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium mackabro2 216 Posted April 21, 2015 Premium Share Posted April 21, 2015 Fix error sistemascreative Link to comment Share on other sites More sharing options...
Premium mackabro2 216 Posted April 21, 2015 Premium Share Posted April 21, 2015 (edited) new error https://metin2.download/picture/ggC8bCF5VFhuK03PhN5yT9VJO5zEl6C0/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted April 21, 2015 Premium Share Posted April 21, 2015 (edited) Same error, even without "coding" : https://metin2.download/picture/ORvH221QSCZ5QEcoPC4cK9wdu3lzzYI3/.png do you have it on your lib folder? + does it work without cython? I haveall my lib normally and it works fine with non-cythonized root. Thanks for the awnser Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
immenso 2 Posted April 26, 2015 Share Posted April 26, 2015 Cython ok Building ok Syserr: maximum recursion depth exceeded while calling a Python object Any help? Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7215 Posted April 29, 2015 Author Honorable Member Share Posted April 29, 2015 (edited) #UPDATED Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal 1 Check out my GitHub Link to comment Share on other sites More sharing options...
Premium mackabro2 216 Posted May 12, 2015 Premium Share Posted May 12, 2015 (edited) Help https://metin2.download/picture/U4xI1q5pJYCvy2gUOV0rPC5O5izAOXD0/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 2 1 Link to comment Share on other sites More sharing options...
ekoo 8 Posted May 12, 2015 Share Posted May 12, 2015 (edited) Traceback: Error: No module named rootlib https://metin2.download/picture/01I5H9CClBhcOzVrtkI9ls119v3wjpeK/.png Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Recommended Posts