Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-26-2006, 11:41 PM
Maniaman Maniaman is offline
Registered User
Join Date: Aug 2005
Posts: 326
Maniaman is on a distinguished road
Server Load

It would be nice if there was some way to determine the current server load with the new scripting engine. This could be used to disable certain features on servers when the load gets too high.

For example:
NPC Code:

function IntensiveProcess() {
if (serverload < 20) {
//do stuff
} else {
say2("The server load is currently too high! Please try again later.");
}
}



For Maloria, I would use it to disable certain things like mass messages with the message system (/mass blah blah), as those require the server to loop through every player and set strings.
__________________

Current Maloria Event: (click to go to it)
Reply With Quote
 


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 03:46 AM.


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