Buzzgoodies flagging health problem on breakthrough 2.4b

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#1
i have a problem with the stamina on my server. It doesn't work correctly. All of my MAM files work great, except for this feature. What will happen is, when i enter the server, no matter if i am standing, walking, or running i lose health regardless. I noticed that it doesn't give any stamina info under the compass, or show the warning message. Life just starts draining for no apparent reason. I can turn it off, and all is fine. But i would really like to get it to work.I wish to have a tactical server, but unless i get this working i am out of luck. i am using CI 1.5.3.8.

All files are in place. I copied all but the readme in the buzz CI folder. Since i am using breakthrough, i put them in the maintt folder.

It's just so strange that all works except for the stamina...

note: i also tried other peoples configs, and tried doing it from scratch many times with the same result...

HELP!

__________________________________________________ ___
SERVER.CFG
__________________________________________________ ___


exec ci.cfg
exec Goodies.cfg
exec BuzzGoodies.cfg

set sv_hostname "[180th]Ruckman.net tactical rifles only"

set sv_maxclients 8
set sv_privateClients 0
set sv_privatePassword xxxxxxxx
rconPassword xxxxxxxx

set g_realismmode 1

set g_gametype 1

// 1= FFA 2= TeamMatch 3= RoundBased 4= Objective 5=TOW

set fraglimit 30

set g_allowvote 0

set timelimit 20

set sv_allowDownload 0

set sv_maxRate 5000

set sv_maxPing 200

set sv_fps 20

set flood_waitdelay 10


set flood_persecond 4

set flood_msgs 4

set sv_pure 0

set sv_gamespy 1


set g_inactiveKick 300

set g_inactiveSpectate 60


set g_teamdamage 0


set net_noipx 1


set sv_maplist "DM/mohdm1 DM/mp_bahnhof_dm DM/mohdm2 DM/mp_bazaar_dm DM/mohdm3 DM/mp_brest_dm DM/mohdm4 DM/mp_gewitter_dm DM/mohdm5 DM/mp_holland_dm DM/mohdm6 DM/mp_malta_dm DM/mohdm7 DM/mp_stadt_dm DM/mp_unterseite_dm DM/mp_verschneit_dm"

map DM/mohdm1

__________________________________________________ ___
GOODIES.CFG
__________________________________________________ ___


// This is needed for Buzz's Goodies only

seta MAM_EventHandler 1

seta MAM_cmdMode 1

seta MAM_cmdRegister " "

seta MAM_walkevent 1 // set 1 by default, if it goes 0 make sure you do not have BuzzGoodies installed.

seta MAM_walkfudge .1
 

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#2
more info

__________________________________________________ ___
BUZZGOODIES.CFG
__________________________________________________ ___


// *** BUZZGOODIES CONFIGURATION FILE *** //

// File: BuzzGoodies.cfg
// Version: 2.0
// By: Buzz_Litebeer



// BUZZGOODIES CORE FUNCTION: MAM REGISTRATION //

// Description:
// The following line registers BuzzGoodies 2.0 with MoH_AdminMod.
// MoH_AdminMod must be installed in order for BuzzGoodies 2.0 to work.

// Usage:
// Do not alter the contents of this section for any reason.

// Settings:
append mam_register_mod "MAM_BuzzGoodies.scr"
seta Buzz_LastMap " "



// BUZZGOODIES CORE FUNCTION: SETUP REMINDER //

// Description:
// This function causes a periodic in-game reminder to edit this
// file to set your BuzzGoodies preferences.

// Usage:
// Once you have changed the settings in this file from their default
// values (as necessary), turn off the reminder message by entering two
// forward slashes "//" before the word "append" in the Settings
// section below.

// Settings:
// append MAM_cmdRegister "300 |sayi *** REMINDER: Edit your BuzzGoodies.cfg file... ***|;"



// BUZZGOODIES CORE FUNCTION: ON-OFF //

// Description:
// This function turns BuzzGoodies on and off. BuzzGoodies must be
// turned on in order for any of the BuzzGoodies features to work.

// Usage:
// MAM_Buzzpack: 0=BuzzGoodies off, 1=BuzzGoodies on; Default=1

// Settings:
seta MAM_Buzzpack 1



// BUZZGOODIES FEATURE: AUTOMATIC MESSAGES //

// Description:
// This feature displays a custom message to each player each time
// they (1) join the server or a new map; (2) spawn; and/or (3) get
// killed. These messages appear in yellow text underneath the player's
// compass.

