Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

[OOB] Out-Of-Bounds Protector + Punishment (Zone Protector Plugin)

by Hell Phoenix · 2006-08-02 · 22 replies · 15003 views · 354 downloads

Read the thread (23 posts)

From the first post

These tools can stop people from exploiting certain areas in a map, be it accessing a spawn, accessing an out of bounds area, etc. These zones can be defined for either axis, allies or both teams.
n
nThis one goes out to PenDragon =D
n
n
/***************************************************************************n*   oob_protector.sma            Version 1.1            Date: AUGUST/02/2006n*n*   [OOB] Out-Of-Bounds Protector + Punishment (Zone Protector Plugin)n*n*   Protects Specified Zones in any DoD map from exploitation by definingn*   seperate punishments for each Zone!n*n*   Note: Use associated oob_builder to Build Custom Zones!n*n*   Original by:      Rob Secord, AKA xeroblood, AKA sufferern*   CS Updates by:    Dan Weeks, AKA Suicid3n*   Ported to DoD by: Hell Phoenix              n*                     [url=http://www.frenchys-pit.com]http://www.frenchys-pit.com[/url]n*n*n***************************************************************************n*   Changelog: 1.0  - Initial Releasen*              1.01 - Updated for AMX Mod X 1.01n*                   - Added Team Supportn*              1.02 - Updated with Default OOB filesn*        1.1  - Ported to DoDn*                   - Updated to use cvar pointers (which means it requires amxx 1.70 or above)n*n***************************************************************************n*   Todo: - Nothingn*         n***************************************************************************n*  Admin Commands: n*n*    oob_mode - Enables/Disables OOB-Protector Pluginn*               (Toggle Switch, no Parameters).n*n***************************************************************************n*  Admin CVARs:n*n*   oob_obey_immunity   <0|1> - If 1 plugin must obey immunity rights.n*   oob_delay_between    <#>  - Sets the number of seconds between punishments if inflicted.n*   oob_slap_damage      <#>  - The Amount of Damage Taken on Slap Punishment.n*   oob_fire_damage      <#>  - The Amount of Damage Taken on Fire Punishment.n*   oob_poison_damage    <#>  - The Amount of Damage Taken on Poison Punishment.n*n***************************************************************************/

n
n
/***************************************************************************n *   oob_builder.sma              Version 1.1           Date: AUGUST/02/2006n *n *   [OOB] Out-Of-Bounds Protector + Punishment (Zone Builder Plugin)n *n *   Builds Specified Zones in any map through console commands for use withn *   associated "Zone Protector Plugin".n *   Note:n *      You only need this plugin installed to Build new Zones for maps!n *      You may Remove this plugin afterwards, when running the server!n *n *   Original by:      Rob Secord, AKA xeroblood, AKA sufferern *   CS Updates by:    Dan Weeks, AKA Suicid3n *   Ported to DoD by: Hell Phoenix              n *                     [url=http://www.frenchys-pit.com]http://www.frenchys-pit.com[/url]n *n ***************************************************************************n *   Changelog: 1.0  - Initial Releasen *              1.01 - Updated for AMX Mod X 1.01n *                   - Added Team Supportn *              1.02 - Updated with Default OOB filesn *              1.1  - Ported to DoDn ***************************************************************************n *  Admin Commands: (None of them take any parameters, just the command only)n *n *    oob_start_zone    - First: Starts a new OOB-Zone from your current origin.n *    oob_adjust_height - Second (Optional): Adjusts the height of the currentn *                         OOB-Zone with a +/- value (Raise/Lower).n *    oob_save_zone     - Third: Saves current origins and shows Punishment Menun *                         and Delay Menu to Complete Zone.n *    oob_cancel_zone   - Optional: Cancels The Current OOB-Zone at any time.n *n *    Note: After saving new zones in a map, you must reload the map beforen *          any of the newly added zones will be protected!n *n ***************************************************************************n *  Admin CVARs:n *n *    oob_delay_seconds - Used for Delay Menu to set the number of secondsn *                        of Delay for each punishment before action is taken.n *n ***************************************************************************/

Files

oob_protector.sma Plugin Source 17 KB 192 dl Download Compile
oob_builder.sma Plugin Source 14 KB 162 dl Download Compile

The thread

All 23 posts from 10 people on [OOB] Out-Of-Bounds Protector + Punishment (Zone Protector Plugin), kept as they were written.

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
08-02-2006, 06:37 PM #1

