Jump to content

JimPanzee

Member
  • Content Count

    34
  • Joined

  • Last visited

  1. Awesome! Now to cars.
  2. Seems like the general opinion *salutes* is that the crafting menu also needs an information about the level and skill needed to craft the recipe.
  3. It's most probably one of your mods that causes this. Either deactivate them all or look for Errors in the Console-Window.
  4. JimPanzee

    Hydrocraft Mod

    New build is giving you an exceptions. This is trying to create HCJarrednberries: ERROR: ItemContainer.AddItem: can't find Hydrocraft.HCJarrednberries-------------------------------------------------------------attempted index: getType of non-table: null-----------------------------------------STACK TRACE-----------------------------------------function: rollItem -- file: ItemPicker.lua line # 180function: fillContainerType -- file: ItemPicker.lua line # 117function: fillContainer -- file: ItemPicker.lua line # 95java.lang.RuntimeException: attempted index: getType of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1544) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:621) 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.LoadGridsquarePerformanceWorkaround$ItemPicker.checkObject(LoadGridsquarePerformanceWorkaround.java:438) at zombie.LoadGridsquarePerformanceWorkaround.LoadGridsquare(LoadGridsquarePerformanceWorkaround.java:48) at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:1022) at zombie.iso.IsoChunkMap.update(IsoChunkMap.java:175) at zombie.gameStates.IngameState.enter(IngameState.java:549) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) at zombie.GameWindow.logic(GameWindow.java:624) 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)Also many recipes seem to be broken: script: loading C:\Users\Necro\Zomboid\mods\Hydrocraft\media\scripts\Winemaking.txtERROR: can't find recipe source "Paper" in recipe "Make Potato Cannon Blueprint"ERROR: can't find recipe source "Paper" in recipe "Make Duct Tape Fletching Blueprint"ERROR: can't find recipe source "Paper" in recipe "Make Bone Arrowhead Blueprint"ERROR: can't find recipe source "DHCDucttapepouch" in recipe "Add Duct Tape Pouches to Normal Hiking Bag"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Apple Slices in Bag"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Peach Slices in Bag"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Orange Slices in Bag"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Banana Chips in Bag"ERROR: can't find recipe source "Strawberry" in recipe "Dry Some Strawberry Slices"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Strawberry Slices in Bag"ERROR: can't find recipe source "HCBunchOfberries" in recipe "Dry Some Berries"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Berries in Bag"ERROR: can't find recipe source "Zipperbagempty" in recipe "Store Dried Tomato Slices in Bag"ERROR: can't find recipe source "Coco" in recipe "Make Cup of Hot Chocolate"ERROR: can't find recipe source "WhiskeyHalf" in recipe "Brew Irish Coffee"ERROR: can't find recipe source "Wildeggs" in recipe "Make Homemade Pancake Batter"ERROR: can't find recipe source "Pear" in recipe "Prepare Pear Jam"ERROR: can't find recipe source "HCSlicedApple" in recipe "Prepare Jarred Apples"ERROR: can't find recipe source "Pumpkin" in recipe "Make Pumpkin Pie"ERROR: can't find recipe source "Frogmeat" in recipe "Make Tasty Pizza"ERROR: can't find recipe source "Frogmeat" in recipe "Make Tasty Pizza"ERROR: can't find recipe source "HCMashedpotatos" in recipe "Make Potato Pancakes"ERROR: can't find recipe source "CookingOil" in recipe "Make Creamy Mashed Potatos"ERROR: can't find recipe source "HCZipperbagempty" in recipe "Smash Dried Potato to Flour"ERROR: can't find recipe source "Pumpkin" in recipe "Plant Pumpkin Seeds"ERROR: can't find recipe source "FerilizerEmpty" in recipe "Fill Bag With Compost"ERROR: can't find recipe result "Pumpkin" in recipe "Harvest Pumpkin"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Large Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Large Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Large Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Large Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Medium Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Medium Tupperware Container with Food"ERROR: can't find recipe source "Frogmeat" in recipe "Fill Small Tupperware Container with Food"ERROR: can't find recipe source "BakingSheet" in recipe "Recycle Iron"ERROR: can't find recipe result "HCBronzelingot" in recipe "Recycle Bronze"ERROR: can't find recipe result "HCbronzeingot" in recipe "Recycle Bronze"ERROR: can't find recipe source "HCTennisball" in recipe "Put Tennis Balls in Container"ERROR: can't find recipe result "Poolball" in recipe "Play With"ERROR: can't find recipe source "HCToymoneky" in recipe "Play With"
  5. I had problems running it on a server. The server would kick myself, because of lua mismatch. Probably the objects.lua? Any solutions despite deactivating lua-check?
  6. Thanks again. Will try it this weekend.
  7. @Suomiboi: Oh, ok I did read the post about the debugger but may be to blind to see the part about loading a file. Thank you for the information. @ethanwdp: Wow. Nice. That is exactly what I had in mind to mod myself. I will try to expand it with some kind of auto completion. I thought about reading all the lua files with "luadoc" and indexing the functions in a file. Than using tooltips to show available functions. Are custom tooltips at an edit-field possible?
  8. JimPanzee

    Hydrocraft Mod

    @hydro: To create a new category you just need a translation in \media\lua\shared\translate\EN\IG_UI_EN.txt I will look into the wearable hat thing. I'm not able to create the sprites to make it visible on the character. But a little script that will allow to "wear" it in the inventory should be easy. You are right with the bandages. In the vanilla code it looks the same. Don't know how disinfecting even has a benefit.
  9. Hi, maybe I missed it, but I didn't found a way to effectively test out lua code in the game. Is there a way to type lua code in some kind of console and have it executed in a running game? Or do I have to write it in my mod files and reload the mod (and than the game) every time I make a change?
  10. Very cool. That helps a lot. @lifemare: I bet you need a translation for your new category. I can't look right now, where the vanilla category translations are located.
  11. Really cool list, thank you. Could you also please add the possible (known) Values of each variable as a list? For example: What other translated tooltip options already exist: For example the "poisonous when uncooked"-tooltip?
  12. JimPanzee

    Hydrocraft Mod

    Agreed. I think 10 would be by far enough. Another question: According to Svarogs thread about item variables, you could make your Hats wearable and also have a temperature modifier: Also, you could put all your recycle-recipes in an extra tab of the crafting menu: And if I understand it correctly, disinfecting diapers / menstrual pads doesn't yield anything. You need to add: And why is a dirty diaper alcoholic? item HCDiaperDirty { Weight = 0.1, Type = Normal, DisplayName = Dirty Diaper, icon = HCDiaperDirty, CanBandage = TRUE, BandagePower = 0, Alcoholic = TRUE, }This attribute is used for: Additionally, I think this will add a line to the tooltip of the item, that it can be used on the health screen:
  13. It's finished: http://theindiestone.com/forums/index.php/topic/15194-tool-automatic-creation-of-translation-files/
  14. What? How? This script will read the scripts folder of your mod and read every item (DisplayName) and recipe. It than connects to google translate and will write the translation in the lua\shared\Translate\[language]\ files. But! Yeah, it's only google translate. It works best with sentences. With groups of 3 words or less its not as good. While testing it with german, it got about 40% - 60% spot on and about 90% close enough to understand. You have to decide if this is enough for your mod. Even if you don't want such a translation, this script will be good enough to create a starting point for a manual translation. It's faster to correct a few wrong words, than writing the whole file yourself. Ok, how do I... you need Python 2.7 installed on your machine to run the scriptboth scripts needs to be placed in your mod folder, next to the media folderdouble-click "createTranslation.py"it will create a results.log with some information about the processit will write the translations in the folder Project Zomboid expects them.What if I already have translation files for my mod, but I want to add a new item and need a translation just for this one? First of: Better backup your existing translations first! Seriously file encoding is a bi.... I can't guaranty that it will work with your files. Special chars could get corrupted by the script if your file isn't utf-8. But, if everything works, the script should always read existing translations first and just add new items and recipes to the existing translation files. It should NOT replace existing translations with google translate. I'm from ... can it also create a translation for my language? Sure. Right now it will only create german and french. But you can just open the file via any text editor, scroll to the bottom and add the line writeTranslationFiles('[your language]') to the other lines. Copyright The script that talks to google (goslate) is not from me. If you want more info about it, go here: goslate With the rest, do what you want. Download Translator.rar Please report any bugs you encounter.
  15. Thanks you two for the info. It's difficult to read the files with a script when you don't know what they are encoded in. When writing back, I will just get sure to write utf-8. I just hope it doesn't mess with the special chars. Will post a script tomorrow, that automatically creates translation files for items and recipes based on google translate. The translation may not be perfect, but it can really speed up a manual translation.
×
×
  • Create New...