Jump to content

Hydrocraft Mod


Hydromancerx

Recommended Posts

So, I posted this in the Steam forums, but I'm going to repost it here since it's a little urgent and is related to farming. So, there seems to be an issue I have discovered with Hydrocraft and treating crops for Mildew/Flies. Attempting to treat diseased crops with Mildew Spray or Insecticide Spray results in an error:

 

Quote

1544644568683 -------------------------------------------------------------
1544644568684 attempted index: updateFromIsoObject of non-table: null
1544644568684
1544644568684 -----------------------------------------
1544644568684 STACK TRACE
1544644568684 -----------------------------------------
1544644568684 function: isValid -- file: ISCureMildewAction.lua line # 10
1544644568684 Callframe at: StartAction
1544644568684 function: begin -- file: ISBaseTimedAction.lua line # 61
1544644568684 function: addToQueue -- file: ISTimedActionQueue.lua line # 26
1544644568684 function: add -- file: ISTimedActionQueue.lua line # 98
1544644568684 function: onMildewCure -- file: ISFarmingMenu.lua line # 412
1544644568684 function: onMouseUp -- file: ISContextMenu.lua line # 98
java.lang.RuntimeException: attempted index: updateFromIsoObject of non-table: null
    at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1654)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:649)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
    at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:86)
    at zombie.characters.CharacterTimedActions.LuaTimedActionNew.valid(LuaTimedActionNew.java:52)
    at zombie.characters.IsoGameCharacter.StartAction(IsoGameCharacter.java:5264)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:61)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:199)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:189)
    at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:186)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1009)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
    at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:77)
    at zombie.ui.UIElement.onMouseUp(UIElement.java:995)
    at zombie.ui.UIManager.update(UIManager.java:1159)
    at zombie.GameWindow.logic(GameWindow.java:630)
    at zombie.GameWindow.run(GameWindow.java:1314)
    at zombie.GameWindow.maina(GameWindow.java:1090)
    at zombie.gameStates.MainScreenState.main(MainScreenState.java:184)
1544644568686
1544644568686 -----------------------------------------
1544644568686 STACK TRACE
1544644568686 -----------------------------------------
1544644568686 function: isValid -- file: ISCureMildewAction.lua line # 10
1544644568686 Callframe at: StartAction
1544644568686 function: begin -- file: ISBaseTimedAction.lua line # 61
1544644568686 function: addToQueue -- file: ISTimedActionQueue.lua line # 26
1544644568686 function: add -- file: ISTimedActionQueue.lua line # 98
1544644568686 function: onMildewCure -- file: ISFarmingMenu.lua line # 412
1544644568686 function: onMouseUp -- file: ISContextMenu.lua line # 98
1544644568689 -------------------------------------------------------------
1544644568689 attempted index: updateFromIsoObject of non-table: null
1544644568689
1544644568689 -----------------------------------------
1544644568689 STACK TRACE
1544644568689 -----------------------------------------
1544644568689 function: isValid -- file: ISCureMildewAction.lua line # 10
java.lang.RuntimeException: attempted index: updateFromIsoObject of non-table: null
    at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1654)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:649)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
    at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:86)
    at zombie.characters.CharacterTimedActions.LuaTimedActionNew.valid(LuaTimedActionNew.java:52)
    at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10140)
    at zombie.characters.IsoPlayer.update(IsoPlayer.java:3109)
    at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2342)
    at zombie.iso.IsoCell.update(IsoCell.java:6201)
    at zombie.iso.IsoWorld.update(IsoWorld.java:3165)
    at zombie.gameStates.IngameState.update(IngameState.java:1365)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
    at zombie.GameWindow.logic(GameWindow.java:688)
    at zombie.GameWindow.run(GameWindow.java:1314)
    at zombie.GameWindow.maina(GameWindow.java:1090)
    at zombie.gameStates.MainScreenState.main(MainScreenState.java:184)
1544644568690
1544644568690 -----------------------------------------
1544644568690 STACK TRACE
1544644568690 -----------------------------------------
1544644568690 function: isValid -- file: ISCureMildewAction.lua line # 10

 

