Jump to content

martysama0134

Honorable Member
  • Posts

    613
  • Joined

  • Last visited

  • Days Won

    96
  • Feedback

    100%

Everything posted by martysama0134

  1. MySQL is somehow offline. # service mysql-server start NB: "onestart" instead of "start" if you haven't added mysql_enable="YES" in /etc/rc.conf
  2. You need the "d:ymir workspecial" folder, otherwise you'll get that issue.
  3. You should stop leeching already published work.
  4. Replace "Ouvrez la Boite!" with something else, or put it in locale_game.txt.
  5. #UPDATED What's New: v2.0 The module's name check is now case-insensitive (colorInfo == colorinfo) Added a new function rootlib/uiscriptlib.getList() to retrieve a tuple of all the available cythonized modules. Now you can compile a uiscriptlib library from the uiscript*.py files! (implemented as __USE_EXTRA_CYTHON__) Added a sample ui.py containing the code to run uiscriptlib. Preview:
  6. On the recent official roots, the "pack_open" is renamed as "open", and "open" as "old_open". Post your old system.py (push it on pastebin/pastie). Probably, your lib folder contains .pyc files compiled with py2.2. You should use the ones for 2.7. [Hidden Content]
  7. PyMODINIT_FUNC doesn't exist in python2.2.I've added this in the python<modulename>Manager.cpp: #ifndef PyMODINIT_FUNC #define PyMODINIT_FUNC extern "C" __declspec(dllexport) void #endifSadly, Cython doesn't work on py2.2 without refactoring itself.
  8. Yes, the python27.dll, and the lib folder are still required.You can now develop an interesting hash check of these files in the __hybrid_import function inside system.py.
  9. If you use the files as "they are", only system.py and prototype.py are required.If the module you want to include is not present in the rootlib one, the client will try to open the relative <modulename>.py file.
  10. Re-give the right permissions to the mysql user: chown -R mysql /var/db/mysql/ chgrp -R mysql /var/db/mysql/ Check whether the mysql user is full granted or not. Repair again the tables
  11. player.player must be repaired. # mysqlcheck -r player playerNB: It could additionally require "-u root -pPASSWORD".
  12. It's simple: it happens when the visual studio path is not specified in the %PATH% environment variable.You have few solutions: Add the visual studio path in the %PATH% environment variable. (I won't suggest it) Add something like this at the beginning of the MakeFile_VC_Release.bat file and run it as administrator: (easy way) call "C:Program Files (x86)Microsoft Visual Studio 10.0VCvcvarsall.bat" You should run as admininistrator the Visual Studio Command Prompt (2010)" and then recall the .bat from there. (highly preferable) NB: I've used vs2010, but it works without any problems with any vs version.
  13. The script as "it is", right now, creates a "rootlib" module. There are tons of way to do what you asked. (at least, 10 ways)The easier one to do so, using cython, would be making a "uiscriptlib" library, and re-writing the Sandbox.execfile method inside the utils.py file.
  14. The only two errors you could get when you compile your root are: "Decoding error, missing or incorrect coding"Since all the .py files are processed as korean strings, all of them written with a different charset (arabic) will trigger this issue. It's explained in the .txt file, and you can simply bypass this just writing the text in the locale_game.txt file. "Expected an increase in indentation level"This happens when the .py file has a bad tabulation, so bad written: It's clear that you won't be able to compile unworkable/unrunnable/broken .py files.
  15. M2 Download Center Download Here ( Internal ) Intro This release will explain how to "convert" your root .py files to .c ones. Actually, Cython only converts those files to pure CPython code. Download Main Branch VS Impl Branch (highly suggested) As requested by many people, you can download the compatible and clean official cn root dated 20131228-0034 without further edits: rootCn_20131228-0034_edit.rar uiscriptCn_20131228-0034.rar cN-serverinfo-edit.py Is Cython really worth it? Pros All the modules are compiled, and they can't be "extracted as .py" anymore. We can always disassemble the launcher with IDA, but the result will be pseudo-c code after waiting 6-8h of analyzing. Since we're not using .pyx files but directly .py ones, there's no "so much optimization". At least, 10% of performance increasing is guaranteed. Cons For testing purposes, it's heavy to maintain. Everytime you try to re-compile your root files, you should wait 5-10 minutes. You can always use the uncythonized root (.py files) when you perform tests, and compile cython whenever you will make an update in your live server. The launcher's size will increase ~10mb. You can actually pack it to save space. If you directly use a .pyd (still 10mb), the launcher's size won't increase. VideoTutorial Credits Me (lollo_9_1/martysama0134) Night (OST suggestion) Random Testers What's New: vsimpl Visual studio implementation automatic cythonization when compiling only the edited files will be compiled v2.0 The module's name check is now case-insensitive (colorInfo == colorinfo) Added a new function rootlib/uiscriptlib.getList() to retrieve a tuple of all the available cythonized modules. Now you can compile a uiscriptlib library from the uiscript*.py files! (implemented as __USE_EXTRA_CYTHON__) Added a sample ui.py containing the code to run uiscriptlib.
  16. I've reverse-engineered the official launcher for it: It's not so simple to re-create the event motion types 11-12 like the official did. (it's a bit of work since ymir re-wrote some skill handling functions)The event motion types 11-12 are a workaround of the reef attack animation. (to be more precise, they set the correct distance before diving in to the target) You can actually fix this issue without re-writing everything ymir did anyway. You now have a "tip" of what largely the event motion types 11-12 do.
  17. Chrome detects as possible threat every binary (elf, .exe, .bat) inside every downloaded archive. (without analyzing the relative code; it's just an extension check)The easier solution to bypass such a thing is to set a password and also encrypt the index file list (tested on .rar). The archive (7zip compressed) actually contains 9340234 empty folders, "RootLibCythonizer.py", and a "MakeFile.bat". I have these files for quite a while, and they can be considered as the "real ones". There are many ways to cythonize your root, and any of them are acceptable solutions: Using your cython implementation instead of using ymir's one [Hidden Content] (this is what I did long time ago, but it's kinda boring because you have to write everything by your own) Binding rootlib.lib into your vs project (this is what you do if you use the files in this thread) Making an external rootlib.pyd (this is what I prefer the most)
  18. Crappy antivirus programs usually detect the debug symbols as "possible threat". (they even detected me once a "print hello world" program [only debug target] as a malicious one, but it was from a kinda awful antivirus one)Since that's the first time that someone reported me such a thing about such program, probably the issue is another. Searching on the web, it seems like WinZipper (the program you're using) could be also detected as false positive: [Hidden Content] You already have the files in "d:/ymir work" so "that's ok".You should now check if your zone and property folders are really "ok". ### NEWS ### In these days i'm working on the "v24" of such program. This is a little TODO-list of what it will contain: New config options: // the files from d: will be loaded from a local folder called "d"ENABLE_D_AS_LOCAL_PATH = 1 // the map settings will also export the wind speedENABLE_WIND_SPEED_EXPORT = 1 // change the language of your worldeditor in the following: IT EN FR DE ES PT CZ AE KR (and so on)APP_LANGUAGE = EN Code refactoring Wolfman motion event implementation Removed boring CTRL requirement (when moving the camera) after clicked the ATTR TAB Other things
  19. ^ One of the most important discussions about why git can't be compared with the other scm systems.
  20. Vanilla's profile got hacked even one month ago:To be more precise, when this board got hacked, his twitter contact was spamming the database to everyone. (same "hacker"?) Anyway, leachers already started re-selling vanilla's files:
  21. You just need to replace metin2.ico in the UserInterface folder and recompile the launcher. There's no need to change any manifest files at all.If you wanna change the icon from an already built launcher, Resource Hacker/PE Explorer can be used without any problems. (you could have some weird issues if you try to change the icon from a badly unpacked launcher anyway)
  22. It's never a good thing trying to resell other people's work.From the screens, it looks like they claimed the payment. So the seller is actually seeing other people earning money with his own work. (and he actually received €0 from them) People should understand that they must support the main developer and not errant hungry dogs if they want real improvements. How could a host company selling such files? Isn't this quite abusive?
×
×
  • 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.