These tools can stop people from exploiting certain areas in a map, be it accessing a spawn, accessing an out of bounds area, etc. These zones can be defined for either axis, allies or both teams.n nThis one goes out to PenDragon =Dn n

/***************************************************************************n*   oob_protector.sma            Version 1.1            Date: AUGUST/02/2006n*n*   [OOB] Out-Of-Bounds Protector + Punishment (Zone Protector Plugin)n*n*   Protects Specified Zones in any DoD map from exploitation by definingn*   seperate punishments for each Zone!n*n*   Note: Use associated oob_builder to Build Custom Zones!n*n*   Original by:      Rob Secord, AKA xeroblood, AKA sufferern*   CS Updates by:    Dan Weeks, AKA Suicid3n*   Ported to DoD by: Hell Phoenix              n*                     [url=http://www.frenchys-pit.com]http://www.frenchys-pit.com[/url]n*n*n***************************************************************************n*   Changelog: 1.0  - Initial Releasen*              1.01 - Updated for AMX Mod X 1.01n*                   - Added Team Supportn*              1.02 - Updated with Default OOB filesn*        1.1  - Ported to DoDn*                   - Updated to use cvar pointers (which means it requires amxx 1.70 or above)n*n***************************************************************************n*   Todo: - Nothingn*         n***************************************************************************n*  Admin Commands: n*n*    oob_mode - Enables/Disables OOB-Protector Pluginn*               (Toggle Switch, no Parameters).n*n***************************************************************************n*  Admin CVARs:n*n*   oob_obey_immunity   <0|1> - If 1 plugin must obey immunity rights.n*   oob_delay_between    <#>  - Sets the number of seconds between punishments if inflicted.n*   oob_slap_damage      <#>  - The Amount of Damage Taken on Slap Punishment.n*   oob_fire_damage      <#>  - The Amount of Damage Taken on Fire Punishment.n*   oob_poison_damage    <#>  - The Amount of Damage Taken on Poison Punishment.n*n***************************************************************************/
n n
/***************************************************************************n *   oob_builder.sma              Version 1.1           Date: AUGUST/02/2006n *n *   [OOB] Out-Of-Bounds Protector + Punishment (Zone Builder Plugin)n *n *   Builds Specified Zones in any map through console commands for use withn *   associated "Zone Protector Plugin".n *   Note:n *      You only need this plugin installed to Build new Zones for maps!n *      You may Remove this plugin afterwards, when running the server!n *n *   Original by:      Rob Secord, AKA xeroblood, AKA sufferern *   CS Updates by:    Dan Weeks, AKA Suicid3n *   Ported to DoD by: Hell Phoenix              n *                     [url=http://www.frenchys-pit.com]http://www.frenchys-pit.com[/url]n *n ***************************************************************************n *   Changelog: 1.0  - Initial Releasen *              1.01 - Updated for AMX Mod X 1.01n *                   - Added Team Supportn *              1.02 - Updated with Default OOB filesn *              1.1  - Ported to DoDn ***************************************************************************n *  Admin Commands: (None of them take any parameters, just the command only)n *n *    oob_start_zone    - First: Starts a new OOB-Zone from your current origin.n *    oob_adjust_height - Second (Optional): Adjusts the height of the currentn *                         OOB-Zone with a +/- value (Raise/Lower).n *    oob_save_zone     - Third: Saves current origins and shows Punishment Menun *                         and Delay Menu to Complete Zone.n *    oob_cancel_zone   - Optional: Cancels The Current OOB-Zone at any time.n *n *    Note: After saving new zones in a map, you must reload the map beforen *          any of the newly added zones will be protected!n *n ***************************************************************************n *  Admin CVARs:n *n *    oob_delay_seconds - Used for Delay Menu to set the number of secondsn *                        of Delay for each punishment before action is taken.n *n ***************************************************************************/
E Edgar
posted here
Posts: 1
Threads: 0
Joined: Apr 2005
08-03-2006, 01:12 PM #2

Thanks for this port!rnrnDid you change something elese then the team settings and cvars?

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
08-03-2006, 01:31 PM #3

I didnt change any of the cvars...they are the same. I had to change the weapons, and the punishments mostly. I removed the "shooting blanks" because the function doesnt work and I didnt feel it was really necessary enough to include another module to do it (it can be done through fakemeta).n nI think thats about it.

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-03-2006, 06:46 PM #4

Thanks very much Hell Phoenix!!!rnrnI've been bugging Pendragon about this for a long time now. :D I can get off his back now.

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-16-2006, 04:43 PM #5

