Jump to content

Recommended Posts

The main disadvantage I see is harder testing (the generated modules take a bit to compile) and the increased binary file size, which players will have to download every time you want to change anything on python. Besides that, well, you gain (a little) in speed and in protection.

 

The harder testing can be countered by keeping separate binaries and just making normal root packs for testing, and the increased size can be largely reduced by packing the executable, to around 3 MB.

 

So I'd say it's a win.

 

 

Link to comment
Share on other sites

  • Bot

Yes. Cython is good protection for script ripping and good protection for noobs, but if you want cythonize all modules it can be little problem.

Why do u think it would be a problem if all modules get cythonized? I cythonized the fully root and i dont get any problems.

Or which modules u mean?

english_banner.gif

Link to comment
Share on other sites

0606 12:50:33042 :: importing from lib game
0606 12:50:33045 :: SYSERR: Traceback (most recent call last):

0606 12:50:33045 :: SYSERR:   File "networkModule.py", line 237, in SetGamePhase

0606 12:50:33045 :: SYSERR:   File "system.py", line 137, in __pack_import

0606 12:50:33046 :: SYSERR:   File "game.py", line 1, in init game (game.c:60738)

0606 12:50:33046 :: SYSERR: TypeError
0606 12:50:33046 :: SYSERR: : 
0606 12:50:33046 :: SYSERR: __pack_import() takes at most 4 arguments (5 given)
0606 12:50:33047 :: SYSERR: 

It's my problem. I think __pack_import() is still required for some scripts such as npclist.

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 11

      Multi Language System

    2. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    3. 4

      Feeding game source to LLM

    4. 0

      Quest 6/7 Problem

    5. 5

      Effect weapons

    6. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    7. 3

      Crystal Metinstone

    8. 4

      Feeding game source to LLM

    9. 113

      Ulthar SF V2 (TMP4 Base)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.