Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Reading Server Options via Gscript (https://forums.graalonline.com/forums/showthread.php?t=56052)

zokemon 11-16-2004 11:20 PM

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.

Admins 11-17-2004 12:57 AM

No it's not possible to access the server options yet. You want to display them or actually change them?

osrs 11-17-2004 01:59 AM

Not possible, like Stefan said, but if you eventually want to check the staff list, there are other ways to do that.

zokemon 11-17-2004 02:24 AM

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 :(

Admins 11-17-2004 01:16 PM

You could do that with server-flags too

osrs 11-17-2004 04:22 PM

Quote:

Originally Posted by Stefan
You could do that with server-flags too

Or even a database-NPC.

zokemon 11-17-2004 07:37 PM

Quote:

Originally Posted by zokemon
I know there are a ton of ways around this

Thanks though :)

Slash-P2P 11-17-2004 09:45 PM

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.

zokemon 11-17-2004 10:12 PM

You can veiw peoples rights with GScript... ;o

xAndrewx 11-17-2004 10:14 PM

I remember Delph finding something like 70 SO commands. There's probably more if you look..

osrs 11-18-2004 12:54 AM

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.

Slash-P2P 11-18-2004 01:11 AM

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.

zokemon 11-18-2004 03:28 AM

Please close the topic...
I jsut wanted to know if you could read server ops via gscirpt...
anwser: no
close this: yes

Kaimetsu 11-18-2004 04:26 PM

Quote:

Originally Posted by zokemon
Please close the topic...

That's not how it works.

zokemon 11-19-2004 12:24 AM

In my world it does :)

osrs 11-19-2004 12:43 AM

Quote:

Originally Posted by zokemon
In my world it does :)

But arguments will always be added and keep the thread alive. >_<

zokemon 11-19-2004 12:49 AM

But of course, as long as it isn't something that someone posts that I specifically said I don't not need to know about but they felt like posting it anyways in an attempt to make me look less skillful then I actually am.

Slash-P2P 11-19-2004 12:52 AM

So a moderator can close everyones threads when they want, but can't close a thread when someone asks? I know atleast 1 moderator has viewed this thread. It really shows how great the Graal administration is.

zokemon 11-19-2004 12:53 AM

Oh you betcha'

Slash-P2P 11-19-2004 01:41 AM

Now lets wait for a moderator to pretend they do a good job, modify/delete my posts, and finally close the thread.

zokemon 11-19-2004 01:42 AM

Not gonna happen.

Slash-P2P 11-19-2004 01:43 AM

It always happens.

Loriel 11-19-2004 02:29 AM

Quote:

Originally Posted by Slash-P2P
So a moderator can close everyones threads when they want, but can't close a thread when someone asks? I know atleast 1 moderator has viewed this thread. It really shows how great the Graal administration is.

Yeah, we are all villaineous evildoers because we only use moderation tools in accordance with the rules and not on arbitrary requests. DOOM.

Slash-P2P 11-19-2004 02:45 AM

Quote:

Originally Posted by Loriel
Yeah, we are all villaineous evildoers because we only use moderation tools in accordance with the rules and not on arbitrary requests. DOOM.

You could do something in favor of the players.

Kaimetsu 11-19-2004 02:46 AM

Quote:

Originally Posted by Slash-P2P
So a moderator can close everyones threads when they want, but can't close a thread when someone asks?

Why should a moderator heed such requests?

Slash-P2P 11-19-2004 02:48 AM

Quote:

Originally Posted by Kaimetsu
Why should a moderator heed such requests?

Why not? If there is an end to a thread and it couldnt possibly continue being discussed about, and the thread starter requests the thread to be closed, the thread should be closed.

It might just provide "the forbidden thing", Customer Satisfaction.

zokemon 11-19-2004 03:08 AM

And we all know that professional compainies HATE that.

Kaimetsu 11-19-2004 03:47 AM

Quote:

Originally Posted by Slash-P2P
Why not?

