Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-16-2005, 11:43 AM
Ibonic Ibonic is offline
unsoundness
Ibonic's Avatar
Join Date: Sep 2002
Location: Long Island <3
Posts: 783
Ibonic will become famous soon enough
Suggestion for RC2: custom rights

Currently when viewing the rights of a player with RC2, there are two tabs: "IP Range and Rights flag", and "Folder rights". Let there be a new one: Custom rights

Players with full level 4 RC will be able to edit the configuration of the tab for the current playerworld. Or if that's not desired, maybe there could be a standard "change custom rights config" right.

Why? A lot of servers have custom staff commands (such as summon, jailing, etc.) that are scripted. Having a centralized/standard way to set these rights individually and check if a player has them in script would cut down on the amount of work needed and obviously be more organized.

Here's a simple example of the built-in script function I imagine:
NPC Code:

if (!hascustomright("summon")) {
player.chat = "(not authorized to summon)";
return(0);
}

Reply With Quote
  #2  
Old 09-16-2005, 11:47 AM
Nabru Nabru is offline
100 IFP and runnin'
Nabru's Avatar
Join Date: Aug 2005
Location: Wisconsin
Posts: 440
Nabru will become famous soon enough
Send a message via ICQ to Nabru
Sounds good.
Reply With Quote
  #3  
Old 09-16-2005, 12:13 PM
EvilOmniscience EvilOmniscience is offline
Registered User
Join Date: Apr 2004
Posts: 13
EvilOmniscience is on a distinguished road
I agree, definitely a good idea.
Reply With Quote
  #4  
Old 09-16-2005, 02:40 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's already possible to add custom folder rights and check them via script like hasright(rights,filename)
Reply With Quote
  #5  
Old 09-16-2005, 06:51 PM
Ibonic Ibonic is offline
unsoundness
Ibonic's Avatar
Join Date: Sep 2002
Location: Long Island <3
Posts: 783
Ibonic will become famous soon enough
Quote:
Originally Posted by Stefan
It's already possible to add custom folder rights and check them via script like hasright(rights,filename)
Yes, I'm aware of that. It's what I'm currently working on, and is what made me think of this actually.

Example of some of the rights I have:
NPC Code:

rw rights/warpto-xy
rw rights/warpto-player
rw rights/warp-player
rw rights/warp-level
rw rights/update-level
rw rights/update-gmap
rw rights/summon-player
rw rights/summon-level
rw rights/summon-server
rw rights/heal-player
rw rights/heal-level
rw rights/heal-server
rw rights/showlevel-player
rw rights/dechat-player
rw rights/gag-player
rw rights/ungag-player
rw rights/denick-player
rw rights/jail-player
rw rights/unjail-player
rw rights/redirect-player
rw rights/tag-player
rw rights/getitems
rw rights/commandsofftag



And I also have actual files existing for staff to read the description of what each command does. But they only get read rights of course.

NPC Code:

--example of rights/warpto file to explain command to staff:

right:
warpto

description:
person with this right will be able to warp themselves
to most levels (minus jail levels, etc.), and all coordinates

there is also a preset function built-in to allow for quick access to 'saved locations'

usage format (in-game command):
warpto <x> <y>
warpto <x> <y> <levelname.nw>
warpto <levelname.nw> (default coordinates of 30.5, 30 with onwall checking)
warpto <account>
warpto <nickname>
warpto -find <partial nickname>
warpto [p] add <preset name> <"this" or coordinates>
warpto [<preset name>]

usage examples:
warpto 30.5 30
warpto 30.5 30 graalcity_outside_03.nw
warpto graalcity_outside_03.nw
warpto Ibonic
warpto Ibonic (Some Guild)
warpto -find Ibo
warpto [p] add level14 35 30 graalcity_outside_03.nw
warpto [level14]



I think having an actual custom rights section would be better for the future (RC2), especially so they can be given out without every admin needing edit folder rights. And it'll make it easier if we could set these rights like the standard ones - simple checkboxes with no typing, copy/pasting or guessing involved. Plus on playerworlds with a lot of custom rights, seeing them all in the folder rights section isn't nice.

Last edited by Ibonic; 09-16-2005 at 07:03 PM..
Reply With Quote
  #6  
Old 09-16-2005, 07:12 PM
NicoX NicoX is offline
Kingdoms Management
NicoX's Avatar
Join Date: Mar 2004
Location: Frankfurt/Main, Germany
Posts: 1,933
NicoX will become famous soon enough
Send a message via AIM to NicoX Send a message via MSN to NicoX
Great Idea
__________________
Yours Sincerely,

-Nico
(GK Management)

Clash: Nico, I'm going to give you an example of good management.
Clash: One of my staff removed my RC and banned me.
Clash: I didn't ban or remove their RC after I got another one to fix me.
Clash: Do you know why?
Björn: Because you IP banned him ?

Stefan logged on.
(npcserver) has reset the attributes of Stefan
*Stefan: ah my client crashed








Reply With Quote
  #7  
Old 09-18-2005, 04:27 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Would be better if the Right Flags were in a scrolling checkbox list maybe? That way you could add new rights by some serveroption easily.
__________________
Reply With Quote
  #8  
Old 09-18-2005, 06:33 AM
Ibonic Ibonic is offline
unsoundness
Ibonic's Avatar
Join Date: Sep 2002
Location: Long Island <3
Posts: 783
Ibonic will become famous soon enough
Quote:
Originally Posted by Inverness
Would be better if the Right Flags were in a scrolling checkbox list maybe? That way you could add new rights by some serveroption easily.
That's sort of what I meant, yes. I did mention checkboxes in my second post though wasn't very detailed about it.
Reply With Quote
  #9  
Old 09-18-2005, 09:46 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I would like to have a seperate chat channel for the NC, so those NC only messages and commands will only work there.
Also would like for the echo() function to send to only the person that executes it.
So I can have my own information about anything I need displayed without hogging the RC chat or having to open PMs from the server.
__________________
Reply With Quote
  #10  
Old 09-21-2005, 06:34 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
how far exactly has the RC2 project been going along? I haven't heard anything good about it yet. Care to share Stefan? Please? XD
__________________
Reply With Quote
  #11  
Old 09-21-2005, 06:51 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by ZeLpH_MyStiK
I haven't heard anything good about it yet.
I haven't heard anything at all about it yet .
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.