1hh fix

Results 1 to 1 of 1
  1. #1
    Helper for everyone Ismir93 is offline
    MemberRank
    Oct 2010 Join Date
    BosniaLocation
    1,200Posts

    1hh fix

    hello,

    Is there someone to compile this 1hh fix for me ? or how to change weapon change delay time via mainserver or something There is source,but i can not make dll ..alot erros on visual basic..
    PHP Code:
    namespace CMonster
    {
    static 
    signed int (__thiscall *CMonsterRealApplyDamage)(void_this,int a5int a6int a7int a8int a9int a10int a11) = (signed int (__thiscall*)(void*,int a5int a6int a7int a8int a9int a10,int a11))0x0043E950;
    }
    void __fastcall CMonsterRealDamage(void *_this,void*,int Playerint a3int Damageint a5int a6int a7int a8)
    {
        
    bool forward true;
        
        Interface<
    cPlayerPlayerTool;
        if(
            ( 
    PlayerTool->getMaxMagic(Player) > 6000) || 
            ( 
    PlayerTool->getMinPhy(Player) > 6000) || 
            ( 
    PlayerTool->getMaxPhy(Player) > 6000) || 
            ( 
    PlayerTool->getMinMagic(Player) > 6000) ||
            ( 
    PlayerTool->getMaxMagic(Player) < 0) || 
            ( 
    PlayerTool->getMinPhy(Player) < 0) || 
            ( 
    PlayerTool->getMaxPhy(Player) < 0) || 
            ( 
    PlayerTool->getMinMagic(Player) < 0) ||
            ( 
    Damage 30000)
          )
        {
            
    forward false;
            
    CMonster::CMonsterRealApplyDamage(_this,Player,a3,0,a5,a6,a7,a8);
        }

        if( 
    forward == true )
        {
            
    CMonster::CMonsterRealApplyDamage(_this,Player,a3,Damage,a5,a6,a7,a8);    
        }
    }

        
    Memory->Hook(0x0043AC5D,CMonsterRealDamage);
        
    Memory->Hook(0x0043F2F1,CMonsterRealDamage);
        
    Memory->Hook(0x004424BD,CMonsterRealDamage);
        
    Memory->Hook(0x00443A1D,CMonsterRealDamage);
        
    Memory->Hook(0x00444EDD,CMonsterRealDamage); 
    Last edited by Ismir93; 19-08-14 at 03:04 AM.




Advertisement