While this isn't as bad as the irrigation bug, it does prevent crops from being treated for disease. This can be a bad thing.

 

Also, a couple of other small issues:

 

-Broken icons (that I have found):

  • Boiled Mussel (Fresh)
  • Dead Electric Multitool
  • Dried Garlic
  • Dried Onion
  • Melted Serve Icecream
  • Open Cat Food (Fresh)
  • Powered Electric Multitool
  • Wheat Seeds Packet

-Items "Meat cleaver" and "Energy bar" both need capitalization on the second word.

 

Finally, a small suggestion: Considering that the Knox County IRL is so wet it's drowning in alcohol, could we have more locations for some of the alcohol items introduced by Hydrocraft to spawn? Right now they only appear in Bar containers, i.e. taverns and the like. I actually didn't know they existed until recently when I was looting the bar counters of a tavern, and I had to confirm that the bottled beer and liquors were from Hydrocraft and not another mod. Just a small and polite suggestion. :D

Link to comment
Share on other sites

3 hours ago, Bob Isme said:

Is there an ETA on the BROKEN farming?

Maybe they should remove the pic of the girl holding a plant, cause well, she can't...

this and vanilla farmign is bugged and it's bull shit

 

IWBUMS or Public Stable Branch
As far as I can tell, it's been fixed for awhile on the public branch.  Aside from the above posted treating plants for disease.

 

Link to comment
Share on other sites

Hello Hydro!

I was playing with the solar park just now and it seems like it stops working whenever i go far away from it (like a lootrun around the city im in). It still says plugged in when i check on it but no power at all! anyways thanks for the amazing mod and i hope this is something fixable, would suck otherwise ... Happy holidays to everyone! 

Link to comment
Share on other sites

7 hours ago, juan_canciani said:

Hello Hydro!

I was playing with the solar park just now and it seems like it stops working whenever i go far away from it (like a lootrun around the city im in). It still says plugged in when i check on it but no power at all! anyways thanks for the amazing mod and i hope this is something fixable, would suck otherwise ... Happy holidays to everyone! 

Known issue for a few updates now.  All attempts to fix it have failed.  It happened when the devs updated the base generator code.  It removed the exploitable bug that makes the solar gen work all the time.

Link to comment
Share on other sites

  • 4 weeks later...

Hey there!

Thanks for this great mod! I've got a question about cheesemaking: Wiki says the cheese wheel has 4272 calories. However, if you cut it you get 8x cheese with 113 calories, or a total of 904 calories.

Is there some kind of mistake?

Link to comment
Share on other sites

Hi,

 

There are a little mistake in recipe, can I report it here? 

 

workshop/content/108600/498441420/mods/Hydrocraft/media/scripts/Labels.txt

Recipe for 'Empty Label' says it uses SheetPaper only and there are no SheetPaper in game anymore.

All other recipes allow to use SheetPaper OR SheetPaper2, but not this one.

 

Thanks!

Link to comment
Share on other sites

On 1/24/2019 at 3:12 PM, Raphiel said:

Hey there!

Thanks for this great mod! I've got a question about cheesemaking: Wiki says the cheese wheel has 4272 calories. However, if you cut it you get 8x cheese with 113 calories, or a total of 904 calories.

Is there some kind of mistake?

 

Also, cheese wheel has -70 hunger change, and cheese has -15, or a total of -120 hunger change...

                                          

 

I did a bit more research...

Vanilla Ice Cream (0.2 weight) equals approx. 700g ice cream IRL, if you compare the nutrition values.

Vanilla Cheese (0.2 weight) equals approx. 30g cheese IRL.

 

700g ice cream with 0.6-0.8 g/cm³ density equals 1 liter of ice cream. That will give -30 hunger change.

30g cheese with 0.5 g/cm³ density equals 60 ml of cheese. That will give -15 hunger change.

 

So in vanilla PZ, Cheese will saturate hunger about 8 times as much as Ice Cream, considering how much volume you eat.

