ID:2950898
 
BYOND Version:515
Operating System:Windows 11 Pro
Web Browser:Firefox 132.0
Applies to:Dream Seeker
Status: Test case needed

A compile-ready test project that can reproduce this issue reliably is required. You can help us out by editing your report or providing a link to the zipped source for your test case.
Descriptive Problem Summary:
When running the game under any version below 1645, there's no issue with calling step_to(mob2, mob1) and the mob will move on top (density set to false for the target)

Numbered Steps to Reproduce Problem:
-> Update / install byond 1645
-> have 2 mobs
-> have 1 without density
-> step_to from the mob with density to the one without

Code Snippet (if applicable) to Reproduce Problem:
/proc/main()
var/mob/mob1 = new(locate(1,1,1))
var/mob/mob2 = new(locate(2,1,1))
mob1.density = 0
if(step_to(mob2, mob1))
world.log << "success"


Expected Results:
To get to the same turf as the target

Actual Results:
The mob stops one turf before the step_to target

Does the problem occur:
Every time? Or how often? Every time
In other games? Only tested on SS13
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?
When rolling back to any version before 1645

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.)
It works fine in lower versions than 1645

Workarounds:
Rolling back to previous versions
Lummox JR changed status to 'Test case needed'
I need a test case for a report like this so I can be sure we're on the same page.
It does seem like there has been a change from 515.1644 -> 515.1645:

/*
These are simple defaults for your project.
*/


/world
fps = 25 // 25 frames per second
icon_size = 32 // 32x32 icon size by default

view = 6 // show up to 6 tiles outward from center (13x13 view)
maxx = 14
maxy = 14
maxz = 1


// Make objects move 8 pixels per tick when walking

/mob
step_size = 8

/obj
step_size = 8

/client/New()
. = ..()
src << "[world.byond_version].[world.byond_build]"
var/mob/mob1 = new(locate(1,1,1))
var/mob/mob2 = new(locate(2,1,1))
mob1.density = 1
mob2.density = 0
if(step_to(mob2, mob1))
src << "success"
else
src << "failure"


Login to reply.