Companion Drones for 2.0


UPDATE 3.1 Tired of the lonely factory life? This drone(s) will follow, assist, and protect you, handling construction, repairs, combat, and manage its inventory all by itself. Toggle between building and combat roles on the fly with hotkeys or the shortcut bar, fine-tune its behavior with customizeable options, and toggle between Modes to enable progression over time or to make the mod more suitable for large modpacks like Angels or Bob's. Maintained by Maoman

Content
28 days ago
2.0
5.33K
Logistics Combat

g [BUG REPORTS] All reports for version 3.1.0 go here please!

a month ago
(updated a month ago)

We've just release a moderate sized update so I expect some bugs to pop up. Please be detailed and give the exact error if possible.

If you're reporting a bug that you've already brought up once in the other thread, please explain it in full again so I can keep track more easily.

a month ago
(updated a month ago)

Since updating and going back to my previously established save file, my Companion Drone (singular, as I am in Challenge Mode) has seemingly become inept. It'll do the occasional deconstruct I queue for it, but otherwise it just.. doesn't. Do anything. Sometimes I need to put the stuff in it's inventory itself, sometimes I put the stuff in and it just refuses to build either way.

a month ago
(updated a month ago)

Reset-Companions only works to make the drone deconstruct like regular again. However, it no longer likes to pull anything from my inventory anymore, nor place things.. or repair things. It might be worth noting that I currently have a mod on that is increasing my inventory slots WAY over the regular.

a month ago

Very strange. I'll take a look see what I can figure out but I'm not sure what I can do since my companion is behaving normally. Can you upload a copy of your save somewhere and give me a link? That will help me diagnose.

a month ago
(updated a month ago)

Okay so on my machine, the drone deconstructs just fine all the time, but when personal roboport is disabled, it does not construct (I never noticed because my personal roboport is always on). Does that line up with your observations?

I've just released an update that fixes this problem, let me know if it fixed yours too.

a month ago

After installing an update on my already ongoing save, every time im trying to place a new drone I get a crash with this text:

The mod Companion Drones 2.0 (3.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event companion-drones-mjlfix::on_built_entity (ID 6)
companion-drones-mjlfix/script/companion.lua:287: attempt to compare nil with number
stack traceback:
companion-drones-mjlfix/script/companion.lua:287: in function 'new'
companion-drones-mjlfix/script/companion.lua:1258: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>

a month ago
(updated a month ago)

Okay, I am out of town but I'll take a look at it as soon as I get back, probably Wednesday evening.

a month ago
(updated a month ago)

Also them seem super cracked after the update, they are working much faster than usual, it's fine on singleplayer but on multiplayer my friend is lagging hard when he or myself let drones build/dismantle a lot of stuff at once, at the moment we have 2 drones each(4 total) with 10 ticks interval, but I don't think it matters in this situation.

a month ago
(updated a month ago)

Multiplayer is not safe, as it says in the description. There are too many global variables from the original mod author that need to be refactored into player specific tables, it will require a major refactor to make it multiplayer compatible.

a month ago

I'm having the same issue as Shadovek with the crash, will look to downgrade for now

a month ago

Multiplayer is not safe, as it says in the description. There are too many global variables from the original mod author that need to be refactored into player specific tables, it will require a major refactor to make it multiplayer compatible.

Did you do anything with how their lasers work now? Before 3.0 they were pretty conservative with it's usage and only used them on specific items that were to be dismantled, right now I've noticed they are using shit ton of them even if there is less than 100 items to be dismantled, it looks like a spider that crawls towards their target (however dumb that sounds), I think that's the reason why them seem much more powerful but laggy in the current version

25 days ago

Something weird (and fun) happens when I craft a second companion. It acts like a god companion that has infinite reach and infinite laser hands and start working on everything that is pending at once. It would be cool if it wasn't for my potato laptop that cannot handle this greatness

25 days ago

...That's... weird? I have no clue how that could happen lol. What mode are you in, in the settings?

25 days ago

hahah is super weird.
I tried all modes, from 0 to 3. Probably is related to my other mods (have a lot in this save). But my only suspicious is with Bodyguard Companion Drones. Will do a test without that mod.

12 days ago

Hey there, if relevant to you there is a conflict with https://mods.factorio.com/mod/space-exploration
When using their map your drone there and using the interstellar map crashes to menu.

11 days ago

Im in a 15 hs game and 3 hours ago my companion stop doing anything. He doesn't attack or build anymore, doesn't deconstruct or anything else, he's totally useless

10 days ago
(updated 10 days ago)

Is it still following you around or just stuck in one spot? Try typing /reset_companions into the chat/console and see if that fixes it, or picking it up and then placing it down again (if you haven't tried that already)

3 days ago

I've been playing with the drone on Voidblock recently and it's been struggling to build things because it forgets to pick up landfill from my inventory; I have to manually put it in for it to work. It worked somewhat fine earlier...

3 days ago

when I used and hold a blueprint book and want to place the selected blueprint:

Die Mod Companion Drones 2.0 (3.1.2) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event companion-drones-mjlfix::on_pre_build (ID 9)
LuaItemStack doesn't contain key contents.
stack traceback:
[C]: in function 'index'
__companion-drones-mjlfix
/script/companion.lua:2252: in function <companion-drones-mjlfix/script/companion.lua:2240>
(...tail calls...)
companion-drones-mjlfix/script/companion.lua:2281: in function 'get_blueprint_area'
companion-drones-mjlfix/script/companion.lua:2314: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>

New response