![]() |
|
Getting Offsets? - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Programmers Gateway (https://lckb.dev/forum/forumdisplay.php?fid=196) +---- Forum: Coders Talk (https://lckb.dev/forum/forumdisplay.php?fid=192) +---- Thread: Getting Offsets? (/showthread.php?tid=1689) |
- halohalo - 03-18-2013 Hey guys, anyone can explain me how i can make a tool or something to get offsets of, for example, gameserver? Because i want to edit the Phoenix System and i need the offsets, but i dont know how to get them Thank you - HateMe - 03-18-2013 you can search the offsets with IDA Pro and write a programm that read the the offset value and change it - Sentence - 03-18-2013 I wrote a similar program some time ago, I can help you with a few parts. To get Bases you can use following WinAPI function : FARPROC WINAPI GetProcAddress( _In_ HMODULE hModule, _In_ LPCSTR lpProcName ); Example for g_slZone : hLib = LoadLibrary("Engine.dll"); g_slZone = GetProcAddress(hLib,"?g_slZone@@3JA"); Then you can use the var "g_slZone" to print the address everywhere where you want. Ill give you following search strings : _pNetwork = ?_pNetwork@@3PAVCNetworkLibrary@@A _pUIMgr = ?SE_Get_UIManagerPtr@@YAPAVCUIManager@@XZ g_slZone = ?g_slZone@@3JA CurrentTickTimer = ?_CurrentTickTimer@@3MA TimerTickQuantum = ?TickQuantum@CTimer@@2MB p_Timer = ?_pTimer@@3PAVCTimer@@A _pUIBuff = ?_pUIBuff@@3PAVCUIBuff@@A Have fun with making a base reader ![]() - halohalo - 03-18-2013 Thank you, imma try do it^^ |