AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Bad Camper 1.4.239 (https://forums.alliedmods.net/showthread.php?t=18452)

Venom[DWMH] 02-19-2007 05:26

Re: Bad Camper 1.2
 
Is there any chance of getting this to work with Natural Selection?

I am running linux without snark and the plugin has problems with line 387, registering something.

Any ideas on how to fix this?

M!K-Joker 02-24-2007 15:17

Re: Bad Camper 1.2
 
I would like to know how can i setting up the plugin to work only for won objective player and not for all.

I set badcamper_check_all 0 but doesn´t work.

For all other funcionality works fine.

Please help me...!

sasdad 02-24-2007 19:31

Re: Bad Camper 1.2
 
Read my previous posts "lama"

[xor]mercenary 02-26-2007 06:38

Re: Bad Camper 1.2
 
Hi, Brad
Nice plug.
I need some options for punish.
Well... some edition for your plug:

New CVAR:
badcamper_slap_power 100 // default 0

bad_camper.sma

...

new g_cvarSlapPower;
...

public plugin_init()
{
...
g_cvarSlapPower = register_cvar("badcamper_slap_power", "0"); // default slap power

return PLUGIN_CONTINUE;
}

punish_slap(id, Float:punishPercentage)
{
new slap_power;
slap_power = get_pcvar_num(g_cvarSlapPower);

for (new slapCnt = 1; slapCnt <= floatround(3.0 * punishPercentage, floatround_ceil); slapCnt++) user_slap (id, slap_power);
}

gg

Brad 03-14-2007 17:32

Re: Bad Camper 1.2
 
Quote:

Originally Posted by [xor]mercenary (Post 445753)
Code:
punish_slap(id, Float:punishPercentage) {     new slap_power;     slap_power = get_pcvar_num(g_cvarSlapPower);     for (new slapCnt = 1; slapCnt <= floatround(3.0 * punishPercentage, floatround_ceil); slapCnt++) user_slap (id, slap_power); }

Are you looking for a more powerful slap effect or do you just want to have damage done when slapped?

If it's the second of the two, isn't it essentially the same thing to use the health reduction punishment along with the slap punishment?

Brad 03-14-2007 18:20

Re: Bad Camper 1.2
 
I've been away from this plugin for a long time. My apologies. I am all set to release a new version. Probably do so about a week from now. Just want to give people time to answer my questions or ask new ones since I'm just now responding to a number of things.

@Venom[DWMH]:
Quote:

Originally Posted by Venom[DWMH] (Post 442369)
Is there any chance of getting this to work with Natural Selection?

I don't have the time to port any of my plugins to any other gamemods. However, if someone would like to commission such work, I'm sure I can fit it in.

@Liquidz:
Quote:

Originally Posted by Liquidz (Post 398534)
anyway u r willing to make it so when humans camp in war3ft mod the invisibility vades and they become more visible?

I don't have the time to port any of my plugins to any other gamemods. However, if someone would like to commission such work, I'm sure I can fit it in.

@slmclarengt:
Quote:

Originally Posted by slmclarengt (Post 365823)
Brad, I think you meant to put
Code:

linux addons/monster/dlls/monster_mm_i386.dll
Not the link to amxmodx dll because amxx must obviously be installed in order to install this :). Great plugin too!

You are correct, mostly. Should be .so instead of .dll since it's Linux. Thanks! I've corrected it in the main post.

@Sir Tom:
Quote:

Originally Posted by 0815*Sir Tom (Post 364760)
I have problems in running the monster Mod - it won't load:

[META] ERROR: dll: Failed query plugin '<monster_mm_i386.so>'; Couldn't open file '/home/k919/cstrike/cstrike/addons/monster/dlls/monster_mm_i386.so': Invalid handle.
[META] ERROR: dll: Skipping plugin '<monster_mm_i386.so>'; couldn't query

Running:

SC v1.24, HLG v1.8, VAC, SBSRV v3.1, AMXX v1.75a, ATAC v2.5.5.4, MM v1.19

Everything works fine, what about a new monster version?

I don't do anything with the monster mod other than supply a copy that I found. I don't have the knowledge to update it in any way.

@SubStream:
Quote:

Originally Posted by SubStream (Post 239565)
Hey Brad I love the plugin but we only enforce no spawn camping on our server so can you add in a CVAR to make this only affective for spawn camping in the buyzone using cs_get_user_buyzone? If you could that would be great!

Do you still want this? Does anyone else? 3 or more affirmative answers and I'll do it.

Brad 04-02-2007 15:56

Re: Bad Camper 1.3
 