Getting online compiler problems under 1.70, is the compiler working right now?rnrnWarning: chmod(): Operation not permitted in /home/zorderel/public_html/compiler/paste.php on line 23rnrnWarning: unlink(/home/zorderel/public_html/compiler/1.70/temp.sma): Operation not permitted in /home/zorderel/public_html/compiler/paste.php on line 24rnrnWarning: touch(): Utime failed: Permission denied in /home/zorderel/public_html/compiler/paste.php on line 27rnrnWarning: chmod(): Operation not permitted in /home/zorderel/public_html/compiler/paste.php on line 28rnThe File /home/zorderel/public_html/compiler/1.70/temp.sma is not Writable

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
10-16-2006, 05:04 PM #6

It does look like it. You can use the one on the amxx forums though for now.

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-16-2006, 05:45 PM #7
It does look like it. You can use the one on the amxx forums though for now.
rnrnThe one on the AMX forums only compiles for 1.76, or does it matter? If not can you show me a link for 1.70.rnrnTried to compile it on my own PC. The only thing I changed was the admin levels. Keep getting errors, here is the output.rnrn// ----------------------------------------rnrn//// oob_builder.smarn// D:amxmodx-1.70addonsamxmodxscriptingoob_builder.sma(114) : error 017: unrndefined symbol "ADMIN_LEVEL_K"rn// D:amxmodx-1.70addonsamxmodxscriptingoob_builder.sma(139) : error 017: unrndefined symbol "ADMIN_LEVEL_K"rn// D:amxmodx-1.70addonsamxmodxscriptingoob_builder.sma(160) : error 017: unrndefined symbol "ADMIN_LEVEL_K"rn// D:amxmodx-1.70addonsamxmodxscriptingoob_builder.sma(188) : error 017: unrndefined symbol "ADMIN_LEVEL_K"rn//rn// 4 Errors.rn// Could not locate output file compiledoob_builder.amx (compile failed).rn//rn// Compilation Time: 0.11 secrn// ----------------------------------------rnrn//// oob_protector.smarn// D:amxmodx-1.70addonsamxmodxscriptingoob_protector.sma(140) : error 017:rnundefined symbol "ADMIN_LEVEL_K"rn// D:amxmodx-1.70addonsamxmodxscriptingoob_protector.sma(140) : warning 215rn: expression has no effectrn// D:amxmodx-1.70addonsamxmodxscriptingoob_protector.sma(140) : error 001:rnexpected token: ";", but found ")"rn// D:amxmodx-1.70addonsamxmodxscriptingoob_protector.sma(140) : error 029:rninvalid expression, assumed zerorn// D:amxmodx-1.70addonsamxmodxscriptingoob_protector.sma(140) : fatal errorrn 107: too many error messages on one linern//rn// Compilation aborted.rn// 4 Errors.rn// Could not locate output file compiledoob_protector.amx (compile failed).rn//rn// Compilation Time: 0.11 secrn// ----------------------------------------

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
10-16-2006, 06:04 PM #8

For your errors...its because level K doesnt exist, I think your looking fro admin_password. From amxconst.inc:n n

#define ADMIN_ALL  0 /* everyone */n#define ADMIN_IMMUNITY  (1<<0) /* flag "a" */n#define ADMIN_RESERVATION (1<<1) /* flag "b" */n#define ADMIN_KICK  (1<<2) /* flag "c" */n#define ADMIN_BAN  (1<<3) /* flag "d" */n#define ADMIN_SLAY  (1<<4) /* flag "e" */n#define ADMIN_MAP  (1<<5) /* flag "f" */n#define ADMIN_CVAR  (1<<6) /* flag "g" */n#define ADMIN_CFG  (1<<7) /* flag "h" */n#define ADMIN_CHAT  (1<<8) /* flag "i" */n#define ADMIN_VOTE  (1<<9) /* flag "j" */n#define ADMIN_PASSWORD  (1<<10) /* flag "k" */n#define ADMIN_RCON  (1<<11) /* flag "l" */n#define ADMIN_LEVEL_A  (1<<12) /* flag "m" */n#define ADMIN_LEVEL_B  (1<<13) /* flag "n" */n#define ADMIN_LEVEL_C  (1<<14) /* flag "o" */n#define ADMIN_LEVEL_D  (1<<15) /* flag "p" */n#define ADMIN_LEVEL_E  (1<<16) /* flag "q" */n#define ADMIN_LEVEL_F  (1<<17) /* flag "r" */n#define ADMIN_LEVEL_G  (1<<18) /* flag "s" */n#define ADMIN_LEVEL_H  (1<<19) /* flag "t" */n#define ADMIN_MENU  (1<<20) /* flag "u" */n#define ADMIN_ADMIN  (1<<24) /* flag "y" */n#define ADMIN_USER  (1<<25) /* flag "z" */
WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-16-2006, 07:10 PM #9

