.:: 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
PB Server Craches
Old
  (#1)
deelight
Member
 
Status: Offline
Posts: 16
Join Date: Mar 2008
Location: Luebeck, Germany
Thumbs up PB Server Craches - 08-03-2008

Hi,

i have Podbot V3 19d with the new Gungame 2.10. My problem is that the server often crahes. On Mapchange, if human players connect or sometimes during a map.

I have tryed some things for my own. For example i tryed the V2 46d, it works fine with AMX 1.76d and a Vampire Plugin but also crahes with the Gungame.
Gungame without the Bots or the Bots without Gungame works fine.

Here my configurations:

Code:
               description      stat pend  file              vers      src   load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.0.3  ini   Start ANY  
          [ 2] POD-Bot mm       RUN   -    podbot_mm_i386.s  vR2b46d   ini   Chlvl ANY  
          [ 3] MySQL            RUN   -    mysql_amxx_i386.  v1.8.0.3  pl1   ANY   ANY  
          [ 4] CStrike          RUN   -    cstrike_amxx_i38  v1.8.0.3  pl1   ANY   ANY  
          [ 5] Fun              RUN   -    fun_amxx_i386.so  v1.8.0.3  pl1   ANY   ANY  
          [ 6] Engine           RUN   -    engine_amxx_i386  v1.8.0.3  pl1   ANY   ANY  
          [ 7] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.0.3  pl1   ANY   ANY  
          [ 8] CSX              RUN   -    csx_amxx_i386.so  v1.8.0.3  pl1   ANY   ANY  
          [ 9] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.0.3  pl1   ANY   ANY
(This was from a test with the V2b46d)

This is my pb cfg (for the V3)

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.  
pb_wptfolder wptdefault

# Set the value to 1 to turn on welcome messages at start the game
pb_welcomemsgs 0

# Use this to turn on/off the Speech Synthesis
pb_usespeech 0

# These 2 lines below supports a minimum and maximum number 
# of bots running on a 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).
# These 2 cvars below are limits for the function pb fillserver 
# and pb removebots.
# You can stop this function by writing pb_maxbots = 0.
# Ths function is also not working in the case if pb_bot_quota_match 
# is grater than 0 (in that case amount of bots follow the number
# humans * pb_bot_quota_match - of course in the min/maxbots limit).
pb_minbots 10
pb_maxbots 10

pb_bot_quota_match 2

# Changing the setting below forces bots joining to certain team.
# Useful if You want to have always bots in one team against humans.
# Argument values: "ANY", "T", "CT"
pb_bot_join_team "ANY"

# Changing the setting below forces bots using the specyfied skin - the same
# for all bots from one team - regardless of pb add or pb fillserver 
# parameters.
# Useful if You want to have always bots in one team with the same skin.
# Argument values: 1,2,3,4 - they are foreced skins, 5 - default - no forcing
pb_skin 5

# 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
pb_timer_sound 0.5
pb_timer_pickup 0.3
pb_timer_grenade 0.5

# Set this to 0 to disallow Bot Logo Spraying
pb_spray 0

# Set this to 1 to switch on the Free For All mode
# (The bots will also kill their teammates)
pb_ffa 0

# 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")
pb_shootthruwalls 1

# passwordkey - need set as setinfo to get access to main podbot menu
# usage (in below example You may need to write Your-own passwordkey instead
# _pbadminpw - if You changed the default setting for it):
# setinfo _pbadminpw "your_password"
pb_passwordkey "*******"

# Set the password to have access to podbot menu on DS by 'pb menu' 
# console command typed in client's admin PC or called from the binded key.
# Example of bind on Your client PC:
# bind "=" "pb menu"
pb_password "******"

# This value sets the maximum number of Bots to follow a user
pb_numfollowuser 5

# Remove the Comments on the Line below to add Bots that have at least 
# a Skill You want
pb_minbotskill 50

# Remove the Comments on the Line below to limit Bots to the specified skill
pb_maxbotskill 80

# This value sets the maximum number of weapons Bots are allowed to
# pickup during one round
pb_maxweaponpickup 10

# Set the below value to delay bots re-join after new map start
pb_mapstartbotdelay 10

# Set the below value to 1 to enable auto kill bots if all human players
# are dead already (default is 0)
pb_autokill 0

# Set the below value to to delay (in seconds) autokill bots if 
# autokill is enabled - above (default is 45s)
pb_autokilldelay 45

# Remove the Comments on the Line below to turn on Jason Mode !
# pb_jasonmode 1

# Set the below option to 0 to turn off the Skilldisplay and
# the [POD] before the name
pb_detailnames 0

# 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.
pb_dangerfactor 400

# Switches to on/off Botchatting
pb_chat 1

# Switches to on/off radio command usage and reacting for bots
# (switching it off will affect - for example - they will not follow
# the user !!!)
pb_radio 1

# pb_aim_type 1-4 (default 4)
# 1 = inhuman turns
# 2 = constant angle velocity
# 3 = botaim1
# 4 = botaim2
pb_aim_type 4

# The line below binds the User Menu to the "=" key. Of course you
# can bind this to any key you like. 
bind "=" "pb menu"

# VERTICAL (up/down) spring stiffness of the aiming system. This value affects
# the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations.(default: 13.0)
pb_aim_spring_stiffness_x 13.0

# HORIZONTAL (left/right) spring stiffness of the aiming system. This value 
# affects the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations. (default: 13.0)
pb_aim_spring_stiffness_y    13.0

# VERTICAL (up/down) damping coefficient of the aiming system. This value also
# affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations.(default: 0.22)
pb_aim_damper_coefficient_x 0.22

# HORIZONTAL (left/right) damping coefficient of the aiming system. This value
# also affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations.(default: 0.22)
pb_aim_damper_coefficient_y 0.22

# VERTICAL (up/down) error margin of the aiming system. This value affects how
# far (in game length units) the bot will allow its crosshair to derivate from
# the ideal direction when not targeting any player in particular.
# (default: 2.0)
pb_aim_deviation_x 2.0

# HORIZONTAL (left/right) error margin of the aiming system. This value affects
# how far (in game length units) the bot will allow its crosshair to derivate
# from the ideal direction when not targeting any player in particular.
# (default: 1.0)
pb_aim_deviation_y 1.0

# Perpendicular influence of the vertical axis on a HORIZONTAL movement. This 
# value affects how much (in fraction of 1) the bot will be disturbed when
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.25)
pb_aim_influence_x_on_y 0.25

