collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: bot.conf problem?  (Read 4626 times)

0 Members and 3 Guests are viewing this topic.

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
bot.conf problem?
« on: July 24, 2009, 01:58:34 pm »
Hello,

\I'm pretty new to this sort of thing but i'm only getting one error so far:

parse error syntax error unexpected t_encapsed_and_whitespace, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\bebotconf\bot.conf on line 9

can anyone help me out here?

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #1 on: July 24, 2009, 02:07:41 pm »
ok got passed that was my own bad typing but now i'm getting unknown dimension array as an error i'm trying to use this on SET
« Last Edit: July 24, 2009, 02:51:50 pm by Rammstein »

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #2 on: July 24, 2009, 02:53:07 pm »
this is what i have for the server ip

$dimension = $server_list['aoc']['Set'] = array('server'=>'208.82.194.5', 'port'=>7001);

is this correct?
 

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: bot.conf problem?
« Reply #3 on: July 24, 2009, 05:21:42 pm »
No, you should have
$dimension = "Set";

The conf file specifically states you should insert the name of the server you are playing on.
BeBot Founder and Fixer Kingpin

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #4 on: July 24, 2009, 05:42:53 pm »
ok so it says

$dimension = "Set";

but know it just sits there saying connecting forever.

do i not have to tell it the server ip?

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #5 on: July 24, 2009, 06:04:21 pm »
this is what i have so far.

<?php
  /*
    These are the general settings of the bot:
  */

  $ao_username = "9999999999";               // Account username
  $ao_password = "9999999999";               // Account password (optional, will request on running of Bot if not entered here)
  $bot_name = "999999999";                  // Name of the bot-character
  $dimension = "Set";             // The name of the server you play on, or (1, 2 or 3 for AO)
  $guild = "999999999999";                     // Name of the guild running the bot (AOC only)
/*
    Suggested values for owner and super_admin:
    We suggest that the owner should be the main characer on the
    account for $ao_username.
    super_admis should be alts on the same account.

    Defining a superadmin in the config file prevents their removal and banning.
    You are able to add more superadmins with the ingame interface.
    Superadmins defined in game are able to be removed and banned.
*/
  $owner = "99999999";                     // Owner of the bot.
  // $super_admin["Superadmin1"] = false;// Bot superadmins.
  // $super_admin["Superadmin2"] = false;


  // $other_bots["Bot1"] = false;   // All other bots that are guildmembers/raidbotmembers
  // $other_bots["Bot2"] = false;


  $guildbot = true;                // false if its a raidbot.
  $guild_id = 00000001;            // only if its a guildbot.


  $log = "all";                     // logging all/chat/off
  $log_path = "./log";             // relative/absolute path of logfiles
  $log_timestamp = "datetime";   //Valid options are: datetime, date, time, none.  Always defaults to datetime if missing or invalid.


  /*
  The next two entries define a list of additional core and module directories to be loaded after the core/ and custom/core/
  btw the module/ and custom/module/ directories. The list is parsed as a comma-seperated list relative the the base directory
  of the bot, without any / at the end of the directory names.
  */
  $core_directories = "";   // optional additional core directories
  $module_directories = "";   // optional additional module directories


  $command_prefix = "!";      // Please make sure this is in a Reg-Exp format... (exampe: for "." use "\.")
                           // The prefix cannot be more then one character - either empty or one character (more only for regexp format)


  $cron_delay = 30;                // Number of seconds before the cron jobs get executed the first time.
  $tell_delay = 2222;              // Number of miliseconds between tells. (anti-flooding)
  $reconnect_time = 60;            // Time to wait for auto reconnect after an error has accured.
  if(is_numeric($dimension))
   $max_blobsize = 12000;            // Maximum size of text blobs in byte. For AO
  else
   $max_blobsize = 8000;            // Maximum size of text blobs in byte. For AoC
  $accessallbots = FALSE;          // Allow Access to All Bots in modules like BotStatistics

  /*
  WARNING!  Enabling proxies will allow you to pull information from web servers if you have been blocked.
  The more proxy addresses you have, the slower each lookup will be.  It is recommended that no more than
  one proxy be added at any given time.  Proxies will only be used as a fallback (if the first lookup fails).
  Format for $proxy_server_address: IP:PORT (The list is parsed as a comma-seperated list)
  Example: $proxy_server_address = "4.2.2.2:80,4.2.2.3:80,4.2.2.4:80";
  */
  $use_proxy_server = false;                // Enable simple web proxy server for HTTP lookups?
  $proxy_server_address = "";                // Proxy server to use address to use

