|
You last visited: Today at 20:42
Advertisement
PyLoader (Python 2.7)
Discussion on PyLoader (Python 2.7) within the Metin2 Hacks, Bots, Cheats, Exploits & Macros forum part of the Metin2 category.
05/24/2016, 23:21
|
#16
|
elite*gold: 0
Join Date: Mar 2011
Posts: 66
Received Thanks: 13
|
0524 23:21:19252 :: Traceback (most recent call last):
0524 23:21:19252 :: File "<string>", line 1, in <module>
0524 23:21:19252 :: File "system.py", line 163, in __hybrid_import
0524 23:21:19252 :: ImportError
0524 23:21:19252 :: :
0524 23:21:19252 :: Bad magic number in C:\Users\User\Downloads\Tsuyoshi2.0 - Client 1.2\m2kmod\__init__.pyc
0524 23:21:19252 ::
|
|
|
05/25/2016, 09:01
|
#17
|
elite*gold: 0
Join Date: Mar 2008
Posts: 18
Received Thanks: 21
|
Quote:
Originally Posted by MasterGamer1
0524 23:21:19252 :: Traceback (most recent call last):
0524 23:21:19252 :: File "<string>", line 1, in <module>
0524 23:21:19252 :: File "system.py", line 163, in __hybrid_import
0524 23:21:19252 :: ImportError
0524 23:21:19252 :: :
0524 23:21:19252 :: Bad magic number in C:\Users\User\Downloads\Tsuyoshi2.0 - Client 1.2\m2kmod\__init__.pyc
0524 23:21:19252 ::
|
There is a problem with decompiling this file because as klo says it was compiled with different version of python (2.2)  so I guess you have to wait till he releases updated version of his mod.
|
|
|
05/30/2016, 15:17
|
#18
|
elite*gold: 0
Join Date: Sep 2011
Posts: 540
Received Thanks: 21
|
Quote:
Originally Posted by 123klo
try to open the file "syser.txt" of your metin2 client and post the content here. Anyway the latest m2kmod version wont work for 2.7 clients at the moment because they are only compiled for 2.2 client. But on 01.06 I will release an update for 2.7 and some other features.
the latest version of maximus780 works with m2kmod now (wait for the update next week)
|
Would be really nice want to start cheat at .sg
|
|
|
05/30/2016, 20:02
|
#19
|
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
|
Quote:
Originally Posted by 123klo
it works with small scripts but when I try to execute longer scripts the client crashes. Any idea for a solution? the other public pyloader (v2.7) have the same problem.
|
hook mainthread in game routine (onupdate or onrender) and execute python code from there
|
|
|
05/30/2016, 21:09
|
#20
|
elite*gold: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,915
|
Quote:
Originally Posted by _asm
hook mainthread in game routine (onupdate or onrender) and execute python code from there
|
first I have no idea how to implement it and secondly it is more difficult to make it work for every pserver client.
|
|
|
05/30/2016, 22:48
|
#21
|
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
|
will this community ever turn their brains on and finally do something right?
like seriously, this method of accessing the mainthread of the game routine is known for 6 years now and yet no one except some users who already left this board (probably because of it's stupidity) have contributed something to this section.
I'm not salty or directly saying this to you, everyone is meant and I'm not saying that because I'm any better than you guys. In fact, I just took the advice from the previous members.
it's just sad coming back here after 4 months and seeing that there's still no change in this section.
|
|
|
05/31/2016, 10:44
|
#22
|
elite*gold: 0
Join Date: May 2008
Posts: 1,415
Received Thanks: 5,444
|
Quote:
Originally Posted by _asm
will this community ever turn their brains on and finally do something right?
like seriously, this method of accessing the mainthread of the game routine is known for 6 years now and yet no one except some users who already left this board (probably because of it's stupidity) have contributed something to this section.
I'm not salty or directly saying this to you, everyone is meant and I'm not saying that because I'm any better than you guys. In fact, I just took the advice from the previous members.
it's just sad coming back here after 4 months and seeing that there's still no change in this section.
|
the hook method is even public in this forum
i dont remember where but his name is infinity something and released multihack with source
|
|
|
05/31/2016, 11:04
|
#23
|
elite*gold: 0
Join Date: Feb 2008
Posts: 2,754
Received Thanks: 1,748
|
Quote:
Originally Posted by KaMeR1337
the hook method is even public in this forum
i dont remember where but his name is infinity something and released multihack with source
|
Yep, here:
It's just important to use inline-asm hooks, since it will crash otherwise if you don't call some specific python functions.
Basically:
Code:
void hook_main()
{
_asm pushad
// do stuff
_asm popad
return (*original_main_func)();
}
Oh, and @  :
It's way easier to make it work on every private servers since those functions stood the same since like ever.
|
|
|
05/31/2016, 18:35
|
#24
|
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
|
Quote:
Originally Posted by Computerfreek
Yep, here:
It's just important to use inline-asm hooks, since it will crash otherwise if you don't call some specific python functions.
Basically:
Code:
void hook_main()
{
_asm pushad
// do stuff
_asm popad
return (*original_main_func)();
}
Oh, and @  :
It's way easier to make it work on every private servers since those functions stood the same since like ever.
|
actually the method has been released  .
and for ***'s sake, use function pointers and an actual hook library like  instead of those ugly inline assembler hooks.
I literally can't repeat myself with the ugliness of code that is still used on this board. for ****'s sake learn c++ before reversing a game
|
|
|
05/29/2017, 18:01
|
#25
|
elite*gold: 0
Join Date: Jun 2015
Posts: 15
Received Thanks: 4
|
For some reason, when I try to load m2kmod using your pyloader, it crashes (Metin 2 Singapore) so I'd like someone to please help me.
Bear in mind, I don't know anything with python and these codes, thanks
|
|
|
05/30/2017, 04:10
|
#26
|
elite*gold: 0
Join Date: Jun 2011
Posts: 98
Received Thanks: 48
|
Quote:
Originally Posted by mizozaki
For some reason, when I try to load m2kmod using your pyloader, it crashes (Metin 2 Singapore) so I'd like someone to please help me.
Bear in mind, I don't know anything with python and these codes, thanks 
|
You just gave your self the Answer: " I don't know anything with python and these codes"
|
|
|
05/31/2017, 20:42
|
#27
|
elite*gold: 0
Join Date: Dec 2012
Posts: 12
Received Thanks: 1
|
Any python scripts for Send attack to target (called Hidden or Autoattack- ProDamage however)
if there are some... let me know pls
|
|
|
06/03/2017, 08:32
|
#28
|
elite*gold: 0
Join Date: Jul 2010
Posts: 20
Received Thanks: 1
|
I have a little server which still uses python2.2 and it seems that either PyGILState_Ensure doesn't exist in 2.2 or the function is wrong, where did you find parameters and actual implementation of your version's GIL?
|
|
|
06/03/2017, 18:13
|
#29
|
elite*gold: 0
Join Date: Mar 2008
Posts: 18
Received Thanks: 21
|
Quote:
Originally Posted by dex73r
I have a little server which still uses python2.2 and it seems that either PyGILState_Ensure doesn't exist in 2.2 or the function is wrong, where did you find parameters and actual implementation of your version's GIL?
|
Hi GIL exists in Python since version 2.3 you can re-implement PyGILState_Ensure on your own:
This is how you'd do it in pre 2.3
Code:
PyThreadState* currentstate = PyThreadState_Get()
PyThreadState* tstate = PyThreadState_New(currentstate->interp);
PyEval_AcquireThread(tstate);
// Call python here
PyEval_ReleaseThread(tstate);
PyThreadState_Delete(tstate);
|
|
|
06/03/2017, 19:13
|
#30
|
elite*gold: 0
Join Date: Jun 2011
Posts: 98
Received Thanks: 48
|
Quote:
Originally Posted by MagicJunkY
Any python scripts for Send attack to target (called Hidden or Autoattack- ProDamage however)
if there are some... let me know pls
|
Not Possible in python alone
|
|
|
 |
|
Similar Threads
|
[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...
|
Help to make a python file works with python loader
03/03/2013 - Metin2 - 2 Replies
Hey epvp! I want make a very. Little hack works on pythonn loader can anybody help me please?
|
Metin2 - Python - Wie Python Hacks verschlüsseln und Server überprüfen (GF/PServe)
09/23/2012 - Metin2 - 2 Replies
Ich wollte fragen,
wie man Python Hacks am besten Verschlüsselt ?
und wie man feststellen kann ob man auf einem GF / Pserver spielt. ?
|
Python + Eric Python IDE installieren ?!
07/05/2011 - General Coding - 0 Replies
hat sich erledigt.
|
All times are GMT +1. The time now is 20:42.
|
|