-
Posts
613 -
Joined
-
Last visited
-
Days Won
96 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by martysama0134
-
-
You need the "d:ymir workspecial" folder, otherwise you'll get that issue.EN: I have a problem with loading of textures when i press the "A" Button on the left side.
-
You should stop leeching already published work.
-
#UPDATED
-
1
-
-
Replace "Ouvrez la Boite!" with something else, or put it in locale_game.txt.Doesn't work with ZetsuGiftSystem
https://metin2.download/picture/ed790c4q2XEuU5VATlO69sqy9ye0o4xJ/.png
https://metin2.download/picture/Q1d9f7BIftuXEZ3yCIPDuIF95vfsw42J/.png
-
2
-
2
-
-
#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.
-
4
-
On 3/15/2015 at 11:45 AM, ѕeмa™ said:
I think you forgot the .close() doesnt work with cython.
LoginWindow.__LoadScript.BindObject - <type 'exceptions.AttributeError'>:'pack_file' object has no attribute 'close'
Example:file=open("aaa.txt","w") file.write("heyy how are u?") file.close()
and how to repair:file=open("aaa.txt","w").write("hey i solve the bug")
On 3/15/2015 at 3:59 PM, Lyrex said:Well, open usually isn't the same as pack_open. I'm not sure if something related to this get's modified here.
open = python open, which has a close method
pack_open = metin2 open which doesn't
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.
-
15
-
1
-
4
-
-
PyMODINIT_FUNC doesn't exist in python2.2.I have this errors: http://pastebin.com/xXfn4G84
I use python22 on launcher and vs2008 , is needed 27 or work with 22?
cpp file: http://pastebin.com/t6M9t7Gh
I've added this in the python<modulename>Manager.cpp:
#ifndef PyMODINIT_FUNC #define PyMODINIT_FUNC extern "C" __declspec(dllexport) void #endif
Sadly, Cython doesn't work on py2.2 without refactoring itself.-
1
-
1
-
-
Yes, the python27.dll, and the lib folder are still required.Hi, marty. When cythonized, is there still need dynamic linking e.g: python27.dll or library files?
You can now develop an interesting hash check of these files in the __hybrid_import function inside system.py.
-
How to fix Error: pack_open ?
system.py, below this:
__builtins__.new_open = open
add:
__builtins__.pack_open = open
-
1
-
-
If you use the files as "they are", only system.py and prototype.py are required.I can compile a few files from the root or all files is needed?
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.
-
1
-
-
"Error: table 'player' is read only"
"Status: operation failed"
And that is by all table in player database
- 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
-
1
-
1
- Re-give the right permissions to the mysql user:
-
player.player must be repaired.
# mysqlcheck -r player player
NB: It could additionally require "-u root -pPASSWORD".-
1
-
-
It's simple: it happens when the visual studio path is not specified in the %PATH% environment variable.When I run the MakeFile_VC_Release.bat file, I get the following errors:
'cl' is not recognized as an internal or external command, operable program or batch file. 'lib' is not recognized as an internal or external command, operable program or batch file.
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)
-
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)Maybe a stupid question, but can you cythonize all the python files of the client? I mean really each py file, including every script
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.
-
The only two errors you could get when you compile your root are:Thanks, but i think you should put a guide of how to repair the errors give the *.py files when you are cythonicing, a lot of people cant use the system if dont know how repair it. <-- this is not going for me, I know how to fix it.
Only to increase the information in the post.
- "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.
-
8
- "Decoding error, missing or incorrect coding"
-
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
As requested by many people, you can download the compatible and clean official cn root dated 20131228-0034 without further edits:
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.
-
All the modules are compiled, and they can't be "extracted as .py" anymore.
-
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.
-
For testing purposes, it's heavy to maintain. Everytime you try to re-compile your root files, you should wait 5-10 minutes.
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.
-
211
-
2
-
4
-
1
-
1
-
1
-
2
-
4
-
1
-
74
-
13
-
177
-
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)can someone help us please, we need to understand how to fix it.
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.
༼ つ ◕_◕ ༽つ RIP in PepPeRoni ༼ つ ◕_◕ ༽つ
-
2
-
-
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)3kb file downloaded.... mmmmm wtf?!
and google stopped the file once downloaded...i can fell something wrong inside that "free download"
is it only me?
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 http://cython.org/#download (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)
-
1
-
2
-
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: http://www.shouldiremoveit.com/WinZipper-68598-program.aspx
You already have the files in "d:/ymir work" so "that's ok".Please help me.
Yes.
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 speed
ENABLE_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
- // the files from d: will be loaded from a local folder called "d"
- Code refactoring
- Wolfman motion event implementation
- Removed boring CTRL requirement (when moving the camera) after clicked the ATTR TAB
- Other things
-
4
- New config options:
-
^ One of the most important discussions about why git can't be compared with the other scm systems.
-
Vanilla's profile got hacked even one month ago:Yesterday a hacker logged in to vanillas skype account and added me.
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:
-
1
-
-
To be hacked better.Why does every one use 777 permissions?
-
3
-
-
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.Hello There
Today i will Show you How To change the Icon of the metin2client.exe its really easy to do so
Let's start
first go to your client source and open the bin folder scroll down to see some icons chose your favorite one and copy it
go to the user interface folder and past it there
then open your solution with Visual Studio and press Strg+F then type in "metin2.ico" and change look in to "entired solution"
then it will show you "UserInterface.rc"
right click ->go to location
then change the name "metin2.ico" to your chosen icon file
compile and its done
p.s. you can chose a self made icon to
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)
-
1
-
-
It's never a good thing trying to resell other people's work.Since you sold what rights you have power over them?
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?I have also seen host companies such as Cloud express and CEHOST that are selling my serverfile
Help Me :( = '/tmp/mysql.sock' (2)
in Community Support - Questions & Answers
Posted
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