Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   playerrights\isstaff (https://forums.graalonline.com/forums/showthread.php?t=42250)

Warcaptain 01-25-2003 10:27 PM

playerrights\isstaff
 
i think there should be something like.....


players[index].rights={matrices for 1/0(true false) of all rights available)}

and

isstaff

ie:
if (isstaff){dostuff cuz they are staff wow;}

detects if their ac cis in the staff=

Jeff 01-25-2003 11:34 PM

Shouldn't this be in future improvements?

Anyway, the idea of the rights array is good. Would provide better security for staff tools et cetera.

melissa1988 01-27-2003 07:10 AM

it is in future improvements

tlf288 01-27-2003 07:13 AM

Only because one of the moderators moved it. It used to be in the Graal Main Forum I think.

Falcor 01-27-2003 07:23 AM

and just what would be the benifit of these improvements?

tlf288 01-27-2003 03:19 PM

Better dection of if the player is a staff or not. You could be able to check if a player just has NC to let him in a certain room. Or let people with the NC have debug acces to a NPC.

Like:

NPC Code:

if(playerisstaff[3]==true){
//stuff here
}



Being the 4th place in the variable is the NC option.

edit: ofcourse this would be read only :)

Loriel 01-27-2003 04:25 PM

Quote:

Originally posted by tlf288
edit: ofcourse this would be read only :)
:(

tlf288 01-27-2003 10:48 PM

Quote:

Originally posted by Loriel
:(
Could you imagine a corrupt Level Maker or Scripter making a simple npc that would let him\her gain level 4 rc?

Python523 01-28-2003 05:05 AM

Quote:

Originally posted by tlf288


Could you imagine a corrupt Level Maker or Scripter making a simple npc that would let him\her gain level 4 rc?

which is exactly why he wants it =.=

tlf288 01-28-2003 05:32 AM

Quote:

Originally posted by Python523

which is exactly why he wants it =.=

I'm pretty sure he already has level 4 RC on 2k1 and I know he does on Bomy Development considering he runs it :)

Python523 01-28-2003 05:59 AM

Quote:

Originally posted by tlf288


I'm pretty sure he already has level 4 RC on 2k1 and I know he does on Bomy Development considering he runs it :)

2k2debug and 2k2 -_-

tlf288 01-28-2003 06:06 AM

heh, I doubt Loriel would do that though :)

Tyhm 01-28-2003 09:42 PM

Not necessarily. I requested this a long, long time ago to make safe(r) Staff NPCWs. You could (on an NPCServ) do off-RC jailing NPCs with this - if you are a authorized (and only if you are authorized), run this code which sends this account to this cell.

Jeff 01-28-2003 10:57 PM

Could already do off-RC jailing and other ultrasafe staff NPCs with a well-secured admin NPC, perhaps with encryption, a changing password, and probably account lock.

Python523 01-28-2003 11:52 PM

Quote:

Originally posted by tlf288
heh, I doubt Loriel would do that though :)
you obviously dont know loriel :p

Tyhm 01-29-2003 06:17 AM

Quote:

Originally posted by Jeff
Could already do off-RC jailing and other ultrasafe staff NPCs with a well-secured admin NPC, perhaps with encryption, a changing password, and probably account lock.
1) Encryption fails quickly
2) Changing passwords likewise
3) Account locks are much harder

tlf288 01-29-2003 06:38 AM

Quote:

Originally posted by Jeff
Could already do off-RC jailing and other ultrasafe staff NPCs with a well-secured admin NPC, perhaps with encryption, a changing password, and probably account lock.
All that seems unnessacary(sp?) if this "Future Improvement" was made.


Quote:

Originally posted by Python523
you obviously dont know loriel
I know him pretty well :\

Jeff 01-29-2003 06:18 PM

Quote:

Originally posted by Tyhm


1) Encryption fails quickly
2) Changing passwords likewise
3) Account locks are much harder



1) #E/passwordmatches encryption is heretofore unbroken.

2) If the password changed automatically to a random string every Saturday night (or when prompted by certain persons) and was PMed to the correct people at their next logon, password changing would be pretty infallible, though the idea is that this would be used along with account locking to protect against account theft.

3) Fetch a string array from a DBNPC, or even better, hardcode it into the script. Used with regular password changes and vigilant GPs, this would be virtually infallible.

Tyhm 01-29-2003 11:54 PM

...but still way more work than the comprable playerrights flag.

tlf288 01-30-2003 03:27 AM

Quote:

Originally posted by Tyhm
...but still way more work than the comprable playerrights flag.

Thats what I have been trying to say :\

Com013 02-01-2003 01:06 PM

On Classic we are reading the rights by checking the guild tag. An advantage is that you can only use the tools while being on duty. (Which is usefull since we have to use player accounts for staff jobs now. I wish we had the good old staff accounts back...)

tlf288 02-01-2003 03:59 PM

Quote:

Originally posted by Com013
On Classic we are reading the rights by checking the guild tag.
What serer doesn't?

screen_name 02-22-2003 01:19 AM

Well, if you wanted to give people rights that doesn't require RC, such as warpto, warp players, edit attributes (can be simulated), etc, etc, you could just use a clientr.string and then have a NPCW with a fancy GUI. Well, a fancy GUI isn't necessary, but hey, it would be nicer. The NPCW could only display the available rights for them, or have the rights they can't use be greyed out or something of the sort.

zell12 02-22-2003 02:00 AM

You don't need to jail anyone. It should be timed bans like I suggested last year. Thats it for punishment.


All times are GMT +2. The time now is 01:05 AM.

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