TUServerMU
MuOnline => Soporte / Ayudas => Tema comenzado por: plyn on November 14, 2020, 10:55:27 AM
-
Olá, estou tentando adaptar a source muemu no main 1.04j e 1.02c, então quem tiver as offsets desses defines e puder me enviar, ficarei agradecido :)
#define MAIN_CONNECTION_STATUS
#define MAIN_SCREEN_STATE
#define MAIN_CHARACTER_STRUCT
#define MAIN_VIEWPORT_STRUCT
#define MAIN_PACKET_SERIAL
#define MAIN_FONT_SIZE
#define MAIN_RESOLUTION
#define MAIN_RESOLUTION_X
#define MAIN_RESOLUTION_Y
#define MAIN_PARTY_MEMBER_COUNT
#define ProtocolCore ((BOOL(*)(DWORD,BYTE*,DWORD,DWORD))
#define DrawInterface ((void(*)(DWORD,float,float,float,float))
#define DrawInterfaceText ((void(*)(char*,int,int,int,int,int,int,int))
-
Main 1.04J+ KOR offsets:
MAIN_FONT_SIZE 0x007513340
MAIN_RESOLUTION 0x007afec78
MAIN_RESOLUTION_X 0x0077e350
MAIN_RESOLUTION_Y 0x0077e354
double Resolution_ClipX1 = 0x007588B4;
double Resolution_ClipX2 = 0x007588C0;
SetCompleteHook(0xE9,0x00648274,&ResolutionSwitch);
SetCompleteHook(0xE9,0x00649553,&ResolutionSwitchFont);
SetCompleteHook(0xE9,0x004EECA1,&ResolutionMoveList); //
SetCompleteHook(0xE9,0x004EE5EB,&ResolutionMoveList2); //
Protocol
oDataRecv 0x0069C2C0
pDataRecv ((void(*)(BYTE,PBYTE,DWORD,DWORD,...)) 0x0069C3C0)
pActiveSocket *(SOCKET*)(*(DWORD*)0x77F5B4 + 0x0C)
oXORFilterStart 0x00404299
Other offsets:
pMainState *(int*)0x0077EBAC
pMapNumber *(int*)0x0077038C
ScreenFolder (0x0077F420)
ExeSerial (0x0077F5A0)
pGameWindow *(HWND*)0x00647CC2
InitPlayer:
SetDword(0x0049F6ED,0xA0000001); // PrintTextReplace 64
SetDword(0x004AB73A,0xA0000002); // PrintTextReplace 64
SetDword(0x005B3AD4,0xA0000003); // PrintTextReplace 64
SetDword(0x005B4931,0xA0000004); // PrintTextReplace 64
SetDword(0x0049F68B,0xA0000001); // PrintTextReplace 64
SetDword(0x004AB6DE,0xA0000002); // PrintTextReplace 203
SetCompleteHook(0xE9,0x00402267,&PrintPlayerViewText);
SetCompleteHook(0xE9,0x0053CDAA,&PrintPlayerGetSkillMagicDamage);