Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-27-2012, 09:57 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
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.
Reply With Quote
  #2  
Old 01-28-2012, 02:35 AM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by ffcmike View Post
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.
Reply With Quote
  #3  
Old 01-28-2012, 03:54 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by scriptless View Post
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
__________________
Quote:
Reply With Quote
Reply


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 06:18 PM.


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