View Issue Details

IDProjectCategoryLast Update
0007294Valley 1Bug - AVWW MultiplayerApr 29, 2012 7:34 pm
ReporterGUDare Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.004 
Fixed in Version1.006 
Summary0007294: LAG. It's bad now, no idea why
Description1.001 -> 1.004 upgrade. Changing doors gives me blackscreen + run noise time for 3-5 seconds. Mobs are 'freezing in place', then high-tailing it across the screen at me (particularly nasty with ice cross skeles, most commonly having the problem).

It's just... laggy. Horribly laggy. I'm on the same PC as the server, this isn't an internet thing.
TagsNo tags attached.
Internal WeightNew

Activities

Chris_McElligottPark

Apr 28, 2012 9:06 am

administrator   ~0022908

Are there exceptions being logged?

Chris_McElligottPark

Apr 28, 2012 9:37 am

administrator   ~0022911

I can't duplicate on my machine. If there are any error logs that would be really helpful. Thanks!

keith.lamothe

Apr 28, 2012 10:44 am

administrator   ~0022913

For 1.006:

* MP: Added suppression of the "Rejected S_SendUpdateOnLocalClientPlayerEntity because fromPlayerAccount == null" message because it can arise in legitimate circumstances and tends to cause a ton of logging when that happens, causing lag on the server.

That may not be the only thing going on, but it would mess with things. Let us know if it still happens in 1.006+ or if you're seeing it in 1.005+ with no messages showing up in the server log. In either case, having a current copy of your world would help me see if I can reproduce the problem :)

GUDare

Apr 29, 2012 4:46 am

reporter   ~0022984

Last edited: Apr 29, 2012 4:51 am

I'd love to zip and drop a copy of the world but it's now too big for mantis.

However, I haven't personally seen the problem since the upgrade to 1.006.

Seems to have worked. Thanks!

The only items of interest from the problem time (other than the S_SendUpdateOnLocalClientPlayerEntity because fromPlayerAccount == null) was a few (4 of them) items that looked like what follows. They don't always come in pairs like is illustrated below, but those two happened to follow each other in the DebugLog for this one moment and made life easier for copy/paste. I also have no unhandled exceptions since the 1.001 upgrade, so that's definately not the problem. :)


4/27/2012 11:00:07 PM
Entity on NOT ANGLE MAYBE moved on load! Boris: (2521,1535) ... 2555,1472 ... {(2496,1472),(2560,1536),(W64,H64)}

BehaviorType=Normal
Col=39;Row=23Left=2496;Top=1472
LayerCenterWalls;Type=ThawingSnow;SideType=N;BaseAnimator=Ground/ThawingSnow

LayerForegroundMain;Type=ScrubCanadianBlueJointThawing;SideType=N;BaseAnimator=LayerBases/ScrubCanadianBlueJointThawing/ScrubCanadianBlueJointThawingN2

   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination)
   at ArcenDebugging.ArcenDebugLog(System.String Message)
   at GameEntity.RunCollisionCheck()
   at GameEntity.SetCurrentLocationInner(Double NewX, Double NewY, CollisionType CollisionType, Boolean CanCenterCamera, MovementType MovementType)
   at GameEntity.SetCurrentLocation(ArcenPoint Location, CollisionType CollisionType, Boolean CanCenterCamera)
   at Chunk.PerformChunkLoadInitialization(Boolean IsFromTheNetwork, Int32 LoadedChunkVersion)
   at Chunk.TryToLoadFromDisk(Int32 ChunkID, .Region Region)
   at World.GetChunkByPrimaryKeyIDInner(Int32 ChunkPrimaryKeyID, .Region Region)
   at World.GetChunkByPrimaryKeyID(Int32 ChunkPrimaryKeyID, .Region Region, Boolean Keepalive)
   at Ability.GetChunkIfExistsOrGenerateItOnServerOrNullOnClient(.GameEntity EntitySwitchingChunks, Int32 TargetChunkID, .AbilityUseResult Result, .Region Region, Boolean ClientNeedsTheChunkEvenIfEntityIsAlreadyThere, AbilityUseResultType ByRef EarlyOutResultType)
   at Ability.TryExecuteInner(.GameEntity UsingEntity, .GameEntity TargetEntity, .QueuedAbilityUse QueuedAbilityUse, .AbilityUseResult Result)
   at Ability.TryExecute(.GameEntity UsingEntity, .GameEntity TargetEntity, .QueuedAbilityUse QueuedAbilityUse, .AbilityUseResult Result)
   at QueuedAbilityUse.TryExecute()
   at Game.ProcessSimStep()
   at Game.RunNextCycle(Boolean DoRendering)
   at Game.RunFrame()
   at MainCameraLogic.MainUpdateLogic()
   at MainCameraLogic.Update()

4/27/2012 11:11:57 PM
System.DllNotFoundException: AVWWST
  at (wrapper managed-to-native) Steamworks:InitSteam ()
  at Steamworks.Initialize () [0x00000] in <filename unknown>:0

   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination)
   at ArcenDebugging.ArcenDebugLog(System.String Message)
   at Steamworks.Initialize()
   at Game.LoadFirstCriticalData()
   at MainCameraLogic.StartInternal()
   at MainCameraLogic.MainUpdateLogic()
   at MainCameraLogic.Update()

Chris_McElligottPark

Apr 29, 2012 7:34 pm

administrator   ~0023036

Glad that did it! And as for the "Entity on NOT ANGLE MAYBE" thing:

* Removed a small but pointless warning message that could be written to the debug log on loading of existing chunks.

Thanks!

Issue History

Date Modified Username Field Change
Apr 27, 2012 10:47 pm GUDare New Issue
Apr 28, 2012 9:06 am Chris_McElligottPark Note Added: 0022908
Apr 28, 2012 9:37 am Chris_McElligottPark Note Added: 0022911
Apr 28, 2012 9:37 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 28, 2012 9:37 am Chris_McElligottPark Status new => feedback
Apr 28, 2012 10:44 am keith.lamothe Internal Weight => New
Apr 28, 2012 10:44 am keith.lamothe Note Added: 0022913
Apr 28, 2012 10:44 am keith.lamothe Status feedback => resolved
Apr 28, 2012 10:44 am keith.lamothe Fixed in Version => 1.006
Apr 28, 2012 10:44 am keith.lamothe Resolution open => fixed
Apr 29, 2012 4:46 am GUDare Note Added: 0022984
Apr 29, 2012 4:46 am GUDare Note Edited: 0022984
Apr 29, 2012 4:51 am GUDare Note Edited: 0022984
Apr 29, 2012 4:51 am GUDare Note Edited: 0022984
Apr 29, 2012 7:34 pm Chris_McElligottPark Note Added: 0023036