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 14, 2008, 10:34:23 AM

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 250 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
Buddylist for guildbot
by Zacix
[Today at 09:43:40 AM]

Link 2 Guilds via 2 Bots?
by Temar
[Today at 08:42:11 AM]

OnlineOrg
by Karsta
[October 13, 2008, 06:54:20 AM]

!security Levels
by Nytridr
[October 12, 2008, 11:36:45 PM]

Bossloot for 5.2
by Brac
[October 12, 2008, 04:45:17 PM]

Ported Modules
by Jiheld
[October 12, 2008, 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]
Stats
Members
Total Members: 989
Latest: Syphae
Stats
Total Posts: 10814
Total Topics: 1459
Online Today: 14
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 13
Total: 14
Zacix

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.735 seconds with 28 queries. (Pretty URLs adds 0.097s, 4q)
Loading...