BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.3.x Custom/Unofficial Modules => Topic started by: Temar on June 25, 2007, 02:52:42 am

Title: Fixed Alts.php for 0.3.4
Post by: Temar on June 25, 2007, 02:52:42 am
This is the Alts.php found in the Modules Folder
You only need this if you have Usealts on under security Settings

30/06/07
Fixed Bug were normal !alts add command wasnt working

01/07/07
Got SVN version and Altered the settings to set so it works with 0.3.4
Title: Re: Fixed Alts.php for 0.3.4
Post by: Khalem on June 30, 2007, 08:46:59 pm
Modified slightly to allow disabling if desired and committed to SVN.
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 12:13:10 am
ive looked as SVN and it looks like it still does the check
Code: [Select]
        if ($security)

        {

            // Check if the Alt being Added has Higher Security

            if ($this -> bot -> security -> get_access_level($name) < $this -> bot -> security -> get_access_level($alt))

            {

                return "##error##Character ##highlight##$alt##end## is Higher User Level and Cannot be Added as your Alt.##end##";

            }

        }
even if its !altadmin
which means the owner cant add an alt with admin to a main with nothing for example
Title: Re: Fixed Alts.php for 0.3.4
Post by: Khalem on July 01, 2007, 01:16:44 am
Fixed (i think) :P
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 02:14:20 am
ok i got the SVN version altered the settings to set to work with 0.3.4
but
Quote
[Leet] Chris05: !alts
[Leet] Leetboss2: ' Chris05'  (214 /  11 Doctor) -

not posting my alts
Title: Re: Fixed Alts.php for 0.3.4
Post by: Khalem on July 01, 2007, 03:39:43 am
Working here on a clean SVN working copy.

What settings did you alter?
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 04:04:15 am
the word settings
Code: [Select]
$this -> bot -> set -> create("Alts", "Security", TRUE, "Should security restrictions be enabled to prevent users from gaining higher access levels by adding alts with higher access level when Usealts for the security module is enabled?");
}
im running 0.3.4 with few slight changes not svn
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 04:11:11 am
if i wanted to download the entire SVN version whats best way to do it?
Title: Re: Fixed Alts.php for 0.3.4
Post by: Khalem on July 01, 2007, 04:14:32 am
Best way is to use a SVN client like SmartSVN.

I might consider setting up a nightly snapshot, but i really dont think there is enough demant to warrant it atm.
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 04:32:32 am
i got wat u said how do i set it up?
Title: Re: Fixed Alts.php for 0.3.4
Post by: Khalem on July 01, 2007, 04:43:40 am
Double click the install icon? :P

Project -> Checkout -> Manage (repository) -> Add
Access method: http
server name: svn.shadow-realm.org
Repo path: svn/BeBot/

From there on out you just select trunk and where to store. You'll have your own clean working copy.
Title: Re: Fixed Alts.php for 0.3.4
Post by: Temar on July 01, 2007, 04:49:46 am
Got it Thx  ;D
Title: Re: Fixed Alts.php for 0.3.4
Post by: Alreadythere on July 01, 2007, 12:39:58 pm
I might consider setting up a nightly snapshot, but i really dont think there is enough demant to warrant it atm.
Doubt it's needed in the long run, there is not that much daily development most of the time.

Though right now releasing 0.3.5 as another release candidate wouldn't harm.
SimplePortal 2.3.7 © 2008-2024, SimplePortal