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 05-30-2006, 06:11 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Show Last IP in /openrights

I'm thinking, whenever someone uses /open account on RC to look at an IP of someone, a large amount of the time it's so that they can add the IP to the IP range in /openrights account. However, I've really been wanting to simplify adding new staff on Classic since currently it requires opening five windows which is like making a mountain out of a molehill. I'd prefer just having to add a staff member to the server ops and setting their rights.

On Classic, the staff list looks like:
staff=(Manager),Polo,(LAT),latadmin,latmembers,(FA Q),faqadmin,faqmembers,(GP),gpadmin,gpmembers,(GC) ,gcadmin,gcmembers

I find myself wanting to take this list and making a script that sets the player's guild if they're in their division of this list rather than using guilds.txts. Just in general, be able to simplify the process of adding/removing staff members. I mean, the only solution for being able to focus on many tasks is overkill, and overkill is in no way efficient. Otherwise you could end up forgetting to remove a person from the guilds.txt when removing them from staff and they could still go on tag and abuse the scripted rights built into having the tag on.

The other solution for having so many tasks to focus on is simplifying the tasks through innovation. Which is why I'm posting this.
Reply With Quote
  #2  
Old 05-30-2006, 07:37 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Sort of something like this?


PHP Code:
for (0serverstaff.size(); ++) {
  
blahahaha;


Basicly, an array of all staff listed in the staff= section of the server options?
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 05-30-2006, 07:46 PM
Chris Chris is offline
:pluffy:
Chris's Avatar
Join Date: Jan 2005
Location: im n ur comp, takn up pixelz
Posts: 1,867
Chris is on a distinguished road
Oh wow now you're just being lazy.
__________________
Reply With Quote
  #4  
Old 05-30-2006, 07:49 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Nah, its a good idea. Would make so-called *staff NPCs* ten-thousand times more secure aswell by instead of (for instance) enabe it for everyone in the string serverr.staff, you can check if the player is listed in the server options.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #5  
Old 05-30-2006, 08:18 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Chris
Oh wow now you're just being lazy.
In a sense I am being lazy. In another sense I'm concerned about security.
Having to look through five different windows when adding/removing a new staff can be a problem. Flaws are bound to occur because of the lack of simplicity, which is the security problem, and with being lazy, it would save a lot of time for having to change the flags of scripts.

It would also improve security if you could test a player's IP against their set IP range for RC.

Ex. Use of staff boots, god mode... Not to mention, one of my staff's accounts was recently stolen.

Testing for staff tags can already be done on a scripting level so I'm not concerned about this.
Reply With Quote
  #6  
Old 05-31-2006, 03:37 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
The last-IP in the changerights thing is a little too much. If you're that concerned about it, write a client-rc and make the modifications yourself.

There is a way to read the staff= variable serverside. I just can't think of it off the top of my head. However, I believe Stefan frowns upon people putting (blah) separators in their staff= list, though.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #7  
Old 05-31-2006, 03:59 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by ApothiX
The last-IP in the changerights thing is a little too much. If you're that concerned about it, write a client-rc and make the modifications yourself.

There is a way to read the staff= variable serverside. I just can't think of it off the top of my head. However, I believe Stefan frowns upon people putting (blah) separators in their staff= list, though.
I didn't write Classic's serverops, and you can get the staff list using onreceivetext for the serverops. (or so I'm told)
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 09:27 PM.


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