New Version! I've just released the latest version.

[2007-04-02] v1.3
  • Compatible with AMXX 1.71 or higher only.
  • The 'csx', 'dodx', or 'tfcx' module has to be enabled, depending on what game mod you are running.
  • Added DoD (tested) and TFC (untested) mod support.
  • Made more code optimizations.
  • Defuser's meter will now be paused when bomb is being defused.
  • Planter's meter will be more accurately paused than in previous versions.
    Previous versions would pause the player's meter for the full time it would take to plant the bomb, even if they stopped planting in the meantime.
  • Altered method of specifying admin immunity from define to CVAR.
  • Replaced badcamper_immunity CVAR with badcamper_immunity_flags.
  • Fixed overlapping "so and so is now camping" messages.
  • Added option to allow spectators to see players' meters. Default is to show the meter.
  • Fixed meter not always obeying "based on objectives" team. (thanks sasdad and arkshine!)
  • Fixed issue with ATAC 3.x whereas the health reduction could cause a player to get TAs.

I'd like to specifically point out this new CVAR:

Quote:

badcamper_immunity_flags <cAccessLevels>

Specifies the access level flags needed for a player to have immunity. Immunity is achieved by
standing completely still and not looking around for approximately 6 seconds. The camp meter
will still increase until it reaches 65% or more at which time it'll stop until they move or
look around again. If the meter is already at 80% or higher, the meter won't stop.

Set this CVAR to blank to disallow immunity.

For available flags, http://wiki.amxmodx.org/index.php/Ad...#Access_Levels

The default is blank (no immunity).

A common value, when admin immunity is desired, is to use the "a" flag (ADMIN_IMMUNITY).
It replaces the #define IMMUNITY code and the badcamper_immunity CVAR from previous versions.


I'd also like to point out that I will no longer be adding detailed instructions for installing or configuring Monster Mod to work with this plugin. Nor will I be posting a version of Monster Mod on this thread for download. I have no control over any of the Monster versions and thus can offer no support for them. Keep in mind, that Monster mods will still work, assuming you enable Snarks in them.


One final thing. I am now going to try making a habit of attaching previous versions of all my plugins to the second post in each plugin.

Alka 04-02-2007 16:11

Re: Bad Camper 1.3
 
O.o I've been waiting for this update!Nice....I got to try this!:wink:

Brad 04-02-2007 16:14

Re: Bad Camper 1.3
 
Language file update. The French translation was kindly provided by arkshine. The Leet translation was kindly provided by Twilight Suzuka.

Dr.Chaos 04-02-2007 16:21

Re: Bad Camper 1.3
 
Very good this update ;) !

bmann_420 04-02-2007 16:54

Re: Bad Camper 1.3
 
Yes, I'm glad to see this Brad :up:

Brad 04-02-2007 16:57

Re: Bad Camper 1.3
 
I just realized that it's not working on my server anymore. Probably won't work on yours' either. Do not download this yet. Will try to debug tonight.

bmann_420 04-02-2007 17:01

Re: Bad Camper 1.3
 
lol

O snap

sawce 04-02-2007 18:01

Re: Bad Camper 1.3
 
wow way to break it brad

Brad 04-02-2007 22:26

Re: Bad Camper 1.3a
 
It's your fault. Stupid curses. Go away, warlock!

It's been fixed, at least until sawce curses it again. DOWNLOAD! ENJOY!

New Version! I've just released the latest version.

[2007-04-02] v1.3a
  • Fixed dumb bug that kinda broke everything else.
    Note to self: Don't make changes right before releasing.

Brad 04-03-2007 10:15

Re: Bad Camper 1.3a
 
Language file update. The Romanian translation was kindly provided by Alka. The Hungarian translation was kindly provided by Dav3.

Brad 04-03-2007 16:03

Re: Bad Camper 1.3b
 
New Version! I've just released the latest version.

[2007-APR-03] v1.3b
  • Fixed issue where screen would go sideways if health reduction punishment was used.
-- sighface

Liquidz 04-03-2007 20:54

Re: Bad Camper 1.3b
 
gw thanks alot

rosetattoo 04-04-2007 06:41

Re: Bad Camper 1.3b
 
excelent plugins , using now !

GVG 04-04-2007 20:28

Re: Bad Camper 1.3b
 
Halloo

its not working with me !!! i did everything u said still not working plzzz help here

Brad 04-04-2007 21:55

Re: Bad Camper 1.3b
 
Telling me "its not working" doesn't tell me anything. What doesn't work, i.e. what do you expect to happen and what happens instead?

If you mean that the plugin doesn't seem to be there at all, which if you do, you should have said something to that effect in the first place, then type amx_plugins in your game console as see if it says "bad load" for the plugin.

Brad 04-04-2007 22:06

Re: Bad Camper 1.3b
 
Bah. I added DOD support because a number of people had asked for it. So, I went through the thread and checked each of the people's profiles to see when they last logged in. If they're still active, I would have sent them a note letting them know DOD is now supported. The most recently active of the group? Last active early December of last year. 4 months ago.

Someone make me feel better about adding DOD support and tell me you're putting it on your DOD server. :wink:

diamond-optic 04-04-2007 23:16

Re: Bad Camper 1.3b
 
heh well tbo.. i doubt i'll use it (as i already need to cut back on plugins) but im always up for checking out a new dod plugin :D

heheh it looks funny seeing your name with a post count of 1 on the dodplugins forums :P

GVG 04-05-2007 08:12

Re: Bad Camper 1.3b
 
the display meter doesnt appear 2 me

kurian 04-05-2007 08:18

Re: Bad Camper 1.3b
 
How do i get this to work with bots ? Obviously the blinding wont work cos they dont really "see", but the Slap punish doesnt seem to work either ? I cant seem to find any bot filter in the source code either. I want it to Slap the bots if they camp.

Brad 04-05-2007 11:52

Re: Bad Camper 1.3b
 
@diamond-optic:
Quote:

Originally Posted by diamond-optic (Post 460964)
heheh it looks funny seeing your name with a post count of 1 on the dodplugins forums :P

Yeah, I felt not quite right about posting over there as it's been an extremely long time since I was there last and wasn't really active when I was there.


@GVG:
Quote:

Originally Posted by GVG (Post 461063)
the display meter doesnt appear 2 me

You need to give me more information than that.

If you have access to your game server's console, type the following in the server console:
  • meta list
  • amxx plugins
  • amxx cvars
If you don't have access the your game server's console, join your server and type the following in your game console:
  • rcon_password your_rcon_password
  • rcon meta list
  • rcon amxx plugins
  • rcon amxx cvars

Paste the entire result from the meta list and amxx plugins commands.
Paste *only* the CVARs that contain "bad_camper.amxx" in the last column from the amxx cvars command. They will be grouped together.

Also paste the contents of your users.ini file.


@kurian:
Quote:

Originally Posted by kurian (Post 461064)
How do i get this to work with bots ? Obviously the blinding wont work cos they dont really "see", but the Slap punish doesnt seem to work either ? I cant seem to find any bot filter in the source code either. I want it to Slap the bots if they camp.

Bots camp? :wink:

This is the code (line 576) that is causing the plugin to not affect bots:
Code:
get_players(players, playerCnt, "ach")// skip dead players, bots, and hltv
Hmm... Not sure why I was ignoring bots. Perhaps I was just thinking that they really don't camp. Maybe I have soft spot in my heart for bots. I don't know.

If you want the plugin to affect bots, replace that line above with this one:
Code:
get_players(players, playerCnt, "ah")// skip dead players and hltv
I'll integrate this change into the next version.

Guenhwyvar 04-05-2007 11:59

Re: Bad Camper 1.2
 
Quote:

Originally Posted by Guenhwyvar (Post 356367)
We still have the problem with " badcamper_allow 1" - no one can camp - never :(.

This was reported July 2006 :D. Is this bug fixed in 1.3b?

Brad 04-05-2007 12:02

Re: Bad Camper 1.3b
 
I believe it is. Let me know if I am wrong.

Guenhwyvar 04-05-2007 12:06

Re: Bad Camper 1.3b
 
That's I wanted to hear. I will check.

GVG 04-05-2007 17:57

Re: Bad Camper 1.3b
 
hi Brad i did everything but nothing happen and badcamper plugin is running when i join my server i tried camp nothing happen 2 me and the meter doesnt apear :S i dunno why everything ok in console
--------------------------------------------

Brad 04-05-2007 18:42

Re: Bad Camper 1.3b
 
Quote:

Originally Posted by Brad (Post 461136)
Paste the entire result from the meta list and amxx plugins commands.
Paste *only* the CVARs that contain "bad_camper.amxx" in the last column from the amxx cvars command. They will be grouped together.

Also paste the contents of your users.ini file.

Do you not understand that I want you to paste the results of those commands I asked you to type in so that I can see them?

Additional question: Is this a non-Steam server?

liolemas 04-06-2007 14:03

Re: Bad Camper 1.3b
 
Yeah ... Bad Camper 1.3b is da best :D

colin 04-06-2007 20:37

Re: Bad Camper 1.3b
 
IM having trouble configuring the plugin. It works and it using the default options. I wanna change things. I was told tp put the Cvars in my addons/amxmodx/configs/amxx.cfg. So I did. This is what I added to the bottom. Now it doesnt work.

// Bad Camper Options
badcamper_punish 1
badcamper_limit 30
badcamper_check_all 0
badcamper_start 10

Brad 04-07-2007 00:02

Re: Bad Camper 1.3b
 
It worked until you added those CVARs to your amxx.cfg file? Hmm... :?

Please provide me with the information described here.

Brad 04-07-2007 02:41

Re: Bad Camper 1.3b
 
What about those CVARs, Angelina?

colin 04-07-2007 14:39

Re: Bad Camper 1.3b
 
Ok this is what I got.


Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.76d ini ANY ANY
[ 2] STATSME RUN - statsme_mm.dll v2.8.3 ini Chlvl Chlvl
[ 3] Adminmod RUN - admin_mm.dll v2.50.60 ini Start ANY
[ 4] Fun RUN - fun_amxx.dll v1.76 pl1 ANY ANY
[ 5] CStrike RUN - cstrike_amxx.dll v1.76 pl1 ANY ANY
[ 6] CSX RUN - csx_amxx.dll v1.76c pl1 ANY ANY
[ 7] Engine RUN - engine_amxx.dll v1.76 pl1 ANY ANY
[ 8] FakeMeta RUN - fakemeta_amxx.dl v1.76d pl1 ANY ANY
8 plugins

Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.76d AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
[ 4] Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
[ 5] Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
[ 6] Players Menu 1.76d AMXX Dev Team plmenu.amxx running
[ 7] Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
[ 8] Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
[ 9] Anti Flood 1.76d AMXX Dev Team antiflood.amxx running
[ 10] Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
[ 11] Info. Messages 1.76d AMXX Dev Team imessage.amxx running
[ 12] Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
[ 13] NextMap 1.76d AMXX Dev Team nextmap.amxx running
[ 14] Nextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx running
[ 15] TimeLeft 1.76d AMXX Dev Team timeleft.amxx running

[ 16] Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
[ 17] Stats Configuration 1.76d AMXX Dev Team statscfg.amxx running
[ 18] Restrict Weapons 1.76d AMXX Dev Team restmenu.amxx running
[ 19] AMX Mod Compat Engine 1.76.rc AMXX Dev Team amxmod_compat.a running
[ 20] Bad Camper 1.3b Brad Jones bad_camper.amxx running
[ 21] Lights Off/On 1.0 |[email protected] lights.amxx running



[ 27] badcamper_version 1.3b bad_camper.amxx
[ 28] badcamper_debug 0 bad_camper.amxx
[ 29] badcamper_punish 1 bad_camper.amxx
[ 30] badcamper_limit 30 bad_camper.amxx
[ 31] badcamper_display 1 bad_camper.amxx
[ 32] badcamper_check_all 0 bad_camper.amxx
[ 33] badcamper_start 10 bad_camper.amxx
[ 34] badcamper_damage_reset 3 bad_camper.amxx
[ 35] badcamper_damage_restar 4.0 bad_camper.amxx

[ 36] badcamper_health 10 bad_camper.amxx
[ 37] badcamper_money 10 bad_camper.amxx
[ 38] badcamper_min_players 0 bad_camper.amxx
[ 39] badcamper_allow 0 bad_camper.amxx
[ 40] badcamper_announce 0 bad_camper.amxx
[ 41] badcamper_sound 1 bad_camper.amxx
[ 42] badcamper_immunity_flag bad_camper.amxx
[ 43] badcamper_show_spec 1

colin 04-07-2007 14:41

Re: Bad Camper 1.3b
 
After reading that it seems right? Punish is 1. Hmm all i did change was put "" around the values. Never tested it after that.

Brad 04-07-2007 15:10

Re: Bad Camper 1.3b
 
You forgot to provide me with:
Quote:

Paste everything from the status command *except* the player list.

Brad 04-07-2007 15:38

Re: Bad Camper 1.3b
 
Also, have you made any changes to the code itself? If so, post the changes you made.

colin 04-07-2007 21:33

Re: Bad Camper 1.3b
 
I dont see much but I see this before player list although it appears to have relevance to this issue but w.e

status
hostname: eNv. Clan Server 24/7 Assault
version : 47/1.1.2.5 3647 secure
tcp/ip : 66.150.188.20:27015
map : cs_assault at: 0 x, 0 y, 0 z
players : 4 active (12)


All times are GMT -4. The time now is 20:18.

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