[posila] [1.0.0] Lamp lights flicker when lamps collision box is not within a single tile

This subforum contains all the issues which we already resolved.
Post Reply
desto
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jan 22, 2017 11:21 pm
Contact:

[posila] [1.0.0] Lamp lights flicker when lamps collision box is not within a single tile

Post by desto »

Apparently this has been fixed multiple times in the past.
- viewtopic.php?p=443381
- viewtopic.php?t=71729

I attached a bare minimum mod to reproduce the issue. It simply makes the default lamp take up 2x2 tiles instead of just one.
Also a save game is attached. It's a new, empty map with a tiny setup for the lamp to work.

Here is also a video to better visualize the problem -> https://youtu.be/NNiZDLpT30w

I checked on Windows 10 with a new Factorio installation, and on Linux.

Repro:
- Put the mod into the mods folder
- Download the saved game
- Load it and walk to the left, or up
- Place the lamp at an even (or uneven?) coordinate

Result:
Just when the lamp gets out of view, the light becoms brighter.
The light source seems to duplicate or something.

Expect:
The light does not become brighter. This is the case if I walk right or down instead.



Note that this issue only occurs if the lamp is placed any other tile. So if you move the lamp by 1 tile in either direction, this will not happen.
However, if it is moved by 2 tiles or multiples thereof, it will occur as described.

I stumbled upon this when I tried out the "Larger Lamps" mod by Deadlock989.
https://mods.factorio.com/mod/DeadlockLargerLamp
Attachments
lampBug.zip
(1.73 MiB) Downloaded 95 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [1.0.0] Lamp lights flicker when lamps collision box is not within a single tile

Post by posila »

Thanks for the report and minimal reproduction steps.
Fixed for 1.1.0

Post Reply

Return to “Resolved Problems and Bugs”