.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#1)
SkyKnight
Member
 
Status: Offline
Posts: 2
Join Date: Mar 2006
Default CPU Usage 100% and HLDS Freezes after X hours!!! - 03-03-2006

Hello Everyone,

I have a peculiar problem that I haven't been able to find an answer too, search through these forums. My problem is with AMXX and PodBotmm running, after X amount of hours (usually 12-24) the HLDS freezes and the CPU usage according to task manager is 100%. I've experimented by just having AMXX and no PodBot and it works perfectly fine without ever having this problem. Thus I'm assuming it's either a problem with PodBotmm or some incompatibility between the AMXX plugins and PodBot. I really can't figure it out. I have 4 bots running and have configured podbot to use the least amount of features. By the way all this is running on a clean windows XP SP2 install with only steam running. The system itself is a PIII 1.2 which should be enough. Below is my plugins.ini, amxx.cfg, and the podbot.cfg Any suggestions would be great. Thanks

Zac

PHP Code:
AMX Mod X plugins
Admin Base Always one has to be activated
admin
.amxx admin base (required for any admin-related)
;
admin_sql.amxx admin base SQL version (comment admin.amxx)
Basic
admincmd
.amxx basic admin console commands
adminhelp
.amxx help command for admin console commands
adminslots
.amxx slot reservation
multilingual
.amxx Multi-Lingual management
Menus
menufront
.amxx front-end for admin menus
cmdmenu
.amxx command menu (speechsettings)
plmenu.amxx players menu (kickbanclient cmds.)
;
telemenu.amxx teleport menu (Fun Module required!)
mapsmenu.amxx maps menu (votechangelevel)
Chat Messages
adminchat
.amxx console chat commands
antiflood
.amxx prevent clients from chat-flooding the server
scrollmsg
.amxx displays a scrolling message
imessage
.amxx displays information messages
adminvote
.amxx vote commands
Map related
nextmap
.amxx displays next map in mapcycle
mapchooser
.amxx allows to vote for next map
timeleft
.amxx displays time left on map
Configuration
pausecfg
.amxx allows to pause and unpause some plugins
statscfg
.amxx allows to manage stats plugins via menu and commands
Counter-Strike
;restmenu.amxx restrict weapons menu
statsx
.amxx stats on death or round end (CSX Module required!)
;
miscstats.amxx bunch of events announcement for Counter-Strike
;stats_logging.amxx weapons stats logging (CSX Module required!)
 
Custom Add 3rd party plugins here
amx_gravity
.amxx Gravity Control
he_arena
.amxx Grenades Only
automatic_knife_duel
.amxx Automatic Knife Dual when 1 on 1
;inviswars.amxx Invisibility War
knifes_only
.amxx Knife Arena
superior_pistols_only
.amxx pistols only
weaponarena
.amxx Restrict to certain weapons
ghostchat
.amxx Dead People can talk to live etc.
rs_swearfilter.amxx Swear Filter
flashknives
.amxx Flash Nades Knifing Only
play_the_piano
.amxx Allows players to play the piano
c4model
.amxx Changes C4 to penguin model
;GHW_CTF.amxx Capture the Flag Mod
GHW_TagMod
.amxx Tag mod
roll_the_dice
.amxx Roll the dice mod
amxx_podbotmenu
.amxx Podbotmenu
admin_alltalk
.amxx All talk on
admin_slash
.amxx ; Use say to execute amxx commands 
-------------------------------------

PHP Code:
// AMX Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 2
// Frequency in seconds and text of scrolling message
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
// Frequency in seconds of colored messages
amx_freq_imessage 180
// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75
// Amount of reserved slots (for more details see comments in a plugin source)
amx_reservation 2
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
amx_vote_delay 10
// How long voting session goes on
amx_vote_time 10
// Display who votes for what option
amx_vote_answers 1
// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02
// Max. time to which map can be extended
amx_extendmap_max 90
// Step for each extending
amx_extendmap_step 15
// Rank mode
// 0 - by nick
// 1 - by authid 
// 2 - by ip
csstats_rank 1
// Max size of the stats file
csstats_maxsize 3500
// Duration of HUD-statistics
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
amx_statsx_freeze -2.0
//If you set this to 0, clients cannot chose their language
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 1
***CUSTOM COMMANDS***
amx_alltalk 1
amx_knifesonly 0
amx_hearena off
amx_inviswars 0 
--------------------------------------

