Page 5 of 7

Re: [MOD 0.15.15+] FNEI 0.1.10

Posted: Mon Nov 05, 2018 10:14 pm
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.

Re: [MOD 0.15.15+] FNEI 0.1.9

Posted: Mon Nov 05, 2018 10:18 pm
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 ;)

Re: [MOD 0.15.15+] FNEI 0.1.10

Posted: Wed Nov 07, 2018 6:46 am
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.

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Sat Nov 24, 2018 8:43 pm
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?

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Sun Nov 25, 2018 7:38 pm
by immortal_sniper1
is there a way to view all recipes that are craftabele in a certain building?

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Thu Dec 27, 2018 9:04 pm
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

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Sat Jan 05, 2019 7:00 pm
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...

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Mon Jan 07, 2019 12:47 am
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.

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Thu Mar 14, 2019 10:42 am
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.

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Thu Mar 14, 2019 12:59 pm
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.

Re: [MOD 0.15.15+] FNEI 0.2.1

Posted: Thu Mar 14, 2019 1:56 pm
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

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Fri Mar 15, 2019 6:22 pm
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.

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Sat Mar 16, 2019 7:49 am
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.

Re: [MOD 0.15.15+] FNEI 0.1.12

Posted: Sun Mar 17, 2019 8:35 pm
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.

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Mon Mar 18, 2019 6:11 am
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)

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Wed Mar 20, 2019 4:18 pm
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!

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Wed Mar 20, 2019 5:48 pm
by Sander_Bouwhuis
@_npo6ka_

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

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Fri Mar 22, 2019 12:51 am
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

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Fri Mar 22, 2019 3:53 am
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.

Re: [MOD 0.15.15+] FNEI 0.2.2

Posted: Fri Mar 22, 2019 4:25 pm
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()?