|
Temar
|
 |
« 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
|
 |
« 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
|
 |
« Reply #2 on: June 30, 2007, 05:13:10 PM » |
|
ive looked as SVN and it looks like it still does the check 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
|
 |
« Reply #3 on: June 30, 2007, 06:16:44 PM » |
|
Fixed (i think) 
|
|
|
|
|
Logged
|
BeBot Founder and Fixer Kingpin Madman coder and destroyer of good code
|
|
|
|
Temar
|
 |
« 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 [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
|
 |
« 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
|
 |
« Reply #6 on: June 30, 2007, 09:04:15 PM » |
|
the word settings $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
|
 |
« 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
|
 |
« 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
|
 |
« Reply #9 on: June 30, 2007, 09:32:32 PM » |
|
i got wat u said how do i set it up?
|
|
|
|
|
Logged
|
|
|
|
|
Khalem
|
 |
« Reply #10 on: June 30, 2007, 09:43:40 PM » |
|
Double click the install icon?  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
|
 |
« Reply #11 on: June 30, 2007, 09:49:46 PM » |
|
Got it Thx 
|
|
|
|
|
Logged
|
|
|
|
|
Alreadythere
|
 |
« Reply #12 on: July 01, 2007, 05:39:58 AM » |
|
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
|
|
|
|
|