Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2004, 11:20 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Reading Server Options via Gscript

is there a variable/string prefix or something that I need to read server options in a script?

Any help appriciated.
__________________
Do it with a DON!
Reply With Quote
  #2  
Old 11-17-2004, 12:57 AM
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
No it's not possible to access the server options yet. You want to display them or actually change them?
Reply With Quote
  #3  
Old 11-17-2004, 01:59 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Not possible, like Stefan said, but if you eventually want to check the staff list, there are other ways to do that.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #4  
Old 11-17-2004, 02:24 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Stefan
No it's not possible to access the server options yet. You want to display them or actually change them?
Display them. I know there are a ton of ways around this but if I said something like specialaccounts=zokemon,Slash-P2P
and I wanted it to pm a message to those accounts when they log on...can this be done via server ops?
(Don't bother explaining how to pm when someone logs on...I only care about the server ops part)

Stefan replied to my post but not my PM
__________________
Do it with a DON!
Reply With Quote
  #5  
Old 11-17-2004, 01:16 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
You could do that with server-flags too
Reply With Quote
  #6  
Old 11-17-2004, 04:22 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by Stefan
You could do that with server-flags too
Or even a database-NPC.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #7  
Old 11-17-2004, 07:37 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by zokemon
I know there are a ton of ways around this
Thanks though
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 11-17-2004, 09:45 PM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
I've wanted GScript to be able to read server options for a while.
It would be nice for certain NPCs that check if a person is staff, or something along those lines.
Reply With Quote
  #9  
Old 11-17-2004, 10:12 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You can veiw peoples rights with GScript... ;o
__________________
Do it with a DON!
Reply With Quote
  #10  
Old 11-17-2004, 10:14 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I remember Delph finding something like 70 SO commands. There's probably more if you look..
__________________
Reply With Quote
  #11  
Old 11-18-2004, 12:54 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by Slash-P2P
I've wanted GScript to be able to read server options for a while.
It would be nice for certain NPCs that check if a person is staff, or something along those lines.
It is possible and there is no need to check the server-options. By the way, the server-options shouldn't and hopefully will not be able to be checked by non-staffs.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #12  
Old 11-18-2004, 01:11 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by osrs
It is possible and there is no need to check the server-options. By the way, the server-options shouldn't and hopefully will not be able to be checked by non-staffs.
I'm saying have npcs load if the player is or is not staff from the server list, then maybe set a string or something acknowleding he/she is a staff member. That way there doesnt need to be another string somewhere.
Reply With Quote
  #13  
Old 11-18-2004, 03:28 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Please close the topic...
I jsut wanted to know if you could read server ops via gscirpt...
anwser: no
close this: yes
__________________
Do it with a DON!
Reply With Quote
  #14  
Old 11-18-2004, 04:26 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by zokemon
Please close the topic...
That's not how it works.
__________________
Reply With Quote
  #15  
Old 11-19-2004, 12:24 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
In my world it does
__________________
Do it with a DON!
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 05:50 AM.


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