You could argue that this discrepancy is caused by the fact that ice cream melts, and fluids dont saturate your hunger as much as solid food.

But still, I think that hunger saturation in vanilla PZ is not that well balanced...

 

However, 8x Cheese (30g) would mean a Cheese Wheel weighs about 240g (about 2 and a half bars of chocolate). And I think an average cheese wheel is heavier than that...

Especially if you take into account that 4300 calories equal about 1.2 kg of cheese.

 

So my suggestion would be to increase the number of pieces of Cheese you get from the recipe 'Cut Cheese Wheel', and maybe reduce the calories of a Cheese Wheel a bit.

After all, 4300 calories of cheese from 100-200 calories of cow food seems a bit much.

 

One possible compromise:

Cheese Wheel 3000 calories, -300 hunger

cut into 24 pieces of Cheese (2712 calories, -360 hunger)

 

Edited by Raphiel
Link to comment
Share on other sites

Spoiler

1548532048245 -----------------------------------------
1548532048245 STACK TRACE
1548532048245 -----------------------------------------
1548532048245 function: createMenuEntries -- file: ISCompassMenu.lua line # 138
1548532048245 Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@73289961
1548532048245 function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 207
1548532048246 function: onRightMouseUp -- file: ISInventoryPane.lua line # 1075
java.lang.RuntimeException: __len not defined for operand
	at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:83)
	at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:71)
	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:750)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
	at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1777)
	at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:67)
	at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:130)
	at zombie.Lua.Event.trigger(Event.java:37)
	at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:148)
	at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:159)
	at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:2382)
	at sun.reflect.GeneratedMethodAccessor1687.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:61)
	at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:199)
	at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:55)
	at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:186)
	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1009)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:77)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1206)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1168)
	at zombie.ui.UIManager.update(UIManager.java:1257)
	at zombie.GameWindow.logic(GameWindow.java:630)
	at zombie.GameWindow.run(GameWindow.java:1315)
	at zombie.GameWindow.maina(GameWindow.java:1091)
	at zombie.gameStates.MainScreenState.main(MainScreenState.java:184)

 

Error

Link to comment
Share on other sites

Hey there,

I finally was able to build a Solar Park, and I like how you can recharge all the dead batteries and go mining with a proper Mining Drill :)

 

I'm not sure if I did soemthing wrong, but did anyone else have problems with completely depleting a Charged Solar Park? If I'm not mistaken, the Solar Park only recharges (after 24h) if it is the (uncharged) Solar Park, so if you dont deplete it, it won't recharge...

 

Well, I looked at the code and made some adjustments:

1) I changed the 'Recharge Battery' recipes so that you can do them from floor. Always picking up the heavy Solar Park when recharging a battery is a bit tiresome.

2) I added a timetracker definition for the Charged Solar Park

Spoiler

--Solar Park
-- 24 Hours

ItemTimeTrackerMod["HCSolarpark"] = {};   
ItemTimeTrackerMod["HCSolarpark"]["Life"] = 24.0;
ItemTimeTrackerMod["HCSolarpark"]["TurnInto"] = "Hydrocraft.HCSolarparkcharged";

 

ItemTimeTrackerMod["HCSolarparkcharged"] = {};   
ItemTimeTrackerMod["HCSolarparkcharged"]["Life"] = 24.0;
ItemTimeTrackerMod["HCSolarparkcharged"]["TurnInto"] = "Hydrocraft.HCSolarparkcharged";

The bottom one was my addition. So even if there is still some charge left in the Solar Park, it will still recharge after 24 hours, which works great so far.

I also changed the recipe 'Upgrade to Solar Generator' so that you can use a Solar Park OR a Charged Solar Park.

 

What do you think about these changes?

Link to comment
Share on other sites

On 2/1/2019 at 7:31 AM, Raphiel said:

Does anyone know what happened to Hydro?

He last visited on December 21th, so I'm kinda worried about him... :unsure:

Please be well and sound

He's alive.  I talk to him from time to time.  I let him know the people of PZ are concerned for him. 

Link to comment
Share on other sites

