[MOD 0.15.15+] FNEI Mod

Topics and discussion about specific mods
Post Reply
_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.10

Post by _npo6ka_ »

SuperSandro2000 wrote: ↑
Mon Nov 05, 2018 9:18 pm
Why did you disable open tech? I liked that feature.
Perhaps I did not correctly describe the changes, but it should be like this: Now everyone can open the technology tree from the default FNEI interface.

_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.9

Post by _npo6ka_ »

mentlerd wrote: ↑
Sun Nov 04, 2018 12:14 am
First of all, awesome mod. Made my life a lot easier recently when I started bobs'n'angels. :D

I took the liberty and did some updates to the codebase, and opened two pull requests on github.

#1 Added an external interface to localised item name search

Localised item name search is a topic that everyone wants, but cannot really have due to how the internal Factorio API works. I have added an extension point where an other mod could modify name of an item used in a search. This extension point allows for mods to register a name override for a specific item in NEI, essentially enabling users to create locale specific mods for search.

I am also working on a Python script that scrapes all installed mods for translation strings (will release that later).

This is meeting the localised search problem mid-way, allowing users to bake a specific locales names into a mod, and install it on a per-server basis. Without the need to burn it into NEI.

#2 Added implicit recipes for mining/pumping

This is taken shamelessly from the issue tracker on github. I have added 'fake' recipes for anything that can be mined/pumped from entities on the map. A gif probably says more than words about both features:

Image

I have tested this on in a two player multiplayer, not sure about performance/stability on bigger servers tough.
Thank you very much for your efforts. I really appreciate it and will be glad to any help in the development of this mod. I added your changes with some modifications. Now everything should work properly ;)

User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.10

Post by SuperSandro2000 »

_npo6ka_ wrote: ↑
Mon Nov 05, 2018 10:14 pm
SuperSandro2000 wrote: ↑
Mon Nov 05, 2018 9:18 pm
Why did you disable open tech? I liked that feature.
Perhaps I did not correctly describe the changes, but it should be like this: Now everyone can open the technology tree from the default FNEI interface.
Oh, sorry. I thought you removed that feature. Thanks for clearing up.

Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by Sander_Bouwhuis »

1. Remove buggy favorites
I encounter strange bugs where there are recipes that don't actually work.
After I favorited them, I also can't remove them anymore.

How can I remove favorites?
Alt-clicking them doesn't work, and pressing the 'favorite star' also doesn't work.

Is there an .ini file of sorts where the current settings are (so I can clear them)?

Any help is appreciated.

Edit:
I managed to fix it myself:
1. Save your map
2. Quit the map
3. Go to Mods
4. Disable FNEI
5. Restart Factorio
6. Load the map
7. Save the map
8. Quit the map
9. Go to Mods
10. Enable FNEI
11. Restart Factorio
12. Load the map

Now the bugs should be gone.

2. FNEI
What does FNEI mean? Is it an anagram for something?

3. Admin options
What does the admin option 'Show hidden technologies' do?

immortal_sniper1
Filter Inserter
Filter Inserter
Posts: 771
Joined: Sun Jun 03, 2018 8:54 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by immortal_sniper1 »

is there a way to view all recipes that are craftabele in a certain building?

Unifire
Inserter
Inserter
Posts: 29
Joined: Tue Apr 26, 2016 1:34 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by Unifire »

Hi i was wondering if there are people having a solution for this "bug" https://mods.factorio.com/mod/FNEI/disc ... 000d1bceca

Also it only happens if you look for the recipe of a material (left clicking on a item),
if you look for the usage of a material (right clicking on a item) everything works fine.
In the attachment you can see the log file

thx for any info regarding this bug

Ok i just did some testing with my mods
If i use these mods from my modlist i get the bug BUT if i disable bob's ores OR Omnimatter Ore Deblocker i don't experience the bug
Angels Refining 0.9.14
Bob's Lib 0.16.6
Bob's ores 0.16.2
FNEI 0.1.12
Omni Lib 2.0.46
Omnimatter 2.0.26
Omnimatter Ore Deblocker 0.16.2
RSO 3.8.2
Attachments
Factorio log.png
Factorio log.png (223.42 KiB) Viewed 6719 times

unkst4ck3r
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jan 05, 2019 6:57 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by unkst4ck3r »

Hi, is there an option to actually use the recipes from the quickbar to the left? Don't know anything about modding or if this is possible but it would be a huge improvement as far as I am concerned.

Or I just havent figured out how to do it...

salbris
Inserter
Inserter
Posts: 43
Joined: Sun May 24, 2015 4:50 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by salbris »

