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 08-18-2007, 06:10 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
Whats the point of server flags?

I don't see the point of them? Someone like to explain what to use it for. I mean you can use a npc to makeup for most of the flags
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #2  
Old 08-18-2007, 07:53 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
Old compatibility and because you don't need to understand how npcs work nor give NC for someone to edit them. Rather stupid in my opinion.
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 08-18-2007, 10:18 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by zokemon View Post
Old compatibility and because you don't need to understand how npcs work nor give NC for someone to edit them. Rather stupid in my opinion.
Wow, really? I expected a good reason...

Honestly the only person who should have rights to serverr. flags have NC anyway :P, not to mention that if you don't know how to open a DB and add to an array/change a variable, you really are brain dead.
Reply With Quote
  #4  
Old 08-18-2007, 11:22 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 Horrified View Post
Honestly the only person who should have rights to serverr. flags have NC anyway :P, not to mention that if you don't know how to open a DB and add to an array/change a variable, you really are brain dead.
Exactly.
__________________
Do it with a DON!
Reply With Quote
  #5  
Old 08-18-2007, 12:03 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Easy for people with RC to change plus serverr. s' are quite benneficial. Server.s' are pretty pointless but I don't think there was any other way in GS1.
Reply With Quote
  #6  
Old 08-18-2007, 12:27 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
Yes serverr. variables can be read by clients so they can be used for configuration or used as global variables which can be accessed by any script.
Reply With Quote
  #7  
Old 08-18-2007, 02:47 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
I still find them rather stupid though.
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 08-18-2007, 03:32 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by zokemon View Post
I still find them rather stupid though.
How else can make a variable easily globally accessible to both serverside and clientside for any script?

Note: 'easily'
Reply With Quote
  #9  
Old 08-18-2007, 03:47 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 Twinny View Post
How else can make a variable easily globally accessible to both serverside and clientside for any script?

Note: 'easily'
I find it very easy to sync objects and variables serverside and clientside.
__________________
Do it with a DON!
Reply With Quote
  #10  
Old 08-18-2007, 05:02 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by zokemon View Post
I find it very easy to sync objects and variables serverside and clientside.
NOT EVERYONE IS A SCRIPT WIZ LIKE YOU OK?

__________________
Reply With Quote
  #11  
Old 08-18-2007, 05:51 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by zokemon View Post
I find it very easy to sync objects and variables serverside and clientside.
Sync between certain objects but not between every single object in the game... Serverr. variables certainly have distinctive advantages: even if you do not see them.
Reply With Quote
  #12  
Old 08-18-2007, 05:54 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
There have been some cases where I would die without the convenience of serverr flags.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #13  
Old 08-18-2007, 11:44 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Reading a serverr variable clientside is easier than triggering to serverside to get the variable from a DB NPC and triggering back to clientside...=/
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #14  
Old 08-19-2007, 01:32 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
I guess... They also require that everyone loads them when they get updated (unneeded lag) and for something like a radio for example, you should only send the information to the players with it on. Even with my weather system on GK, I just sync the data, I don't use serverr. variables.
__________________
Do it with a DON!
Reply With Quote
  #15  
Old 08-19-2007, 05:03 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
serverr. variables are integrated with the server so I'm sure they have a much more efficient method of syncing to clients than using triggers or something.

And stop acting like updating a few lines worth of text is going to explode your computer. The lag is certainly not noticeable for something so small. I'm sure its nothing compare to the information Graal is already sending to your client on a constant basis.

serverr flags are great in my opinion.

By the way, it would be nice if there was a prefix like servero. to read server options.
__________________
Reply With Quote
  #16  
Old 08-19-2007, 05:26 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
hmm servero. would be fun.
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #17  
Old 08-19-2007, 05:29 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Yeah, so you could check if the players guild is a staff guild :] Which isn't really totally necessary since you could just make a serverr array with that, or just put it into the NPC that would use it, but I suppose it could still be nice.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #18  
Old 08-19-2007, 05:41 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by coreys View Post
Yeah, so you could check if the players guild is a staff guild :] Which isn't really totally necessary since you could just make a serverr array with that, or just put it into the NPC that would use it, but I suppose it could still be nice.
Putting it in an NPC is too troublesome.

Besides, I want to make custom server options for scripting related things, so the non-scripting dudes can update things in a safer manner without exploding my script.
__________________
Reply With Quote
  #19  
Old 08-19-2007, 07:02 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Stefan stated on Zodiac that one of the server updates included the ability to read the serverops file. Not sure if he stated this publicly.
Reply With Quote
  #20  
Old 08-19-2007, 07:49 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Twinny View Post
Stefan stated on Zodiac that one of the server updates included the ability to read the serverops file. Not sure if he stated this publicly.
Oh, awesome.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #21  
Old 08-20-2007, 04:22 PM
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
On most servers with events, they have an NPC that changes the serverr. command for the server's event, making it so the whole server can see.

Without it, it'd only be visible by the person who changed it.
__________________
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
  #22  
Old 08-20-2007, 10:19 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Switch View Post
On most servers with events, they have an NPC that changes the serverr. command for the server's event, making it so the whole server can see.

Without it, it'd only be visible by the person who changed it.
Well DB NPC vars can replace any serverr. flag, it's just a big pain in the ass to have to trigger to serverside and back to clientside a million times.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #23  
Old 08-20-2007, 10:25 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 Switch View Post
On most servers with events, they have an NPC that changes the serverr. command for the server's event, making it so the whole server can see.

Without it, it'd only be visible by the person who changed it.
It's called syncing my man.
__________________
Do it with a DON!
Reply With Quote
  #24  
Old 08-22-2007, 11:15 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by zokemon View Post
It's called syncing my man.
Dude, get over that. Manual syncing is slower than just about anything thats built-in to the server. Its may function but not with the same efficiency as a good ol' serverr variable.
__________________
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 12:39 AM.


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