Description



I'm quite a fan of Egypt, but ever since the Wrangler made Sentry jumps possible, RED has been able to completely lock down Point B on the second stage by abusing this arch, turning many people off from the map.











We run a 24/7 Egypt server and have had the arch exploit banned for some time, but the rule was often ignored when administrators were not present, and it was quite annoying to deal with in any case.



I wrote this plugin to prevent construction from occuring in the first place. Whenever the current map is cp_egypt_final, the plugin will check the location of any newly-placed building. If that location is atop the arch, the building will explode, and a message will be displayed to the player informing them that they may not build there.









ConVars



sm_egyptarchfix_version -- Version





Installation



Just copy EgyptArchFix.smx into your sourcemod/plugins/ directory.





Changelog



Code: Version 1.0.2 - 2013-01-02 * Fixed bug arising from previous version where reloading cp_egypt_final would disable plugin if enabled on previous run of map (and vice-versa) Version 1.0.1 - 2012-10-25 * Fixed errors from failed UnhookEvent call occuring on other maps after second map change * Cleaned up coordinates check code Version 1.0.0 - 2012-06-07 * Initial release

Miscellania



This will work on both 24/7 servers and servers with a rotation -- it checks for the proper map before hooking the building placement event.



I may update this in the future to have the option of also blocking building above the first capture point of Stage 1, but because that spot is far less powerful (albeit still surprising) for experienced players, we have not banned it on our 24/7 server and thus I have not yet included it in this plugin. More likely, however, is that I'll simply use it as the basis for a more generalized coordinate-based nobuild with boundaries defined in CFGs.



-- VersionJust copyinto yourdirectory.This will work on both 24/7 servers and servers with a rotation -- it checks for the proper map before hooking the building placement event.I may update this in the future to have the option of also blocking building above the first capture point of Stage 1, but because that spot is far less powerful (albeit still surprising) for experienced players, we have not banned it on our 24/7 server and thus I have not yet included it in this plugin. More likely, however, is that I'll simply use it as the basis for a more generalized coordinate-based nobuild with boundaries defined in CFGs. We run a 24/7 Egypt server and have had the arch exploit banned for some time, but the rule was often ignored when administrators were not present, and it was quite annoying to deal with in any case.I wrote this plugin to prevent construction from occuring in the first place. Whenever the current map is cp_egypt_final, the plugin will check the location of any newly-placed building. If that location is atop the arch, the building will explode, and a message will be displayed to the player informing them that they may not build there. Attached Files Get Plugin or Get Source (EgyptArchFix.sp - 593 views - 1.7 KB)

-=|CT|=- Messy Recipe Last edited by Messy Recipe; 01-02-2013 at 05:42 . Reason: Plugin updated