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

Page 12 of 19 FirstFirst ... 245678910111213141516171819 LastLast
Results 166 to 180 of 279
  1. #166
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

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

    Quote Originally Posted by Mila View Post
    Check my post for fix this...

    http://forum.ragezone.com/f508/clien...ml#post7814898



    I solver delete this line:


    But this line not work (fails to show hp bar)
    Yes, you were right, I forgot about " + gTarg->AddLife; " part. Updated my first post

    You are using main 1.03p? Those offsets are for main 1.03p


    Also there was a string after frist #define MU_CDC_SETBACKGROUNDCOLOR, and I dont know why I've added that there O.o. Maybe I was too lazy, but I've removed it...The correct on this line is having only the define:
    Code:
    #define MU_CDC_SETBACKGROUNDCOLOR	0x004201DA
    Last edited by afonsolage; 06-10-13 at 05:50 PM.

  2. #167
    Alpha Member ianvalls90 is offline
    MemberRank
    Apr 2007 Join Date
    ArgentinaLocation
    1,829Posts

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

    OK, Testing Now.

  3. #168
    Member ATJIAHT is offline
    MemberRank
    Jul 2008 Join Date
    65Posts

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

    Quote Originally Posted by afonsolage View Post
    Lets go:
    @ATJIAHT
    This seems to be a conversion error, or a float overflow. You changed the client side Hp and MaxHp variables to float, like I posted here?
    yep all float client and server.
    now all work correctly.
    anyway thx for you help ;)

  4. #169
    Account Upgraded | Title Enabled! walter29 is offline
    MemberRank
    Dec 2007 Join Date
    316Posts

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

    Thank afonsolage gone wrong, however I downloaded the main topic, the dll you copilou and provided already with the config, and added to the customer but the HP bar is not showing. I have to add a line in Seting.ini to activate the HP bar?


    Another thing that is happening after I added the code in the dll server is that when I attack one mob not ta showing the damage that is being pulled out of it, so the damage shows when he takes a final damage before dying.

    -------------------
    Getting fix the problem viewing the HP bar and also the damage that showed not changing this part in user.cpp (server side) as was advised peo afonsolage.
    user.cpp
    PHeadSetB ((LPBYTE) e pResult, 0x11, sizeof (pResult));
    However I'm new problem type of mob the bar shows full but does not show the amount of lives he has kind is 0/0
    Last edited by walter29; 06-10-13 at 08:18 PM.

  5. #170
    Account Upgraded | Title Enabled! walter29 is offline
    MemberRank
    Dec 2007 Join Date
    316Posts

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

    I made some changes here followed the post http://forum.ragezone.com/f508/clien...ml#post7807106 alonsolage and now ta showing normal damage from mob type is no longer 0/0


    But I'm using a dll that alonsolage copilada posted already, I wanted myself copilar put the dll seuir the tutorial that he posted and copilei the dll without error, but do not understand why it does not work. I would like if possible to alonso postasse the source code of the dll it for me to analyze and make comparisons with my since copilei without any error

  6. #171
    Proficient Member VeltonD is offline
    MemberRank
    Feb 2013 Join Date
    193Posts

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

    @Anfolsolag, thx in Vientã Main.exe 100% Work
    I have an Idea. Using a function of Cash Shop


    to make someone like this

  7. #172
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

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

    Quote Originally Posted by VeltonD View Post
    @Anfolsolag, thx in Vientã Main.exe 100% Work


    I have an Idea. Using a function of Cash Shop


    to make someone like this
    This is IGCN S6EP3. Supron or Dudi did it, I'm trying to do it, but I know it'll take soo long and maybe I'll not have success.

  8. #173
    Account Upgraded | Title Enabled! walter29 is offline
    MemberRank
    Dec 2007 Join Date
    316Posts

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

    Well folks with a little effort can solve the problem she was having, now just wanted to know how do I deploy this dll in the GSCS as ta only showing the bar hp monsters in the gs

  9. #174
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

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

    Quote Originally Posted by walter29 View Post
    Well folks with a little effort can solve the problem she was having, now just wanted to know how do I deploy this dll in the GSCS as ta only showing the bar hp monsters in the gs
    Follow Mauro's fix. Also, when you got some free time, take a look on whole thread, there are other thing that may help you also.

  10. #175
    Account Upgraded | Title Enabled! Mila is offline
    MemberRank
    Jan 2013 Join Date
    325Posts

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

    Quote Originally Posted by afonsolage View Post
    This is IGCN S6EP3. Supron or Dudi did it, I'm trying to do it, but I know it'll take soo long and maybe I'll not have success.
    Your mod for the HP bar is great. But it would be better if it shown by percentage, ie instead of showing HP / HP showing by % of life today... Just an idea, if you can implement would be great :)

  11. #176
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

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

    Quote Originally Posted by Mila View Post
    Your mod for the HP bar is great. But it would be better if it shown by percentage, ie instead of showing HP / HP showing by % of life today... Just an idea, if you can implement would be great :)
    This?



    Enjoy:
    mob_hp_bar.cpp
    Code:
    void CMob_HPBar::Draw()
    {
    	if (this->MaxHP == 0) return;
    	float pHP = (this->HP * 100) / this->MaxHP;
    	if (pHP)
    	{
    		MU_DrawGUI(NEWUI_BAR_SWITCH01, (MAX_WIDTH / 2) - 80, 20, 160, 18);
    		MU_DrawColorButton(NEWUI_BAR_SWITCH02, (MAX_WIDTH / 2) - 75, 25, (150 * pHP) / 100, 8, 0, 0, MU_CreateColor(255, 0, 0, 150));
    
    		MU_SetColor(0xFF, 0xFF, 0xFF, 255);
    		MU_SetBGColor(0, 0, 0, 0);
    
    		char msg[100];
    		sprintf(msg, "%%%d", (int)pHP);
    		 
    		MU_OutText(310, 24, msg);
    	}
    	else
    	{
    		this->isDraw = false;
    	}
    }

  12. #177
    Member CallOfDuty is offline
    MemberRank
    Oct 2012 Join Date
    65Posts

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

    afonsolage , you can add show time server ?


  13. #178
    Lage Company™ afonsolage is offline
    MemberRank
    Mar 2012 Join Date
    Fortaleza, BRALocation
    244Posts

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

    Quote Originally Posted by CallOfDuty View Post
    afonsolage , you can add show time server ?

    Yes, but i'm trying to do it here:

    Because this is a unused room . But this will take some time, so I dont know when I can do it.

  14. #179
    Account Upgraded | Title Enabled! Mila is offline
    MemberRank
    Jan 2013 Join Date
    325Posts

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

    Quote Originally Posted by afonsolage View Post
    Yes, but i'm trying to do it here:

    Because this is a unused room . But this will take some time, so I dont know when I can do it.
    In that place can cause problems when playing a CastleSiege... Be careful with that... Also really is perfect to show the map name, not the server time or local time, just a suggestion! success brother! :)

  15. #180

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

    dont do it ppl just should use /time and thats it :P



Advertisement