Hey, everyone.

 

Apparently there is a bug in 'Recycle Zinc' recipe. It should not require you to pick up a smelter, but it is now and you can't if your smelter is anchored.

This is how recipe looks now:

 

recipe Recycle Zinc
    {
    SkillRequired:MetalWelding=7,
    HCDollar=40,
    Charcoal,
    Lighter/Matches/PercedWood/HCMagnesiumstriker/HCBowdrill,
    HCIngotmold,
    keep Tongs,
    keep HCWorkgloves/HCOvenmitts,
    keep HCSmelter/HCSmelter2,
    Result:HCZincingot,
    NeedToBeLearn:true,
    Time:100,
    Category:Smithing,
    OnGiveXP:HCWelding_OnGiveXP,
    }

There should be a 'CanBeDoneFromFloor' option, but there isn't.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 2 weeks later...
On 3/26/2019 at 8:19 AM, rzr said:

I'm not 100% sure if its related to Hydrocraft, but i can't sleep in cars or use tents.

 

Using build 40.43 from Steam.

It's not. I forget the name to the mod but it is one that adds a few nifty items to Zomboid. One was a starter stone you could forage. Go through your mods and find that one and remove it from the startup list and see.

Link to comment
Share on other sites

  • 1 month later...

Recipe Suggestions

 

 

Breadcrumbs (cooking lvl 1)

 

http://undeniable.info/pz/wiki/item.php?Name=Bread

or http://undeniable.info/pz/wiki/item.php?Name=BreadSlices

+

http://undeniable.info/pz/wiki/item.php?Name=BakingTray (keep)

 

Cook, remove from tray

crush with http://undeniable.info/pz/wiki/item.php?Name=MortarPestle (keep)

or http://undeniable.info/pz/wiki/item.php?Name=HCMortarandpestle

http://undeniable.info/pz/wiki/item.php?Name=Hammer

+

http://undeniable.info/pz/wiki/item.php?Name=HCZipperbag

 

 

 

Onion Rings (cooking level 2)

 

http://undeniable.info/pz/wiki/item.php?Name=HCCookingoil

or http://undeniable.info/pz/wiki/item.php?Name=HCCookingoiljar

http://undeniable.info/pz/wiki/item.php?Name=HCDetergentvegoil

http://undeniable.info/pz/wiki/item.php?Name=HCPoisonvegoil

http://undeniable.info/pz/wiki/item.php?Name=HCPlasticcanvegoil

http://undeniable.info/pz/wiki/item.php?Name=HCPotvegoilcooked

http://undeniable.info/pz/wiki/item.php?Name=HCWoodenbucketvegoil

http://undeniable.info/pz/wiki/item.php?Name=HCTroughvegoil

+

http://undeniable.info/pz/wiki/item.php?Name=HCSlicedonion

or http://undeniable.info/pz/wiki/item.php?Name=Onion

http://undeniable.info/pz/wiki/item.php?Name=HCPickledonion

+

http://undeniable.info/pz/wiki/item.php?Name=Egg

or http://undeniable.info/pz/wiki/item.php?Name=HCChickenegg

http://undeniable.info/pz/wiki/item.php?Name=HCGooseegg

http://undeniable.info/pz/wiki/item.php?Name=HCTurkeyegg

http://undeniable.info/pz/wiki/item.php?Name=WildEggs

http://undeniable.info/pz/wiki/item.php?Name=HCSparrowegg

+

http://undeniable.info/pz/wiki/item.php?Name=Flour

or http://undeniable.info/pz/wiki/item.php?Name=Cornflour

http://undeniable.info/pz/wiki/item.php?Name=HCPotatoflour

+

Breadcrumbs (see above recipe)

+

http://undeniable.info/pz/wiki/item.php?Name=Salt

or http://undeniable.info/pz/wiki/item.php?Name=HCSaltpacket

+

http://undeniable.info/pz/wiki/item.php?Name=Pepper

or http://undeniable.info/pz/wiki/item.php?Name=HCPepperpacket

+

