notnotmelon / factorissimo-2-notnotmelon

Factorissimo adds factory buildings to Factorio. Place them down, walk in, build your factories inside!
https://mods.factorio.com/mod/factorissimo-2-notnotmelon
MIT License
13 stars 9 forks source link

mod compatibility - put construction robot upgrade behind a mod setting #86

Open DanPli opened 1 week ago

DanPli commented 1 week ago

If using a mod that changes construction robots (remove vanilla ones, replacing them with tiers of drones), the research that unlocks factorissimos construction robots upgrade will cause never-ending logistic alerts, since the logistic request for the vanilla drones can never be fulfilled. Deleting the request manually in every building does not help, since it seems to come back automatically after a reload/restart.

Please make that particular technology optional via mod setting.

Thanks :)

JamesMDenton commented 1 week ago

Have you found any way to fix this? Having most of my map flashing and the constant unfulfilled requests is really bad. And I've progressed WAY to far to roll back before the technology

DoomSquirter commented 6 days ago

I had to expand all my factories into my logistics zones and then make a bunch of packed construction bots available

it doesn't seem to happen every world load but only after you restart factorio then load the world

I've also had it reoccur in the same save twice when I researched recursion. it seemed to reset everything.

if you aren't able to craft the packed construction bots I have no clue how you would stop the alerts.

note: I just restarted everything to test. My alerts did not reappear. so giving them what they asked for seemed to have done the trick.

DancingDolphins commented 6 days ago

I have the same question too

MaxAstro commented 5 days ago

Have you found any way to fix this? Having most of my map flashing and the constant unfulfilled requests is really bad. And I've progressed WAY to far to roll back before the technology

If you are comfortable editing the mod's scripts, you can fix this by finding the file robotport.lua in the folder Script inside the mod zip file, finding the function set_default_roboport_construction_robot_request, and replace the entire content of that function with just:

local function set_default_roboport_construction_robot_request(roboport, count)
return 0
end

That will make the alerts go away.

Toys0125 commented 4 days ago

I agree it should be a mod setting because it would be up to the mod authors of the bot mods to add support for factorissimo.

MaxAstro commented 4 days ago

Honestly, rather than the tech itself being a mod setting, whether or not the factories automatically request robots should be a setting.

The tech works fine with modded bots.

JamesMDenton commented 3 days ago

Honestly, rather than the tech itself being a mod setting, whether or not the factories automatically request robots should be a setting.

The tech works fine with modded bots.

I 100% agree

MaxAstro commented 8 hours ago

Just wanted to mention, after updating to 3.5.18, I'm still getting the alerts coming back after changing which mods are enabled.

JamesMDenton commented 5 hours ago

Have you found any way to fix this? Having most of my map flashing and the constant unfulfilled requests is really bad. And I've progressed WAY to far to roll back before the technology

If you are comfortable editing the mod's scripts, you can fix this by finding the file robotport.lua in the folder Script inside the mod zip file, finding the function set_default_roboport_construction_robot_request, and replace the entire content of that function with just:

local function set_default_roboport_construction_robot_request(roboport, count)
return 0
end

That will make the alerts go away.

Plus I can't update to 3.5.18 without my game crashing after using this fix, even if I don't reapply the fix (and also if I do). I get an attempt to index field event error.