![]() |
global variables?
PHP Code:
PHP Code:
That's my suggestion! |
grrr.
|
Quote:
|
That would be sweet.
|
I keep asking for Global Variables in the sense of intra-server, now you're asking for Global Variables in the sense of, I dunno, intra-player within a level?
A fine idea, but you stole my name. :-( |
Quote:
|
Sure, I could do passwords, ircbots, webscripting, etc. to emulate a PS2 finding another game's savefile on your memory card - and giving you an extra song from K.K., or tikigod, or whatever. But:
1) officiality. It'd be ghetto to jury-rig something like this, like strapping a truck mirror on a honda. 2) Security. Passwords can be cracked, IRCBots fooled - less so when it's server-to-server communication. 3) Support. Stefan's a busy guy, sure, but if he makes this in Graal and all the servers have equal access to it, they're more likely to support it than if it's one server's "shared" feature. See also: nobody showed up for the Graalympics. But for Local Variables, the topic of This thread, good idea, poor name. Or perhaps my own project should upgrade to Universal Variables. |
I was thinking of server-wide global...
Use for them? Perhaps just updating the player's health to all players online... For statistics... Lets say you're in a party, and you want to know what everybody's health is. It's not EXCESSIVELY important. And it wouldn't matter if the data never came across... But it would help with lag. |
For the clientside-thing you can use player.attr[] which should work in most cases, although it's not directly sent to the other players via udp.
For global data we can use the irc-communication things right now (there are ways to verify from which server/script the data comes, although not fully documented). In the near future there will also be a way to send requesttext/sendtext messages to other npcservers, which then can be used to load, exchange and store data. |
Quote:
When using IRC-Bot, we have to go into the same channel and send a message to everyone. If we sent to the player themselves, they get it as a PM. |
You can also send irc messages and notices to individual users/scripts.
|
Quote:
|
All times are GMT +2. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.