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 02, 2008, 08:47:53 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: Stop the Bot from Loading Modules
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Stop the Bot from Loading Modules  (Read 362 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Stop the Bot from Loading Modules
« on: November 04, 2007, 08:03:29 PM »

Stop the Bot from Loading Modules with out useing _
this is good for shared directories
you simple set what not to load in the .conf file of your bot and it wont load
remove .txt from conf file, and remove s from end of main.phps
« Last Edit: November 16, 2007, 06:02:09 PM by Temar » Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Online Online

Gender: Male
Posts: 313



Re: Stop the Bot from Loading Modules
« Reply #1 on: November 05, 2007, 09:14:29 AM »

I would personally prefer $dontload['module'][]='test.php' combined with in_array() to check if a module should be loaded or not instead of using isset() on a non-existant key.

It just strikes me as more programmatically correct.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Stop the Bot from Loading Modules
« Reply #2 on: November 16, 2007, 12:08:44 PM »

Added to SVN.

I left it at pure isset() checking, as whatever you do you'd have to do some kind of isset() or is_array() check anyways.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: Stop the Bot from Loading Modules
« previous next »
 
Jump to:  

Recent
Log playtime from buddys ...
by IKShadow
[Today at 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]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11145
Total Topics: 1505
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 16
Total: 18
Blueeagle
dobstah

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