// Usage:
// MAM_BuzzMsg: 0=Automatic Messages feature off, 1=Automatic Messages feature on; Default: 1
// MAM_Welcome: Enter your custom welcome message between quotation marks; Default: "Welcome to our server..."
// MAM_RespawnMSG: Enter your custom spawn message between quotation marks; Default: "You have respawned..."
// MAM_DeathMSG: Enter your custom killed message between quotation marks; Default: "You were fragged..."

// Settings:
seta MAM_BuzzMsg 1
seta MAM_Welcome "Welcome to [180th]Ruckman.net MOHAAB tactical rifles only clan server"
seta MAM_RespawnMSG "Now go kill something!"
seta MAM_DeathMSG "Your dead!"



// BUZZGOODIES FEATURE: NAME-SPACE ELIMINATOR //

// Description:
// This feature replaces spaces (" ") in player names with the underscore ("_")
// character. This assures that the "Dumpuser" function will work on every player.
// You also have the option to send an automatic custom message any player whose
// name is changed by this feature.

// Usage:
// MAM_NameFix: 0=Name-Space Eliminator feature off; 1=Name-Space Eliminator feature on; Default: 1
// MAM_NameWarn: Enter your custom killed message between quotation marks; Default: "The spaces in your name have been changed to underscores..."

// Settings:
seta MAM_NameFix 1
seta MAM_NameWarn "The spaces in your name have been changed to underscores..."



// BUZZGOODIES FEATURE: MAP STARTING GATE //

// Description:
// This feature was created to force all players to wait until everyone
// has switched from the previous map and is ready to play. You also have
// the option to send all players a custom message when the map starts
// (i.e, once the "starting gate" opens). NOTE: This feature only works
// on initial map load; it does not work if a map is reloaded by using
// the RCON "restart" command.

// Usage:
// map_start: 0=Map Starting Gate feature off, 1=Map Starting Gate feature on; Default=0
// map_start_wait: Time (in seconds) before the map starts; Default=30
// MAM_mapstartMSG: Enter your custom map start message between quotation marks; Default="The map has started!"

// Settings:
seta map_start 1
seta map_start_wait 30
seta MAM_mapstartMSG "Game on!"



// BUZZGOODIES FEATURE: RESPAWN PROTECTION //

// Description:
// This feature is designed to combat "spawn killing" by making players
// "invincible" for a set period of time immediately after spawning.
// NOTE: This feature is for Allied Assault ONLY. It should be disabled
// on Spearhead servers, since Spearhead already has a similar feature.

// Usage:
// MAM_spawnprotect: 0=Respawn Protection feature off, 1=Respawn Protection feature on; Default=0
// MAM_spawnprotect_time: Time (in seconds) that the player is protected after spawning (DM, TDM); Default=3
// MAM_roundspawnprotect: Time (in seconds) that the player is protected after spawning (OBJ,RB,TOW); Default=3

// Settings:
seta MAM_spawnprotect 1
seta MAM_spawnprotect_time 3
seta MAM_roundspawnprotect 3



// BUZZGOODIES FEATURE: HEALTH MANAGER //

// Description:
// This feature determines how much health a player will gain when
// picking up a healthbox. Healthboxes can be set to contain either
// a fixed or a random number of health points.

// Usage:
// MAM_HealthBoxSet: 0=Health Manager feature off, 1=Health Manager feature on; Default=0
// MAM_RandomHealthBox: 0=Random health off, 1=Random health on; Default=0
// MAM_HealthBox: Fixed number of health points in each healthbox (if Random Health is off); Default: 50
// MAM_HealthBox: Maxiumum number of health points in each healthbox (if Random Health is on); Default: 50


// Settings:
seta MAM_HealthBoxSet 0
seta MAM_RandomHealthBox 0
seta MAM_HealthBox 50



// BUZZGOODIES FEATURE: EYE4EYE //

// Description:
// This feature allows you to see first person action while in Spectator
// Mode in the game. First person means that you see the game from the viewpoint
// of the player you are spectating.

// Usage:
// g_eye4eye: 0=Eye4Eye feature off, 1=Eye4Eye feature on; Default=0

// Settings:
seta g_eye4eye 1



// BUZZGOODIES FEATURE: LAST MAN STANDING //

// Description:
// This is for last man standing mode, last man standing only works on FFA
// it works similar to round based, except for freeforall, it gives MAM_LMSRespawnTime to spawn.
// IE in this example, each round lasts a MAXIMUM of 240 seconds, and time to respawn between
// rounds is set to 10 seconds

// Usage:
// MAM_LastManStanding: 0=Last Man Standing feature off, 1=Last Man Standing feature on; Default=0
// MAM_LMSRoundTime: Time (in seconds) that each Free-for-All round lasts; Default=240
// MAM_LMSRespawnTime: Time (in seconds) between rounds that a player is allowed to spawn into the game; Default=10