# Perpendicular influence of the horizontal axis on a VERTICAL movement. This
# value affects how much (in fraction of 1) the bot will be disturbed when 
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.17)
pb_aim_influence_y_on_x 0.17

# Maximal value in seconds after which the aiming system will re-evaluate its
# ideal direction. This affects how often a bot will attempt to correct an
# imprecise crosshair placement by moving the crosshair inside the error
# margin bounds defined by the botaim_deviation CVARs.(default: 1.2)
pb_aim_offset_delay 1.2

# Fraction of the full speed the aiming system will adopt as speed when aiming
# at nothing in particular. This affects how slow the bot will move its
# crosshair when targeting nobody, relatively to its full speed capacity.
# (default: 0.5)
pb_aim_notarget_slowdown_ratio 0.5

# Fraction of the estimated target's velocity the aiming system will rely on
# when aiming at a moving target. This affects how well the bot will be able
# to track moving targets on the fly, and whether it will have a tendancy 
# to aim ahead of it or behind it. (default: 2.2)
pb_aim_target_anticipation_ratio 2.2

# Weapons, equipment and ammo restriction (for buying)
# bit numbers meaning - the left one is the 0 in that string cvar
# Pistols restriction
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# Shotgun restrictions
# 7 - M3
# 8 - XM1014
# SMG restrictions
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# Rifles restrictions
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# Machine Gun restriction
# 24 - M249
# Shield restriction
# 25 - SHIELD
pb_restrweapons "00000000000000000000000000"

# 0 - vest
# 1 - vest and helmet
# 2 - flashbang
# 3 - he grenade
# 4 - smoke grenade
# 5 - defuser
# 6 - night vision googles
# 7 - primary ammo
# 8 - secondary ammo
pb_restrequipammo "000000000"

# Remove the comments on the lines below to have Bots
# join automatically if you start a new map

pb fillserver 100
And here the AMX Plugins file:

Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
; admin.amxx        ; admin base (requ; 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)
amxbans.amxx
admin_amxbans.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 (speech, settings)
plmenu.amxx        ; players menu (kick, ban, client cmds.)
;telemenu.amxx        ; teleport menu (Fun Module required!)
mapsmenu.amxx        ; maps menu (vote, changelevel)

; 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

; Enable to use AMX Mod plugins
amxmod_compat.amxx    ; AMX Mod backwards compatibility layer


loadingsound.amxx
gungame.amxx
gungame_sql.amxx
stats_logging.amxx
statsx.amxx
serverredirect.amxx
deagsmapmanage230b.amxx


; Custom - Add 3rd party plugins here
The Server is a INTEL Quad Core with 4 GB Ram, i think it's not a hardware problem

I run Metamod 1.19p32
  
