Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   new TServerPlayer Parameters (https://forums.graalonline.com/forums/showthread.php?t=134265638)

ffcmike 01-27-2012 09:57 PM

new TServerPlayer Parameters
 
Sometimes when creating a lot of offline players objects, it can be a consuming process on the server. Presumably much of this script time would be the result of the automatic loading of attributes from the player and then storing it on the object.

But what if you have no need to read variables from an offline player, and only want to write to them?
It would be a faster process if you could specify some form of parameter to avoid the automatic attribute loading. Even better, assuming it would produce some improvement on script time, would be to have some way to specify which types of variables you want to load, such as client., clientr., built-in or normal non built-in variables.

scriptless 01-28-2012 02:35 AM

Quote:

Originally Posted by ffcmike (Post 1682879)
Sometimes when creating a lot of offline players objects, it can be a consuming process on the server. Presumably much of this script time would be the result of the automatic loading of attributes from the player and then storing it on the object.

But what if you have no need to read variables from an offline player, and only want to write to them?
It would be a faster process if you could specify some form of parameter to avoid the automatic attribute loading. Even better, assuming it would produce some improvement on script time, would be to have some way to specify which types of variables you want to load, such as client., clientr., built-in or normal non built-in variables.

I wasn't aware you could load offline player attributes. I have searched the forums but not-yet find anything on how.

fowlplay4 01-28-2012 03:54 AM

Quote:

Originally Posted by scriptless (Post 1682914)
I wasn't aware you could load offline player attributes. I have searched the forums but not-yet find anything on how.

Try my findplayer2() function:
http://forums.graalonline.com/forums...hp?t=134257294


All times are GMT +2. The time now is 05:29 AM.

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