"Why not?" is not a determinative factor.

Quote:

If there is an end to a thread and it couldnt possibly continue being discussed about
Has that happened here? How does one determine whether or not it has? And if it had, surely nobody would be posting anyway, so a lock would be redundant.

Quote:

and the thread starter requests the thread to be closed
Why should we give the thread starter more authority than other users?

Slash-P2P 11-19-2004 04:28 AM

Quote:

Originally Posted by Kaimetsu
Has that happened here? How does one determine whether or not it has? And if it had, surely nobody would be posting anyway, so a lock would be redundant.

The answer was NO. You can not read server options with GScript.

Quote:

Originally Posted by Kaimetsu
Why should we give the thread starter more authority than other users?

It wouldnt give authority if other users could request it.

Kaimetsu 11-19-2004 04:44 AM

Quote:

Originally Posted by Slash-P2P
The answer was NO. You can not read server options with GScript

What's your point?

Quote:

It wouldnt give authority if other users could request it.
Then why did you explicitly specify the creator as the recipient of this right?

Slash-P2P 11-19-2004 05:08 AM

Quote:

Originally Posted by Kaimetsu
What's your point?

That is a reason to close the thread.

Quote:

Originally Posted by Kaimetsu
Then why did you explicitly specify the creator as the recipient of this right?

I was talking about other threads created by other people.


Ok, the mods dont like players and hate the fact of possible satisfaction so I'm not going to continue arguing.

zokemon 11-19-2004 05:11 AM

Lets stop arguing, playing little games and being little kids now please.

Kaimetsu 11-19-2004 05:35 AM

Quote:

Originally Posted by Slash-P2P
That is a reason to close the thread

Where is the logical link between the two? Explain your reasoning.

Quote:

I was talking about other threads created by other people
You're being somewhat ambiguous. If you believe that the creator of a thread should have more authority over it than other users then you'll need to justify the belief. If not, you've been using some very misleading wording.

Quote:

Ok, the mods dont like players and hate the fact of possible satisfaction so I'm not going to continue arguing.
Okay, the players don't like mods and hate that they don't always get their way, but I'm going to continue discussing this because I'm not a hissy child like you.

Quote:

Originally Posted by zokemon
Lets stop arguing, playing little games and being little kids now please.

...says the guy whose primary role in this thread was to pointlessly antagonise the mods because they didn't indulge his egoistic demands.

Slash-P2P 11-19-2004 05:37 AM

Kai, how about I just put it this way:
I hate the moderators.

Kaimetsu 11-19-2004 05:42 AM

Quote:

Originally Posted by Slash-P2P
Kai, how about I just put it this way:
I hate the moderators

Then I'll respond thusly:
Hatred is not a suitable substitute for rational arguments

Slash-P2P 11-19-2004 05:48 AM

Quote:

Originally Posted by Kaimetsu
Then I'll respond thusly:
Hatred is not a suitable substitute for rational arguments

All you do is argue. Go get some friends and agree on something.

Kaimetsu 11-19-2004 06:02 AM

Petty insults: Also not good substitutes.

Kiddo, you started an argument and you lost. Don't blame the victor just for being better than you.

zokemon 11-19-2004 07:06 PM

Kai has to have the last word just liek a little kid.
If you respond It will only prove me right no matter what you say.
Please stop talking now.

Loriel 11-19-2004 07:56 PM

Quote:

Originally Posted by zokemon
If you respond It will only prove me right no matter what you say.

I do not think your attempts to alter reality are going to work.

Kaimetsu 11-19-2004 08:15 PM

Quote:

Originally Posted by zokemon
Kai has to have the last word just liek a little kid

What an astounding hypocrite. If you feel that such puerile and illogical assertions carry any weight then perhaps I should take advantage of them myself.

'zokemon' has to have the last word just like a little kid. If he ever responds to anything ever again, he proves me right. If he doesn't, the board is a better place. Either way, I'm happy :)


All times are GMT +2. The time now is 08:57 PM.

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