Reply With Quote
Re: PB Server Craches
Old
  (#2)
addam
Member
 
Status: Offline
Posts: 25
Join Date: Dec 2007
Location: Budapest, Hungary
Default Re: PB Server Craches - 08-03-2008

Here is my setup, i use GG 2.10, Podbot and AMXX to. The difference is, i have the default metamod 1.19, not the -p version.
I tested metamod-p enough, but i dont get performance boost, only more crash

And i dont use the gungame sql plugin, try without it.


91.82.85.31 - Mirage CS 1.6 | FAST DL | SB Guardian | www.nihil.hu
  
Reply With Quote
Re: PB Server Craches
Old
  (#3)
deelight
Member
 
Status: Offline
Posts: 16
Join Date: Mar 2008
Location: Luebeck, Germany
Default Re: PB Server Craches - 08-03-2008

Okey, u are the first guy who tell me that the -p series of metamod is crap.

So i ve installed the original one. I have many other servers with different mods, all running finde with p32 but if it will works on the gungame server with the 1.19, i think i will change the other too.

So far i can tell: No more crashes WITH the sql stats, but i'ts just running a few minutes.

Btw: I see u are not running any mysql operations on your server right?

Do you maybe now a link to a waypoint filebase for some gg_ maps? I couldn finds ANY
  
Reply With Quote
Re: PB Server Craches
Old
  (#4)
addam
Member
 
Status: Offline
Posts: 25
Join Date: Dec 2007
Location: Budapest, Hungary
Default Re: PB Server Craches - 08-03-2008

I dont say metamod-p is crap, i think it is very optimized, but some situations its not the best solution.

Yes, i dont use SQL, i have only one CS 1.6 server now, i not need it.

I have only one gg_ map in the mapcycle, i use custom maps, and i write a little extra stuff to gungame (map objectives are enabled - bomb, hostages, etc.-, and the members of winner team get bonus points)

I have a waypoint pack with more than 3000 maps, if you need it you can download it here (click to the blue arrow).


91.82.85.31 - Mirage CS 1.6 | FAST DL | SB Guardian | www.nihil.hu
  
Reply With Quote
Re: PB Server Craches
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PB Server Craches - 08-03-2008

So finally it doesn't crash anymore when You replaced metamod-p by the standard metamod? If so - I can ask Jussi to take a look at it. In that case I may need also a link with Your whole crashing "addons" zipped folder (without Your passwords for Your safety).

Offtopic - @addam - could You post also Your compilation for gcc3 for other people in the beta topic?
  
Reply With Quote
Re: PB Server Craches
Old
  (#6)
deelight
Member
 
Status: Offline
Posts: 16
Join Date: Mar 2008
Location: Luebeck, Germany
Default Re: PB Server Craches - 08-03-2008

Hm... I'm sorry to tell u that it still crahes - not so often as with the -p series of Metamod but still crahsing, after Mapchange when the first bots are joining.

Special in the evening - dont know why.

I'm going to test it without the Gungame SQL Stats now and maybe also without other SQL operations.

Are there maybe some other ideas how to solve the problem? I did a lot of time to make the sql stats online so it will be a pity if i had to disable it.

@addam: Thanks for the packet


  
Reply With Quote
Re: PB Server Craches
Old
  (#7)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PB Server Craches - 09-03-2008

Could You try to replace podbot mm by yapb to see if it also crashes with yapb or not?
  
Reply With Quote
Re: PB Server Craches
Old
  (#8)
deelight
Member
 
Status: Offline
Posts: 16
Join Date: Mar 2008
Location: Luebeck, Germany
Default Re: PB Server Craches - 09-03-2008

Okey i have tested nearly EVRYTHING and now and i can tell that the problem is not Podbot with Gungame, it is the problem:

AMX Bans with Podbot.


The Server crahes during bots are joining the server only if Amx Bans is activated and even if all other plugins (Gungame, etc...) are offline.

I get this with all PB Versions.

Are there any bugs known or ways to solve this?
I knows Lantz (AMX Bans developer) very well, i ll also contact him and ask him if he knows whats going wrong there.

Edit: I will now test the yapb too :-)


  
Reply With Quote
Re: PB Server Craches
Old
  (#9)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PB Server Craches - 09-03-2008

OK - I know where the problem might be...
The bots don't have their own STEAM_ID nor AUTHID nor unique IP...
The only way to handle them is recognizing them by a nick...
AMX Bans plugin should just ignore bots at all... There is no reason the bots should be banned, tested, checked if they did something wrong or not nor anything like that...
  
Reply With Quote
Re: PB Server Craches
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PB Server Craches - 09-03-2008

Hey - but I don't understand this setting You have there, which is wrong:
Code:
# Ths function is also not working in the case if pb_bot_quota_match 
# is grater than 0 (in that case amount of bots follow the number
# humans * pb_bot_quota_match - of course in the min/maxbots limit).
pb_minbots 10
pb_maxbots 10

pb_bot_quota_match 2
What do You really want to have there?
  
Reply With Quote
Reply


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

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