changed it up a bit..
added support for a default file to load (doesn't show the console window if default file is loaded)
and waits until zlib/uiCommon are available before loading default python file
for the people with problems with loading python on private servers...
has any of you ever tried including an injector into the python2.7 code and recompiling it?
also for people saying X/Y/Z method doesn't work because modules are changed like net
so import net wouldnt work for every server..how about using try/catch?
like assuming a pserver includes a dummy net module and has net or gf which uses m2netm2g
always load 'net' first which is the default for lots of servers and also "dummy modules"
and then use try/catch for a bunch of other known modules used in pservers and just import them as 'net' since the modules are pretty much almost the same all over the place anyways and keep the rest of the code as is
this way even if 'net' doesnt exist on the pserver but has lets say 'm2net3netnet'
the previous import of 'as net' would stay so the code would work on the official servers and other standard ones..
so the m2net3netnet would only be imported when using that pserver and so on...
for the people with problems with loading python on private servers...
has any of you ever tried including an injector into the python2.7 code and recompiling it?
also for people saying X/Y/Z method doesn't work because modules are changed like net
so import net wouldnt work for every server..how about using try/catch?
like assuming a pserver includes a dummy net module and has net or gf which uses m2netm2g
always load 'net' first which is the default for lots of servers and also "dummy modules"
and then use try/catch for a bunch of other known modules used in pservers and just import them as 'net' since the modules are pretty much almost the same all over the place anyways and keep the rest of the code as is
this way even if 'net' doesnt exist on the pserver but has lets say 'm2net3netnet'
the previous import of 'as net' would stay so the code would work on the official servers and other standard ones..
so the m2net3netnet would only be imported when using that pserver and so on...
any updates regarding the loading problem? works on all servers but the loading file problem is still...
[Python Frage] Python aus Clienten importieren 04/23/2016 - Metin2 Private Server - 16 Replies Guten Tag.
Ich habe eine kleine Frage. Da ich es selber nicht verstehe und mit Python einfach nichts kann, frage ich mal wieder euch lieben, da ihr mir bis jetzt immer geholfen habt. Ich möchte meinen Skript im Spiel testen ohne die .epk und .eix dauernd zu verpacken/entpacken. Deshalb möchte in in die Game.py in der root.epk eine Art Pfad importieren. Das heißt, ich will es ungefähr so machen:
https://i.gyazo.com/9875d4bbe00655e4af5efbe19789c e14.png
Natürlich ist dies nur ein...
[Python-Modul]EXP-Donator (kompatibel mit Python Loader) 11/23/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies Moin,
da man mich danach gefragt hat und ich sowieso mal ein Beispiel für die Benutzung meines Python Loaders veröffentlichen wollte, habe ich die Gelegenheit genutzt und euch eben einen EXP-Spendebot geschrieben.
Man kann ihn einfach mit dem oben verlinkten Python Module Loader laden und ihn mit F5 aktivieren/deaktivieren.
Sobald ihr mehr als 99 Erfahrungspunkte habt (man kann nur in 100er Schritten spenden), werden alle Erfahrungspunkte an eure Gilde gespendet.
Wer Lust hat und...