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: starting a bot from a bot  (Read 1659 times)

0 Members and 1 Guest are viewing this topic.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
starting a bot from a bot
« on: July 29, 2007, 12:28:37 am »
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?
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: starting a bot from a bot
« Reply #1 on: July 29, 2007, 02:26:15 am »
Technically you can likely use exec() if it is allowed by your PHP configuration.

http://no2.php.net/manual/en/ref.exec.php
BeBot Founder and Fixer Kingpin

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: starting a bot from a bot
« Reply #2 on: July 29, 2007, 09:19:41 am »
Doesn't that freeze the calling process till the new process stops?

Offline kuznechik

  • Contributor
  • *******
  • Posts: 60
  • Karma: +0/-0
Re: starting a bot from a bot
« Reply #3 on: July 29, 2007, 10:22:31 am »
Hm, any reason to not have that bot running always? Not that it generates much traffic or CPU load...
Kuznechik, proud bot admin of Disciples of Omni-Tek, Rimor.

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: starting a bot from a bot
« Reply #4 on: July 29, 2007, 08: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.

 

* 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: 303
  • 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