// Settings:
seta MAM_LastManStanding 0
seta MAM_LMSRoundTime 240
seta MAM_LMSRespawnTime 10



// BUZZGOODIES FEATURE: SPECIAL WEAPONS //

// Description:
// This feature allows you to add two new weapons to the game. (1) The Breda,
// which replaces the StG44 as the Italian machine gun. (2) The DeLisle
// Silenced Pistol, which replaces the Wembley Revolver as the sidearm when
// using the UK DeLisle Rifle. This feature is for Breakthrough only.

// Usage:
// MAM_Breda: 0=Breda unavailable, 1=Breda available; Default=0
// MAM_DeLisle_SilencedPistol: 0=DeLisle Silenced Pistol unavailable, 1=DeLisle Silenced Pistol available; Default=0

// Settings:
seta MAM_Breda 0
seta MAM_DeLisle_SilencedPistol 0
 

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#3
more info continued

// BUZZGOODIES FEATURE: WEAPON RESTRICTIONS //

// Description:
// This feature allows you to restrict players from using certain
// weapons.

// Usage:
// MAM_WeaponMode: 0=Weapon Restrictions feature off, 1=Weapon Restrictions feature on; Default=0
// NOTE: You must also execute a configuration file that contains
// your weapon restriction preferences. The following files are
// available with the standard installation of BuzzGoodies. However,
// you may customize any one of these or create your own.

// Standard Configuration Files:
// FullWeps.cfg: All weapons are enabled. (Default)
// riflesonly.cfg: Only rifles are enabled; all other weapons are disabled.
// mgonly.cfg: Only machine guns are enabled; all other weapons are disabled.
// NoRockets.cfg: All weapons, except for rockets, are enabled.

// Settings:
seta MAM_WeaponMode 1
exec riflesonly.cfg



// BUZZGOODIES FEATURE: BLOOD MODE //

// Description:
// This feature causes players to lose health at a set rate if their
// total healthpoints fall below a set value. Players can also be made
// to bleed more quickly whenever they are firing their main weapon.

// Usage:
// MAM_BloodMode: 0=Blood Mode feature off, 1=Blood Mode feature on; Default=0
// MAM_HealthThresh: Minimum number of health points before player begins to bleed; Default=50
// MAM_BleedInterval: Interval (in seconds) between each "blood" loss; Default=3
// MAM_BleedHealth: Number of health points lost at the end of each interval; Default=1
// MAM_BleedAggrevated: Number of health points lost if player is firing a the end of an interval; Default=5

// Example:
// The default settings will cause any player with 49 health points or less
// to lose 1 health point every 3 seconds, unless the player is firing his
// main weapon at the end of any 3-second interval, in which case he would
// lose 5 health points instead of 3.

// Settings:
seta MAM_BloodMode 0
seta MAM_HealthThresh 50
seta MAM_BleedInterval 3
seta MAM_BleedHealth 1
seta MAM_BleedAggrevated 5



// ****
// **** NEED TO FINISH ALL OF THE STUFF BELOW ****
// ****

// BUZZGOODIES FEATURE: TACTICAL MODE //

// Description:
// This is a complex feature that determines how fast a player can run based
// on how "tired" he gets.

// Formula:
// (Seconds_Running - MAM_FMaxStamina) * MAM_FHurtMult

// Usage:
// MAM_Stamina: 0=Track player stamina off, 1=Track player stamina on; Default=0 (NOTE: Must be on for Tactical Mode and Flagging Health Mode to work)
// MAM_TacticalMode: 0=Tactical Mode feature off, 1=Tactical Mode feature on; Default=0
// MAM_FSeconds: Interval (in seconds) between each check to see if player has been running too long; Default=1
// MAM_tacspeedmult: XXXX; Default=1
// MAM_FMaxStamina: Time (in seconds) that a player can run before tiring (and losing health, if MAM_FlaggingHealth=1); Default=6

// Settings:



// BUZZGOODIES FEATURE: FLAGGING HEALTH //

// Description:
// This feature is an enhancement to the Tactical Mode feature. It causes
// players to lose health points if they run continuously for too long. A
// custom message can be used to warn players that they will begin lose
// health points if they do not stop running.

// Usage:
// MAM_FlaggingHealth: 0=Flagging Health feature off, 1=Flagging Health feature on; Default=0
// MAM_FlagWarn: Enter your custom warning message between quotation marks; Default="Slow down! Running too long can hurt you!"
// MAM_Frundamage: Number of health points the player will lose every interval after tiring; Default=1
// MAM_FHurtMult: Multiplier to adjust the intensity of the health loss caused by running; Default=1

