Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » 2 BRenBot Questions
2 BRenBot Questions [message #382319] Fri, 24 April 2009 06:04 Go to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
2 BRenBot Questions:

1) How to automatically start modules on startup of the bot?
I have to activate bhs, gamelog and ssgmlog always manually and they are deactivated after restart again.

2) Is there a way to keep the bot alive, if no players join in the game and the game is on standby? because there is no activity in the irc-channel/bot without players, i always got a ping timeout and the bot left the channel after 20 minutes.

[Updated on: Fri, 24 April 2009 06:40]

Report message to a moderator

Re: 2 BRenBot Questions [message #382327 is a reply to message #382319] Fri, 24 April 2009 06:46 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
If those modules turn themselves off when the bot is restarted that means theres a problem with the configuration and they are automatically being disabled. In 1.52 modules in an error condition show up in orange in the !modules command, try checking the console to see what error messages are being given.

http://steamsignature.com/card/1/76561197975867233.png
Re: 2 BRenBot Questions [message #382336 is a reply to message #382327] Fri, 24 April 2009 08:28 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
- bhs showed up in RED
- gamelog and ssgmlog showed up in ORANGE

- if i activate bhs with "set bhs on", it showed up in GREEN
- if i activate gamelog with "set gamelog on", it showed up in GREEN
- after activation of ssgmlog it still showed up in ORANGE

- irc i got:
"<VWMM_Bot> 04Warning: The FDS has not responded to the last two status requests, it may have gone offline.", but i'm able use commands for the fds.

- BRenBot shows up like this, BUT BHS.DLL is in RenegadeFDS/Server !!! I'm running Vistax64, Admin Mode.
index.php?t=getfile&id=10331&private=0

My Config:
# BRenBot configuration file
#
# This is the main configuration file for BRenBot. It is recommended that
# you read the readme file before you start editing this. You should edit
# at least the ircAdminChannel and botName settings.


#------------------------------------------------------------------------------------
# IRC Settings
# General settings for the irc connection
#------------------------------------------------------------------------------------

# IRC server to connect to
IrcServer = irc.n00bstories.com
IrcPort = 6667

# Username for BRenBot to use in IRC
BotName = VWMM_Bot
BotFullName = BRenBot 1.52 (Win32)

# IRC admin channel
ircAdminChannel = #rrutk2
ircAdminChannelKey = 

# IRC public channel, leave channel name blank to disable
ircPublicChannel = #rrutk2
ircPublicChannelKey = 

# Maximum characters per second to send to the irc.
ircCharsPerSecond = 8000

# Adds [BR] to the front of all IRC messages. Intended for compatibility
# with mirc bots which parse BRenBot messages and expect this to be there.
prefixIRCMessages = 0

# Shows team (F3) chat in the public irc channel. Only has an effect if
# you use the public channel and teammessages module is enabled.
showTeamChatInPublicChan = 0



#------------------------------------------------------------------------------------
# IRC Auth Settings
# Various methods to get your bot to authorise itself on IRC
#------------------------------------------------------------------------------------

# Enable auth via "Q" or "Nickserv" below. Sample input is shown.
Qauth = 0
Qusername = RenBot01
Qpassword = mypassword

# NickServ authorisation. To use NickServ authorisation fill in the Nickservauth
# parameter as appropriate. Example: Nickservauth = identify botNickPass
Nickservauth = 0
Nickservname = Nickserv

# OPER authorisation, if you dont know what this is don't worry about it.
# Fill in the password and user paramaters to enable oper auth.
operAuthUser = 
operAuthPass = 



#------------------------------------------------------------------------------------
# Windows or Linux
# BotMode MUST be "WIN32" for windows servers, or "LFDS" for Linux servers.
#------------------------------------------------------------------------------------

BotMode = WIN32



#------------------------------------------------------------------------------------
# Remote Admin Settings
#
# The next 3 lines should be the same info that is in your server.ini
# Note: Although it says "Linux" its the same for Win32 :-)
#------------------------------------------------------------------------------------

RenRemLinuxHost = 127.0.0.1
RenRemLinuxPort = 4949
RenRemLinuxPassword = cencored



#------------------------------------------------------------------------------------
# FDS Installation
#
# Verify these paths are correct with your Renegade installation.
# Note: FDSLogFilePath must end with the trailing slash (as example below)!!
# Note: Linux users use forward slashes (/) in your paths.
#------------------------------------------------------------------------------------

FDSConfigFile = C:\Program Files (x86)\RenegadeFDS\Server\data\svrcfg_cnc.ini
FDSLogFilePath = C:\Program Files (x86)\RenegadeFDS\Server\



#------------------------------------------------------------------------------------
# Miscellaneous Settings
# Settings that dont fit under any of the other categories
#------------------------------------------------------------------------------------

# Every x seconds the bot will announce a random line from AutoAnnounceFile.
AutoAnnounceInterval = 300

# LadderLookup currently not working. Do not turn it on or it will hang the bot.
EnableLadderLookup = 0

# Set vehicle kick to 1 for Sniper servers
VehicleKick = 0

# Name of the BrenBot Executable, can have any file extension. Used by restart.exe
BRenBot_Executable = brenbot.exe

# Forces all players to have bhs.dll (NOT RECOMMENDED)
Force_bhs_dll = 1

# Enable paging players with CMSGP instead of PPAGE. This causes pages to be green, which
# is generally more readable ingame, but has been known to cause crashes on the LFDS.
Enable_CMSG_Paging = 1

# Donate is tied to gamelog, because bhs.dll can crash the FDS if a player tries to donate
# to someone who has not finished loading the map. Enabling this means people will be able
# to crash your server!

Seperate_Donate_From_Gamelog = 0



#------------------------------------------------------------------------------------
# Voting Settings
# Settings for BRenBot's voting system
#------------------------------------------------------------------------------------

# Set this to 0 to disable voting, 1 to enable
VotingEnabled = 0

# How long votes should last, in seconds.
VotingPeriod = 60

# Enable / Disable the different types of votes here. 1 to enable, 0 to disable.
Voting_Allow_Change_Nextmap = 0
Voting_Allow_Gameover = 0
Voting_Allow_Kick = 0




#------------------------------------------------------------------------------------
# BR Configuration Files
# Filenames for other config files, you should not need to change these.
#------------------------------------------------------------------------------------

AutoAnnounceFile = autoannounce.cfg
Messagesfile = messages.cfg
ModeratorsFile = moderators.cfg
PresetsFile = presets.cfg
KickLogFile = kicklog.log
BanLogfile = banlog.log
MiscLogFile = misclog.log



#------------------------------------------------------------------------------------
# Automatic Recommendations
#------------------------------------------------------------------------------------

# Minimum score needed to get the end of game highest score recommendation
Autorec_Minimum_Score = 1

# Minimum kills needed to get the end of game most kills recommendation
Autorec_Minimum_Kills = 1

# Minimum k/d ratio needed to get the end of game best KD recommendation
Autorec_Minimum_KD = 0.1



#------------------------------------------------------------------------------------
# Moderator Setting
#------------------------------------------------------------------------------------

# Force moderators to register their username on BRenBot, so they have to !auth
# to get their moderator powers. Set to 1 to enable, 0 to disable.
Moderators_Force_Auth = 1

# Enables or disables all moderator sybmols. Set to 1 to enable, 0 to disable.
Moderators_Show_Symbols = 1

# Symbols for moderators, if enabled above
Moderators_Temp_Mod_Symbol = +
Moderators_Half_Mod_Symbol = %
Moderators_Full_Mod_Symbol = @
Moderators_Admin_Symbol = &

# Enable or disable the join message for moderators and administrators
Moderators_Show_Join_Message = 1




#------------------------------------------------------------------------------------
# Gamelog Settings
# These settings only apply if the Gamelog module is enabled.
#------------------------------------------------------------------------------------

# These five settings control which messages are shown in IRC. Set to 0 to
# disable, 1 to show in admin channel only, 2 to show in both channels.

Gamelog_Show_Vehicle_Purchase = 1
Gamelog_Show_Crate_Messages = 1
Gamelog_Show_Kill_Messages = 1
Gamelog_Show_Vehicle_Kill_Messages = 1
Gamelog_Show_Building_Kill_Messages = 1

# Shows vehicle stolen messages ingame. Set to 1 to enable, 0 to disable.
Gamelog_Show_Vehicle_Stolen = 1

# How many light vehicle kills are needed to get a recommendation
Gamelog_Autorec_Light_Vehicle_Kills = 8

# How many heavy vehicle kills are needed to get a recommendation
Gamelog_Autorec_Heavy_Vehicle_Kills = 5

# How many building health points need to be repaired to get a recommendation
Gamelog_Autorec_Building_Repair = 2000

# How many vehicle health points need to be repaired to get a recommendation
Gamelog_Autorec_Vehicle_Repair = 4000




#------------------------------------------------------------------------------------
# Gamespy Settings
# Settings to control the Gamespy broadcaster. See the readme for more details.
#------------------------------------------------------------------------------------

# Enable the GSA broadcasting system
Generate_Gamespy_Queries = 0

# Query port for your server, which GSA uses to communicate with your server
GameSpyQueryPort = 23500

# Enable broadcasting to GSA, if disabled the server will not be listed on
# the server lists. Also requires the gamespy_players module to be enabled.
Broadcast_Server_To_Gamespy = 0

# Your servers external IP
GameSpy_IP = 123.123.123.123







  • Attachment: brenbot.jpg
    (Size: 169.98KB, Downloaded 386 times)

[Updated on: Fri, 24 April 2009 08:33]

Report message to a moderator

Re: 2 BRenBot Questions [message #382337 is a reply to message #382319] Fri, 24 April 2009 08:31 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
forgot: IRC window:
index.php?t=getfile&id=10332&private=0

  • Attachment: brenbot1.jpg
    (Size: 170.96KB, Downloaded 382 times)
Re: 2 BRenBot Questions [message #382340 is a reply to message #382319] Fri, 24 April 2009 08:49 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Replace

FDSConfigFile = C:\Program Files (x86)\RenegadeFDS\Server\data\svrcfg_cnc.ini
FDSLogFilePath = C:\Program Files (x86)\RenegadeFDS\Server\

With

FDSConfigFile = C:\Progra~1\RenegadeFDS\Server\data\svrcfg_cnc.ini
FDSLogFilePath = C:\Progra~1\RenegadeFDS\Server\


1.52 cannot parse spaces in that path at the moment, so using the DOS name works around that.





The reason gamelog and bhs go green when turned on manually is because the manual switch on bypasses the normal checks that give the error condition. With ssgmlog the check still runs and puts it back into error mode.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 24 April 2009 08:51]

Report message to a moderator

Re: 2 BRenBot Questions [message #382343 is a reply to message #382340] Fri, 24 April 2009 09:08 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
thx, works now! Smile the modules are loading up.

but for vista it must be:

FDSConfigFile = C:\Progra~2\RenegadeFDS\Server\data\svrcfg_cnc.ini
FDSLogFilePath = C:\Progra~2\RenegadeFDS\Server\




[Updated on: Fri, 24 April 2009 09:23]

Report message to a moderator

Re: 2 BRenBot Questions [message #382353 is a reply to message #382319] Fri, 24 April 2009 09:57 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
but there is still the problem with the irc ping timeout after some minutes without activity.... ? i'm using irc.n00bstories.com
Re: 2 BRenBot Questions [message #382366 is a reply to message #382319] Fri, 24 April 2009 12:18 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
There should be no reason for the IRC to timeout unless the IRC server does not send the ping request to the bot for it to respond to...

http://steamsignature.com/card/1/76561197975867233.png
Re: 2 BRenBot Questions [message #382501 is a reply to message #382366] Sat, 25 April 2009 05:02 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
i dont get a timeout for my normal nick in IRC.

only the bot does.

the random announces doesnt work while waiting for players?
otherwise it should keep the connection alive.
Re: 2 BRenBot Questions [message #382504 is a reply to message #382319] Sat, 25 April 2009 05:27 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The random announce is disabled if there are no players ingame. An IRC connection does not need any messages to be sent to the channel to stay active, there is a ping/pong system where the IRC server sends a ping to the client, and the client responds, which is exactly what BRenBot does. If it's timing out that suggests that either the ping request is not being sent, it's being lost en route, or the pong response is getting lose en route (ie: bad connection).

http://steamsignature.com/card/1/76561197975867233.png
Previous Topic: Brenbot Questions
Next Topic: [REFILL] Request
Goto Forum:
  


Current Time: Thu Nov 21 09:20:21 MST 2024

Total time taken to generate the page: 0.01070 seconds