1. get the CPythonCharacterManager instance
2. call the CInstanceBase* CPythonCharacterManager::GetInstancePtr (DWORD VirtualID) function with the CPythonCharacterManager instance
3. call const char* CInstanceBase::GetNameString() with the returned CInstanceBase instance
Code:
void* GetInstancePtr(void* CPythonCharacterManager, DWORD vid, DWORD addr) {
__asm {
mov ecx, [CPythonCharacterManager];
push [vid];
call[addr]
}
}
char* GetNameString(void* CInstanceBase, DWORD addr) {
__asm {
mov ecx, [CInstanceBase];
call[addr];
}
}
DWORD vid = GetTargetVID(); //replace with how you're getting the vid
void* CPythonCharacterManagerInstance = GetInstance(0xdeadbeef);//replace with your function and the actual address
void* CInstanceBaseInstance = GetInstancePtr(CPythonCharacterManagerInstance, vid, 0xdeadbeef); //replace with the actual address
std::cout << GetNameString(CInstanceBaseInstance, 0xdeadbeef) << std::endl; //replace with the actual address
1. get the CPythonCharacterManager instance
2. call the CInstanceBase* CPythonCharacterManager::GetInstancePtr (DWORD VirtualID) function with the CPythonCharacterManager instance
3. call const char* CInstanceBase::GetNameString() with the returned CInstanceBase instance
Code:
void* GetInstancePtr(void* CPythonCharacterManager, DWORD vid, DWORD addr) {
__asm {
mov ecx, [CPythonCharacterManager];
push [vid];
call[addr]
}
}
char* GetNameString(void* CInstanceBase, DWORD addr) {
__asm {
mov ecx, [CInstanceBase];
call[addr];
}
}
DWORD vid = GetTargetVID(); //replace with how you're getting the vid
void* CPythonCharacterManagerInstance = GetInstance(0xdeadbeef);//replace with your function and the actual address
void* CInstanceBaseInstance = GetInstancePtr(CPythonCharacterManagerInstance, vid, 0xdeadbeef); //replace with the actual address
std::cout << GetNameString(CInstanceBaseInstance, 0xdeadbeef) << std::endl; //replace with the actual address
thanks for your answer but I have some questions. Etc. I couldn't find the GetNameString function.
First of all, you have to make sure you are calling the right function, you are probably using the one which gets 2 python objects as arguments, if that's the case, you either need to recreate those python objects and then passing them as arguments or as mentioned above use the GetNameString, if you disassemble the python function you should get the GetNameString inside
[Phyton] GetNameByTarget oder GetNameByVID 12/05/2015 - Metin2 Private Server - 4 Replies Ich werde wahrscheinlich 10000000 Fragen stellen, weil ich Idiot zu inkompetent dazu bin, die richtigen Threads zu finden. Ich suche HILFE, HILFFFFEEEE, ich suche niemanden, der mir sagt, das es falsch ist, das weiß ich nämlich schon.
def GetVIDbyTarget(self):
global VID
VID = player.GetTargetVID()
self.GetVIDText.SetText(str(VID))
std::function of a function returning an std::function 11/11/2013 - C/C++ - 19 Replies Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann.
Ich verzweifle an Folgendem Vorhaben:
#include <Windows.h>
#include <string>
#include <iostream>
using namespace std;
Running Function 2 after Function 1 finished 09/15/2013 - AutoIt - 3 Replies Hey, its me again.
Im stuck on a problem since yesterday and as much as i hate to ask for help, i really dont know what else to try. I want Function 2 to run after Function 1 has finished. I tried GuiCtrlSetOnEvent and MsgLoop, but i dont really understand it. I tried to read tutorials but they didnt help at all.
The line that are underline is what im talking about. I want gamestart() to run first and when its finished, i want iniviteteam() to run.
#AutoIt3Wrapper_UseX64=n...
[VIP-function] ToxicSYS [VIP-function] 08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies heeeey E-pvpers :pimp:
this is a new hack by TSYS
Status : UNDETECTED
Functions (VIDEO) :
YouTube - WarRock - Bikini event VIP hack
Please use the search function.... 01/02/2007 - Lineage 2 - 1 Replies Mostly questions in this Forum is: I need Freeshard addresses, can you post all u got???...Oo..wtf
For all which are not in the mood to use the SEARCH Function:
LINEAGE2 Freeshard List
Have a nice stay...