NeverwinterConnections.com

   NeverwinterConnections.com
   Main Topics
   General Discussion

   the attack of the lag
Pages: 1  
   Author  Topic: the attack of the lag  (Read 92 times)
The twin brother

Extreme Poster


Last On: 11/19/08
View Profile
Message Player

Israel

Posts: 535
the attack of the lag
Return To Top       

last night in my campaign lag attacked us.
it wasn't gamespy cause it was only my server.
at first I thought it was the scripts which some stayed open but seems not.

if the lag was because NPCs who stays at a place from the start then I clean them now.
my module is 101 areas when 6 areas are bigger than 16x16 is this what causes the lag?

I.P. Logged
Lazybones

Forum God


Last On: 12/31/11
View Profile
Message Player

United States

Posts: 4695

Return To Top       

I have noticed that the following things cause lag on my machine. These comments are for NWN1:

  • Large areas, especially greater than 16x16; I try to keep them to 14x14 or less if possible. Remember that a 32x32 area has four times as many tiles as a 16x16 area, and ten times as many tiles as a 10x10 area.
  • Lots of placeables, especially if placed on the border lines connecting tiles.
  • Lots of NPCs, especially those with busy scripts (heartbeats, etc.). I find I can handle about 15 creatures/NPCs "on screen" at once, assuming a full group of players (i.e. 5-7). Sometimes this requires tricks to create an illusion of a big city or large enemy encampment.
  • Having a lot of dead bodies and unclaimed loot lying around your areas. There are trash cleaning scripts out there that can help with this.
  • Lots of high-overhead scripts (like heartbeats that fire every six seconds). There are tricks to handling heartbeats, like putting them on a placeable and only spawning them in when needed. You can also cache some scripts for extra speed, but that becomes a diminishing return the larger that cache gets.
  • Lots of graphic effects on screen at once. This includes the VFX that accompany buff spells. I have known some DMs that have actually changed the module scripts to remove buff VFX for this reason. I don't consider it enough of a problem to take this step.
  • ISP problems (I use SBC/AT&T DSL, and sometimes I get connection issues, though those tend to be disconnects rather than lag most times).

« Last Edit: on: Apr 21, 2007, 3:04PM » I.P. Logged
The twin brother

Extreme Poster


Last On: 11/19/08
View Profile
Message Player

Israel

Posts: 535

Return To Top       

thanks.
the larger areas I have between those 6 specific areas is only 18X18 (even lower) so I don't think that's the main problem.

so I think the only two options from what you wrote are the placeables (lots of things in locked rooms which players not suppose to enter. I don't know why I did this actualy. maybe I thought it will be with a need) and the unlooted things which don't go away. from where do I get the trash cleaning scripts?

I.P. Logged
Lazybones

Forum God


Last On: 12/31/11
View Profile
Message Player

United States

Posts: 4695

Return To Top       

on Apr 21, 2007, 4:00 PM, The twin brother wrote:
from where do I get the trash cleaning scripts?

http://nwvault.ign.com/

Search for "Trash" and look under NWN1 Scripts. There are lots to choose from; I have not used them specifically so I cannot give a recommendation. I prefer to limit loot drops to avoid the problem, plus I only run my server for two hours at a stretch, so excess loot doesn't pile up.

Maybe someone else can recommend a good script that's worked for them.

« Last Edit: on: Apr 21, 2007, 4:12PM » I.P. Logged
Mulu

Forum God


Last On: 01/20/12
View Profile
Message Player

United States

Posts: 2438

Return To Top       

That's a good list. The only thing I'd add is large PC inventories, though it has to be pretty bad to have an effect (lots of bags full of items).

I.P. Logged
NWN DM

Forum God


Last On: 02/09/12
View Profile
Message Player

Canada

Posts: 724

Return To Top       

Yeah, large PC files will do it.

Most servers have a strict rule about the number of bags of holding etc... each player can have in their possession as a result.

I.P. Logged
Pages: 1  
Moderators: No, Deusin, Rizzen, Shinji, Gilaun, Garnak, J'Dai Voisin, Lazybones, Ochobee, Eliandi
   NeverwinterConnections.com
   Main Topics
   General Discussion

   the attack of the lag

 
Copyright © 2002 Shawn Schultz. All rights reserved.
All trademarks are properties of their respective owners. Read our Terms of Use and our Privacy Policy.