Unifire wrote: ↑
Thu Dec 27, 2018 9:04 pm
Hi i was wondering if there are people having a solution for this "bug" https://mods.factorio.com/mod/FNEI/disc ... 000d1bceca
I just ran into this bug with Pyanodon's mods when I clicked on SynGas from the search both the FNEI window and icon disappeared. Restarting the game does not fix it.

kaszak696
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jan 19, 2018 9:07 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by kaszak696 »

salbris wrote: ↑
Mon Jan 07, 2019 12:47 am
Unifire wrote: ↑
Thu Dec 27, 2018 9:04 pm
Hi i was wondering if there are people having a solution for this "bug" https://mods.factorio.com/mod/FNEI/disc ... 000d1bceca
I just ran into this bug with Pyanodon's mods when I clicked on SynGas from the search both the FNEI window and icon disappeared. Restarting the game does not fix it.
I have the same issue when trying to view "Raw Borax" recipe, the window and button both disappear, and these errors appear in Factorio log:

Code: Select all

1835.110 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  main button item-craft  return error!
1835.113 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:28: in function 'open'
	__FNEI__/scripts/controller.lua:111: in function 'open_gui_event'
	__FNEI__/scripts/controller.lua:102: in function 'open_event'
	__FNEI__/scripts/main/controllers/default.lua:55: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
1974.749 Info AppManager.cpp:275: Saving to _autosave1 (blocking).
1976.305 Info AppManagerStates.cpp:1716: Saving finished
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  recipe choose-elem-button item  return error!
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:271: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
Using the "Ctrl + E" keyboard shortcut brings back the FNEI window and the button.

_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by _npo6ka_ »

kaszak696 wrote: ↑
Thu Mar 14, 2019 10:42 am
salbris wrote: ↑
Mon Jan 07, 2019 12:47 am
Unifire wrote: ↑
Thu Dec 27, 2018 9:04 pm
Hi i was wondering if there are people having a solution for this "bug" https://mods.factorio.com/mod/FNEI/disc ... 000d1bceca
I just ran into this bug with Pyanodon's mods when I clicked on SynGas from the search both the FNEI window and icon disappeared. Restarting the game does not fix it.
I have the same issue when trying to view "Raw Borax" recipe, the window and button both disappear, and these errors appear in Factorio log:

Code: Select all

1835.110 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  main button item-craft  return error!
1835.113 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:28: in function 'open'
	__FNEI__/scripts/controller.lua:111: in function 'open_gui_event'
	__FNEI__/scripts/controller.lua:102: in function 'open_event'
	__FNEI__/scripts/main/controllers/default.lua:55: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
1974.749 Info AppManager.cpp:275: Saving to _autosave1 (blocking).
1976.305 Info AppManagerStates.cpp:1716: Saving finished
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  recipe choose-elem-button item  return error!
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:271: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
Using the "Ctrl + E" keyboard shortcut brings back the FNEI window and the button.
Thanks for your feedback.
I will try to solve this problem today.

reapersms
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun Jun 17, 2018 4:55 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.1

Post by reapersms »

Reported that one earlier. Pymods has borax and niobium as both resource and crafting categories.

workaround is to ignore the borax and niobium mine buildings

_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by _npo6ka_ »

kaszak696 wrote: ↑
Thu Mar 14, 2019 10:42 am
salbris wrote: ↑
Mon Jan 07, 2019 12:47 am
Unifire wrote: ↑
Thu Dec 27, 2018 9:04 pm
Hi i was wondering if there are people having a solution for this "bug" https://mods.factorio.com/mod/FNEI/disc ... 000d1bceca
I just ran into this bug with Pyanodon's mods when I clicked on SynGas from the search both the FNEI window and icon disappeared. Restarting the game does not fix it.
I have the same issue when trying to view "Raw Borax" recipe, the window and button both disappear, and these errors appear in Factorio log:

Code: Select all

1835.110 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  main button item-craft  return error!
1835.113 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:28: in function 'open'
	__FNEI__/scripts/controller.lua:111: in function 'open_gui_event'
	__FNEI__/scripts/controller.lua:102: in function 'open_event'
	__FNEI__/scripts/main/controllers/default.lua:55: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
