AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   WalkGuard - no camping/climbing/bug using - V1.3.2 (https://forums.alliedmods.net/showthread.php?t=55245)

mogel 06-04-2007 09:00

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Hi,

Quote:

Originally Posted by seiskakoo (Post 485531)
i'm getting the same error as him. I need the working source code that can compile, thanks.

u need the fakemeta_util.inc ... the webcompiler don't know this file ... download the fakemeta_util.inc and use the compiler on your machine at home

hand, mogel

Arkshine 06-11-2007 00:40

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
You should add in pfn_touch() function a check for 'zone' because its causes an 'Invalid Entity' error with some others plugins. (Like Throwing Knives. It happened when you collect knives from the ground)

Something like:

Code:
 if( editor || !pev_valid( zone ) )         return;

vittu 06-11-2007 01:23

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Who converted to fakemeta and used pfn_touch which still requires engine but is not included?

Why would you need fakemeta_util? instead of causing all the problems with compiling (meaning people don't understand they need the include). Just take what you need and put it in the plugin itself. IE. fm_is_valid_ent you don't need that since pev_valid has been created.

Stick with your engine version instead of a bad fakemeta conversion that wasn't done by you.



I still think a camp zone cooldown is a good idea, to stop players from returning too quickly.

ThunderBlizzard 06-11-2007 18:29

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
1 Attachment(s)
great job dude
well as i can see, the plugin is stable and still no one posted his wgz files??
why? there should be a collection for the default maps

i secured most of the default maps against buguse (assault, milita, office, aztec, cbble, dust2, inferno, nuke)
i will upload italy tommorrow or so...
as said these are only the buguse areas i didnt include camping positions. feel free to use them and/or add some more areas:mrgreen:

i put the wg.amxx in debug mode and my amx logs are getting spammed with an error

L 06/18/2007 - 02:47:36: [FAKEMETA] Invalid entity
L 06/18/2007 - 02:47:36: [AMXX] Displaying debug trace (plugin "walkguard.amxx")
L 06/18/2007 - 02:47:36: [AMXX] Run time error 10: native error (native "pev")
L 06/18/2007 - 02:47:36: [AMXX] [0] walkguard.sma::pfn_touch (line 197)

what am i doing wrong?

iggy_bus 06-27-2007 18:42

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Can you add up to 45 seconds for camping time ?

frankieyim 06-28-2007 06:57

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Quote:

Originally Posted by iggy_bus (Post 495575)
Can you add up to 45 seconds for camping time ?


very nice!!!!

ehha 06-28-2007 09:40

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
could you please put a configurable disable timer for each zone? like st3reo said

for example on rush zone delay timer 0 (so instant slay) and disable the rush zone automatically after 45 seconds or 1 minute

BlackMilk 06-29-2007 04:09

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Very nice work Mogel, this is great (also for things like not letting players cross maps like aim_ak-colt xD) - +Karma, though I'll test it later.

EDIT: Just thought of something, although it might be too much trouble, I'm not sure since I'm not a coder myself, I think it'd be great if you could add custom messages on the spot for zones. For example you create a CT camper zone on the rooftop of the building next to the truck in cs_assault, and add the message "Don't camp on this rooftop" display whenever a player enter is, and/or preferably even comes close to it, so they can refrain from doing it in the first place. Rather than just going like "Don't Camp" or "Don't Cheat" and stuff.

Another example, make a block zone in aim_ak-colt that stretches across the middle to both sides, with it's message being "Don't cross the map", or rather, "Don't attempt to cross the map" since it'd be impossible anyway. So yeah, custom messages admins can put in on the spot and edit when they want.

Oh yes, I forgot to ask: do the zones stay after
-changing map
-restarting map/server
-disabling and re-enabling the plugin?

And can you edit them or remove them individually after you're done with them and have closed the menu?

ehha 06-29-2007 10:01

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
they stay after all 3 because the zones get saved in a file

BlackMilk 06-29-2007 12:30

Re: WalkGuard - no camping/climbing/bug using - V1.3.1
 
Oh yes, my fault.
Well then I've got two questions left:

-Can zones be edited/removed after closing the menu?
-Can the ability be added for admins to give zones custom messages?


All times are GMT -4. The time now is 10:39.

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