Fill4Me

by kovus

Fill4Me will automatically insert fuel and/or ammunition from your main inventory into entities when you place them. It is mod-agnostic and will learn about items & entities in other mods. It is an alternative to the Autofill mod.

Utilities
4 months ago
0.16 - 2.1
184K

g 2.1.20 Modding Change

2 months ago

47.188 Script @Fill4Me/stdlib/event/event.lua:154: LuaItemPrototype doesn't contain key fuel_category.


- Replaced ItemPrototype::fuel_category with ItemPrototype::fuel_categories.

They changed how to acces the fuel_category.

It's not causing any crashes, but the functionality is probably broken.

2 months ago

It causes the script to crash, thereby disables the entire functionality of the mod.
I tried to fix it locally but the change also appears to change the data type from a string to an array or list and I don't know enough Lua syntax to troubleshoot that part.

a month ago

Anyone having a fix ?

a month ago

https://github.com/ezonius/Fill4Me

This seems to work, I've only done minimal testing for now though, so might be missing edge cases.

a month ago

Is this crash on Ctrl+R related?

The mod Fill4Me (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Fill4Me::fill4me-keybind-reload (ID 261)
__Fill4Me__/fill4me/fill4me.lua:409: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
    [C]: in function 'pairs'
    __Fill4Me__/fill4me/fill4me.lua:409: in function 'load_ammo'
    __Fill4Me__/fill4me/fill4me.lua:289: in function 'fill_entity'
    __Fill4Me__/fill4me/keybinds.lua:44: in function <__Fill4Me__/fill4me/keybinds.lua:39>
a month ago

@Maxorio, it's unrelated, but I've included a potential fix for the crash in my fork

a month ago

@ezonius fork indeed fixes that bad arg error for me.
For those who don't know how to zip the patched mod up: https://lappro.net/static/Fill4Me_1.0.3.zip

a month ago

Is the mod has an issue ? everytime i try using it it wont fill anything even after tinkering the mod settings :/

New response