Search found 3 matches

by feyry
Mon Jan 06, 2025 10:50 pm
Forum: Resolved Problems and Bugs
Topic: [boskid][2.0.29] lua print following gps tag suppresses map ping
Replies: 1
Views: 838

[boskid][2.0.29] lua print following gps tag suppresses map ping

When printing a gps tag to ping a location, if there are additional prints after the gps tag, the ping will not appear unless the ping text in the console is clicked

To replicate run the following script
local surface = game.player.surface
surface.print("position [" .. "gps=" .. 5.5 .. "," .. 5.5 ...
by feyry
Sat Dec 28, 2024 2:26 am
Forum: Resolved Problems and Bugs
Topic: [boskid][2.0.28] scripting: LuaTransportLine.get_line_item_position() assumes transport line is straight
Replies: 2
Views: 961

[boskid][2.0.28] scripting: LuaTransportLine.get_line_item_position() assumes transport line is straight

12-27-2024, 19-15-22.png

The get_line_item_position function of LuaTransportLine is returning a MapPosition outside the LuaTransportLine, it appears to be assuming the line is straight (perhaps inheriting behavior from the LuaEntity the LuaTransportLine belongs to ?)

To replicate the bug, create ...

Go to advanced search