Dana: crafting tree/graph explorer
>>> Mod portal <<<
License: GPLv3
Status: Alpha / work in progress
Dana is an experimental assistant mod to help you understand the crafting graph of your vanilla/modded game. It is able to lookup for complete production chains, from raw materials to the most refined products (or the other way around), and display the result as a graph:
Download & more info on the Mod portal.
[MOD 0.18-1.1] Dana: In-game crafting tree/graph explorer.
[MOD 0.18-1.1] Dana: In-game crafting tree/graph explorer.
Last edited by Creidhne on Wed Dec 02, 2020 9:28 pm, edited 1 time in total.
Re: [MOD 0.18] Dana: In-game crafting tree/graph explorer.
Incredibly impressive use of the rendering API!
Sadly the mod does not work in multiplayer at all:
Steps to reproduce:
1. Host new multiplayer map
2. Open Dana
3. "How to make.."
4. Select the rocket silo, don't touch anything else
5. Draw
6. Join the game with a second player
7. Above crash
Sadly the mod does not work in multiplayer at all:
Code: Select all
"The mod Dana: crafting tree/graph explorer (0.1.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event dana::on_player_created (ID 24)
__dana__/lua/logger/Logger.lua:62: [dana][Error] GuiElement: attempt to bind an object twice.
stack traceback:
[C]: in function 'error'
__dana__/lua/logger/Logger.lua:62: in function 'error'
__dana__/lua/logger/ClassLogger.lua:53: in function 'assert'
__dana__/lua/gui/GuiElement.lua:233: in function <__dana__/lua/gui/GuiElement.lua:227>
(...tail calls...)
__dana__/lua/Player.lua:52: in function 'new'
__dana__/lua/Dana.lua:120: in function 'on_player_created'
__dana__/control.lua:53: in function <__dana__/control.lua:52>"
1. Host new multiplayer map
2. Open Dana
3. "How to make.."
4. Select the rocket silo, don't touch anything else
5. Draw
6. Join the game with a second player
7. Above crash
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [MOD 0.18] Dana: In-game crafting tree/graph explorer.
Thanks for testing and the bug report, I was able to reproduce.
It seems to be coming from me misunderstanding a part of the Lua API. If that's the case the fix should be pretty trivial. I just need to figure out migration scripts & Factorio changelogs to be able to release a proper v0.1.1 (which might take some time ...).
Truth be told I hadn't tested multiplayer until now, so it's probably a bugfest right now. Since I discovered that running a local server and multiple clients isn't rocket science, I should be able to stabilize it in the coming days. Maybe. Hopefully
UPDATE: fixed in 0.1.1 (freshly uploaded on the mod portal). I did some minimal testing on multiplayer and it seemed fine.
It seems to be coming from me misunderstanding a part of the Lua API. If that's the case the fix should be pretty trivial. I just need to figure out migration scripts & Factorio changelogs to be able to release a proper v0.1.1 (which might take some time ...).
Truth be told I hadn't tested multiplayer until now, so it's probably a bugfest right now. Since I discovered that running a local server and multiple clients isn't rocket science, I should be able to stabilize it in the coming days. Maybe. Hopefully
UPDATE: fixed in 0.1.1 (freshly uploaded on the mod portal). I did some minimal testing on multiplayer and it seemed fine.