Tile Painter

by AckEmma

A set of tools to help paint or ghost tiles. Select Entities or Draw Shapes that will be filled with your selected tile.

Utilities
3 months ago
1.1 - 2.0
467
Environment

b Edge case crash

2 months ago
(updated 2 months ago)

when using this mod to place space platform foundation over a large area my dedicated server consistently crashes
my guess is tiles in space that are far enough from existing tiles dont technically exist yet (see: limited map movement), so when i tell the mod 'place tiles at x=[OUT OF BOUNDS] and y=[OUT OF BOUNDS] it freaks tf out and combusts.

im not much of a coder but i believe you could tell the mod to ignore tiles outside of the range of existence

it outputs this just before crashing (discord is my fav image host)
https://cdn.discordapp.com/attachments/537661679790456862/1332501941259079793/image.png?ex=67957ca3&is=67942b23&hm=7468d368762324bc0eb3b737e2350839a2580748c04e9e4d339bb8f606978a25&=&quality=lossless

2 months ago
(updated 2 months ago)

I guess as like a side issue, this mod will announce in the dedicated server window anytime anyone clicks anything through any popup menus. Other mods don't do this and is seems like a debug feature so i dont believe its a required thing for the mod

https://cdn.discordapp.com/attachments/537661679790456862/1332558995587596369/image.png?ex=6795b1c6&is=67946046&hm=9d83f9d0f4390f42be17943999217d96227dbfc0c08cd35ebd2e5a85962f3a4c&

2 months ago

Hey there,
the discord links have expired, would you be able to provide more information or another image?

I have tried to replicate the out of bounds error by opening a new map, zooming all the way out and clicking into the void to draw a shape with concrete, also placing space platform foundation out of bounds. Both of these did not cause an error.

Further, I've take a quick look at the code and I don't see any debug output in my version so if you can give a copy of the message it might help me find it.

Thanks for using my mod!

2 months ago

Weird how the links don't work but the content is still hosted in the chat i pasted them in..
heres both images reuploaded to imgur: https://imgur.com/a/ICGaTcb

i find it odd that you cant recreate the first error, but it may only be a dedicated server thing?
the second one is def just a server quirk, it shows up in my dedi server console and in server logs, but not in game chat. and afaik single player doesn't keep logs

2 months ago
(updated 2 months ago)

From those logs I believe it is actually a different mod that has the issues.

https://mods.factorio.com/mod/floor-placer

I can see the the logging code in their source

2 months ago

wait am i stupid

2 months ago

oh damn I'm stupid. I had tried this mod first but it didnt work for what i was using it for so i switched to to floor placer and brain dumb.

2 months ago

if possible can you just delete this whole discussion? lmao

2 months ago
(updated 2 months ago)

LMAO, sure, will shortly
Thanks for bringing that mod to my attention though. I’ve wanted to Lee an eye out for kids that do similar tile tools to integrate them as optional dependencies so players only need one tool

Maybe I’ll see if I have time to do a PR for the other mod to fix the issue

New response