L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 11:04:52 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74  (Read 249 times)
0 Members and 1 Guest are viewing this topic.
Gonido
Freshman
*
Offline Offline

Posts: 2


Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
« on: March 20, 2008, 06:02:06 PM »

Hi all,

This is my first try running a bebot and i'm having this error. I read the wiki on the installation but couldn't find anything about that line 74 on startbot.php ...

What should i put in it ?!

Here is the default line i got

Quote
$last_line = system($php_bin . $php_args . " " . $main_php . " " . $argv[1]);

Thanks for your help :-)
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1061


Re: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
« Reply #1 on: March 21, 2008, 05:53:13 AM »

If it's just a warning feel free to ignore it.

Basically the script is accessing the first parameter of the call php StartBot.php par1. Which isn't always set.

If it's an error remove the last part of the system call " " . $argv[1], this should remove the warning.
Logged
Gonido
Freshman
*
Offline Offline

Posts: 2


Re: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
« Reply #2 on: March 21, 2008, 04:10:04 PM »

Thanks for your help, it worked when i removed it.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1061


Re: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
« Reply #3 on: March 21, 2008, 04:54:56 PM »

That parameter is used to detect which bot should be started if you got multiple bots under one directory structure. As long as you are only running one bot it's not really important.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: Undefined offset: 1 in G:\Anarchy Online\Bot\Bebot\StartBot.php on line 74
« previous next »
 
Jump to:  

Recent
Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

!security Levels
by Nytridr
[Today at 02:00:16 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10808
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 19
Total: 21
Zeephonz
Temar

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.173 seconds with 28 queries. (Pretty URLs adds 0.035s, 4q)
Loading...