Quote:
|
Originally Posted by jake13jake
I just wrote an entire post explaining this, but now I'm pissed because it got deleted because the internet sucks.
It used 30% of the CPU on a gmap with an extremely large number for npcs.size(). I had rid of all the lag problems for myself and any of my testers, but a few players got hit by it. I reduced the amount of CPU greatly by using findareanpcs. I believe a findareaplayers would be helpful but not quite as much as findareanpcs was. It would also be quite helpful if you could attach showimgs to players[i] on a strictly local level of interpretation.
|
I have a similar system, but showing NPC nicknames was still causing quite a bit of lag on gmaps. So I just disabled NPC names from gmaps.
