Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

Page 17 of 19 FirstFirst ... 7910111213141516171819 LastLast
Results 241 to 255 of 279
  1. #241
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    874Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by EvgGenn View Post
    #define MU_CDC_SETBACKGROUNDCOLOR 0x004201DA

    Please share for Main 1.03K Jpn. 0x004201DA - error )
    #define MU_CDC_SETBACKGROUNDCOLOR 0x0041EDCA

  2. #242
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Work. THX! )
    Is there a solution that band life monsters is not displayed until the end? Do mobs life 0

    Last edited by EvgGenn; 06-02-14 at 04:17 PM.

  3. #243
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by evggenn View Post
    work. Thx! )
    is there a solution that band life monsters is not displayed until the end? Do mobs life 0

    up...

  4. #244
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    874Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by EvgGenn View Post
    up...
    just read first post and you get it working http://forum.ragezone.com/f508/clien...7/#post7763477

  5. #245
    Srsly? I have a title :D quskevel is offline
    MemberRank
    Jan 2013 Join Date
    United KingdomLocation
    275Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by ashlay View Post
    just read first post and you get it working http://forum.ragezone.com/f508/clien...7/#post7763477
    He need this for 1.03k, not 1.03p

  6. #246
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    874Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by quskevel View Post
    He need this for 1.03k, not 1.03p
    he alread have main 1.03k working(i think) as you can see in the picture just need to make serverside works properly.

  7. #247
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by ashlay View Post
    he alread have main 1.03k working(i think) as you can see in the picture just need to make serverside works properly.
    Hmm... IA Julia Jpn protocol dont work...

  8. #248
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    874Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by EvgGenn View Post
    Hmm... IA Julia Jpn protocol dont work...
    .cpp
    Code:
    //-------------------
    //HpBar
    //-------------------
    void GCDamageSend(int aIndex, int TargetIndex, int AttackDamage, int MSBFlag, int MSBDamage, int iShieldDamage)
    {
    
        PMSG_ATTACKRESULT pResult;
    
        PHeadSetB((LPBYTE)&pResult, PROTOCOL_ATTACK, sizeof(pResult));
        pResult.NumberH = SET_NUMBERH(TargetIndex);
        pResult.NumberL = SET_NUMBERL(TargetIndex);
        pResult.DamageH = SET_NUMBERH(AttackDamage);
        pResult.DamageL = SET_NUMBERL(AttackDamage);
        pResult.btShieldDamageH = SET_NUMBERH(iShieldDamage);
        pResult.btShieldDamageL = SET_NUMBERL(iShieldDamage);
    
        if ( MSBFlag != FALSE )
        {
            pResult.NumberH &= 0x7F;
            pResult.NumberH |= 0x80;
        }
    
        pResult.DamageType = MSBDamage;
    
        OBJECTSTRUCT * gObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);
        OBJECTSTRUCT * gTarg = (OBJECTSTRUCT*)OBJECT_POINTER(TargetIndex);
    
    	//pResult.Life = gObj[TargetIndex].Life;  //hpbar
    	//pResult.MaxLife = gObj[TargetIndex].MaxLife + gObj[TargetIndex].AddLife; //hpbar fix
    	pResult.Life = gTarg->Life;
    	pResult.MaxLife = gTarg->MaxLife + gTarg->AddLife; //hpbar fix
    	
        if(gTarg->Type == OBJECT_USER)
        {
            DataSend(TargetIndex, (LPBYTE)&pResult, pResult.h.size);
        }
    
        if(gObj->Type == OBJECT_USER )
        {
            DataSend(aIndex, (LPBYTE)&pResult, pResult.h.size);
        }
    }  
    
    //-------------
    .h
    Code:
    //------------------------------------------------//
    //					Hp-Bar						  //
    //------------------------------------------------//
    void GCDamageSend(int aIndex, int TargetIndex, int AttackDamage, int MSBFlag, int MSBDamage, int iShieldDamage);
    //-------------
    //hp bar
    //-------------
    struct PMSG_ATTACKRESULT
    {
    	PBMSG_HEAD h;	// C1:DC
    	BYTE NumberH;	// 3
    	BYTE NumberL;	// 4
    	BYTE DamageH;	// 5
    	BYTE DamageL;	// 6
    	BYTE DamageType;	// 7
    	BYTE btShieldDamageH;	// 8
    	BYTE btShieldDamageL;	// 9
    	float Life; //A //hpbar
    	float MaxLife; //E //hpbar
    	float AddLife;  //hpbar
    };
    //--------------------------------
    hooks
    Code:
    #ifdef _GS
    			Utilits.HookThis((DWORD)&GCDamageSend,0x00403BA7);//hpbar
    #endif
    #ifdef _GS_CS
    			Utilits.HookThis((DWORD)&GCDamageSend,0x00403d55);//hpbar
    #endif

  9. #249
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by ashlay View Post
    .cpp
    Code:
    //-------------------
    //HpBar
    //-------------------
    void GCDamageSend(int aIndex, int TargetIndex, int AttackDamage, int MSBFlag, int MSBDamage, int iShieldDamage)
    {
    
        PMSG_ATTACKRESULT pResult;
    
        PHeadSetB((LPBYTE)&pResult, PROTOCOL_ATTACK, sizeof(pResult));
        pResult.NumberH = SET_NUMBERH(TargetIndex);
        pResult.NumberL = SET_NUMBERL(TargetIndex);
        pResult.DamageH = SET_NUMBERH(AttackDamage);
        pResult.DamageL = SET_NUMBERL(AttackDamage);
        pResult.btShieldDamageH = SET_NUMBERH(iShieldDamage);
        pResult.btShieldDamageL = SET_NUMBERL(iShieldDamage);
    
        if ( MSBFlag != FALSE )
        {
            pResult.NumberH &= 0x7F;
            pResult.NumberH |= 0x80;
        }
    
        pResult.DamageType = MSBDamage;
    
        OBJECTSTRUCT * gObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);
        OBJECTSTRUCT * gTarg = (OBJECTSTRUCT*)OBJECT_POINTER(TargetIndex);
    
        //pResult.Life = gObj[TargetIndex].Life;  //hpbar
        //pResult.MaxLife = gObj[TargetIndex].MaxLife + gObj[TargetIndex].AddLife; //hpbar fix
        pResult.Life = gTarg->Life;
        pResult.MaxLife = gTarg->MaxLife + gTarg->AddLife; //hpbar fix
        
        if(gTarg->Type == OBJECT_USER)
        {
            DataSend(TargetIndex, (LPBYTE)&pResult, pResult.h.size);
        }
    
        if(gObj->Type == OBJECT_USER )
        {
            DataSend(aIndex, (LPBYTE)&pResult, pResult.h.size);
        }
    }  
    
    //-------------
    .h
    Code:
    //------------------------------------------------//
    //                    Hp-Bar                          //
    //------------------------------------------------//
    void GCDamageSend(int aIndex, int TargetIndex, int AttackDamage, int MSBFlag, int MSBDamage, int iShieldDamage);
    //-------------
    //hp bar
    //-------------
    struct PMSG_ATTACKRESULT
    {
        PBMSG_HEAD h;    // C1:DC
        BYTE NumberH;    // 3
        BYTE NumberL;    // 4
        BYTE DamageH;    // 5
        BYTE DamageL;    // 6
        BYTE DamageType;    // 7
        BYTE btShieldDamageH;    // 8
        BYTE btShieldDamageL;    // 9
        float Life; //A //hpbar
        float MaxLife; //E //hpbar
        float AddLife;  //hpbar
    };
    //--------------------------------
    hooks
    Code:
    #ifdef _GS
                Utilits.HookThis((DWORD)&GCDamageSend,0x00403BA7);//hpbar
    #endif
    #ifdef _GS_CS
                Utilits.HookThis((DWORD)&GCDamageSend,0x00403d55);//hpbar
    #endif
    Hmm sorry

  10. #250
    Darkness Member Kiosani is offline
    MemberRank
    Oct 2007 Join Date
    ArgentinaLocation
    1,276Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by EvgGenn View Post
    Hmm sorry
    you can change: PROTOCOL_ATTACK with: 0xDC (if you use Eng protocol)

  11. #251
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Excellent, it works! Thanks for the help friends!

  12. #252
    Enthusiast euzinhovip is offline
    MemberRank
    Jun 2012 Join Date
    Rio de Janeiro,Location
    32Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    is there a way to use the hp bar in the main 1.02c?

    there is a tutorial or someone can make a DLL to be hookada the gameserver and one for the main? would be of great help!

  13. #253
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by ashlay View Post
    #define MU_CDC_SETBACKGROUNDCOLOR 0x0041EDCA
    emm sorry. 1.03Y (1.03.25)?
    Main
    Big THX!

  14. #254
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    874Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Quote Originally Posted by EvgGenn View Post
    emm sorry. 1.03Y (1.03.25)?
    Main
    Big THX!
    1_03_25JPN

    #define MU_CDC_SETBACKGROUNDCOLOR 0x00420E06

  15. #255
    Enthusiast EvgGenn is offline
    MemberRank
    Dec 2013 Join Date
    33Posts

    Re: Client 1.03P ENG Source(CustomHP-CustomMonster-CustomItems and more)

    Successfully mobilized HP BAR from this topic version Main 1.03Y (1.03.25). Everything works fine, but I noticed one problem. When you hover over the mob - he appears not 100% health, until you hit it. Who faced?



Advertisement