I found out the problem that is causing the bug. It seems at least one or more of the files/coding changing is the reason for the bug.
start_menu.js (not .json)
App.stonehearthClient.openCrafterMenu
something else that’s related to these two
However, I got no solution yet. To be frankly, if #2 is the reason, I don’t think I can solve it. If anyone got some more clues for solution, that would be awesome.
I actually checked it and I found no difference between the two mods. Mine also worked A18 3107 but got the bug report after the UI Improvement update.
I think the bug was created because while Improving the UI, some codes have changed and it’s interrupting the procedure of menu_action, show_crafter_ui when opening the crafting menu for mod jobs. The thing is that I can’t find the direct cause. I even tried modifying the stonehearth.smod only for finding the cause, but nothing I expected was the problem. These are the ones I tried and found out.
checking the job and the button itself is working well. (The tooltip is working well when pressing the activated button.)
fixed start_menu.js’s component to the A17 version - no change
fixed citizens.js’s component to the A17 version - no change
tried “show_crafter_ui” to “stonehearth:show_crafter_ui” - no change
simplify the scholar.lua like gardener.lua - no change
No difference between the two version of App.stonehearthClient.openCrafterMenu (it’s found in \Stonehearth\mods\stonehearth\stonehearth\ui\root\js\stonehearth\stonehearth_client.js)
Difference found between the two version:
start_menu.js
show_team_workshop.js
citizens.js
If anyone finds the clue to solution, please help me.
I tried a lot of things like that last night.
There are a lot of places where it was “Stonehearth:jobs:scholar” instead of “Scholar_mod:jobs:scholar”.
But none of them seemed to fix the problem.
The sound for a workbench opening doesn’t even play when clicking the button, so I don’t know what’s rong.
If the Scholar workbench is a recognized work bench shouldn’t it appear on the work bench tab?
Since this mod is stuck in some kind of file corruption(my guess), it would be better just abandoning the mod and letting others check out the stuffs they need(such as semi-transparent entities, rune plate, obelisks).
※ Never directly copy the files from the mod! It can corrupt your mod!
Meanwhile, I’ll just try to make other mods or try to make an indie game.
I somehow hope that at least this mod is useful for the reference.
PS: Then again, I will be really glad if you ever find out some coding error then share it with me.
I finally found out the cause of the malfunction!
It seems that the semi-transparent feature was the cause.
I dunno why that’s malfunctioning but I temporarily got rid of the recipes for awhile so the mod still can be played.
In the meantime, I will be glad for some help about actually fixing the bug. I have looked the bug part, but coundn’t find the way to solve it other than getting rid of it. The 4 Items are the cause.
Blue Glass Window Frame
Red Glass Window Frame
Green Glass Window Frame
Latticed Glass Window Frame
This is the whole part of the blue_glass_window_frame_ghost.json.
I have fix the window frame problem for the mod and thelegorebel is right. The comma is the error in the mod. fantasyworm place using the http://jsonlint.com/ to check the error.
I fixed the problems about the windows and also the alchembrazier effect issue. Since to be honest, I have abandoned the mod for some time, I will add just add more simple transparent features later on and for a while.
Hey i Wanted to ask if this mod works with Alpha 21
I wanted to use it but saddly it didnt work
i would love to play it so please could you make it work for that version