Ran some more checks and zone is crashing, clients in other zones ok. Check Processor during hails of npc with different quest items. Processor load goes from 1%, 10%, 12%, 13%, 100% (5sec), 100% 20sec, 100% till zone dies and clients crash. This was with item on client from 1st in list to 6th in list.
So it seems that the more I call check_hasitem the harder the load on the processor until it dies.
Going to replace created items with standard vendor items and retest.
Edit:
I thought of it after, hailing with no quest items kills client as server processor is maxed. Still I replace all items in script with standard vendor items and it does not change the results.
I replace the check_hasitem with a replacement that c0ncrete sent me, no difference.
BTW, tested on Titanium, SOD and UF.
I just replace the code with a 'Hail with click-able links' but would love to figure out what I am doing wrong.
Thanks,
Gaf
Last edited by Gaflack; 11-28-2012 at 11:57 AM..
Reason: Added Info
|