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

[Req] Make small changes to an ANTI-RUSH plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-22-2018 , 09:59   [Req] Make small changes to an ANTI-RUSH plugin
Reply With Quote #1

Hello AlliedModders.

I requested an antirush plugin in my topic : Advanced Anti-rush plugin REQ and i think it was too complicated,luckly someone sent me a pm containing an existing POLISH plugin that works like charm for stoping early cts aggression but still,i want to add some features and it has some bugs,i'm really hoping that you guys can help.

The Cvars :

amx_antirusher 1 /on-off
amx_antirusher_action 7 / 0-10 / //0.chat waring,1.slap, 2.kill, 3.kick, 4.Ban, 5.loss speed, 6.Flashed, 7.push back,8.kill if you fire 9-Messes up you aim/10-money loss
amx_antirusher_sound 1 / sound when touching the zone ( NO sir)
amx_antirusher_sound_mode 0 / No sir iis played for all players
amx_antirusher_slap 8 /...
amx_antirusher_time 40.0 / How long the plugin works in each roud
amx_antirusher_immunity 0 / admins
amx_antirusher_warn 0 / shows zonnes as green lines,but the warning and time system are broken
amx_antirusher_freq 0.1 /check
amx_antirusher_zasady 1 / no idea
amx_antirusher_people 4 / won't work if there are less than 4 ct's and 4 t's
/antirusher_menu in chat to : creat,edit,delete zones,just like walkguard
"NEW"
amx_antirusher_messages 2 // 0 - off, 1 - on(standard color), 2 - colored message, (default 1)
amx_antirusher_bombdroptime 30.000000 // how much time rush cts, when bomb is dropped
amx_antirusher_rules 1 // chat command /rules on/off (default on)


BUGS:
"FIXED" 1- Random text in chat:
!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! * it's so random
* You can rush after% .0f seconds * The Timer doesn't work
Note that both can be found in the lang .text, the first one is AR_INFO_WARN = /Second :AR_INFO_CLIENT

"FIXED" 2- I Also get this in chat but only admins can see it :
ML_NOTFOUND: AR_INFO_WARN
ML_NOTFOUND: AR_INFO_CLIE


3-If you touche the corner where two zones meet you'll be pushed back and forward,and some time a good push can send youu to the other side






REQUESTS: Ranked from most to least important:
1- Change how the block works,make it like a normal invisble wall that just stops you(like walkguard's),this one pushes you back a little
Code:
case 7:{

			new Float: velocity[3]

			new Float: DW //Długosc wektora

			entity_get_vector(id,EV_VEC_velocity,velocity)

			DW=vector_length ( velocity )+0.0001

			velocity[0]=(velocity[0]/DW)*(-500.0)

			velocity[1]=(velocity[1]/DW)*(-500.0)

			if(velocity[2]<0) velocity[2]=velocity[2]*(-1.0)+15.0 //wyrzuca do gory

			entity_set_vector(id,EV_VEC_velocity,velocity)	

		}
i think this is what needs to be changed,NO idaa how tho

2-I use amx_antirusher_action 7 (block) i want a message with a timer to be printed for the player that touches or is too close to the zone : You can't rush yet : x:yy left (i think the other tried to do it but it caused the above bugs,fix please )

3-Always print a message in chat if the Antirush is off with the reason: [Antirush[OFF]: 1- block time is over // 2- bomb is palnted/down(say that it's on again if theynpick up the bomb again) // 3-not enough players,i also want this at the start of each round if it's on : [Antirush[ON]: Cts cannot rush for X seconds


Thank you for reading and hopefully someone will help
Greetings

Edit: I found this dead post and this guy should be the author,credit
Attached Files
File Type: txt M_antirusher.txt (4.6 KB, 58 views)
File Type: sma Get Plugin or Get Source (M_Antirusher_2.6_alfa.sma - 438 views - 42.1 KB)

Last edited by karimoo97; 04-25-2018 at 12:42.
karimoo97 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-25-2018 , 12:31   Re: [Req] Make small changes to an ANTI-RUSH plugin
Reply With Quote #2

Update : i found a fixed version with less bugs and more features by Balage74 and Xpaw
I will underline and change the colors of fixed bugs in my original post.
Attached Files
File Type: zip xPaw_antirusher_2.83.zip (20.5 KB, 64 views)

Last edited by karimoo97; 04-25-2018 at 17:00.
karimoo97 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-14-2018 , 16:37   Re: [Req] Make small changes to an ANTI-RUSH plugin
Reply With Quote #3

Anyone please ? i would really appreciate it
karimoo97 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 12:47.


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