ZPostSkill.

Results 1 to 6 of 6
  1. #1
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    ZPostSkill.

    Hello today I found this source:

    Code:
    #define WIN32_LEAN_AND_MEAN
     
    #define WIN32_EXTRA_LEAN
     
    #include <windows.h>  
    #pragma warning(disable:4244)  
    bool lawnmow = true;  
    int fShotTime = 1;  
     
    typedef void (__cdecl* ZPostSkillFunc)(float fShotTime,int nSkill,int sel_type); ZPostSkillFunc ZPostSkill = (ZPostSkillFunc)0x0047D6E0;
     
    void LAWNMOWER()
    {
      if(GetAsyncKeyState(VK_F3))
      {
        if(lawnmow == true){lawnmow = false;} else{lawnmow = true;}
        Sleep(100);
      }
     
      if( lawnmow == true )
      {
        ZPostSkill(fShotTime,3,7); fShotTime++;
      }
     
      Sleep(10);
    }
     
    bool WINAPI DllMain(HMODULE hModule, DWORD dwReason, PVOID pvReserved)
    {
      if(dwReason == DLL_PROCESS_ATTACH)
      {
        DisableThreadLibraryCalls(hModule);
        CreateThread(NULL,0,(unsigned long (__stdcall *)(void *))LAWNMOWER,NULL,0,NULL);
      }
      return true;
    }
    Does somebody know how to do this with the berzerker effect?


  2. #2
    Member Your_Mom is offline
    MemberRank
    Mar 2010 Join Date
    Where I want toLocation
    88Posts

    Re: ZPostSkill.

    I'd delete that source. It's a hack.
    You might want to look into ZEffectManager::<function_name>.
    ZPostSkill is such as melee attack, massive, flip, etc.

    Something like:
    Code:
    void ZEffectManager_AddBerserkerEffect( )
    {
      DWORD ZChar = ZMyCharacter( );
      __asm
      {
         PUSH ZChar
         MOV ECX, EAX
         CALL ZEffectManager_AddBerserkerEffectADDRESS
      }
    }
    Syntax is Intel. (Visual C++)
    Last edited by Your_Mom; 22-03-10 at 07:37 AM.

  3. #3
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: ZPostSkill.

    Anyone know the address of bezerker function?

  4. #4
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: ZPostSkill.

    <bump>

  5. #5
    Member Your_Mom is offline
    MemberRank
    Mar 2010 Join Date
    Where I want toLocation
    88Posts

    Re: ZPostSkill.

    Quote Originally Posted by 00niels00 View Post
    Anyone know the address of bezerker function?
    You'd still have to declare ZMyCharacter.
    Look around, how I do it is:
    www.google.com
    type in "pastebin ZRuleBerserker"

  6. #6
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: ZPostSkill.

    Quote Originally Posted by Your_Mom View Post
    You'd still have to declare ZMyCharacter.
    Look around, how I do it is:
    www.google.com
    type in "pastebin ZRuleBerserker"
    I found those 2 adresses.
    Code:
    unsigned long ZRuleBerserker__BonusHealth			= 0x004BAFD0;
    unsigned long ZRuleBerserker__PenaltyHealth			= 0x004BB0D0;
    But this is the healing not the effect :/



Advertisement