View Single Post
  #1  
Old 02-10-2002, 02:00 AM
GrowlZP2P GrowlZP2P is offline
Registered User
Join Date: Dec 2001
Location: Corpadverticus, which in case you don't know is the recently-formed and Blockbuster Video-sponsored Tenth Circle of Hell
Posts: 57
GrowlZP2P is on a distinguished road
Send a message via AIM to GrowlZP2P Send a message via Yahoo to GrowlZP2P
Lightbulb serverstrings...

... lag. If you have too many, they slow down a server, as you all know. So what I'm suggesting is:

On-request server strings.

Basically, the way I see it, the only situation in which they'd lag is if they go everywhere with the player, whether or not they need them. So I propose the next Graal version have on-request server flags, meaning that a server string is not provided until a NPC asks for it. Say, the command readserverstr flagname which would output the serverflag to #o, kinda like tokenize outputs the string you tokenized to #t(index). For example:

NPC Code:

...
if (weaponfired){
message Radio on;
sleep 1;
readserverstr server.radio;
setplayerprop #c,#o;
}
...



How about it? Cuts down on lagginess and is just as functional.
__________________


AIM: GrowlZ1010 | Y! IM: GrowlZ1010 | MSN: [email protected] | Email: [email protected]

- I use obscenely long words to befuddle my adversaries, therefore I am -

Current Favorite Quote: Real programmers don't document. If it was hard to write, it should be hard
to understand.
Reply With Quote