Omegapl Posted May 26, 2015 Author Share Posted May 26, 2015 New version v1.5e out. Hello, first off love the mod and can't play without it especially with other mods that don't have good crafting documentation. Now onto the issue I'm having. I can't seem to get the big recipe book to open when I click the book icon. I can use the craft helper button when I right click items in my inventory perfectly fine. I am running windows 8.1, Zomboid build 31.13, and craft helper 1.5b. I hope you can get this fixed as soon as possible and keep up the good work. -Dvine EDIT: Turns out it wasn't your mod and it was Hydrocraft, which is currently the only other mod I'm using. Hopefully i can figure out what in Hydrocraft is making it so your recipe book won't open properly.I checked it out and I made fix for it. In new version crafthelper should open with hydrocraft enabled. That was still hydrocraft fault but I bypassed it Collophonius 1 Link to comment Share on other sites More sharing options...
ChezaRe Posted May 26, 2015 Share Posted May 26, 2015 With CF 1.5e can't use RMB craft helper menu PZ build 32.1 + Hydrocraft. updWithout Hydrocraft same shet Link to comment Share on other sites More sharing options...
Omegapl Posted May 26, 2015 Author Share Posted May 26, 2015 With CF 1.5e can't use RMB craft helper menu PZ build 32.1 + Hydrocraft. updWithout Hydrocraft same shet What do you mean CF ? Can you describe your problem ? Any errors pop up in console while you click rmb on item or during game start up ?For me everything works fine so you have to provide more info. Also try to disable all mods and enable crafthelper again in menu. Link to comment Share on other sites More sharing options...
ChezaRe Posted May 26, 2015 Share Posted May 26, 2015 Damn -.- I mean CH=Craft Helper RMB craft helper menu on item don't work. Book work fine. updSame effect with only craft helper mod loaded. Link to comment Share on other sites More sharing options...
blindcoder Posted May 28, 2015 Share Posted May 28, 2015 CraftHelper 1.5e still uses File.new, which is no longer exposed. It should use getFileReader and getFileWriter exclusively.Also, LuaCHUtils.GetFieldValue will no longer work at all due to the implemented restrictions on accessing Java classes. Link to comment Share on other sites More sharing options...
Malaras Posted May 28, 2015 Share Posted May 28, 2015 Not working in current version of PZ. See crafthelper in game, but gives no recipe info. Link to comment Share on other sites More sharing options...
Omegapl Posted May 28, 2015 Author Share Posted May 28, 2015 CraftHelper 1.5e still uses File.new, which is no longer exposed. It should use getFileReader and getFileWriter exclusively.Also, LuaCHUtils.GetFieldValue will no longer work at all due to the implemented restrictions on accessing Java classes.I noticed. It seems like modding became pain in the ass. I will upload new version soon. It will lack few features becouse of those restrictions. edit: new version out for v32.2 Link to comment Share on other sites More sharing options...
ChezaRe Posted May 28, 2015 Share Posted May 28, 2015 All works fine. Thx alot Link to comment Share on other sites More sharing options...
user750 Posted June 1, 2015 Share Posted June 1, 2015 Too bad it doesn't work with Server. Too bad. Link to comment Share on other sites More sharing options...
blindcoder Posted June 1, 2015 Share Posted June 1, 2015 Too bad it doesn't work with Server. Too bad. Is it enabled on the server? Link to comment Share on other sites More sharing options...
Omegapl Posted June 3, 2015 Author Share Posted June 3, 2015 New version for 32.4 released. Have fun Geras and Svarog 2 Link to comment Share on other sites More sharing options...
blindcoder Posted June 3, 2015 Share Posted June 3, 2015 New version for 32.4 released. Have fun Awesome I suppose I can't convince you to add support for tiny_avc? Link to comment Share on other sites More sharing options...
Omegapl Posted June 3, 2015 Author Share Posted June 3, 2015 adding support to your mod isnt clear enough for me can you explain it better? Link to comment Share on other sites More sharing options...
blindcoder Posted June 4, 2015 Share Posted June 4, 2015 Sure! All you need to do is create a file tiny_avc.txt in the CraftHelper mod directory with these two lines: version:7.0url:https://somewhere.com/latest_version.txt The first lines is the current version of the CraftHelper mod that is installed. The second line points to a URL where information about the latest available version is stored. The second file looks like this: version:7.0minVersion:32.04url:http://theindiestone.com/forums/index.php/topic/9267-craft-helper-12Here, the first line shows the latest version that is available to download. If this differst from the version in the first file, the player will get a notice about the update.The second line shows the minimum version of Project Zomboid that is required for this mod to work.The last line is optional, but can point to a download page for the mod.I hope this helps! Link to comment Share on other sites More sharing options...
blindcoder Posted June 4, 2015 Share Posted June 4, 2015 One more thing: in UI/craftHelperWindow.lua you are overwriting ISCollapsableWindow:close. This is bad form and causes problems with other mods.I think you should change that to craftHelperWindow:close. I have tried this locally with no noticable sideeffects. Link to comment Share on other sites More sharing options...
Omegapl Posted June 4, 2015 Author Share Posted June 4, 2015 Sure! All you need to do is create a file tiny_avc.txt in the CraftHelper mod directory with these two lines: version:7.0url:https://somewhere.com/latest_version.txt The first lines is the current version of the CraftHelper mod that is installed. The second line points to a URL where information about the latest available version is stored. The second file looks like this: version:7.0minVersion:32.04url:http://theindiestone.com/forums/index.php/topic/9267-craft-helper-12Here, the first line shows the latest version that is available to download. If this differst from the version in the first file, the player will get a notice about the update.The second line shows the minimum version of Project Zomboid that is required for this mod to work.The last line is optional, but can point to a download page for the mod.I hope this helps!What is the name of second file ? The first url is supposed to lead to a file which I host ? if yes I dont really feel like doing so. Link to comment Share on other sites More sharing options...
blindcoder Posted June 4, 2015 Share Posted June 4, 2015 Sure! All you need to do is create a file tiny_avc.txt in the CraftHelper mod directory with these two lines: version:7.0url:https://somewhere.com/latest_version.txt The first lines is the current version of the CraftHelper mod that is installed. The second line points to a URL where information about the latest available version is stored. The second file looks like this: version:7.0minVersion:32.04url:http://theindiestone.com/forums/index.php/topic/9267-craft-helper-12Here, the first line shows the latest version that is available to download. If this differst from the version in the first file, the player will get a notice about the update.The second line shows the minimum version of Project Zomboid that is required for this mod to work.The last line is optional, but can point to a download page for the mod.I hope this helps!What is the name of second file ? The first url is supposed to lead to a file which I host ? if yes I dont really feel like doing so. The second filename doesn't matter.If you don't like hosting it, then there's probably no way to it. It's okay Link to comment Share on other sites More sharing options...
valhalla_bound Posted June 24, 2015 Share Posted June 24, 2015 Does not seem to work with the most recent IWBUMS release, 32.9 I believe. The menu does not come up Link to comment Share on other sites More sharing options...
blindcoder Posted June 24, 2015 Share Posted June 24, 2015 You can fix it by adding this line just before "return o;" in function "ISTickOneBox:new" in the file "mods/CraftHelper/media/lua/client/UI/ISTickOneBox.lua"o.textures = {};Though the new Crafting UI might make parts of CraftHelper redundand. syfy 1 Link to comment Share on other sites More sharing options...
valhalla_bound Posted June 24, 2015 Share Posted June 24, 2015 You can fix it by adding this line just before "return o;" in function "ISTickOneBox:new" in the file "mods/CraftHelper/media/lua/client/UI/ISTickOneBox.lua"o.textures = {};Though the new Crafting UI might make parts of CraftHelper redundand. You can fix it by adding this line just before "return o;" in function "ISTickOneBox:new" in the file "mods/CraftHelper/media/lua/client/UI/ISTickOneBox.lua"o.textures = {};Though the new Crafting UI might make parts of CraftHelper redundand.Thanks! Link to comment Share on other sites More sharing options...
Migoxiss Posted June 24, 2015 Share Posted June 24, 2015 Isnt this mod now unrelevant because of the new Crafting UI, as awesome as the mod is is Link to comment Share on other sites More sharing options...
blindcoder Posted June 24, 2015 Share Posted June 24, 2015 Isnt this mod now unrelevant because of the new Crafting UI, as awesome as the mod is is Not quite. The interface to show which recipes are in use by an ingredient is still not in vanilla and might be quite useful. Migoxiss and Ankhr 2 Link to comment Share on other sites More sharing options...
RickL Posted June 28, 2015 Share Posted June 28, 2015 I'm getting this error with the latest patch: -----------------------------------------STACK TRACE-----------------------------------------function: Refresh -- file: Inventory.lua line # 34function: onCraftHelperDrain -- file: craftHelperMenu.lua line # 83function: onMouseUp -- file: ISContextMenu.lua line # 82java.lang.RuntimeException: Object tried to call nil in Refreshat se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:947)at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:162)at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1722)at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1637)at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:63)at zombie.ui.UIElement.onMouseUp(UIElement.java:874)at zombie.ui.UIManager.update(UIManager.java:1065)at zombie.GameWindow.logic(GameWindow.java:581)at zombie.GameWindow.run(GameWindow.java:1169)at zombie.GameWindow.maina(GameWindow.java:977)at zombie.gameStates.MainScreenState.main(MainScreenState.java:162)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)at com.exe4j.runtime.WinLauncher.main(Unknown Source)-----------------------------------------STACK TRACE-----------------------------------------function: Refresh -- file: Inventory.lua line # 34function: onCraftHelperDrain -- file: craftHelperMenu.lua line # 83function: onMouseUp -- file: ISContextMenu.lua line # 82 I still have blindcoders fix:You can fix it by adding this line just before "return o;" in function "ISTickOneBox:new" in the file "mods/CraftHelper/media/lua/client/UI/ISTickOneBox.lua"o.textures = {};Though the new Crafting UI might make parts of CraftHelper redundand. added to the .lua, for the last patch or so. Does that matter now since this patch is out? Link to comment Share on other sites More sharing options...
SandyBeaches Posted June 29, 2015 Share Posted June 29, 2015 I have been having the same problem. I tried fixing all the broken references in Hydrocraft but the problem persists. Perhaps some null checking could help? Link to comment Share on other sites More sharing options...
blindcoder Posted June 29, 2015 Share Posted June 29, 2015 I read through the code, the problem is that the return value of getSource():get(x) herelocal itemString = allRecipes:get(i):getSource():get(j):getType();is of class Source which no longer contains the function getType() an also no longer the attribute type that it used to return. I don't think this is trivial to fix. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now