PHP Code:
# This sets the Waypoint Folder (in the POD-Bot Directory)
# for loading/saving waypoints. Don't use a trailing backslash or spaces.
# This doesn't work for the first game you create (default is wptdefault).
# But when creating for the second time (or loading with newmap) this
# directory will be used. 
wptfolder wptdefault
# Set the below option to off to turn off the Skilldisplay and
# the [POD] before the name
detailnames on
# wait for 3 seconds
# pause 3
# Set the below value to delay bots re-join after new map start
mapstartbotdelay 10
# Shows the welcome message. Switch it to off if You want the people on the
# server won't know there are some bots on the server
welcome_msgs on
# Remove the comments on the 2 lines below to support a minimum and maximum
# number of bots running on a dedicated server. Bots will be added to the
# server until the total number of players (bots and humans) reaches the
# max_bots value. Each time a new player joins the server, a bot will be
# kicked from the server unless there are only min_bots number of bots
# currently on the server. After players disconnect from the server, bots
# will be automatically added back to the server until the total number
# of players reaches max_bots again. You should make max_bots be AT LEAST
# one less than the maxplayers value (otherwise no one will be able to join
# your server).
min_bots 0
max_bots 4
# Remove the Comments on the Line below to turn off Botchatting
botchat off
# Remove the Comments on the Line below to turn on Jason Mode !
#jasonmode on
# Remove the Comments on the Line below to add Bots that have at least
# a Skill of 60 
minbotskill 100
# Remove the Comments on the Line below to limit Bots to the specified
# skill
maxbotskill 100
# Set the below option to on if you want the old combat behaviour
# of instantly turning around to the enemy
inhumanturns on
# This value sets the maximum number of Bots to follow a
# User
botsfollowuser 5
# This value sets the maximum number of weapons Bots are allowed to
# pickup during one round
maxweaponpickup 2
collectexperience off
# This Variable specifies if Bots are allowed to shoot through Walls
# if they saw an enemy or if they heard someone on the other Side of
# a Wall (additional Settings are specified in "botskill.cfg")
shootthruwalls on
# These Settings below specify the Rate (in Seconds) of updating
# some of the Bot Checks. If you've got a slow computer you could
# try changing these to higher values to get some performance back.
# NOTE: This seriously affects the Bots Perception. If you have a
# fast computer you might try lowering them to get better even
# better playing results
timer_sound 0.5
timer_pickup 0.3
timer_grenade 0.5
# Use this to turn on/off the Speech Synthesis
usespeech off
# Set this to off to disallow Bot Logo Spraying
botspray off
# The setting below specifies the danger factor with which the bots
# will weighten any waypoint where they have been killed in the past,
# in order to avoid it later. The higher the value, the more the bot
# will care about these waypoints and pick other routes instead.
# Progression is logarithmic. Warning: higher values require more CPU.
danger_factor 800
# Remove the comments on the lines below to have Bots
# join automatically if you start a new map
addbot 100
addbot 100
addbot 100
addbot 100
 
# The line below binds the User Menu to the "=" key. Of course you
# can bind this to any key you like. 
bind "=" "podbotmenu" 
---------------------------------------
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#2)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 03-03-2006

Well bots tend to use a quite amount of cpu and overtime, with the computer you have, you'll bound to run into that problem. Plus, you have a lot of plugins running.. and it adds up. Not much to do, but cut on some plugins you rarely use and such.
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#3)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 03-03-2006

Well - normally podbot is working fine with AMX / AMX X, but try to test this way - disable all custom AMX X plugins (leave only these standard ones) and let it work 24h. Then check if the problem appears again or not. If not - then - step by step - add some custom plugins back and try again.
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#4)
SkyKnight
Member
 
Status: Offline
Posts: 2
Join Date: Mar 2006
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 03-03-2006

That sounds like a good idea, I'll try doing it that way.....though its strange that if it were really a conflict with a plugin, wouldn't it have a problem right in the beginning when I start the dedicated server (that's just my thinking). Anyways, I'll post an update after I try this, just in case. Thx.


Zac
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#5)
dried blood
Member
 
Status: Offline
Posts: 10
Join Date: Jun 2006
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 06-06-2006

This is a NULL pointer assignment. Check to see if you have the rank system using Steam ID while you are using bots. If your bots have a steam ID that says UNKNOWN then they will be unable to correctly assign any statistics in the rank system.

I had the same problem. I ultimately had to start using Names for the ranks rather than the Steam ID.

I hope this helps you.
db
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#6)
Ancient
PodBot MM's Laziest Waypointer
 
Ancient's Avatar
 
Status: Offline
Posts: 1,010
Join Date: Jan 2005
Location: Nebraska, United States of America
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 06-06-2006

What version of Podbot mm are you using?
Also the danger factor might be to high.

I've runned podbot mm v3b11 for 15 hours on a listen server, and I was able to minimize cstrike and have no problems going back and forth.

I remember Admin Mod used to have a bot_protect var but I don't see it in the amx mod x version.
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#7)
dried blood
Member
 
Status: Offline
Posts: 10
Join Date: Jun 2006
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 06-06-2006

This is the Ehanced Ping of Death v5.2 dll which I don't think is a mm but I don't know enough about it to know that or not. "EPB.dll" is the file name.

This is the only bot DLL that I have been about to use with a Steam Dedicated Server (HLDS.EXE). All the other bot plugins work, but the bots remain in spec.

WindowsXP x64
Counter-Strike v1.6
MetaMod v1.19
AmxModx v1.71
ePod v5.2

Last edited by dried blood; 06-06-2006 at 06:37..
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#8)
dried blood
Member
 
Status: Offline
Posts: 10
Join Date: Jun 2006
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 06-06-2006

Well, tonight after several hours, my HLDS consumed 100% of my cpu usage once again. At least it took longer than usual and we had a lot of fun killing the bots.

This problem persists in both win32 and win64 when using AMXMODX and EPOD together. I will continue to try enabling and disabling plugins in hopes that the problem will soon be found.

This issue was present with no 3rd party plugins. Good luck guys. I pray we resolve this issue soon.
  
Reply With Quote
Re: CPU Usage 100% and HLDS Freezes after X hours!!!
Old
  (#9)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: CPU Usage 100% and HLDS Freezes after X hours!!! - 06-06-2006

You keep posting in wrong forum. You should've post in epodbot forum.
Here is the forum for podbot mm. E[POD]Bot is a different bot and it has its-own separate forum.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com