Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   function onServeroptionsChanged() (https://forums.graalonline.com/forums/showthread.php?t=79397)

Chompy 04-12-2008 05:05 PM

function onServeroptionsChanged()
 
I was wondering if we could get a function that occurred when the server options were changed. Since we can add our own variables into the server options and read them from the 'serveroptions' object, it could be nice to have a function when the server options were changed.

I was thinking of using this for custom effects, e.g mudenabled, secretlevels, loadbaddies (just examples) etc. and I also don't want to use a timeout serverside to check if the changes to the variables has happened..

Chompy 04-19-2008 12:04 AM

Bump.

cbk1994 04-19-2008 04:09 AM

I think for the things you said it's not necessary -- just have a timeout every two minutes or something.

I can't really think of a situation where this is needed ... what's wrong with server flags?


All times are GMT +2. The time now is 12:44 PM.

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