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: Autogratz doesn't Gratz.. ;(  (Read 4829 times)

0 Members and 1 Guest are viewing this topic.

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Autogratz doesn't Gratz.. ;(
« on: January 12, 2009, 09:35:20 am »
C:\Bebot>php startbot.php
PHP Notice:  Undefined offset:  1 in C:\Bebot\Sources\Conf.php on line 47
PHP Notice:  Undefined property:  Conf::$cf in C:\Bebot\Sources\Conf.php on line
 88
PHP Notice:  Undefined offset:  1 in C:\Bebot\StartBot.php on line 74

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

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

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

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

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

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

         An Anarchy Online Chat Automaton

                     And

          An Age of Conan Chat Automaton

             v.0.6.1 - PHP 5.2.3

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


Warning: dl(): Unable to load dynamic library 'C:\php5\php_curl.dll' - The speci
fied module could not be found.
 in C:\Bebot\Main.php on line 126
Curl not available
.
.
.
.
.
dhlbot [ERROR]  [autogratz]     Event 'buddy_levelup' is invalid. Not registerin
g.
dhlbot [MOD-CUSTOM]     [LOAD]  autogratz.php
.
.
.
.

I went ahead and DL'd php_curl.dll and put it into the PHP5 directory and the bot still says it doesnt see it and I also get a pop-up in Vista now saying that php4ts.dll is not found. I am using php5ts.dll.

I had the bot running on my old computer and the autogratz worked perfectly. I re-installed all of BeBot on a new computer and I must be missing something.

THx.

Wizhk


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Autogratz doesn't Gratz.. ;(
« Reply #1 on: January 12, 2009, 06:48:57 pm »
cURL isnt required so that not a problem
as for the module i downloaded the module and i dont see that event, sure u got right 1?
http://bebot.link/aoc-modules/ported-modules/
jsut a note about it, the main.php it contains is old and should be used, u should update you current 1 instead..

open Main.php
goto botton
find
Code: [Select]
case 20:
// Silently ignore for now (AOCP_CLIENT_NAME)
break;
case AOCP_MSG_PRIVATE:
// Event is a tell

Replace with

Code: [Select]
case 20:
// Silently ignore for now (AOCP_CLIENT_NAME)
if ($bot -> aoc -> buddy_exists($args[0]))
{
$bot -> aoc -> buddy_remove($args[0]);
$bot -> aoc -> buddy_add($args[0]);
}
break;
case AOCP_MSG_PRIVATE:
// Event is a tell

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Autogratz doesn't Gratz.. ;(
« Reply #2 on: January 12, 2009, 08:17:47 pm »
I went ahead and DL'd php_curl.dll and put it into the PHP5 directory and the bot still says it doesnt see it and I also get a pop-up in Vista now saying that php4ts.dll is not found. I am using php5ts.dll.

On a side note.

As Temar pointed out, cUrl is not required. I'd just like to point out that it seems you have downloaded a curl.dll for php4.
I have updated the SVN for BeBot-php and you can grab the latest php version including curl from there. ( http://svn.shadow-realm.org/svn/BeBot/branches/BeBot-php/ )
I have also fixed the warning that appear if you don't have curl installed so it won't cause any confusion
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: 434
  • 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