// Settings:




// ----------

//set this cvar to 1 if you want to track stamina for a player
//MUST be turned to 1 for the Flagging Health mod
seta MAM_Stamina 1

//Tactical Mode makes in game decided weapon speeds moot, it determines how
//fast a player can run by how "tired" he gets, must have MAM_FMaxStamina set
//it determines the max runspeed, i suggest using the MAM_FlagginHealth mode to 1
//if you use this, so that people that run without a weapon will lose health
//if they run to long.

seta MAM_TacticalMode 0

//this is the maximum speed mult this works with
seta MAM_tacspeedmult 1

//This is the maximum stamina, the server uses this to determine
//how long a person can run before getting tired, or incuring damage

seta MAM_FMaxStamina 3

//Flagging Health is for servers with a more ... tactical flavor
//basically a person is given "stamina" and if they work to hard
//they can "overtax" their stamina, first causing light damage
//if they run themselves to hard they can die... MAM_FlaggingHealth
//turns this option on and off

seta MAM_FlaggingHealth 1

//Time between player checks, IE it will only incur damage
//once every MAM_FSeconds

seta MAM_FSeconds 1

//gives a player a warning message you set when he gets close to
//the servers allowed max stamina usage

seta MAM_FlagWarn "SLOW DOWN Running can hurt you! Remember to hit F3 and uncheck always run!"

//this is the base damage a player gets after he has used too much stamina
//IE in default config, if he incurs more than 10 stamina loss (ie runs longer)
//than 10 seconds) he will lose MAM_Frundamage health per second, in
//default config, he will lose 1 health per second of running.

seta MAM_Frundamage 10

//this is the multiplier for health over MAM_FMaxStamina that a player incurs
//example, if it were 0 the player would incur 1 health hit over 10 stamina
//the default is 1, so that means if he has been running for 13 seconds,
//he loses 3 health since (13-10) *1 + 1 = 4, if MAM_FHurtMult were 2 he would lose 6
//health if he had run 13 seconds (13 - 10)*2 + 1 = 7 this mode is here for
//people those servers that want to incur a high health debt.

seta MAM_FHurtMult 1
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#4
MAM_Frundamage seems pretty punitive (10, examples suggest default is 1) and MAM_FMaxStamina seems low (3, example suggests 10). It may be that the detection routine does not work correctly with a stamina of 3. Unfortunately, that is only a guess.
 

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#5
Still doesn't work

I tried the settings you suggested, and still the same problem. The variables seem to respond right. but in the game i get no stamina notifications at all. but i do lose life dependant on the variables. for instance,

seta MAM_FSeconds 1 I do take damage every second
seta MAM_FMaxStamina 10 the higher this is, the more stamina i get...but i will start to die in this many seconds regardless of movement
seta MAM_Frundamage 1 the amount of damage i am taking is correct

i have this posted in 5 different forums, and you are the only responds. any more ideas? if not, thanks for the help anyways.
 

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#6
hmmmm.....

messing with the variables does nothing to cure the problem. my best guess is that it is a bug in the buzzgoodies that comes with the new version of counter intelligence. it doesn't seem to be tracking the stamina correctly. maybe i should check inside the buzzgoodies pk3 file?
 

UnDead

Senior Member
Joined
Oct 30, 2003
Likes
0
#9
I suspect the problem is the coding in the PK3 Bart modded from zzzzzzz_MoH_AdminMod2.1.zip or zzzzzzz_MoH_AdminMod2.0.zip for the CI version of Buzz goodeis. I have recently unzipped the mod and tested it on my test Breakthrough server and Stamina worked correctly. I would need to see BlackBarts version for CI to see where the problem is. Please check your email ruckman and contact me via MSN or AIM. Your settings in your config look fine and I tested your exact settings and it worked fine for me.
 

SNYPE

Senior Member
Joined
Sep 24, 2003
Likes
0
#11
UnDead said:
I suspect the problem is the coding in the PK3 Bart modded from zzzzzzz_MoH_AdminMod2.1.zip or zzzzzzz_MoH_AdminMod2.0.zip for the CI version of Buzz goodeis. I have recently unzipped the mod and tested it on my test Breakthrough server and Stamina worked correctly. I would need to see BlackBarts version for CI to see where the problem is. Please check your email ruckman and contact me via MSN or AIM. Your settings in your config look fine and I tested your exact settings and it worked fine for me.
Dang....just mention his name and .....!Bing!.....he appears.
Thanks Undead.
 

