EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (11) awp (23) ban (18) ba_jail (17) bhop (19) block (18) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2513) Damage (36) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (18) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) IP (11) jail (26) jailbreak (11) join (23) jump (12) kick (22) kill (44) kills (22) knife (57) leveling (36) management (14) mani (14) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (17) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (49) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (41) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spanish (11) spawn (63) speed (25) statistics (13) stats (48) status (11) STEAMID (24) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (10) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (9) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3  Next
Author Message
User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-08, 3:41 pm 
   Post subject: AntiCamp by:awuh0

Anti-Camper Script Pack

Requires
EventScripts v0.7.7 +



Features
Compleatly user customizeable, Open server.cfg and change settings and read through. No admin mods are requried for this plugin to function, however I do use Mani-admin-plugin as a example for the punishments, this is not nessesary and this script pack will still work without any plugin

To be done soon...
Add multiline support for punishments

Installation
(this is a SCRIPT PACK, which means the files are self contained and separate requiring no editing of individual event files other than autoexec.cfg. the files are intended to remain in their own registered subdirectory and can be turned on/off using the eventscripts_register/eventscripts_unregister commands.)

1. unzip the directory anticamp into your cfg directory or your eventscripts_subdirectory.
2. put the following line in autoexec.cfg
Code:
Code:
eventscripts_register anticamp


Download Link
Anti-Camp

V.0.1
Mostly useless off of player death
V.0.4
Cleaned up code added more points of detection
V.0.7
Public Release and discontinued use on thewuh's zombie server
V.0.9
Fixed alot of dumb problems
V.1.1
Fixed player tracking and alias recyling
V.1.2
Fixed execute punishment #x
V.1.3
Removed multiline support from punishments to fix invalid commands
V.1.4
fixed nested server_var resulting in no punishments before ban
V.1.5a
changed example punishments to fit with my one line only limit
added a debug message in hopefully the right place because cannot find player server_var doesnt sound promising
in other news, Im going through version numbers like toilet paper
V.1.5b
added es to all punishments, added declare all variables on scriptpack register regardless of mapchange (still required for full effect)
V.1.6
Fixed all the stupid problems... got rid of foreachkey

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


Last edited by awuh0 on 2006-01-26, 1:19 am, edited 9 times in total.




User avatar
New User
Profile

Posts: 22
 
New postPosted: 2005-09-08, 5:52 pm 

awuh0 wrote:
can you show me your console output
and also add what console displays after you do the following commands
alias
es_keygrouplist ac_players

and I need to know how many players you had in at that time.


Code:
M 09/09/2005 - 01:01:05: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 1
M 09/09/2005 - 01:01:25: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 2
M 09/09/2005 - 01:01:45: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 3
M 09/09/2005 - 01:02:05: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 4
M 09/09/2005 - 01:02:25: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 5
M 09/09/2005 - 01:02:45: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 6
M 09/09/2005 - 01:03:05: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 7
M 09/09/2005 - 01:03:25: CONSOLE :  (CHAT) ma_chat player # 2 camping counts = 8


i was alone on the server but this time with admin of mani but not immunity !

When i do "alias es_keygrouplist ac_player" in the con,sole,
nothing happens even when we were 6 playing on the server ! :?


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-08, 7:01 pm 

that was the last version, say anticamp in chat and see what it sez
the current release is V.1.3

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
Power User
Profile

Posts: 530
Location:
Karkand with a M4
 
New postPosted: 2005-09-08, 9:50 pm 

awuh0 wrote:
that was the last version, say anticamp in chat and see what it sez
the current release is V.1.3


Awesome to see that people are starting to use a version checker like I do :P

_________________
Hey I will get back on the forums once my schooling is caught up (2/29/08)


User avatar
New User
Profile

Posts: 22
 
New postPosted: 2005-09-08, 11:33 pm 

its is the version 1.3,
i see it at the end of server.cfg


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-09, 12:17 am 

your right, I forgot I had a nested server_var oh goodie... 1.4

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
Regular
Profile

Posts: 173
 
New postPosted: 2005-09-09, 12:31 am 

i have the new version, too. and i don´t in the imunitylist and nothing happends. th console say:


getting player location campcheck
2712.000000 275.712189 -285.899078
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"
WARNING: Couldn't find server variable: acuserid
L 09/09/2005 - 07:27:02: AntiCamp Log - 0 at 1 ticks
(ADMIN ONLY) CONSOLE: player # 2 camping counts = 1
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"
WARNING: Couldn't find server variable: acuserid
L 09/09/2005 - 07:27:07: AntiCamp Log - 0 at 2 ticks
(ADMIN ONLY) CONSOLE: player # 2 camping counts = 2
L 09/09/2005 - 07:27:07: "[BOT] DS Connor<5><BOT><TERRORIST>" triggered "Dropped_The_Bomb"
L 09/09/2005 - 07:27:07: "[BOT] DS Dennis<3><BOT><CT>" killed "[BOT] DS Connor<5><BOT><TERRORIST>" with "usp" (headshot)
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"


User avatar
Regular
Profile

Posts: 173
 
New postPosted: 2005-09-09, 12:34 am 

i have the new version, too. and i don´t in the imunitylist and nothing happends. th console say:


