Page 1 of 1

[kovarex] [1.1.19] Infinite build reach

Posted: Mon Feb 01, 2021 5:38 pm
by jvj24601
In my current 1.19.1 save, I seem to have infinite build range, but only normal reach. I can build instantly, from inventory, anywhere in the world that's not under fog of war, even in map view.

Active mods:
  • Attach Notes
  • Bottleneck
  • Bulk Rail Loader
  • C&C Low Power Alerts
  • Factorio Library
  • Helmod
  • LTN
  • LTN Combinator for 1.1
  • RSO
  • Tapeline
  • Thicker Power Wires
  • Vehicle Snap
  • YARM


What did you do?
Zoom all the way out, then attempt to place any building from inventory far away from the player. Enter map view, then attempt to place any building from inventory far away from the player.

What happened?
The building is instantly placed. This happens both inside and outside of a construction network.

What did you expect to happen instead? It might be obvious to you, but do it anyway!
The game should refuse to place the building with a "cannot reach" message, or allow construction bots to place the building. Problem is not affected by restarting the game.

Re: [1.1.19] Infinite build reach

Posted: Mon Feb 01, 2021 5:42 pm
by bormand
Was Long Reach mod installed on this save? AFAIK, it permanently modifies reach radius.

Re: [kovarex] [1.1.19] Infinite build reach

Posted: Mon Feb 01, 2021 5:54 pm
by boskid
95556.png
95556.png (130.43 KiB) Viewed 1539 times
-- edit:
mod "Tapeline" messes with character build distance:

Code: Select all

  elseif holding_tl_tool(player) then
    player_table.flags.holding_tool = true
    player.cursor_stack.set_stack{name = "tl-tool", count = 100}
    set_cursor_label(player, player_table)
    if player.controller_type == defines.controllers.character then
      -- increase build distance
      player_table.flags.increased_build_distance = true
      player.character_build_distance_bonus = player.character_build_distance_bonus + 1000000
    end
  end

Re: [kovarex] [1.1.19] Infinite build reach

Posted: Mon Feb 01, 2021 6:05 pm
by raiguard
boskid wrote: Mon Feb 01, 2021 5:54 pm 95556.png

-- edit:
mod "Tapeline" messes with character build distance:

Code: Select all

  elseif holding_tl_tool(player) then
    player_table.flags.holding_tool = true
    player.cursor_stack.set_stack{name = "tl-tool", count = 100}
    set_cursor_label(player, player_table)
    if player.controller_type == defines.controllers.character then
      -- increase build distance
      player_table.flags.increased_build_distance = true
      player.character_build_distance_bonus = player.character_build_distance_bonus + 1000000
    end
  end
I will investigate this when I have the chance. Thanks for letting me know!

Re: [kovarex] [1.1.19] Infinite build reach

Posted: Tue Feb 02, 2021 5:41 am
by raiguard
jvj, I've fixed the issue and released a new version of Tapeline. It should also fix your borked build distance when you update, but please let me know if you have any issues. Thanks!