Raised This Month: $62 Target: $400
 15% 

Bad Camper 1.4.239


Post New Thread Reply   
 
Thread Tools Display Modes
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-15-2015 , 13:39   Re: Bad Camper 1.4.239
Reply With Quote #711

Quote:
Originally Posted by klevron View Post
pls any one edit me this source code without sound file
i dont want to add sound file it cause download for clients
The plugin will only try to download the sound file if "Sound" is included as the punishment per the bad_camper_punish CVAR (it is by default) and if the bad_camper_sound CVAR is set to 1 (it is by default).

Code:
badcamper_punish <iFlags>
Specifies how a player is to be punished when they camp too long. A value of 0 will disable this plugin.

The flags are additive.
1: Slap
2: Health Reduction
4: Sound (set sound via badcamper_sound)
8: Blind
16: Money Reduction (requires CSTRIKE module)
32: Snark Attack (requires Monster Mod with Snarks enabled)

The default is 12 (snore and blind).
Code:
badcamper_sound <iFlag>

Specifies the sound to use as a punishment when the badcamper_punish flag includes the "sound" punishment.

1: Snore
2: Heartbeat

The default is 1 (snore).
__________________
Brad is offline
thexyster
New Member
Join Date: Mar 2015
Old 03-21-2015 , 16:16   Re: Bad Camper 1.4.239
Reply With Quote #712

plugin dosent work i just did all i have to do plugin is runing ok after i type ammx cvars all cvars just work fine and when i loggin to the server plugin dosent work thou in amxmodmenu it is on and debug md is on
thexyster is offline
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 09-25-2015 , 11:04   Re: Bad Camper 1.4.239
Reply With Quote #713

Quote:
Originally Posted by ConnorMcLeod View Post
Try to edit and replace line 467 :
PHP Code:
        register_logevent("event_round_end"2"1&Restart_Round_");
        
        
g_mapHasBomb engfunc(EngFunc_FindEntityByString,-1"classname""func_bomb_target");    
    } 
with :

PHP Code:
        register_logevent("event_round_end"2"1&Restart_Round_");
        
        
g_mapHasBomb = (    engfunc(EngFunc_FindEntityByString,-1"classname""func_bomb_target")
                    ||    
engfunc(EngFunc_FindEntityByString,-1"classname""info_bomb_target")    );    
    } 
This fixes the problem for some DE maps where bad camper thinks there aren't bombsites
vitorrossi is offline
manufact
Junior Member
Join Date: Apr 2016
Old 04-30-2016 , 05:39   Re: Bad Camper 1.4.239
Reply With Quote #714

not working for me

Quote:
116:40 status
116:40 hostname: Europe`s Best - 1000FPS - High Performance Server
version : 48/1.1.2.6 5956 secure (30)
tcp/ip : 192.168.0.199:27015
map : dod_saints at: 0 x, 0 y, 0 z
players : 0 active (32 max)

Quote:
117:27 meta list
117:27 Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.2 ini Start ANY
[ 2] mmtimer RUN - mmtimer.dll v1.4 ini ANY Never
[ 3] Fun RUN - fun_amxx.dll v1.8.2 pl1 ANY ANY
[ 4] DoD Fun RUN - dodfun_amxx.dll v1.8.2 pl1 ANY ANY
[ 5] DoDX RUN - dodx_amxx.dll v1.8.2 pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx.dl v1.8.2 pl1 ANY ANY
6 plugins, 6 running

Quote:
117:47 amxx plugins
117:48 Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.8.2 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running
117:48 [ 15] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.8.2 AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 21] RockTheVote 1.8 DA rockthevote_cus running
[ 22] Bad Camper 1.4 beta Brad Jones bad_camper.amxx running
22 plugins, 22 running

Quote:
118:11 amxx cvars
118:11 Registered cvars:
[ 34] badcamper_version 1.4 beta bad_camper.amxx
[ 35] badcamper_debug 0 bad_camper.amxx
118:11 [ 36] badcamper_punish 12 bad_camper.amxx
[ 37] badcamper_limit 35 bad_camper.amxx
[ 38] badcamper_display 1 bad_camper.amxx
[ 39] badcamper_check_all 1 bad_camper.amxx
[ 40] badcamper_start 4.0 bad_camper.amxx
[ 41] badcamper_damage_reset 3 bad_camper.amxx
[ 42] badcamper_damage_restar 4.0 bad_camper.amxx
[ 43] badcamper_health 10 bad_camper.amxx
[ 44] badcamper_money 10 bad_camper.amxx
[ 45] badcamper_min_players 0 bad_camper.amxx
[ 46] badcamper_allow 0 bad_camper.amxx
[ 47] badcamper_announce 3 bad_camper.amxx
[ 48] badcamper_sound 1 bad_camper.amxx
[ 49] badcamper_immunity_flag bad_camper.amxx
[ 50] badcamper_show_spec 1 bad_camper.amxx
50 cvars
manufact is offline
manufact
Junior Member
Join Date: Apr 2016
Old 04-30-2016 , 05:46   Re: Bad Camper 1.4.239
Reply With Quote #715

changed badcamper_debug from 0 to 1 and its working

omg
manufact is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 08-19-2016 , 09:25   Re: Bad Camper 1.4.239
Reply With Quote #716

One Question what u mean with <iFlags> ????

Example:

badcamper_punish <iFlags> it means as example:

badcamper_punish <1> ?? or badcamper_punish 1 ???
Godofwar is offline
ish12321
Veteran Member
Join Date: May 2016
Old 11-27-2016 , 02:42   Re: Bad Camper 1.4.239
Reply With Quote #717

The current primary objective is defined as follows:
if the map is not a "de" map, the CTs have the primary objective
if the map is a "de" map and the bomb hasn't been planted, the Ts have the primary objective
if the map is a "de" map and the bomb has been planted, the CTs have the primary objective

Is there no better method so as the make it efficient for all maps
As some maps have primary objectives but not de_*
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
BustedRider
Senior Member
Join Date: Dec 2008
Location: Canada/QC
Old 11-28-2016 , 20:55   Re: Bad Camper 1.4.239
Reply With Quote #718

So if i strafe left right i wont be a camper??? there should be a area so u dont camp like if u stay in the circle area u get punished
__________________
BustedRider is offline
RiderBMX
New Member
Join Date: Nov 2016
Location: Pakistan
Old 12-01-2016 , 03:33   Re: Bad Camper 1.4.239
Reply With Quote #719

I Really Like This

I need it Thanks
RiderBMX is offline
LegacyCode
Member
Join Date: Apr 2017
Old 11-22-2017 , 12:45   Re: Bad Camper 1.4.239
Reply With Quote #720

Quote:
Originally Posted by manufact View Post
changed badcamper_debug from 0 to 1 and its working

omg
Just for future dudes like me coming along:
If only one player is on the server, the plugin won't check for camping unless debug is set to 1.
See lines 519 to 522 in the source code.
LegacyCode is offline
Reply


Thread Tools
Display Modes

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 21:27.


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