ID:1887743
 
Resolved
Movable atoms' locs var returned incorrect results in some cases.
BYOND Version:508.1291
Operating System:Windows 8.1 Pro 64-bit
Web Browser:Chrome 43.0.2357.130
Applies to:Dream Daemon
Status: Resolved (508.1292)

This issue has been resolved.
Descriptive Problem Summary:
Collision detection fails in certain conditions: http://i.imgur.com/LbH9dRR.gif

Requires pixel movement:
From the south, you can enter dense tiles between their east and west edges.
From the east, you can enter dense tiles below their north edge.

Expected Results:
Can't enter dense stuff.

Actual Results:
Can enter dense stuff.

Does the problem occur:
Every time? Or how often? v
In other games? yes (first noticed in Epoch, also occurs in basic test projects)
In other user accounts? yes
On other computers? yes

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
This bug is new to 1291.
Rats. Do you have the test project handy? I'd like to get this fixed as soon as possible.
http://puu.sh/iLwR2/fc47b7c7be.zip

It seems to be an error in detecting tile crossing. In this demo, there are dense red squares that behave differently depending on their alignment with the tiles.
Wow. Found this and it was an incredibly stupid typo.
Lummox JR resolved issue with message:
Movable atoms' locs var returned incorrect results in some cases.
Was this caused by the pathfinding upgrade or stuff you were doing for the webclient?
No, I just noticed that the routine responsible for reading atom.locs was really inefficient. I tested the change but apparently not well enough.