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?
December 04, 2008, 05:05:41 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: starting a bot from a bot
Pages: [1]   Go Down
« previous next »
Print
Author Topic: starting a bot from a bot  (Read 223 times)
0 Members and 1 Guest are viewing this topic.
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


WWW
starting a bot from a bot
« on: July 28, 2007, 05:28:37 PM »

is there a way to start a bot from a bot?  I mean I have a bot that I never need excpet for certain things, and dont need to keep it running.  is there a way to have the bot started from in game?
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: starting a bot from a bot
« Reply #1 on: July 28, 2007, 07:26:15 PM »

Technically you can likely use exec() if it is allowed by your PHP configuration.

http://no2.php.net/manual/en/ref.exec.php
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Vhab
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 158


WWW
Re: starting a bot from a bot
« Reply #2 on: July 29, 2007, 02:19:41 AM »

Doesn't that freeze the calling process till the new process stops?
Logged
kuznechik
BeBot Contributor
Rookie
*******
Offline Offline

Gender: Male
Posts: 60



Re: starting a bot from a bot
« Reply #3 on: July 29, 2007, 03:22:31 AM »

Hm, any reason to not have that bot running always? Not that it generates much traffic or CPU load...
Logged

Kuznechik, proud bot admin of Disciples of Omni-Tek, Rimor.
Vhab
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 158


WWW
Re: starting a bot from a bot
« Reply #4 on: July 29, 2007, 01:51:42 PM »

Well, if the process froze it means the bot "running" the other bot would go unresponsive.
Example: bot1 starts bot2, bot2 works fine, bot1 doesn't respond till bot2 shuts down.
Not really an effective solution.
That would be if exec() is used.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: starting a bot from a bot
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 11
Total: 15
vikor
upstart
daltarak
Sudoka

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