View Issue Details

IDProjectCategoryLast Update
0006860Valley 1Bug - AVWW MultiplayerApr 19, 2012 7:04 pm
Reporternickmame Assigned ToChris_McElligottPark  
Status resolvedResolutionopen 
Product Version0.913 
Fixed in Version0.934 
Summary0006860: Bad pathing for NPC in rescue mission
DescriptionDuring a rescue mission in multiplayer, the NPC could not keep up with two players moving at walking speed. It would either not move despite there being no obstructions, move backwards despite both players moving forward, or get stuck in a corner of the geometry. This made the mission impossible and required one player to use an escape scroll to exit the mission.

Whilst this happened, no monsters spawned from the monster spawners for the ten minutes we tried to escort the NPC back. We attempted another rescue mission on the same server to the same effect. This happened when both players had a poor network connection to the server.
TagsNo tags attached.
Internal WeightDiscussion Only

Activities

TechSY730

Mar 25, 2012 10:18 pm

reporter   ~0021362

Pretty sure many of these issues were fixed in .914

Can you try again in .915 and see if this still pops up?

Chris_McElligottPark

Mar 26, 2012 10:07 am

administrator   ~0021375

Ah, yes -- glad to see that this was 0.913 -- there were a _ton_ of issues there along these lines that were resolved in 0.914.

nickmame

Mar 26, 2012 10:43 pm

reporter   ~0021408

It's improved in .915 in that monsters spawn and it's possible to complete the mission. The NPC would still get stuck on corners of the geometry until a player would run up to it, and the NPC would still move backwards when both players moved forwards. It seems like the NPC moves two feet backwards then three feet forward.

Chris_McElligottPark

Mar 28, 2012 8:27 pm

administrator   ~0021527

The NPC is moving towards your last known position on the server, which might be a little behind depending on lag. It should be following you, but just kind of shadowing your position a bit belatedly (again, depending on lag). Is this what you're seeing?

nickmame

Mar 28, 2012 9:13 pm

reporter  

stucked.jpg (275,886 bytes)

nickmame

Mar 28, 2012 9:14 pm

reporter   ~0021531

It could be, I tend to stop and turn around a lot because I have to wait for the NPC to catch up. If it mirrors my movement, then it could be moving backwards at the same places where I turned around. However, this happens a good 10+ seconds after my movement since the NPC moves so slow with extreme lag.

We've experienced two quirks with behaviors (.916):
1) If we stand still a screen ahead of the NPC, it will move towards us - but it will move several steps backwards every so often.

2) If we move past sharp geometry, it will get stuck. We have to go back to it and jump around a bit until it frees itself. This is likely because we are always 1-2 screens ahead of the NPC.

The propensity to get stuck is really why I started this issue. I've attached a screenshot (.916) that shows an instance where we managed to get the NPC stuck. This one was almost a mission-breaker before I managed to lure an enemy into his range which freed him. For some reason the NPC seems to have better pathing and speed when enemies are involved - likely because it stops trying to follow a laggy player.

Chris_McElligottPark

Mar 28, 2012 11:13 pm

administrator   ~0021538

Really neither should be happening -- in solo play I don't see it getting stuck or anything of that kind. I've not tested these missions out in MP, though, so I don't know if this is lag-induced or just something that is a general bug in MP.

We'll have to investigate it further, thanks for clarifying in such detail what it's doing at this point; that really helps.

Josh, in the morning can you see if you can duplicate this with your own local server and world? And if not, I can give you an SVN build with the lag simulation in place so that you can see if it happens under lag.

tigersfan

Mar 29, 2012 6:23 am

reporter   ~0021553

Yeah, I can duplicate this actually fairly easily, without the fake lag.

Chris_McElligottPark

Apr 18, 2012 3:10 pm

administrator   ~0022318

Josh, can you see if you can duplicate this in the latest release? 0.930 fixed some things about MP in general, and may have helped with this (or may not have, depending on exactly what is happening here).

tigersfan

Apr 19, 2012 7:04 pm

reporter   ~0022434

This is fixed now.

Issue History

Date Modified Username Field Change
Mar 25, 2012 9:54 pm nickmame New Issue
Mar 25, 2012 10:18 pm TechSY730 Note Added: 0021362
Mar 26, 2012 8:58 am tigersfan Internal Weight => Discussion Only
Mar 26, 2012 8:58 am tigersfan Status new => feedback
Mar 26, 2012 10:07 am Chris_McElligottPark Note Added: 0021375
Mar 26, 2012 10:43 pm nickmame Note Added: 0021408
Mar 26, 2012 10:43 pm nickmame Status feedback => new
Mar 28, 2012 8:27 pm Chris_McElligottPark Note Added: 0021527
Mar 28, 2012 9:13 pm nickmame File Added: stucked.jpg
Mar 28, 2012 9:14 pm nickmame Note Added: 0021531
Mar 28, 2012 11:13 pm Chris_McElligottPark Note Added: 0021538
Mar 28, 2012 11:13 pm Chris_McElligottPark Assigned To => tigersfan
Mar 28, 2012 11:13 pm Chris_McElligottPark Status new => assigned
Mar 29, 2012 6:23 am tigersfan Note Added: 0021553
Apr 12, 2012 9:03 am tigersfan Assigned To tigersfan => Chris_McElligottPark
Apr 18, 2012 3:10 pm Chris_McElligottPark Note Added: 0022318
Apr 18, 2012 3:10 pm Chris_McElligottPark Status assigned => feedback
Apr 19, 2012 7:04 pm tigersfan Note Added: 0022434
Apr 19, 2012 7:04 pm tigersfan Status feedback => resolved
Apr 19, 2012 7:04 pm tigersfan Fixed in Version => 0.934