Jump to content

Recommended Posts

Hello metin2dev,
bascially, I am writting a Python Loader thats work with Python 2.7.3 but I have a problem:
when I call the function PyRun_SimpleFile it crashes.

It crashes only with this function, if I call PyRun_SimpleString it works.
Someone knows why?

Link to comment
https://metin2.dev/topic/10035-python-273python-loader/
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

On Thursday, January 07, 2016 at 7:02 AM, Pisti95 said:

Search for in Hex Editor, in your launcher/starter.

Search for:


PyRun_SimpleString

 

And what I should do after with this? I don't use a protected python library.

Link to comment
https://metin2.dev/topic/10035-python-273python-loader/#findComment-59997
Share on other sites

I'm working with Python 2.7.3. Anyway problem solved: now it works with python's functions (PyFile_FromString, PyFile_AsFile, ecc..).

But now I have another problem: the encoding. Simplest scripts work but with more complex it give me error with the encoding.

Link to comment
https://metin2.dev/topic/10035-python-273python-loader/#findComment-60144
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.