Page 1 of 1
[MOD 0.18-1.1] Dana: In-game crafting tree/graph explorer.
Posted: Sun Jul 26, 2020 7:19 pm
by Creidhne
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.
Re: [MOD 0.18] Dana: In-game crafting tree/graph explorer.
Posted: Sun Jul 26, 2020 7:33 pm
by Bilka
Incredibly impressive use of the rendering API!
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>"
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
Re: [MOD 0.18] Dana: In-game crafting tree/graph explorer.
Posted: Mon Jul 27, 2020 11:39 am
by Creidhne
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.