?>

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: bot.conf problem?
« Reply #6 on: July 24, 2009, 11:28:37 pm »
The server IP and port is set in the ServerList.php file and you shouldnt need to touch that.

Please be sure that you are using the pre release version of BeBot 0.6.4 if you have not already patched your version using Chaoz's patch. (https://launchpad.net/bebot/+download)
BeBot Founder and Fixer Kingpin

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #7 on: July 26, 2009, 01:31:28 am »
could i have some problem with php.exe maybe?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: bot.conf problem?
« Reply #8 on: July 26, 2009, 01:58:02 am »
I'm not sure. Again, make sure you are running the 0.6.4 release candiate as 0.6.3 does NOT work with AoC without modifications.

If you are running 0.6.4, then it would indicate that the bot is unable to connect due to a firewall or similiar.
BeBot Founder and Fixer Kingpin

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #9 on: July 26, 2009, 04:19:21 am »
i'm thinking maybe its a router issue i'll have to check

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #10 on: July 26, 2009, 05:03:41 am »
ok i started from the begining again now i'm getting this:

PHP Warning:  Call-time pass-by-reference has been deprecated in C:\bebot\Main.p
hp on line 202
PHP Notice:  Use of undefined constant HTTP_HOST - assumed 'HTTP_HOST' in C:\beb
ot\Main.php on line 44
PHP Notice:  Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGEN
T' in C:\bebot\Main.php on line 44

===================================================

    _/_/_/              _/_/_/                _/

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/

 _/    _/  _/        _/    _/  _/    _/    _/

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/

          An Age of Conan Chat Automaton

             v.0.5.3.Hyborian - PHP 5.2.10

===================================================

PHP Warning:  dl(): Dynamically loaded extensions aren't enabled in C:\bebot\Mai
n.php on line 91
Loading php_sockets.dll failed. Sockets extention required to run this bot
C:\bebot>pause
Press any key to continue . . .

Offline Rammstein

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: bot.conf problem?
« Reply #11 on: July 26, 2009, 06:25:36 am »
ok solved the last one now this is what i get when i start the bot


===================================================

    _/_/_/              _/_/_/                _/

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/

 _/    _/  _/        _/    _/  _/    _/    _/

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/

          An Age of Conan Chat Automaton

             v.0.5.3.Hyborian - PHP 5.2.10

===================================================

MySQL database connection test successfull
Creating MySQL class!
Creating AOChat class!
Creating main Bot class!
Bigshinytos [MAIN]      [DIR]   Loading main functions of the bot
Bigshinytos [MAIN]      [LOAD]  00_BotError.php
Bigshinytos [MAIN]      [LOAD]  01_BasePassiveModule.php
Bigshinytos [MAIN]      [LOAD]  02_BaseActiveModule.php
Bigshinytos [MAIN]      [LOAD]  03_Security.php
Bigshinytos [CORE]      [ERROR] Module 'access_control' does not exist or is not
 loaded.
