Veladarius Posted March 4, 2018 Posted March 4, 2018 I am looking at some options on the rebuilding of For the Masses and currently all the rings that add items end up referring to a single function to add the devices. This setup is causing some lag and when changing cells if a generic npc was to receive items but is no longer there it can cause issues though I have safeguards against it. I am looking at several things to speed up the process and eliminate the bottleneck First is to use either form lists or something similar with all of the device data so it isn't using the DD lookup functions to increase the speed in which devices are equipped as these functions slow things down quite a bit. Second is to have the entire process be handled by the script on the ring. Pro - no queue to add items to npc's and an overall simpler setup. Con - all npc's would be having items added at once and could cause major lag if a number of npc's are getting a number of devices. Third, and my primary question of the topic - is it faster to look up variables from a global variable or by linking directly to a central script and getting the data from there? Overall I am looking to simplify the process and streamline it so it works better, I believe part of the issue with devices being used on males when not supposed to or no keys is due to it being in the middle of trying to equip items on an npc and they 'disappear' as they are no longer loaded. If I can eliminate as much of the lag as possible it should work much faster and much more reliably.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.