[FIX] Health over 100

Results 1 to 3 of 3
  1. #1
    Enthusiast bittencourt is offline
    MemberRank
    Feb 2012 Join Date
    25Posts

    [FIX] Health over 100

    Open your WarZ_Server.sln

    Look At:
    Code:
    if(loadout_->Stats.skillid7 == 1
    Change all the function to this:
    Code:
    if(loadout_->Stats.skillid7 == 1)
    			{
    				loadout_->Health += bandageEffect; 
    				loadout_->Health = R3D_MIN(loadout_->Health, 100.0f);
    				//r3dOutToLog("bandage used with skill 7, %f\n", bandageEffect);
    				return;
    			}
    			else if (loadout_->Stats.skillid0 == 1)
    			{
    				loadout_->Health += bandageEffect; 
    				loadout_->Health = R3D_MIN(loadout_->Health, 100.0f);
    				//r3dOutToLog("bandage used with skill 0, %f\n", bandageEffect);
    			}
    			else
    			{
    				loadout_->Health += bandageEffect; 
    				loadout_->Health = R3D_MIN(loadout_->Health, 100.0f);
    				//r3dOutToLog("bandage used, %f\n", bandageEffect);
    			}
    		}
    		break;
    After That, build the solution.

    OPEN YOUR NAVICAT, Go to Qurery and Run That
    UPDATE UsersChars SET Health=100 WHERE Health>100


  2. #2
    Banned MUIT0L0K0 is offline
    BannedRank
    Jan 2014 Join Date
    Colorado V2Location
    110Posts

    Re: [FIX] Health over 100

    not the same and fix that link? : http://forum.ragezone.com/f791/tutor...akenz-1023977/

  3. #3
    Enthusiast bittencourt is offline
    MemberRank
    Feb 2012 Join Date
    25Posts

    Re: [FIX] Health over 100

    Quote Originally Posted by MUIT0L0K0 View Post
    And what about the player out of Spawn Protect? Or you just copy and paste and do not understand the function?

    If the player use the bandage the health is going over 100, and can get more shoots while in-game
    Last edited by GigaToni; 02-10-14 at 11:56 AM.



Advertisement