Doh, thanks,fixed.

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-17-2006, 11:40 PM #10

Does this load up the saved oobs when the map comes around again by itself?

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
10-18-2006, 10:50 AM #11

Yes it does as long as they are in teh correct directory (the one they are placed in when you make them) =D

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-18-2006, 07:33 PM #12
Yes it does as long as they are in teh correct directory (the one they are placed in when you make them) =D
rnrnThanks Hell, just another question though. I see no mention of having to create a directory to save the oobs in the info here. Directions for this, and directory info? rnrnWhat do you need to do exactly to accomplish this?

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
10-18-2006, 08:39 PM #13

It creates the directory for you when you make the first zone. But the directory is called "oob" in the config directory (IE: naddons/amxmodx/configs/oob/<mapname>.oob is the full bath to the files).n

S spitfire
posted here
Posts: 39
Threads: 4
Joined: Jul 2006
11-05-2006, 01:54 AM #14

I tried getting this plugin to work but it just wont save the oob part...rnrnI do oob_start_zone or whatever... Get the area I want oob_save_zone or whatever then I do the menus and then it goes to the last menu.. Delay time I hit it and the menus disapear... I then reloaded the map and had someone try to get to a exploit... They were not killed harmed nor hurt

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
11-05-2006, 09:58 PM #15

Is the file in the directory? (addons/amxmodx/configs/oob/<mapname>.oob)n nDo you have the oob_protector.amxx file running also?

N npk06
posted here
Posts: 6
Threads: 2
Joined: Dec 2006
12-08-2006, 02:49 PM #16

Very nice work. I modified it a bit on our server as I wanted it to act as a spawn protector so I changed a few things in the way it acts. Anyway, nice job from the dev. Don't forget to change the rights on the oob directory as it seems it couln't do it by itself.

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-30-2006, 01:31 AM #17

Well i really need this plugin on our 24/7 charlie server as allies keep coming in to axis spawn.rnrnI have both plugins running.rnrn[ 19] OOB Zone Protector 1.1 AMXX DoD Communi oob_protector.a running rn[ 20] OOB Zone Builder 1.1 AMXX DoD Communi oob_builder.amx runningrnrnI am able to create and save zones. It wouldn't create the oob directory so I created it myself. When I create the zone and save I do see a file in my oob directory called rnrndod_charlie.oobrnrnWhen I cross the zone nothing happens. I'm using ver 1.75arnrnAny ideas on what I'm doing wrong?

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-30-2006, 01:32 AM #18

Well like a dummy I had it set to obey immunity.rnrnIt's working finernrnThanks for the great plugin

H Hell Phoenix
started this thread
Posts: 201
Threads: 17
Joined: Jan 2005
01-05-2007, 03:30 PM #19

Glad you got it working ;)

! !TK!- Cold Blooded
posted here
Posts: 27
Threads: 9
Joined: Nov 2006
10-04-2007, 04:53 AM #20

I got really excited when I saw this plugin but I must be missing something here. I loaded both .amx, made the oob folder, and the commands work in game as well. I do not have it to obey immunity and I have set many points to try and stop spawn campers, but it does not seem to be working. There was one time for about half a second where it said something in blue about being in a protected area, but I was not slayed nor took damage. Any help would be appreciated.

johnnyskid
posted here
Posts: 66
Threads: 14
Joined: Aug 2006
11-21-2007, 05:51 AM #21

The green line comes up. Then I do ood_save_zone. Then the menu come up and I do that. My next step is I re-boot the map. But it does not take my weapon away? I have imunity set at zero.rnrnBoth plugins are installed. What am I doing wrong?

johnnyskid
posted here
Posts: 66
Threads: 14
Joined: Aug 2006
11-22-2007, 03:42 AM #22

Still can't get it to save. Sorry to be a pest about this.

{ {War} Romeo8
posted here
Posts: 6
Threads: 2
Joined: Jun 2013
10-06-2018, 01:55 AM #23

I have just started to use this on my server to stop the [layers bitching about the enemy camping spawn areas. Can anyone assist me with how to place warning sings on these areas?

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC