Raised This Month: $ Target: $400
 0% 

[ANY] Anti Rush (Version 1.3 Updated 01.07.2011)


Post New Thread Reply   
 
Thread Tools Display Modes
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 05-16-2020 , 18:57   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #181

Quote:
Originally Posted by xSLOW View Post
testing it in CSGO.
do you have any ideea how can I make it not to bounce you back that much? you are literally jumping if you BHOP into the zone
I normally reduced the bounce, try again
CenT is offline
xSLOW
Senior Member
Join Date: Apr 2019
Location: Romania
Old 05-17-2020 , 15:08   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #182

i tried playing with these values, doesnt works
__________________
My community:
https://elitegamers.ro
https://www.gametracker.com/search/c...elitegamers.ro

Contact me, fastest way, through my discord server:
https://discord.gg/SBHzDGbbgG
xSLOW#0508
xSLOW is offline
Senz
New Member
Join Date: Jan 2021
Old 01-08-2021 , 06:00   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #183

Hey guys!

I ran into the same trouble with players bouncing back like crazy xD

Managed to fix it by minimizing the bounce back velocity (multiply by -1.0 instead of -10.0, this will get set to at least 200 anyways if velocity is too low) as well as add some significant downwards velocity (-400.0) to make the player collide with ground ASAP...

This is taken from CenT's 1.5 version:

Code:
// Bounce him back
case 2:
{
	new Float:fVelocity[3];
	fVelocity[0] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[0]"); 
	fVelocity[1] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[1]"); 
	fVelocity[2] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[2]");
	
	fVelocity[0] *= -10.0;
	fVelocity[1] *= -10.0;
	// Always bounce back with at least 200 velocity
	if(fVelocity[1] > 0.0 && fVelocity[1] < 200.0)
		fVelocity[1] = 200.0;
	else if(fVelocity[1] < 0.0 && fVelocity[1] > -200.0)
		fVelocity[1] = -200.0;
	// Never push the player up.
	if(fVelocity[2] > 0.0)
		fVelocity[2] *= -1.0;
	
	TeleportEntity(activator, NULL_VECTOR, NULL_VECTOR, fVelocity);
}
I changed this to:

Code:
// Bounce him back
case 2:
{
	new Float:fVelocity[3];
	fVelocity[0] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[0]"); 
	fVelocity[1] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[1]"); 
	//fVelocity[2] = GetEntPropFloat(activator, Prop_Send, "m_vecVelocity[2]"); ***No longer needed.
	
	fVelocity[0] *= -1.0;
	fVelocity[1] *= -1.0;
	//Add significant downwards push to make player collide with ground ASAP and prevent massive bounce back madness.
	fVelocity[2] = -400.0;
	// Always bounce back with at least 200 velocity
	if(fVelocity[1] > 0.0 && fVelocity[1] < 200.0)
		fVelocity[1] = 200.0;
	else if(fVelocity[1] < 0.0 && fVelocity[1] > -200.0)
		fVelocity[1] = -200.0;
	// Never push the player up. ***This is no longer needed, but I'll leave it for the sake of it.
	if(fVelocity[2] > 0.0)
		fVelocity[2] *= -1.0;

	TeleportEntity(activator, NULL_VECTOR, NULL_VECTOR, fVelocity);
}
I'll attach the changed source code.
Ooh, and I also had to rename a function (IsNullVector I think) to be able to compile it.
Attached Files
File Type: sp Get Plugin or Get Source (antirush.sp - 133 views - 69.4 KB)
Senz is offline
SPRINGx
New Member
Join Date: Mar 2020
Old 02-15-2021 , 00:34   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #184

