AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Noslowdown (https://forums.alliedmods.net/showthread.php?t=231296)

MangekyouSharingan 12-11-2013 11:50

Noslowdown
 
Hi,
Beforei always used HNS MOD by Exolent where you could change with a cvar from slowdown to noslowdown, now im using this one: http://forums.alliedmods.net/showthread.php?t=73244
cause i Like it more than exolents, but i cant change to noslowdown there (or can I ?)
And now i want to ask if someone could write a small plugin (i remembre that its really really small)
which changes slowdown to noslowdown.
Thanks.

UchihaSkills 12-11-2013 11:55

Re: Noslowdown
 
This should work:
PHP Code:

#include <amxmodx>
#include <fakemeta>

public plugin_init() 
{
    
register_plugin("Noslowdown""1.0""UchihaSkills")
    
register_forward(FM_PlayerPreThink"FwdPlayerPreThink"0)
}

public 
FwdPlayerPreThink(iPlayer)
{
    if(
is_user_alive(iPlayer))
        
set_pev(iPlayerpev_fuser20.0)

    return 
FMRES_IGNORED



joshknifer 12-11-2013 11:56

Re: Noslowdown
 
Search for noslowdown, or post in that plugin's thread

yokomo 12-12-2013 07:06

Re: Noslowdown
 
You can hex mp.dll for this, i only can do for window hlds, for linux it different. Hex mp.dll is way efficient than using a metamod/amxx plugin.

UchihaSkills 12-12-2013 09:09

Re: Noslowdown
 
Quote:

Originally Posted by yokomo (Post 2071214)
You can have hex mp.dll for this, i only can do for window hlds, for linux it different. Hex mp.dll is way efficient than using a metamod/amxx plugin.

stop talking shit

yokomo 12-12-2013 10:44

Re: Noslowdown
 
Quote:

Originally Posted by UchihaSkills (Post 2071240)
stop talking shit

Not so hard to do this, only need to replace 3 address. If he don't want then never mind.

Kia 12-12-2013 11:50

Re: Noslowdown
 
Quote:

Originally Posted by yokomo (Post 2071270)
Not so hard to do this, only need to replace 3 address. If he don't want then never mind.

He has no clue about Coding, don't even listen to him.
If you mind, please share how you did this.

simanovich 12-12-2013 12:04

Re: Noslowdown
 
Quote:

Originally Posted by UchihaSkills (Post 2071024)
This should work:
PHP Code:

#include <amxmodx>
#include <fakemeta>

public plugin_init() 
{
    
register_plugin("Noslowdown""1.0""UchihaSkills")
    
register_forward(FM_PlayerPreThink"FwdPlayerPreThink"0)
}

public 
FwdPlayerPreThink(iPlayer)
{
    if(
is_user_alive(iPlayer))
        
set_pev(iPlayerpev_fuser20.0)

    return 
FMRES_IGNORED



It's better to use Ham_Jump.

It uses less CPU

yokomo 12-12-2013 12:46

Re: Noslowdown
 
Quote:

Originally Posted by Kia (Post 2071296)
He has no clue about Coding, don't even listen to him.
If you mind, please share how you did this.

- First open mp.dll with hex editor.
- Replace Hex value:
Code:

4379A444
with:
Code:

00000000
- Search for:
Code:

9A99993F
There got 6x of this value. You only need to replace at the forth search.
change to:
Code:

00000000
- Save mp.dll then try it, tested on mp.dll build 6153 it worked.

UchihaSkills 12-13-2013 05:32

Re: Noslowdown
 
Quote:

Originally Posted by Kia (Post 2071296)
He has no clue about Coding, don't even listen to him.
If you mind, please share how you did this.

still better than being gay ;)


All times are GMT -4. The time now is 20:26.

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