Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-17-2007, 01:52 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
So you have to add rights for each account separately?
Reply With Quote
  #2  
Old 05-17-2007, 01:59 AM
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
Quote:
Originally Posted by Gambet View Post
So you have to add rights for each account separately?
Uploaded a new version that also allow guild specific rights:


PHP Code:
this.guildrights.GUILDNAME = {
  
// rights
}; 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 05-17-2007, 02:02 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by xXziroXx View Post
Uploaded a new version that also allow guild specific rights:


PHP Code:
this.guildrights.GUILDNAME = {
  
// rights
}; 


Still rather inconvenient, requires too many lines of code if you're giving rights to a plethora of accounts (assuming there are a lot of staff on the server), and not completely user friendly.


I believe it would be better if the system read specific text file names, and gave rights to any accounts stored in the text file. That way, servers would only have to add their accounts to the specific text files in order to have rights to that function. A database would work as well.
Reply With Quote
  #4  
Old 05-17-2007, 02:08 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by Gambet View Post
Still rather inconvenient, requires too many lines of code if you're giving rights to a plethora of accounts (assuming there are a lot of staff on the server), and not completely user friendly.


I believe it would be better if the system read specific text file names, and gave rights to any accounts stored in the text file. That way, servers would only have to add their accounts to the specific text files in order to have rights to that function. A database would work as well.
You have to ruin everything, don't you?

Awesome IMO!
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #5  
Old 05-17-2007, 02:09 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Switch View Post
You have to ruin everything, don't you?

Awesome IMO!


It's just a suggestion x-x
Reply With Quote
  #6  
Old 05-17-2007, 02:17 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by Switch View Post
You have to ruin everything, don't you?
Just...shut...up, please.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
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 04:58 PM.


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