1974.749 Info AppManager.cpp:275: Saving to _autosave1 (blocking).
1976.305 Info AppManagerStates.cpp:1716: Saving finished
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  FNEI: event  recipe choose-elem-button item  return error!
2250.462 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  LuaRecipe doesn't contain key mining_time.
stack traceback:
	__FNEI__/scripts/recipe/gui.lua:290: in function 'set_made_in_list'
	__FNEI__/scripts/recipe/controller.lua:90: in function 'draw_recipe'
	__FNEI__/scripts/recipe/controller.lua:314: in function 'change_page_event'
	__FNEI__/scripts/recipe/controller.lua:70: in function 'open_new_recipes'
	__FNEI__/scripts/recipe/controller.lua:271: in function 'cur_event'
	__FNEI__/scripts/custom_events.lua:65: in function <__FNEI__/scripts/custom_events.lua:64>
	[C]: in function 'pcall'
	__FNEI__/scripts/custom_events.lua:64: in function 'invoke'
	__FNEI__/scripts/events.lua:75: in function <__FNEI__/scripts/events.lua:72>
Using the "Ctrl + E" keyboard shortcut brings back the FNEI window and the button.
I can't reproduce this error on version 0.17. Could you attach your save file here. Thanks for the feedback.

kaszak696
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jan 19, 2018 9:07 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by kaszak696 »

_npo6ka_ wrote: ↑
Fri Mar 15, 2019 6:22 pm
I can't reproduce this error on version 0.17. Could you attach your save file here. Thanks for the feedback.

I atteched it, and a full log. Mod list is full Pyanodon suite, Bio Industries, Loaders, and a couple of QOL mods.
Attachments
factorio-current.log
log
(177.51 KiB) Downloaded 114 times
pycoal.zip
save
(7.73 MiB) Downloaded 96 times

_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.1.12

Post by _npo6ka_ »

kaszak696 wrote: ↑
Sat Mar 16, 2019 7:49 am
_npo6ka_ wrote: ↑
Fri Mar 15, 2019 6:22 pm
I can't reproduce this error on version 0.17. Could you attach your save file here. Thanks for the feedback.

I atteched it, and a full log. Mod list is full Pyanodon suite, Bio Industries, Loaders, and a couple of QOL mods.
Thanks for helping. Fixed in 0.2.2.

Wolfman
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri May 06, 2016 2:42 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by Wolfman »

Im sorry to say, but Im getting exactly the same problem that Unifire described, running 0.2.2. I can open usage of items, but the window disappears whenever you left click anything for a recipe. My factorio log shows the same log entries as well.

Code: Select all

[FNEI][ERROR] <FNCustomEvents>  FNEI: event  main choose-elem-button item  return error!
9094.527 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  __FNEI__/scripts/recipe/controller.lua:430: bad argument #1 to 'pairs' (table expected, got nil)

_npo6ka_
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by _npo6ka_ »

Wolfman wrote: ↑
Mon Mar 18, 2019 6:11 am
Im sorry to say, but Im getting exactly the same problem that Unifire described, running 0.2.2. I can open usage of items, but the window disappears whenever you left click anything for a recipe. My factorio log shows the same log entries as well.

Code: Select all

[FNEI][ERROR] <FNCustomEvents>  FNEI: event  main choose-elem-button item  return error!
9094.527 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  __FNEI__/scripts/recipe/controller.lua:430: bad argument #1 to 'pairs' (table expected, got nil)
Thanks for your feedback. Fixed in next version!

Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by Sander_Bouwhuis »

@_npo6ka_

Thanks for your wonderful mod. This really should be in the vanilla game!

NeilN
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Sun Mar 27, 2016 4:24 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by NeilN »

Latest version of Factorio and FNEI as of now:
* Queue up some research
* Go into FNEI and pull up a product that requires some unresearched tech
* Click tech (with red background)
* Research screen appears but queue is gone

Wolfman
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri May 06, 2016 2:42 am
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by Wolfman »

_npo6ka_ wrote: ↑
Wed Mar 20, 2019 4:18 pm
Wolfman wrote: ↑
Mon Mar 18, 2019 6:11 am
Im sorry to say, but Im getting exactly the same problem that Unifire described, running 0.2.2. I can open usage of items, but the window disappears whenever you left click anything for a recipe. My factorio log shows the same log entries as well.

Code: Select all

[FNEI][ERROR] <FNCustomEvents>  FNEI: event  main choose-elem-button item  return error!
9094.527 Script @__FNEI__/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents>  __FNEI__/scripts/recipe/controller.lua:430: bad argument #1 to 'pairs' (table expected, got nil)
Thanks for your feedback. Fixed in next version!
I can confirm this is working for me now, thanks very much.

MageKing17
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Thu Jun 01, 2017 6:52 pm
Contact:

Re: [MOD 0.15.15+] FNEI 0.2.2

Post by MageKing17 »

FactorioBot wrote: ↑
Thu Mar 21, 2019 7:49 pm
Scripting
  • Added LuaControl::open_technology_gui(technology) which will open the technology GUI and select the given technology.
Time to get rid of TechHook.show_tech()?

Post Reply

Return to β€œMods”