Factory Search


Search your factory for items, fluids, entities, signals, tags and more with Shift + F. Displays a list of matching buildings: clicking on a result opens it in the map. Can search all planets/surfaces (Space Age, Space Exploration, etc). Alt + Shift + Click on anything (e.g. built entity, inventory item, recipe) to open the search with that item selected. Similar to BeastFinder and Where is it Made?

Utilities
a month ago
1.1 - 2.0
94.6K

b [Fixed-1.6.1] Crash when searching multiple surfaces

3 years ago

The new version (1.6.0) crash averytime I trie to search some item:


6483.471 Error MainLoop.cpp:1284: Exception at tick 104949459: The mod Factory Search (1.6.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event FactorySearch::on_gui_elem_changed (ID 69)
FactorySearch/scripts/search.lua:258: attempt to index local 'force' (a nil value)
stack traceback:
FactorySearch/scripts/search.lua:258: in function 'find_machines'
FactorySearch/scripts/ui.lua:575: in function 'start_search'
FactorySearch/scripts/ui.lua:602: in function <FactorySearch/scripts/ui.lua:595>


Thanks

3 years ago

Thanks for the report - I've had a look and it looked like an extremely easy-to-fix bug but I've tried and I've got absolutely no idea. I'll try again later today...

3 years ago

Well I've removed the thing that I suspect may be responsible, but I have no idea if it will actually fix it. Please try out v1.6.1 and let me know how it goes!

3 years ago

I realise now what is going in, and 1.6.1 definitely fixes it. The crash only occurred when searching through multiple surfaces :)

3 years ago

It's working now!

Thanks.

New response