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

Solved [Req] An advanced Anti-rush plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-14-2018 , 13:34   [Req] An advanced Anti-rush plugin
Reply With Quote #1

Hello dear AlliedModders

I really need someone to edit an existing plugin : a SIMPLE edit or an ADVANCED one if you're feeling generous

The plugin i'm talking about is (WALKGUARD) made by Mogel,it's a great plugin and i'm sure most of you already knew that.

Now let's jump to my request :

- The SIMPLE one:

this plugins has a block-zone feature : blocks a specific area of the map for both teams
Basically, the thing that i need is to have the ability to set a block zone for CTs or Ts only that can be set for a certain period only (eg:first 30s)
sure, this won't be the best anti rush plugin but it should be easy to edit,i tried to do it myslef but i failed (I have 0 knowledge )

Original:
Code:
enum ZONEMODE {
	ZM_NOTHING,
	ZM_CAMPING,
	ZM_CAMPING_T1,	// Team 1 -> e.g. Terrorist
	ZM_CAMPING_T2,	// Team 2 -> e.g. Counter-Terroris
	ZM_BLOCK_ALL,
	ZM_KILL,
	ZM_KILL_T1,	// DoD-Unterstützung
	ZM_KILL_T2
}

new zonemode[ZONEMODE][] = { "ZONE_MODE_NONE", "ZONE_MODE_CAMPER", "ZONE_MODE_CAMPER_T1", "ZONE_MODE_CAMPER_T2", "ZONE_MODE_BLOCKING",  "ZONE_MODE_CHEATER",  "ZONE_MODE_CHEATER_T1",  "ZONE_MODE_CHEATER_T2" }
new zonename[ZONEMODE][] = { "wgz_none", "wgz_camper", "wgz_camper_t1", "wgz_camper_t2", "wgz_block_all", "wgz_kill", "wgz_kill_t1", "wgz_kill_t2" }
new solidtyp[ZONEMODE] = { SOLID_NOT, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_BBOX, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_TRIGGER }
new zonecolor[ZONEMODE][3] = {
	{ 255, 0, 255 },		// nichts
	{ 0, 255, 0 },		// Camperzone
	{ 0, 255, 128 },		// Camperzone T1
	{ 128, 255, 0 },		// Camperzone T2
	{ 255, 128, 0 },	// alle Blockieren
	{ 255, 0, 0 },	// Kill
	{ 255, 0, 128 },	// Kill - T1
	{ 255, 128, 0 }	// Kill - T2
My attempt(didn't work ):
Code:
enum ZONEMODE {
	ZM_NOTHING,
	ZM_CAMPING,
	ZM_CAMPING_T1,	// Team 1 -> e.g. Terrorist
	ZM_CAMPING_T2,	// Team 2 -> e.g. Counter-Terroris
	ZM_BLOCK_ALL,
	ZM_BLOCK_T1,
	ZM_BLOCK_T2,
    ZM_KILL,
	ZM_KILL_T1,	// DoD-Unterstützung
	ZM_KILL_T2
}
  "
new zonemode[ZONEMODE][] = { "ZONE_MODE_NONE", "ZONE_MODE_CAMPER", "ZONE_MODE_CAMPER_T1", "ZONE_MODE_CAMPER_T2", "ZONE_MODE_BLOCKING", "ZONE_MODE_BLOCKING_T1", "ZONE_MODE_BLOCKING_T2", "ZONE_MODE_CHEATER", "ZONE_MODE_CHEATER_T1",  "ZONE_MODE_CHEATER_T2" }
new zonename[ZONEMODE][] = { "wgz_none", "wgz_camper", "wgz_camper_t1", "wgz_camper_t2", "wgz_block_all", "wgz_block_t1", "wgz_block_t2", "wgz_kill", "wgz_kill_t1", "wgz_kill_t2" }
new solidtyp[ZONEMODE] = { SOLID_NOT, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_BBOX, SOLID_BBOX, SOLID_BBOX, SOLID_TRIGGER, SOLID_TRIGGER, SOLID_TRIGGER }
new zonecolor[ZONEMODE][3] = {
	{ 255, 0, 255 },		// nichts
	{ 0, 255, 0 },		// Camperzone
	{ 0, 255, 128 },		// Camperzone T1
	{ 128, 255, 0 },		// Camperzone T2
	{ 255, 255, 255 },	// alle Blockieren
	{ 255, 0, 128 },	// block t1
	{ 255, 128, 0 },	// block t2
	{ 255, 0, 0 },	// Kill
	{ 255, 0, 128 },	// Kill - T1
	{ 255, 128, 0 }	// Kill - T2
}
- The ADVANCED one:

Same as the first one but way much better :


For me,the perfect plugin does this :

- Block if a CT tries to pass before the roundtime reaches x:yy (1:00 for example)
- if the CT tries to pass before 1:00 he will be blocked and a message will be displayed (chat) if he touches the invisible wall.
(eg : [anti_rush]this path is blocked for now : x:yy remaining // optional : Hud short message : you can't rush yet : x:yy left
- the zone disables if : 1- block time is over // 2- bomb is palnted // 3- optional : if there are less than 10 players


I think that's all,i'm new here so please bear with me if i made any mistakes or illegal stuff,i read the rules and it should be good.

thank's in advance!


Greetings.

Last edited by karimoo97; 04-22-2018 at 17:03.
karimoo97 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-19-2018 , 18:26   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #2

Hello again

I have been searching for a decent anti-rush but it seems like it just doesn't exist !
So please,if you have the time and the skills to do it i'll be super grateful.

Greetings
karimoo97 is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-19-2018 , 18:45   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #3

Quote:
Originally Posted by karimoo97 View Post
Hello again

I have been searching for a decent anti-rush but it seems like it just doesn't exist !
So please,if you have the time and the skills to do it i'll be super grateful.

Greetings
of course it doesn't existe, it make absolute no sense in prevent players to rush i don't know how you got this idea, but it makes 0 sense!

edit: i joined one server once, if your kills were greater than deaths by 10 frags, you couldn't get good weapons, if you killed too much they kick you, can't complain, if you use quickshot with sniper, or change to knife after shooting with awp and change back you would be banned, they want to make you a complete noob just because they don't know how to play, just hated the server, never again joined!

Last edited by tarsisd2; 04-19-2018 at 18:51. Reason: edit
tarsisd2 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-19-2018 , 19:18   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #4

Quote:
Originally Posted by tarsisd2 View Post
of course it doesn't existe, it make absolute no sense in prevent players to rush i don't know how you got this idea, but it makes 0 sense!

edit: i joined one server once, if your kills were greater than deaths by 10 frags, you couldn't get good weapons, if you killed too much they kick you, can't complain, if you use quickshot with sniper, or change to knife after shooting with awp and change back you would be banned, they want to make you a complete noob just because they don't know how to play, just hated the server, never again joined!
Hello @tarsisd2 thank you for passing by.

Actually it's super usefull in a lot of cases and i can state some:

Prevent the early CTs agression to give a chance to the Ts to control the map,a plugin that can stop them from pushing till the timer reaches X:YY is better than spaming RUSH=SLAY in a server with 32 players (they'll rush anyway)

Keep the Ts in the bomb site once they plant (my server rules,ican explain more)

And i'm sure a lot of other mods can use it for other purposes that I ignore,check walkguard's topic,i'm not the only one requesting this,

+If it's made out of an edited version of walkguard,it will be great due to the great zones creator that walkguard has

SO please help if you can


Greetings
karimoo97 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-19-2018 , 19:49   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #5

How is this 'specific area' defined. I assume you would need multiple coordinates for each map? The more you can explain the more I can try to help. Explain the basis of what you want to do for anti-rush. Can the same code be used for all maps, perhaps by making a buyzone a safe zone?
__________________
Bugsy is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-19-2018 , 20:28   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #6

Quote:
Originally Posted by Bugsy View Post
How is this 'specific area' defined. I assume you would need multiple coordinates for each map? The more you can explain the more I can try to help. Explain the basis of what you want to do for anti-rush. Can the same code be used for all maps, perhaps by making a buyzone a safe zone?
Hello @Bugsy

As i mentioned above this anti rush can be made of from an existing plugin Called WALKGUARD,why you may ask ?

1-It has an easy way to creat Zones as you can see in this video
2-It already has a "Block all players feature",you can creat a wall with the zone to block paths for players But:
A-It blocks both teams, ( i want to be able to select one team)
B-It's permanent (the whole round), (I want it to be either set to auto-disable after XX s OR when the round reaches X:YY and if the C4 is Planted)

I can eplain more if you want


Thank you

With gratitude.
karimoo97 is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-19-2018 , 23:16   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #7

everybody knows the walkguard plugin.

so you want the terrorists to have an advantage?

edit their spawn so they can spawn halfway to the bombsites
tarsisd2 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-20-2018 , 06:49   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #8

Quote:
Originally Posted by tarsisd2 View Post
everybody knows the walkguard plugin.

so you want the terrorists to have an advantage?

edit their spawn so they can spawn halfway to the bombsites
No, i want the anti rush to stop ct's from rushing because my server has some rules,the Ts work together to push a bombsite and i'm tired of cts not respecting the rule of no rushing until c4 is planted and them killing the Ts from behind,i wan't to be able to select the limites in maps(where to put the invis wall),the duration and for it to auto-disable when C4 is planted.
Extra stuff;the timer and the message (you cannot rush yet Xs left) in chat or hub as i mentioned in the first post

So basicly creating the zone can be just like the one of walkguard,zones should be saved just like walkguard for each map
Code:
; V1 - WalkGuard Zone-File
; <zonename> <position (x/y/z)> <mins (x/y/z)> <maxs (x/y/z)> [<parameter>] 
;
;
; parameter
;
;   - wgz_camper    <time>
;   - wgz_camper_t1 <time>
;   - wgz_camper_t2 <time>
;   - wgz_camper_t3 <time>
;   - wgz_camper_t4 <time>
;

wgz_none -1311.5 389.1 168.0 -800 -316 -232 800 316 232
wgz_camper_t1 -1480.0 -568.5 236.0 -2332 -632 -232 2332 632 232 30
wgz_camper_t2 134.5 2262.6 -33.4 -379 -267 -96 379 267 96 30
wgz_block_all 848.0 2051.8 287.0 -327 -32 -22 327 32 22
wgz_block_all -386.7 1653.0 121.5 -132 -37 -77 132 37 77
wgz_block_all 1794.5 2065.1 298.2 -13 -284 -41 13 284 41
wgz_none 195.6 356.7 137.5 -267 -162 -147 267 162 147
wgz_none -1721.4 -274.6 198.0 -9 -18 -22 9 18 22
wgz_block_all 332.6 -846.1 55.6 -32 -32 -32 32 32 32

Last edited by karimoo97; 04-20-2018 at 07:35.
karimoo97 is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 04-22-2018 , 10:03   Re: [Req] An advanced Anti-rush plugin
Reply With Quote #9

Thank you for your answers,i have found what I was looking for,It's not perfect but It gets the job doney ou can find it here in my request to add features and fix the bugs : Click here!

Mod please /Close
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 01:40.


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