Peppe wrote:Logistics button is halfway off screen in this update.
I noticed this myself. It's something I'm going to have to look at, but I felt that getting something that works the way I wanted was a bit more important than trying to fix an alignment issue.
Bob's config seems to have no affect on logistics mod as far as the tech unlocks and inserter button / checkbox options.
bob's config -> config.lua no affect:
Code: Select all
-- Logistics mod
-- If set to true, long versions of Burner, Fast, Smart and Express inserters are added.
bobmods.config.logistics.LongInserters = false
-- If set to true, Near (near side of standard belt) and Far (near side of long handed belt) inserters are added. Requires LongInserters to be true
bobmods.config.logistics.NearInserters = false
-- If set to true, short in long out, and long in short out combinations of Near, Standard, Far and Long inserters are added. Requires LongInserters and NearInserters to be true.
bobmods.config.logistics.MoreInserters = false
These are old settings from how it used to work, They're not needed anymore and should be removed.
MAYBE an option to remove the GUI instead.
* Optimise on_tick routine.
Thank you for this! Should drastically improve script speed in multiplayer.
That was the intention. Hopefully I succeeded.
Part of the optimisations include:
Check if tick % 20 == 0. IE, only run 3 times a second.
Don't run the sanity check. Instead of iterating through all players(And crashing if they don't have an entry in the table), it just iterates through the table.
For each entry in the table check the following, in this order.
Is the player connected.
Does it have a targeted inserter
Is the inserter valid? (could have been deleted and not cleared yet)
Is the player in range.
If the first two are true, and either of the last two are false, the GUI will be closed.
Of course, the issue with only checking it 3 times a second is that if someone else mines out the inserter while you're pressing buttons on the GUI, you have those 20 ticks before the next update where it might be possible to cause a crash.