Bigshinytos [ERROR]     [access_control]        Undefined function create(all, m
aintenance, OWNER)!
Bigshinytos [MAIN]      [LOAD]  05_Maintenance.php
Bigshinytos [MAIN]      [LOAD]  06_Preferences.php
Bigshinytos [SETTINGS]  [LOAD]  Loaded settings from database.
Bigshinytos [MAIN]      [LOAD]  06_Settings.php
Bigshinytos [MAIN]      [LOAD]  09_AccessControl.php
Bigshinytos [MAIN]      [LOAD]  10_Roster.php
Bigshinytos [MAIN]      [LOAD]  11_FlexibleSecurity.php
Bigshinytos [MAIN]      [LOAD]  12_ConfigMagik.php
Bigshinytos [MAIN]      [LOAD]  14_Tools.php
Bigshinytos [MAIN]      [LOAD]  15_AOChatWrapper.php
Bigshinytos [MAIN]      [LOAD]  15_BotHelp.php
Bigshinytos [MAIN]      [LOAD]  15_ChatQueue.php
Bigshinytos [MAIN]      [LOAD]  15_Colors.php
Bigshinytos [MAIN]      [LOAD]  15_CommandAlias.php
Bigshinytos [MAIN]      [LOAD]  15_Log.php
Bigshinytos [MAIN]      [LOAD]  15_Notify.php
Bigshinytos [MAIN]      [LOAD]  15_OnlineDB.php
Bigshinytos [SETTINGS]  [SAVED] Set SchemaVersion for module Timer to 1
Bigshinytos [MAIN]      [LOAD]  15_Timer_Core.php

Bigshinytos [CORE]      [DIR]   Loading core-modules
Bigshinytos [CORE]      [LOAD]  Alias.php
Bigshinytos [CORE]      [LOAD]  Alts.php
Bigshinytos [CORE]      [LOAD]  BotStatistics.php
Bigshinytos [CORE]      [LOAD]  Buddy_Queue.php
Bigshinytos [CORE]      [LOAD]  FunFilters.php
Bigshinytos [CORE]      [LOAD]  Logon_Notifies.php
Bigshinytos [CORE]      [LOAD]  ModuleCatcher.php
Bigshinytos [CORE]      [LOAD]  PlayerNotes.php
Bigshinytos [CORE]      [LOAD]  Professions.php
Bigshinytos [CORE]      [LOAD]  ShortCuts.php
Bigshinytos [CORE]      [LOAD]  Statistics.php
Bigshinytos [CORE]      [LOAD]  StringFilter.php
Bigshinytos [CORE]      [LOAD]  Time.php
Bigshinytos [CORE]      [LOAD]  User.php
Bigshinytos [CORE]      [LOAD]  Whois.php

Bigshinytos [CORE-CUSTOM]       [DIR]   Loading additional core-modules in direc
tory custom/core/

Bigshinytos [MOD]       [DIR]   Loading modules
Bigshinytos [MOD]       [LOAD]  About.php
Bigshinytos [MOD]       [LOAD]  AccessControlUI.php
Bigshinytos [MOD]       [LOAD]  AFK.php
Bigshinytos [MOD]       [LOAD]  AltsUI.php
'Bigshinytos [MOD]      [LOAD]  Autouseradd.php
Bigshinytos [MOD]       [LOAD]  BanManagerUI.php
Bigshinytos [MOD]       [LOAD]  Bid.php
Bigshinytos [SETTINGS]  [SAVED] table_version for module Blacklist set to 2 as d
atatype int
Bigshinytos [BLACKLIST] [UPDATE]        Blacklist table update complete.
Bigshinytos [MOD]       [LOAD]  Blacklist.php
Bigshinytos [MOD]       [LOAD]  BotStatisticsUI.php
Bigshinytos [MOD]       [LOAD]  Calc.php
Bigshinytos [MOD]       [LOAD]  Chuck.php
Bigshinytos [MOD]       [LOAD]  City.php
Bigshinytos [MOD]       [LOAD]  ColorConfigUI.php
Bigshinytos [MOD]       [LOAD]  CommandAliasUI.php
Bigshinytos [SETTINGS]  [UPDATE]        Set longdesc for setting [Countdown][Cha
nnel] to in which channel should a countdown be shown? in the channel of origin,
 or in both gc and pgmsg?
