Raised This Month: $51 Target: $400
 12% 

HP Fix after the latest Steam Update


Post New Thread Reply   
 
Thread Tools Display Modes
zeroibis
Veteran Member
Join Date: Jun 2007
Old 10-20-2011 , 15:57   Re: HP Fix after the latest Steam Update
Reply With Quote #61

works with sm1.4 windows and the provided instructions in this thread.
__________________
zeroibis is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-20-2011 , 17:33   Re: HP Fix after the latest Steam Update
Reply With Quote #62

You might need to load the extension manually if it's not loading automatically.

"sm exts load sendproxymanager"
caption
Afronanny is offline
peteanbe
SourceMod Donor
Join Date: Mar 2007
Location: Norway
Old 10-20-2011 , 17:46   Re: HP Fix after the latest Steam Update
Reply With Quote #63

Quote:
Originally Posted by Afronanny View Post
You might need to load the extension manually if it's not loading automatically.

"sm exts load sendproxymanager"
caption
Got this back after trying that.
[SM] Extension sendproxymanager.ext.dll failed to load: The specified module could not be found.
__________________
peteanbe is offline
Send a message via Skype™ to peteanbe
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-20-2011 , 19:29   Re: HP Fix after the latest Steam Update
Reply With Quote #64

Oh. wrong filename.

How about "sm exts load sendproxy"
caption
Afronanny is offline
peteanbe
SourceMod Donor
Join Date: Mar 2007
Location: Norway
Old 10-20-2011 , 20:06   Re: HP Fix after the latest Steam Update
Reply With Quote #65

Quote:
Originally Posted by Afronanny View Post
Oh. wrong filename.

How about "sm exts load sendproxy"
caption
Well It made it run
[SM] Loaded extension sendproxy.ext.dll successfully.

But now I got this error
[SM] Unable to load plugin "HealthFix.smx": Required extension "SendProxy Manager" file("sendproxy.ext") not running

EDIT: Problem fixed, I added SourceMOD 1.4.0 to my server, but missed some files. So I re-added sourceMOD 1.4.0
Now the zombie screens are back to normal, thanks for the help :-)
__________________

Last edited by peteanbe; 10-20-2011 at 20:44.
peteanbe is offline
Send a message via Skype™ to peteanbe
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 11-10-2011 , 16:16   Re: HP Fix after the latest Steam Update
Reply With Quote #66

Quote:
Originally Posted by KyleS View Post
I've completely fixed this.

You need to wait until SendProxy Manager has been updated with functioning hooks for multiple entities. Then you may use this.

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sendproxy>

public Plugin:myinfo =
{
    
name         =        "Health Fix",            // http://www.youtube.com/watch?v=DbwmAxhRbIw&hd=1
    
author        =        "Kyle Sanderson",
    
description    =        "Work around for the Health fuckup.",
    
version        =        "1.0",
    
url            =        "http://SourceMod.net"
};

public 
OnPluginStart()
{
    for (new 
1<= MaxClientsi++)
    {
        if (
IsClientInGame(i))
        {
            
OnClientPutInServer(i);
        }
    }
}

public 
OnClientPutInServer(client)
{
    if (!
SendProxy_IsHooked(client"m_iHealth"))
    {
        
SendProxy_Hook(client"m_iHealth"Prop_IntProxyCallback);
    }
}

public 
Action:ProxyCallback(entity, const String:propname[], &iValue)
{
    if (!
IsValidClient(entity))
    {
        return 
Plugin_Continue;
    }
    
    if (
iValue 500)
    {
        
iValue RoundToCeil(iValue 10.0);
        
        if (
iValue 500)
        {
            
iValue 500;
        }
    
        
ChangeEdictState(entity);
        return 
Plugin_Changed;
    }
    
    return 
Plugin_Continue;
}

stock bool:IsValidClient(client)
{
    return ((
client <= MaxClients) && IsClientInGame(client) && IsPlayerAlive(client));

If you're using any of the other insane workarounds, don't. Really.

Also. I should probably note that if you unload this plugin, or reload it, there's a chance your server can crash. It's off in Valve land so I have no idea. If you have a better way to work around this, let me know.



I get this Error when i install that :

14 <Failed> "Health Fix" (1.0) by Kyle Sanderson
andrew13 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 11-10-2011 , 17:22   Re: HP Fix after the latest Steam Update
Reply With Quote #67

This fix is no longer needed.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 11-11-2011 , 13:57   Re: HP Fix after the latest Steam Update
Reply With Quote #68

Like its 100% Fixed so i dont need to use the HPFix that john posted?
andrew13 is offline
-=Leb=-
SourceMod Donor
Join Date: Dec 2008
Location: Sweden/Stockholm
Old 11-11-2011 , 17:19   Re: HP Fix after the latest Steam Update
Reply With Quote #69

no, as rehelgeby said above, this fix is no longer needed. You dont have to use it anymore the hp glitch is fixed.
-=Leb=- is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode