Metin2 Function Adress Dumper

08/09/2010 00:23 Renozerus#16
Nice work! thx
08/09/2010 00:49 tim66613#17
Quote:
Originally Posted by Ghost141 View Post
what is doing that shit? please speak the fuckin english
His tool only dumps the metin2 python-api function addresses.
In my last post I've shown, how you can call these functions without knowing their addresses.

Kind Regards Tim
08/14/2010 01:44 Tyrar#18
Quote:
Originally Posted by tim66613 View Post
His tool only dumps the metin2 python-api function addresses.
In my last post I've shown, how you can call these functions without knowing their addresses.

Kind Regards Tim
man kann so nicht nur funktionen callen, sondern auch neue für die client modder definieren :)
da man auch vollen zugriff auf die python api hat, kann man auch eigene scripts aus eigenen pack formaten laden ;) mit ein paar tricks kann man das format auch komplett einbinden.
08/14/2010 01:50 Reew.!#19
gut, ya !
06/30/2013 16:02 I♥Thx#20
Quote:
Originally Posted by HeavyHacker View Post
man kann so nicht nur funktionen callen, sondern auch neue für die client modder definieren :)
da man auch vollen zugriff auf die python api hat, kann man auch eigene scripts aus eigenen pack formaten laden ;) mit ein paar tricks kann man das format auch komplett einbinden.
Könntest du oder jemand mir diese Methode mit dem zugriff auf die python api genauer erklären?? :)
07/06/2013 12:17 adellin.stil2#21
how to use??
09/03/2014 13:06 evasmoky#22
.. how to use this script?
09/03/2014 16:05 Vilgefortz#23
Wouldn't it be easier to do it by Python? As in CPython builtin funcion "id(obj)" return the address of given object.

So for example:
Code:
def get_addresses(module_name):
    addresses_dict = {}
    module = __import__(module_name)
    for name in dir(module):
        obj = getattr(module, name)
        if callable(obj):
            addresses_dict[name] = id(obj)
    return addresses_dict
09/03/2014 16:33 [uLow]Beni#24
Quote:
Originally Posted by Vilgefortz View Post
Wouldn't it be easier to do it by Python? As in CPython builtin funcion "id(obj)" return the address of given object.

So for example:
Code:
def get_addresses(module_name):
    addresses_dict = {}
    module = __import__(module_name)
    for name in dir(module):
        obj = getattr(module, name)
        if callable(obj):
            addresses_dict[name] = id(obj)
    return addresses_dict
No the id returns the address of the pythonobject, not the cfunction
05/11/2015 20:58 prophet-coder#25
bei mir kommt da:
Warning: Invalid argument supplied for foreach() in /users/prophet/www/dump/dump.php on line 133
kann mir da jemand helfen?
08/26/2015 02:39 warriornigh#26
Nice!
08/30/2015 00:38 Syden1997#27
Address :P! work?