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?
September 07, 2008, 10:47:59 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.3.x Custom/Unofficial Modules > Topic: Fixed Alts.php for 0.3.4
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Fixed Alts.php for 0.3.4  (Read 592 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Fixed Alts.php for 0.3.4
« on: June 24, 2007, 07:52:42 PM »

This is the Alts.php found in the Modules Folder
You only need this if you have Usealts on under security Settings
  • This will Prevent Any 1 adding an Alt with Higher User/Admin level to there name giving them the higher level
  • This is also Prevent the use of !altadmin on any 2 characters unless the person doing it has same or better admin level.
  • Useing !altadmin will Override the Req for main to be same or higher than alt

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
« Last Edit: August 01, 2007, 09:22:21 AM by Temar » Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #1 on: June 30, 2007, 01:46:59 PM »

Modified slightly to allow disabling if desired and committed to SVN.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #2 on: June 30, 2007, 05:13:10 PM »

ive looked as SVN and it looks like it still does the check
Code:
        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
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #3 on: June 30, 2007, 06:16:44 PM »

Fixed (i think) Tongue
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #4 on: June 30, 2007, 07:14:20 PM »

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
« Last Edit: June 30, 2007, 07:32:13 PM by Chris96 » Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #5 on: June 30, 2007, 08:39:43 PM »

Working here on a clean SVN working copy.

What settings did you alter?
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #6 on: June 30, 2007, 09:04:15 PM »

the word settings
Code:
$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
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #7 on: June 30, 2007, 09:11:11 PM »

if i wanted to download the entire SVN version whats best way to do it?
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #8 on: June 30, 2007, 09:14:32 PM »

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.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #9 on: June 30, 2007, 09:32:32 PM »

i got wat u said how do i set it up?
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #10 on: June 30, 2007, 09:43:40 PM »

Double click the install icon? Tongue

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.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Fixed Alts.php for 0.3.4
« Reply #11 on: June 30, 2007, 09:49:46 PM »

Got it Thx  Grin
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1023


Re: Fixed Alts.php for 0.3.4
« Reply #12 on: July 01, 2007, 05:39:58 AM »

Quote from: Khalem on June 30, 2007, 09:14:32 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.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.3.x Custom/Unofficial Modules > Topic: Fixed Alts.php for 0.3.4
« previous next »
 
Jump to:  

Recent
Help with online info in ...
by Barlyman
[Today at 07:56:24 PM]

BeBot v0.5.3 released (de...
by Temar
[Today at 07:51:18 PM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Org Relaying
by Nytridr
[September 06, 2008, 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]
Stats
Members
Total Members: 965
Latest: morisey
Stats
Total Posts: 10414
Total Topics: 1413
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 5
Guests: 21
Total: 26
egrath
paranoiak
Zeephonz
Barlyman
Temar

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.82 seconds with 29 queries. (Pretty URLs adds 0.039s, 4q)
Loading...