getting player location campcheck
2712.000000 275.712189 -285.899078
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"
WARNING: Couldn't find server variable: acuserid
L 09/09/2005 - 07:27:02: AntiCamp Log - 0 at 1 ticks
(ADMIN ONLY) CONSOLE: player # 2 camping counts = 1
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"
WARNING: Couldn't find server variable: acuserid
L 09/09/2005 - 07:27:07: AntiCamp Log - 0 at 2 ticks
(ADMIN ONLY) CONSOLE: player # 2 camping counts = 2
L 09/09/2005 - 07:27:07: "[BOT] DS Connor<5><BOT><TERRORIST>" triggered "Dropped_The_Bomb"
L 09/09/2005 - 07:27:07: "[BOT] DS Dennis<3><BOT><CT>" killed "[BOT] DS Connor<5><BOT><TERRORIST>" with "usp" (headshot)
getting player location campcheck
2715.540039 271.399048 -286.068390
Did not find player server_var
Did not find player server_var
Did not find player server_var
WARNING: esnq: Quotes not stripped because command-line contained a semicolon.
Unknown command "ma_slay server_var(acuserid);es_cexec server_var(acuserid) name Camping_Carl"


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-09, 1:19 am 

fixed example punishments and added a debug message to try and find out what this cannot find player server_var is

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
New User
Profile

Posts: 20
 
New postPosted: 2005-09-09, 2:09 am 

Hi

I have the same error.

Did not find player server_var
Did not find player server_var
Did not find player server_var

MFG
Cobra

_________________
Image
Image


User avatar
Helper
Profile

Posts: 209
Location:
GERMANY
 
New postPosted: 2005-09-09, 5:36 am 

Does : "es_xsetinfo ac_ban 0" only kick the player, right ?

Ive added your scriptpack into my forums to make it more public - great work !

cya :wink:

_________________
Image


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-09, 7:58 am 

cobra do you have version 1.5a?

setting ac_ban 0 will not kick or ban the player, you can add your own punishment as a kick
ac_punish8 "kickid server_var(ac_userid) "Kicked for camping"
also remeber to change ac_punishments to your total nuber of punishments

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
New User
Profile

Posts: 20
 
New postPosted: 2005-09-10, 12:49 am 

awuh0 wrote:
cobra do you have version 1.5a?

setting ac_ban 0 will not kick or ban the player, you can add your own punishment as a kick
ac_punish8 "kickid server_var(ac_userid) "Kicked for camping"
also remeber to change ac_punishments to your total nuber of punishments


Hi

Yes 1.5a

MFG
Cobra

_________________
Image
Image


User avatar
Regular
Profile

Posts: 173
 
New postPosted: 2005-09-10, 4:07 am 

1.5a???.......there is 1.4 here. mhhhhh i have the version where can i load here in the topic, and iam nor imun but nothing happends


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-10, 8:45 am 

meh It doesnt like updating the comment when i add a attachment at the same time.

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
Regular
Profile

Posts: 173
 
New postPosted: 2005-09-10, 11:07 am 

okay. i have the new version from the plugin. i am not in the imunuty list and nothing happens. i caned the name in camping carl and nothing else.

the console say:
Code:
L 09/10/2005 - 18:00:00: World triggered "Round_Start"
getting player location campcheck
-2998.312256 -208.000000 -312.024445
getting player location campcheck
-2998.312256 -208.000000 -312.024445
getting player location campcheck
-2998.312256 -208.000000 -312.024445
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
Did not find player server_var
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
Did not find player server_var
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
Did not find player server_var
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
Did not find player server_var
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
L 09/10/2005 - 18:00:12: AntiCamp Log - 2 at 1 ticks
(ADMIN ONLY) CONSOLE: player # 2 camping counts = 1
L 09/10/2005 - 18:00:12: "P!ll3<2><STEAM_0:0:1742456><CT>" changed name to "Camping_Carl"
getting player location campcheck
-2998.312256 -208.000000 -312.024445
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )
Did not find player server_var
server_var ( ac_userid ) on server_var ( ac_currentaction ) , executed server_var ( server_var ( ac_currentaction ) )


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-09-10, 5:08 pm 

I must be losing it... I forgot to add a es in front of that echo... :(

but it does seem to be working....
just in the wrong punishment mabey?

If you want to redownload it to get the echo working for debug,
or edit the execpunish.cfg file

Code:
es_format ac_currentaction "ac_punishment%1" server_var(ac_currentnum)
//debug*
es echo server_var(ac_userid) on server_var(ac_currentaction), executed server_var(server_var(ac_currentaction))
//*debug
esnq server_var(server_var(ac_currentaction))
es_xmath ac_currentnum + 1
if(server_var(ac_currentnum) lessthan server_var(ac_punnum)) then exec server_var(ac_execpunish.cfg)
if(server_var(ac_currentnum) equalto server_var(ac_punnum)) then es_xif(server_var(ac_ban) equalto 1) then esqn server_var(ac_kbserver)
if(server_var(ac_currentnum) equalto server_var(ac_punnum)) then es_xif(server_var(ac_ban) equalto 1) then banid server_var(ac_bantime) server_var(ac_userid)
if(server_var(ac_currentnum) equalto server_var(ac_punnum)) then es_xif(server_var(ac_ban) equalto 1) then kickid server_var(ac_userid) server_var(ac_kbmsg)

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
Regular
Profile

Posts: 135
 
New postPosted: 2005-09-11, 3:36 pm 

i was kicked from my server for camping, i was moving around, long A in dust 2, when i got the message that i was camping, after i got kicked my server crashed and had the error:
engine error
num edict for bad pointer

or something like that.... what can i do?


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 54 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group