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

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

Author Topic: Problem with ringbot  (Read 2541 times)

0 Members and 1 Guest are viewing this topic.

Offline Archange

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Problem with ringbot
« on: November 12, 2005, 08:24:50 am »
Hello,

I got some problems with Zacix's modules,
When i try to start bot, i get an error about some unexpected variables (T_STRING, T_OLD_FUNCTION, T_FUNCTION, T_VAR) on line 73 of bot.php

Someone know what can be responsible of that ?

Offline Zacix

  • Contributor
  • *******
  • Posts: 73
  • Karma: +0/-0
Problem with ringbot
« Reply #1 on: November 14, 2005, 11:09:28 am »
Did you download my bot.php or are you using bot.php from BeBot? If you use any files from BeBot, you should replace them with the ones from RINGBot site. What is on line 73 in bot.php? You also need to run with PHP5...you can't use the PHP4 version provided with BeBot. Contact me ingame again if you still have problems ^^
Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network

Offline Archange

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Problem with ringbot
« Reply #2 on: November 14, 2005, 01:25:16 pm »
ok it seem that the problem is that i'm still running bot on PhP4.4...

Note that i'm runnng bot on linux

I changed Start.php to run on PhP5 and am starting bot with /usr/local/php5/bin/php start.php

Problem is that bot still see me as running on PhP4 version

maybe i have made a mistake in my PhP5 compiling but i don't find where...

Anyone have suggestion ?

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
Problem with ringbot
« Reply #3 on: November 14, 2005, 02:27:42 pm »
if
Code: [Select]
/usr/local/php5/bin/php -v comes up with PHP 5.x then there definatly shouldn't be any version problems... AOChat.php has known issues with php5 though... not sure if Zacix took care of those since I haven't really looked into ringbot (and don't intend to either ;)).

Offline Zacix

  • Contributor
  • *******
  • Posts: 73
  • Karma: +0/-0
Problem with ringbot
« Reply #4 on: November 14, 2005, 02:49:10 pm »
Quote from: "Blondengy"
if
Code: [Select]
/usr/local/php5/bin/php -v comes up with PHP 5.x then there definatly shouldn't be any version problems... AOChat.php has known issues with php5 though... not sure if Zacix took care of those since I haven't really looked into ringbot (and don't intend to either ;)).


I've also heard that AOChat.php has some problems with PHP5, but I never encountered them with the version I use (v5.0.4 I think and AOChat v1.17). Doesn't mean there could be potentially problems though. Also, as mentioned to Archange ingame, use the source which is here and not the one posted on forums ^^
Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network

Offline Evereane

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Problem with ringbot
« Reply #5 on: December 02, 2005, 07:36:04 pm »
Just to update people if they encouter a similar problem. AOChat.php does indeed have issues with PHP 5.0.5. THis is specific to a way PHP 5.0.5 handles function calls.

Basically, you will need to find any location of unpack(...) and change it to $unpack=unpack(...).

Maybe not the best way... or cleanest, but it works.

This may have been changed in 1.19 of AOChat.php, but this is what I needed to edit in order to get it to run with PHP 5.0.5.

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Problem with ringbot
« Reply #6 on: December 02, 2005, 08:03:02 pm »
as a side note, 5.1.1 appears to be the latest php5.

5.0.x isn't even on the downloads page anymore.. ;p

http://www.php.net/downloads.php

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 433
  • 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