Offsets giving crash Not main

Results 1 to 2 of 2
  1. #1
    Apprentice Weell is offline
    MemberRank
    May 2012 Join Date
    12Posts

    ! Offsets giving crash Not main

    Hello friends, I'm Brazilian, I'm here for help, my main 1.03B PHI is crashing when I tried to add HPMonsterBar but the offsets are right, could they help me solve it?



    Sorry if I posted in the wrong area.


    Offsets 1.05D:

    SetCompleteHook(0xE8,0x00575F55,&DrawNewHealthBar);

    #define pGetPosFromAngle ((void(__cdecl*)(VAngle * Angle, int * PosX, int * PosY)) 0x005ED177)
    #define pCursorX *(int*)0x7FE0218
    #define pCursorY *(int*)0x7FE0214
    #define pTextThis ((LPVOID(*)()) 0x0041D732)
    #define pSetTextColor ((void(__thiscall*)(LPVOID This, BYTE r, BYTE g, BYTE b, BYTE h)) 0x0041D902)
    #define pDrawText ((int(__thiscall*)(LPVOID This, int PosX, int PosY, char * Text, int Arg4, int Arg5, int * Arg6, int Arg7)) 0x0041D9F1)
    #define pDrawBarForm ((void(__cdecl*)(float PosX, float PosY, float Width, float Height, float Arg5, int Arg6)) 0x005E093C)
    #define pSetBlend ((void(__cdecl*)(BYTE Mode)) 0x005DF380)
    #define pGLSwitchBlend ((void(__cdecl*)()) 0x005DF41B)
    #define pGLSwitch ((void(__cdecl*)()) 0x005DF301)
    [MAINS]

    Offsets 1.03B:

    SetCompleteHook(0xE8,0x0057C745,&DrawNewHealthBar)

    #define pGetPosFromAngle ((void(__cdecl*)(VAngle * Angle, int * PosX, int * PosY)) 0x005ED0F0)//1.03B DUVIDA 005FB7E0
    #define pCursorX *(int*)0x00808D1D4 ///1.03B
    #define pCursorY *(int*)0x00808D1D0///1.03B
    #define pTextThis ((LPVOID(*)()) 0x0041F80F)//1.03B 0041F7C2
    #define pSetTextColor ((void(__thiscall*)(LPVOID This, BYTE r, BYTE g, BYTE b, BYTE h)) 0x0041F992)//1.03B
    #define pDrawText ((int(__thiscall*)(LPVOID This, int PosX, int PosY, char * Text, int Arg4, int Arg5, int * Arg6, int Arg7)) 0x0041FA81)//1.03B
    #define pDrawBarForm ((void(__cdecl*)(float PosX, float PosY, float Width, float Height, float Arg5, int Arg6)) 0x005EEB0C)//1.03B
    #define pSetBlend ((void(__cdecl*)(BYTE Mode)) 0x005ED550)//1.03B
    #define pGLSwitchBlend ((void(__cdecl*)()) 0x005ED5EB)//1.03B
    #define pGLSwitch ((void(__cdecl*)()) 0x005ED4D1)//1.03B
    //#define pGetPosFromAngle ((void (__ cdecl *) (* VAngle Ângulo, int * posX, int * PosY)) 005ED0F0)


  2. #2
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: Offsets giving crash Not main

    http://forum.ragezone.com/f193 Wrong Section Mate :)



Advertisement