Jump to content

How To Metin2 & Cython

Recommended Posts

  • 1 year later...
  • Replies 136
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Am 3.4.2018 um 23:37 schrieb roland:

dev.jpg.8f6a6af6a11efddc500dd127c2b5e67f.jpg I have this error

FIXXED: replace open with old_open when you try to write/read files Thanks to @martysama0134


Same problem:

0525 18:26:00904 :: Traceback (most recent call last):
0525 18:26:00905 ::   File "uiPhaseCurtain.py", line 63, in uiPhaseCurtain.PhaseCurtain.OnUpdate (uiPhaseCurtain.c:1610)
0525 18:26:00905 ::   File "networkModule.py", line 152, in networkModule.MainStream.__ChangePhaseWindow (networkModule.c:2792)
0525 18:26:00905 ::   File "introLogin.py", line 269, in introLogin.LoginWindow.Open (introLogin.c:6350)
0525 18:26:00905 ::   File "introLogin.py", line 1124, in introLogin.LoginWindow.__OpenLoginBoard (introLogin.c:22346)
0525 18:26:00905 ::   File "introLogin.py", line 638, in introLogin.LoginWindow.RefreshAccounts (introLogin.c:13213)
0525 18:26:00905 ::   File "system.py", line 89, in system.open (system.c:2855)
0525 18:26:00906 ::   File "system.py", line 63, in system.pack_file.__init__ (system.c:2171)
0525 18:26:00906 :: AttributeError
0525 18:26:00906 :: :
0525 18:26:00906 :: 'NoneType' object has no attribute 'split'


Link to comment
  • 1 month later...

For me is this Tutorial realy awesome i like to learn new things everyday :)
Thank you Martysama i seen alot of good stuff from you and its helping me alot !

Lovely greetings
Your Meleys

Link to comment
  • 2 months later...
  • 2 months later...

uiGuild.py(line:2035) __LoadWindow
ui.py(line:3089) LoadScriptFile

DeclareGuildWarWindow.__CreateDialog - LoadScript - <type 'exceptions.KeyError'>:'window'



Body = self.ScriptDictionary["window"]

self.CheckKeyList("window", Body, self.BODY_KEY_LIST)



pyScrLoader.LoadScriptFile(self, uiScriptLocale.LOCALE_UISCRIPT_PATH + "buildguildbuildingwindow.py")

how to fix it ?

Lets Go Yes GIF by The Lonely Island

Link to comment
  • 4 weeks later...
  • 2 months later...

Error occured while running python script. Check syserr.txt for more info.


0330 17:05:06453 ::   File "<string>", line 5, in <module>

0330 17:05:06453 ::   File "system.py", line 185, in __hybrid_import

0330 17:05:06453 :: ImportError
0330 17:05:06453 :: : 
0330 17:05:06453 :: No module named app
0330 17:05:06453 :: 


Link to comment
  • Honorable Member
On 1/5/2020 at 11:56 PM, HappyHippo said:

looks like those vids arent available anymore... 2020 is such a sad beginning of the year ?

I disabled those videos because GF was streaking every YT account 6 months ago kinda. I'm currently reuploading them on Vimeo, then I'll update the github repo with the new urls.

Edit: Videos reuploaded.

On 3/30/2020 at 4:16 PM, kalu said:

No module named app

You fucked it up in the source. Check PythonApplicationModule.cpp about how you renamed it.

Edited by martysama0134
Edit: Videos reuploaded.
  • Love 1
Link to comment
  • 9 months later...
  • Honorable Member

I've updated the tutorial by adding a new branch called vsimpl:

Hidden Content

    Give reaction to this post to see the hidden content.


This will be very helpful for the following reasons:

  • Automatic cythonization when you compile (via pre-compilation event)
  • Only edited cythonized files will be compiled, and not everything every time

i.e. I've previously fixed a bug in the main branch, so now only edited python files will be re-cythonized and not everything every time

  • Love 10
  • Love 2
  • Good 3
Link to comment
  • 4 months later...
  • 1 month later...
  • Honorable Member
On 6/24/2021 at 2:15 AM, Sword said:



Hidden Content

    Give reaction to this post to see the hidden content.



You created a rootlib project with PythonrootlibManager.h/.cpp inside. It has nothing to do with my tutorial at all. 👀👀👀

On 5/20/2021 at 9:18 AM, ByLost said:



Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

You should include initrootlibManager, not initrootlib in UserInterface.cpp

  • Metin2 Dev 2
  • Love 1
  • Love 1
  • Good 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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.