Mulțumim frumos utilizatorului @MT2Dev pentru upgrade
Hi everyone, today i wanna share Python 2.7.18 version that i made for MT2, it's edited top to bottom and ready for the use. You can either take the pre-compiled files and use them or build it yourself with modification, download the RaR and take a look at the README file, there is everything you are lookin for, have fun.
F.A.Q
Code:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ F.A.Q +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ " How To Build ? " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[/* INFO: If you don't want to bother with the compilation process, you can get the precompiled versions from the folder named "precompiled".*/]
- Open "Change.cpp" file and do the neccesary changes.
- After that, open the "MT2_Include_Path.rar" file and copy that Python folder to your "Client/Srcs/Extern/Include" path.
- Go to "PCBuild / BUILD_PYTHON.sln" right click -> Build all (/*Do it both Release and Debug versions*/).
- After build, all the outputs (/* .lib, .dll etc */) will take place at "PCBuild/".
- Move .dll files to your binary path, move lib files to your "Client/Srcs/Extern/Library" path.
+ After the compilation process in "Release" mode is complete, the generated python.exe file automatically converts all py files in the lib to pyc.
+ You should add these new pyc and pyd files to the MT2 binary lib folder after the build process is complete.
+ (/* NOTE: When adding these pyc files to the Metin2 lib, you DO NOT NEED TO ADD THE FILES ; */
+ "compileall.pyc - py_compile.pyc - runpy.pyc - pkgutil.pyc - inspect.pyc - token.pyc - tokenize.pyc - dis.pyc - opcode.pyc"
+ /* These are ONLY required during the compilation phase! */)
----------------------------------------------------------------------------------------------------------------------------------------------------------
/* NOTE II: During the process of converting py files to pyc, the log of all stages is written to the "PCBuild/PYC_Compile.log" file,
you can look here in case of errors while compile. */
----------------------------------------------------------------------------------------------------------------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ " What Is The Diffrence ? " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- All unnecessary Python features for MT2 have been deactivated, but a few new features have been added that might be useful.
+ For example, decimal, which can be used to increase damage limits, is also available, along with various other improvements like JSON and XML support.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ " Why We Need To Use This Version ? " ++++++++++++++++++++++++++++++++++++++++++++++++++++
- The short answer is that you dont have to use it, but it is a fact that it will provide you with certain advantages if you do use it, let's take a look at them.
+ Unnecessary files and codes (/* for MT2 */) were cleaned and the build warnings were also fixed.
+ This version is the most suitable version for MT2 in terms of both performance and security,
+ It is the last 2.7 version released and does not contain features that MT2 does not use (/* like ssl, socket, html etc */).
+ It is also important that it includes the security fixes made by Python up to this 2.7.18 version.
+ It is always best to use the most up-to-date version possible of any external libraries you use.*Link download / Code:
*Link scanare VirusTotal (obligatoriu):


la acest mesaj și conținutul se va afișa automat.