Archive > AoC 0.6 support
Help with errors please
cro005:
Im trying to get the bot running for the first time, running under windows and I get these errors:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be remov
ed in the future: use mysqli or PDO instead in C:\php\Sources\MySQL.php on line
129
Creating MySQL class!
Creating AOChat class!
PHP Notice: Undefined variable: other_bots in C:\php\Main.php on line 260
Notice: Undefined variable: other_bots in C:\php\Main.php on line 260
PHP Notice: Undefined variable: proxy_server_port in C:\php\Main.php on line 26
0
Notice: Undefined variable: proxy_server_port in C:\php\Main.php on line 260
Creating main Bot class!
Twdbot [MAIN] [DIR] Loading main functions of the bot
Twdbot [MAIN] [LOAD] 00_BotError.php
Twdbot [MAIN] [LOAD] 01_BasePassiveModule.php
PHP Fatal error: Call-time pass-by-reference has been removed in C:\php\main\02
_BaseActiveModule.php on line 44
Fatal error: Call-time pass-by-reference has been removed in C:\php\main\02_Base
ActiveModule.php on line 44
C:\php>pause
Press any key to continue . . .
any help would be appreciated
ProMeT:
Hey,
What version of the bot did you download ?
I suggest running the latest snapshot as advised by Khalem in http://bebot.link/news-b10/website-back-up-and-quick-status-update
The direct download link : https://codeload.github.com/J-Soft/BeBot-legacy/zip/master
cro005:
ok, got the newer version of bot, now this is what I get
_/_/_/ _/_/_/ _/_/_/ _/_/ _/_/
An Anarchy Online Chat Automaton
And
An Age of Conan Chat Automaton
v.0.6.9.(Snapshot) - PHP 5.5.10
OS: Windows_NT
Your operating system is detected as 32bit
===================================================
PHP Fatal error: Using $this when not in object context in C:\php\Main.php on
ine 233
Fatal error: Using $this when not in object context in C:\php\Main.php on line
33
C:\php>pause
Press any key to continue . . .
ProMeT:
Have you configured your bot at all ? Have a look at Readme.txt, section "CONFIGURING THE BOT".
From the error message you are getting I think you might not have set the dimension correctly.
cro005:
I did configure the bot, the server is crom
$dimension = "CROM"; // The name of the server you play on. For AO this would be Rubi-Ka or Testlive
this is line 233 in main.php
die("Unknown dimension (" . $this->dimension . ")")
Im no php expert, and any help is appreciated.
Navigation
[0] Message Index
[#] Next page
Go to full version