View Single Post
  #8  
Old 03-21-2006, 10:18 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
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.
Reply With Quote