http://undeniable.info/pz/wiki/item.php?Name=Pan (keep)
 

 

 

 

Grind Meat (level 1)

 

(any kind of meat)

http://undeniable.info/pz/wiki/item.php?Name=HCMeatgrinder (keep)

 

(Makes ground beef, pork, chicken, etc)

 

 

 

Meatballs (level 3) 

 

Ground Meat

+

 Breadcrumbs

+  

http://undeniable.info/pz/wiki/item.php?Name=Onion

or http://undeniable.info/pz/wiki/item.php?Name=HCSlicedonion

http://undeniable.info/pz/wiki/item.php?Name=HCOnionpowder

http://undeniable.info/pz/wiki/item.php?Name=HCPickledonion

http://undeniable.info/pz/wiki/item.php?Name=Egg

or http://undeniable.info/pz/wiki/item.php?Name=HCChickenegg

http://undeniable.info/pz/wiki/item.php?Name=HCGooseegg

http://undeniable.info/pz/wiki/item.php?Name=HCTurkeyegg

http://undeniable.info/pz/wiki/item.php?Name=WildEggs

http://undeniable.info/pz/wiki/item.php?Name=HCSparrowegg

+

Milk or Cream (having an issue finding the regular milk carton on undeniable)

+

http://undeniable.info/pz/wiki/item.php?Name=HCGarlic

or http://undeniable.info/pz/wiki/item.php?Name=HCGarlicpowder

http://undeniable.info/pz/wiki/item.php?Name=HCPickledgarlic

http://undeniable.info/pz/wiki/item.php?Name=WildGarlic

+

http://undeniable.info/pz/wiki/item.php?Name=HCHerbs

+

water

+

http://undeniable.info/pz/wiki/item.php?Name=Salt

or http://undeniable.info/pz/wiki/item.php?Name=HCSaltpacket

+

http://undeniable.info/pz/wiki/item.php?Name=Pepper

or http://undeniable.info/pz/wiki/item.php?Name=HCPepperpacket

+

http://undeniable.info/pz/wiki/item.php?Name=Pan (keep)

 

Alternatively, can be cooked in tomato sauce http://undeniable.info/pz/wiki/recipe.php?ID=3093

 

 

 

Melt Chocolate (level 2)

 

http://undeniable.info/pz/wiki/item.php?Name=Chocolate

or http://undeniable.info/pz/wiki/item.php?Name=HCChocolateshavings

http://undeniable.info/pz/wiki/item.php?Name=HCChocolatedark

http://undeniable.info/pz/wiki/item.php?Name=HCChocolatewhite

+

http://undeniable.info/pz/wiki/item.php?Name=Butter

or http://undeniable.info/pz/wiki/item.php?Name=HCCookingoil

http://undeniable.info/pz/wiki/item.php?Name=Saucepan (keep)

 

 

Make Chocolate Covered Strawberries (level 3)

 

Melted Chocolate 

+ http://undeniable.info/pz/wiki/item.php?Name=Strewberrie

 

 

Make Chocolate Covered Pretzels (level 3)

 

Melted Chocolate

http://undeniable.info/pz/wiki/item.php?Name=HCPretzel

 

(could also make other recipes for using melted chocolate, such as chocolate covered oranges, apples, bananas or nuts)

 

 

 

 

Edited by Nisora
Link to comment
Share on other sites

  • 2 weeks later...

I have been thinking about this for a long time. And since after months of not being motivated to work on the mod and I don't want it to die with me I am thinking about putting it up on GitHub and allow some dedicated modders to take over for me. One who have already contributed as well as other who have put out patches on their own. This mod is huge now and needs all the help its can get. Note by doing this I want the moders to follow the ideal of "more is more" and be additive to the mod rather than culling stuff they don't like. Removing things should be last resort and only if its causing major problems. I also feel that if i gave it be a group rather than one person that it will less likley be abused since the others can fix anything too extreme. Think Wikipedia.

 

If you are one of these modders who wish to help please let me know. Especially if you have experience with GitHub.

Edited by Hydromancerx
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...