Bigshinytos [SETTINGS]  [UPDATE]        Set defaultoptions for setting [Countdow
n][Channel] to both;gc;pgmsg;origin
Bigshinytos [MOD]       [LOAD]  Countdown.php
Bigshinytos [MOD]       [LOAD]  Craftclasses.php
Bigshinytos [MOD]       [LOAD]  FlexibleSecurityUI.php
'Bigshinytos [MOD]      [LOAD]  Gemcutting.php
Bigshinytos [SETTINGS]  [SAVED] connected for module irc set to FALSE as datatyp
e bool
Bigshinytos [SETTINGS]  [UPDATE]        Set longdesc for setting [Irc][AnnounceW
hat] to which events should be announced to irc? none, only  buddies logging on,
 only joins to the chatgroup or both?
Bigshinytos [SETTINGS]  [UPDATE]        Set defaultoptions for setting [Irc][Ann
ounceWhat] to none;buddies;joins;both
Bigshinytos [MOD]       [LOAD]  IRC.php
Bigshinytos [MOD]       [LOAD]  Is.php
'Bigshinytos [MOD]      [LOAD]  Items.php
Bigshinytos [MOD]       [LOAD]  Logon.php
Bigshinytos [MOD]       [LOAD]  Loot.php
Bigshinytos [MOD]       [LOAD]  Mail.php
Bigshinytos [MOD]       [LOAD]  MassMsg.php
Bigshinytos [MOD]       [LOAD]  ModulesControlUI.php
Bigshinytos [MOD]       [LOAD]  News.php
Bigshinytos [MOD]       [LOAD]  Notify.php
Bigshinytos [MOD]       [LOAD]  nroll.php
Bigshinytos [MOD]       [LOAD]  OnlineCount.php
Bigshinytos [MOD]       [LOAD]  OnlineDisplay.php
Bigshinytos [MOD]       [LOAD]  Ping.php
Bigshinytos [MOD]       [LOAD]  PlayerNotesUI.php
Bigshinytos [MOD]       [LOAD]  Points.php
Bigshinytos [MOD]       [LOAD]  PreferencesUI.php
Bigshinytos [MOD]       [LOAD]  Quotes.php
Bigshinytos [MOD]       [LOAD]  Raffle.php
Bigshinytos [MOD]       [LOAD]  Raid.php
Bigshinytos [MOD]       [LOAD]  Rally.php
Bigshinytos [MOD]       [LOAD]  Relay.php
Bigshinytos [MOD]       [LOAD]  Roll.php
Bigshinytos [MOD]       [LOAD]  Roster.php
Bigshinytos [MOD]       [LOAD]  Rules.php
Bigshinytos [MOD]       [LOAD]  Say.php
Bigshinytos [MOD]       [LOAD]  SettingsUI.php
Bigshinytos [MOD]       [LOAD]  ShortCutsUI.php
Bigshinytos [MOD]       [LOAD]  Shutdown.php
Bigshinytos [MOD]       [LOAD]  StringFilterUI.php
Bigshinytos [MOD]       [LOAD]  TimerRelay.php
Bigshinytos [MOD]       [LOAD]  TimerUI.php
Bigshinytos [MOD]       [LOAD]  Whois.php

Bigshinytos [MOD-CUSTOM]        [DIR]   Loading additional modules in directory
custom/modules/


Bigshinytos [LOGIN]     [STATUS]        Connecting

and then it justs sits there i'm really confused here this looks like it is working but it does not try to connect for some reason i really do not unstard whats wrong here

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: bot.conf problem?
« Reply #12 on: July 26, 2009, 11:09:59 am »
Quote
             v.0.5.3.Hyborian - PHP 5.2.10

I'll state this one final time. In order to get a working bot for Age of Conan you need to download the latest 0.6.4 release candidate.

You are not even running an official BeBot build but a fork that was long since abandoned.
BeBot Founder and Fixer Kingpin

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 207
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal