Raised This Month: $51 Target: $400
 12% 

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-25-2011 , 10:47   Re: Bad Camper 1.4.239
Reply With Quote #661

Quote:
Originally Posted by Melfiss View Post
Could someone help my to change cvar settings to this plugin only slaps, whit 0 damage? I tried to change badcamper_punish to 1 but it don't slap me, it always make my snore. Help.
Setting badcamper_punish to 1 will make it only slap the player, without a health reduction.

If you believe that's what you have it set to, and it's still not *only* slapping, paste the CVAR information from here.
__________________
Brad is offline
Old 03-17-2011, 10:10
fmfs10
This message has been deleted by fmfs10. Reason: Wrong topic :P
STr!ker
Senior Member
Join Date: Jun 2009
Location: Germany
Old 03-17-2011 , 18:01   Re: Bad Camper 1.4.239
Reply With Quote #662

Hey I know, your Plugin is the best anticamper plugin, but it is not so good for some mods. Can you add, that the players donīt allowed to camp over 15 seconds in the near of the bomb in some radius of 500 units?

And a other punishment is, that the player have a circle around them and they are sounding. I think everyone knows Hide and seek, the Blockmaker with the Deagle. When you become one, you get a circle around you. I think this is a good punishment for fun mods ;)
STr!ker is offline
zozor
Junior Member
Join Date: Aug 2008
Location: Sweden
Old 04-20-2011 , 22:24   Re: Bad Camper 1.4.239
Reply With Quote #663

I'm getting this error.

L 04/21/2011 - 04:16:40: [AMXX] Run time error 11: divide
L 04/21/2011 - 04:16:40: [AMXX] [0] 33181.attach::check_camping (line 623)
L 04/21/2011 - 04:16:42: [AMXX] Displaying debug trace (plugin "bad_Camper.amxx")
zozor is offline
rikis944
New Member
Join Date: Apr 2011
Old 05-08-2011 , 09:33   Re: Bad Camper 1.4.239
Reply With Quote #664

I want to ask, when your camp meter is : 35-40% and when you kill someone the camp meter falls to 0% ? I want to ask if it falls how to make it to not fall
rikis944 is offline
AGGRO Plumps
Junior Member
Join Date: May 2011
Old 05-16-2011 , 01:44   Re: Bad Camper 1.4.239
Reply With Quote #665

Hello,

can everybody script for me a bad camper plugin only for cts and it will be stopped if the ts planted the bomb. I need this for Furienmod.

Pls hepl me. Thx.

Sorry for the bad english.
AGGRO Plumps is offline
Gibsonz
Junior Member
Join Date: Jul 2008
Location: Lyon (69003 - France)
Old 05-23-2011 , 19:46   Re: Bad Camper 1.4.239
Reply With Quote #666

Hello !

Where is the files " Cvars " on the ftp ?

Because it's not with this plugin...

No file bad_camper.ini ?
Gibsonz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-23-2011 , 20:03   Re: Bad Camper 1.4.239
Reply With Quote #667

The cvars are listed in the first post. You put them in amxx.cfg.
__________________
fysiks is offline
Shadow Of Death
Senior Member
Join Date: Jun 2005
Old 06-02-2011 , 20:15   Re: Bad Camper 1.4.239
Reply With Quote #668

Hello Brand,

sry my english is bad, i think ^^.
Now my problem... for better overview over more servers normaly i modify path's of files for precache.

In the case of bad camper i modify snore and heartbeat.

if modify the precache
Code:
public plugin_precache()
{
        if (get_cvar_num("badcamper_sound") & SOUNDTYPE_SNORE) precache_sound("clan-broatcast.de/nr3/camp/snore.wav");
        precache_sound("clan-broatcast.de/nr3/camp/heartbeat1.wav");

        return PLUGIN_CONTINUE;
}
and the sound triggers...
Code:
punish_sound(id, Float:punishPercentage)
{
        new soundFile[64];
        formatex(soundFile, 63, (get_pcvar_num(g_cvarSound) & SOUNDTYPE_SNORE) ? "clan-broatcast.de/nr3/camp/snore.wav" : "clan-broatcast.de/nr3/camp/heartbeat1.wav");

        emit_sound(id, CHAN_VOICE, soundFile, punishPercentage, ATTN_NORM, 0, PITCH_NORM);
        if (!(g_playerFlags[id] & PLAYER_SOUND)) g_playerFlags[id] += PLAYER_SOUND;
}

punish_sound_stop(id)
{
        new soundFile[64];
        formatex(soundFile, 63, (get_pcvar_num(g_cvarSound) & SOUNDTYPE_SNORE) ? "clan-broatcast.de/nr3/camp/snore.wav" : "clan-broatcast.de/nr3/camp/heartbeat1.wav");

        emit_sound(id, CHAN_VOICE, soundFile, 0.0, ATTN_NORM, 0, PITCH_NORM);
        if (g_playerFlags[id] & PLAYER_SOUND) g_playerFlags[id]-= PLAYER_SOUND;
}
(in reason of the longer path i've modifyed the path lengh)


But still have the problem that the plugin or i think more the server self dont precache it correctly. My console output me the following failure.
Code:
SV_StartSound: clan-broatcast.de/nr3/camp/snore.wav not precached (0)
Any Ideas? (The files will be downloaded correctly on client site, put not started)
__________________

Last edited by Shadow Of Death; 06-03-2011 at 19:07.
Shadow Of Death is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-02-2011 , 21:36   Re: Bad Camper 1.4.239
Reply With Quote #669

The code you posted is incomplete BTW.


Quote:
Originally Posted by Shadow Of Death View Post
Now my problem... for better overview over more servers normaly i modify path's of files for precache.
You shouldn't modify the file paths. If you do then people will have to download the same file multiple times. You just leave them as they are and people will actually connect faster.
__________________

Last edited by fysiks; 06-02-2011 at 21:40.
fysiks is offline
Shadow Of Death
Senior Member
Join Date: Jun 2005
Old 06-03-2011 , 19:16   Re: Bad Camper 1.4.239
Reply With Quote #670

Quote:
Originally Posted by fysiks View Post
The code you posted is incomplete BTW.
Sry i have correct this... should now be complete. (the interest parts)

Quote:
Originally Posted by fysiks View Post
If you do then people will have to download the same file multiple times.
First, we life in a time that have a nice thing that called "fastdl" and TB hdd's.

Quote:
Originally Posted by fysiks View Post
You shouldn't modify the file paths. You just leave them as they are and people will actually connect faster.
First we host install packs for our server simultan. Second thx, but that is not my question and that not solved my problem.

(Sry if i sound like a little aggressive. But i hate post like yours. Nice tip i know but every time only people write posts that don't solved problems, only like to tell other thats a crap idea or the people they ask are stupid. I know you don't mean it and help many other times but why this post? Why don't just try to solved the problem?)
__________________
Shadow Of Death is offline
Reply



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:49.


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