None of these versions of antirush ( cent's or senz ) I can pass through them if I stand in crouch and spaming space.. any ideas how can this be solved? I'm willing to pay for a right version of the anti-rush.
SPRINGx is offline
KarmaFail
New Member
Join Date: Mar 2021
Old 03-24-2021 , 12:19   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #185

Hi,

I'm on sourcemod 1.10 with antirush version 1.4 of CenT.

I always have to reload the plugin when the server restarts or changes maps.

If I don't, the plugin is loaded, the conf is there but it is possible to cross the zone normally.

I tested to create a plugin with :

Code:
 public void OnMapStart()
{
    ServerCommand("sm plugins reload antirush")
But it's not working ... I have no more ideas and I need your help.

During this time I have to send the command manually at each restart or change of map

Thanks,

Karma

Last edited by KarmaFail; 03-27-2021 at 11:06.
KarmaFail is offline
Senz
New Member
Join Date: Jan 2021
Old 03-26-2021 , 12:14   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #186

Quote:
Originally Posted by KarmaFail View Post

Hi,
I'm on sourcemod 1.10 with antirush version 1.4 of CenT.

...
I'm not completely familiar with how the plugin works so I can't help with this. But I would begin by trying the newer versions, at least.
Senz is offline
KarmaFail
New Member
Join Date: Mar 2021
Old 03-27-2021 , 11:03   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #187

Quote:
Originally Posted by Senz View Post
I'm not completely familiar with how the plugin works so I can't help with this. But I would begin by trying the newer versions, at least.
Hi Senz,

Thanks for your reply.

I try all the versions of the plugin that's why I'm on 1.4.

I am now in 1.5 but the problem still persists.
KarmaFail is offline
Senz
New Member
Join Date: Jan 2021
Old 03-27-2021 , 20:36   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #188

Quote:
Originally Posted by KarmaFail View Post
Hi Senz,

Thanks for your reply.

I try all the versions of the plugin that's why I'm on 1.4.

I am now in 1.5 but the problem still persists.
Okay, a few questions pop into my head.

So all versions of the plugin have the same problem for you? Do other plugins have the same problem? Could this be a problem with SourceMod or your mix of plugins? Are there any error messages?

However, I don't know shit about this. So you might have to wait for a response from the creator of the plugin or some other SourceMod genius.
Senz is offline
Senz
New Member
Join Date: Jan 2021
Old 03-29-2021 , 10:42   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #189

Update:

I'm pretty sure I've mastered the bounce back functionality now.

First of all, the bounce back direction is very correct now, in my opinion.

The bounce back velocity is now fixed so it's always the right amount, never small enough so players can enter the zone and never large enough for bounce back madness to happen.

I've also fixed the problem with players being able to get through the zone by crouching and jump-spamming insanely fast.

Hope it works as good for everyone else as it does for me
Attached Files
File Type: sp Get Plugin or Get Source (antirush.sp - 154 views - 69.7 KB)
Senz is offline
KarmaFail
New Member
Join Date: Mar 2021
Old 04-08-2021 , 04:36   Re: [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
Reply With Quote #190

Hi, Sorry for the response time

Quote:
Originally Posted by Senz View Post
Okay, a few questions pop into my head.

So all versions of the plugin have the same problem for you?
Yes all versions, I just tested the last version posted by you.

Quote:
Originally Posted by Senz View Post
Do other plugins have the same problem?
No, antirush is the only one.

Quote:
Originally Posted by Senz View Post
Could this be a problem with SourceMod or your mix of plugins?
I don't now how to test sourcemod, but you can find my plugin list here :

PHP Code:
01 "Player Commands" (1.10.0.6502by AlliedModders LLC
  02 
"Fun Commands" (1.10.0.6502by AlliedModders LLC
  03 
"Basic Comm Control" (1.10.0.6502by AlliedModders LLC
  04 
"Anti-Flood" (1.10.0.6502by AlliedModders LLC
  05 
"multicfg-map.smx"
  
06 "Sound Commands" (1.10.0.6502by AlliedModders LLC
  07 
"Fun Votes" (1.10.0.6502by AlliedModders LLC
  08 
"Basic Votes" (1.10.0.6502by AlliedModders LLC
  09 
"Admin File Reader" (1.10.0.6502by AlliedModders LLC
  10 
"Basic Chat" (1.10.0.6502by AlliedModders LLC
  11 
"Admin Help" (1.10.0.6502by AlliedModders LLC
  12 
"Fix Hint Color Messages" (1.2.2 Franc1sco franug github versionby Phoenix
  13 
"Admin Menu" (1.10.0.6502by AlliedModders LLC
  14 
"Basic Ban Commands" (1.10.0.6502by AlliedModders LLC
  15 
"Basic Commands" (1.10.0.6502by AlliedModders LLC
  16 
"Reserved Slots" (1.10.0.6502by AlliedModders LLC
  17 
"Deathmatch" (0.13.3by H3bus
  18 
"RankMe" (3.0.3.Kento.29.1by lok1ScoobyKentopraccKxnrlCrazyHackGUT
  19 
"Nextmap" (1.10.0.6502by AlliedModders LLC
  20 
"RockTheVote" (1.4by ferret
  21 
"Basic Info Triggers" (1.10.0.6502by AlliedModders LLC
  22 
"Anti Rush" (1.5by Jannik 'Peace-Maker' HartungWilczekCenT
  23 
"Client Preferences" (1.10.0.6502by AlliedModders LLC 

Quote:
Originally Posted by Senz View Post
Are there any error messages?
No... For the server the plugin starts very well without any error but I have to reload the plugin so that the antirush barrier works. ¯\_(ツ)_/¯

Quote:
Originally Posted by Senz View Post
However, I don't know shit about this. So you might have to wait for a response from the creator of the plugin or some other SourceMod genius.
Thank you anyway, I hope to find a solution quickly enough because it's really boring.

Edit: I mainly play on aim_redline or aim_map maps.

Edit2: I completely removed the plugin (folders with cfg and smx) and I reinstalled it in version 1.5 by recreating the "antirush" folder to automatically create the cfg. But it had no effect...

cfg of aim_redline :

PHP Code:
"ZonesAndFences"
{
    
"zones"
    
{
        
"0"
        
{
            
"name"        "mid"
            "vec1"        "-1151.968750 382.911377 0.658390"
            "vec2"        "382.968750 495.724854 316.907074"
            "punishment"        "2"
        
}
    }


Last edited by KarmaFail; 04-13-2021 at 09:26.
KarmaFail 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 15:53.


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