UnDead

Senior Member
Joined
Oct 30, 2003
Likes
0
#12
hehe SNYPE :) Thanks again for straigting out that incident in your CTF server I had.

PROBLEM FIXED :) ENJOY!!! I have sent a letter to Blackbart so he can update the zzzzzzz_MoH_AdminMod_CI.pk3 in the next release of CI/MAM.

For those that want this I have uploaded it to my new personal space here.
http://home.comcast.net/~ray1942/zzzzzzz_MoH_AdminMod_CI.pk3

This should also fix this problem in Spearhead too and allow the tac mod to work right.

This is what I wrote BlackBart of Invisiblewarriors.com who created MOHCI and has modded MAM to his anticheat software.

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hey Bart,

Long time no talk. Hope all is well. I am writing because I have been in touch with a guy that was having problems getting a small part of Buzz Goodies to work on his server with the MohCI Version of MAM. He was trying to use the stamina mod/ tac mod. Which limits the players on how long they can run etc. Run too long you get injured to keep the server more tactical. Well after some looking through your version of MAM and the original version, I found the problem. It appears you left out some critical scripting that would allow the mod to work.

Basically without these lines I posted below, if he turns on Buzz Tactical his player starts getting injured even without moving. Below are the missing pieces of code that I readded. Basically the only thing missing was the 3 paragraphs below that belonged in the MAM_DefaultCmds.scr

//////////////////////Seperation in the scripts is denoted by ///////////////////////////////
level.walkfudge = float (getcvar (MAM_walkfudge))


thread global/MAM_Events.scr::timed "MAM_walkevent" global/MAM_DefaultCmds.scr::standwalkrun .1 0

thread global/MAM_Events.scr::map "MAM_cmdMode" "all" global/MAM_DefaultCmds.scr::cmd_register 0

end



///////////////////////////////Farther down this was also missing.

standwalkrun:



for(local.i = 1; local.i < $player.size + 1; local.i++)

{

if($player[local.i].neworigin == NIL)

$player[local.i].neworigin = $player[local.i].origin

if($player[local.i].origin == $player[local.i].neworigin)

$player[local.i].speed = 0

else

{

local.speed = (($player[local.i].origin[0] - $player[local.i].neworigin[0]) * ($player[local.i].origin[0] - $player[local.i].neworigin[0])) + (($player[local.i].origin[1] - $player[local.i].neworigin[1]) * ($player[local.i].origin[1] - $player[local.i].neworigin[1]))

if(local.speed > (1200 + (1200 * level.walkfudge)))

$player[local.i].speed = 2

else

$player[local.i].speed = 1

}





$player[local.i].neworigin = $player[local.i].origin

}





end



/////////////////////And I used the cmd registry alot when we are 3 servers so this line shuold be near the end.

//This registers command in MAM_cmdRegister

//this allows people to register commands, and also provides me a convenient way to notify people that they

//should probably set up their files.

cmd_register:

local.msg = (getcvar MAM_cmdRegister)

if(local.msg == NULL || local.msg == "")

end

local.a = waitthread global/MAM_utils.scr::parseCmd local.msg "|"

for (local.i = 1; local.i < local.a.size + 1; local.i++)

{







local.args = local.a[local.i]

local.time = (int (local.args[1]))


thread global/MAM_Events.scr::timed ("MAM_cmdMode") global/MAM_cmds.scr::procCmds local.time local.args[2]


wait (.5)

}

end

//////////////////////////////////////


I noticed you moved around alot of the say commands so I didnt' add or change anything else with the mod. Just updated these lines and all is working again. Please to avoid any furture problems, please when you release next version of MOHCI update MAM to include my updated MAM_defaultcmds.scr so others can use some of the buzzgoodies which wouldn't work without those lines. Thanks Bart for keeping Mohaa, Spearhead and Breakthrough Alive with your efforts in anticheat. Sincerely,

UnDead
Jason

PS I added a short comment to the top of the MAM_Defaultcmds.scr signifying that i updated it with the code but didnt' change the version from 4.1 since the guy I fixed it for would probably get messages saying he needs to have the correct version when he starts CI. Thanks again, its really appreciated.

I have just attached the zzzzzzz_MoH_AdminMod_CI.pk3 with the correct MAM_Defaultcmds.scr.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 

ruckman

Junior Member
Joined
Aug 17, 2004
Likes
0
Location
ohio
#13
Solid!

That's great! I tested it and it works perfectly! Just a little tweak, and BAM! Thanks a lot! I bet a lot of people will be overjoyed. Thanks again Undead, your king!
 
Top Bottom