View Single Post
  #52  
Old 06-13-2009, 10:30 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by DustyPorViva View Post
Lag will most likely come from having to load the NPC's when the player enters a level. There may also be some lag associated with gani's/showcharacters. Classic already lags a hefty amount when too many other players are visible... like I said though, I'm not sure if that's because of how it handles other players or because of all the showcharacters(disabling nicks helps, but it's still noticeable).

Whenever you enter a level, it has to load all NPCs be it local or dynamic(putnpc2 and such). I can notice it when I enter a level with a lot of bushes, because it will freeze upwards to a second or two. It's not just as simple as how much script is running.

Just remember, every object(bush/vase/sign) is an NPC, bombs are NPCs, then calculate loading players as well... and who knows what else. It would be fairly easy to create something like this to test the limits, however.
if people were really this worried about adding 15 or so NPCs with 3 lines of code I wonder if they'd be opposed to an increase in the playercount of 15 players.
Reply With Quote