Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Maris

  1. Okay, second is the winner Yes, I know, and I wonder what it will be. I hope the sewing will be at least not easy.
  2. I made a sewing mod and I'm not sure what icon will be better... Help me plz) In the mod you can craft bags and sew clothes. First: Second:
  3. For example, some zombies may have School Bag (Bag_Schoolbag) or another bag or backpack. Where is the info that some zombies may have School Bag? Also there are special zombies (military etc) now. I double checked those files and I can't find this info about loot from zombies.
  4. May be mods, but probably game bug. LOG : General, 1572899527200> attempted index: getType of non-table: null LOG : General, 1572899527200> LOG : General, 1572899527200> ----------------------------------------- LOG : General, 1572899527200> STACK TRACE LOG : General, 1572899527200> ----------------------------------------- LOG : General, 1572899527201> function: walkToContainer -- file: luautils.lua line # 131 LOG : General, 1572899527201> function: haveToBeTransfered -- file: luautils.lua line # 168 LOG : General, 1572899527201> function: transferIfNeeded -- file: ISInventoryPaneContextMenu.lua line # 919 LOG : General, 1572899527201> function: readItem -- file: ISInventoryPaneContextMenu.lua line # 1552 LOG : General, 1572899527201> function: onLiteratureItems -- file: ISInventoryPaneContextMenu.lua line # 1543 LOG : General, 1572899527202> function: onMouseUp -- file: ISContextMenu.lua line # 98 ERROR: General, 1572899527238> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getType of non-table: null at KahluaThread.tableget line:1651. ERROR: General, 1572899527239> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: getType of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1651) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:646) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at zombie.ui.UIElement.onMouseUp(UIElement.java:1137) at zombie.ui.UIManager.update(UIManager.java:767) at zombie.GameWindow.logic(GameWindow.java:234) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:673) at zombie.GameWindow.run_ez(GameWindow.java:594) at zombie.GameWindow.mainThread(GameWindow.java:460) at java.lang.Thread.run(Thread.java:745)
  5. It's too large for games, I guess. I'd say 1920x1080 is the maximum comfort resolution which doesn't really affect FPS in big games.
  6. In my mod (related to the virus) first aid level N gives you additional +N% chance to kill the virus in a wound. Also character needs it to craft some stuff from the mod.
  7. Previously it was in Lua files. But now I can't find this info.
  8. I found a function in the API: AddPerk(PerkFactory.Perks perk, java.lang.String name, java.lang.String level1, java.lang.String level2, java.lang.String level3, java.lang.String level4, java.lang.String level5, int xp1, int xp2, int xp3, int xp4, int xp5, int xp6, int xp7, int xp8, int xp9, int xp10) But I can't use it. It exists in the game code but there is no examples how to use it. What strings are level1, level2, level3 etc? What should I give as first parameter? So I have to make injection directly into interface in a very strange manner: local function inject(u) local xp = u:getXp() local m = getmetatable(xp) local old_boost = m.__index.getPerkBoost m.__index.getPerkBoost = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return 0 end return old_boost(self, perk_type, ...) end local old_mult = m.__index.getMultiplier m.__index.getMultiplier = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return 0 end return old_mult(self, perk_type, ...) end m = getmetatable(u) m.__index.getXp = function(self, ... ) return xp end local old_level = m.__index.getPerkLevel m.__index.getPerkLevel = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return perk_type.level end return old_level(self, perk_type, ...) end local old_up = m.__index.LevelPerk m.__index.LevelPerk = function(self, perk_type, ...) if perk_type == ClassCustomSkill then return perk_type:LevelUp() end return old_up(self, perk_type, ...) end end I'd like to avoid these dirty hacks and to start using normal API.
  9. Nice dreams. More mods, better is game.
  10. Maris

    getModData on player

    I'd like to load getModData() of the player to a local table. Then I'm going to save it every time it's changed. What is the best event to load the data?
  11. For example, 1280x960 -> 1280x800 in window mode ofc
  12. Items: Bag_SurvivorBag, Bag_ALICEpack, Bag_ALICEpack_Army I can't find it in loot tables despite it is possible to get those top bags in the game. What file contains the numbers of drop rate of these bags?
  13. Maris

    What is craft order?

    Let's say I want to get item X from ingredients A, B and C. recipe Make X { A, A/B/C, A/B/C, Result:X, Time:50.0, } "A" is most rare. And I have 3 "A" and 100 "B". What ingredients will be consumed? AAA or ABB? And what conditions may affect this?
  14. I mean to make an item that is clothes & container at the same time. I think it will be enough to get the goal, cos the mod may just replace items via craft.
  15. I'd like to attach a small container to a clothing item. Is it possible?
  16. Maris

    Siren bug

    1. Turn on any siren 2. Wait at least 200 zombies 3. See stuck zombies around https://youtu.be/YzhdHNAFsDQ https://youtu.be/8PjZjFY8lto
  17. Yes. Even sneakers with zero protection can protect against glass. So this is secret feature which is not mentioned in description, but we can understand it logically. And I wonder if there are any other secrets of other clothes.
  18. I'm thinking about it because now there is an option to wash yourself with soap.
  19. You may easily cure hypochondriac queasy with antibiotics. If you have nauseous+, take one pill and wait for queasy, then take second pill. Ofc it won't help if you have zombie virus.
  20. For example, can socks protect against broken glass on the floor? It's clear about socks, but maybe there is something that I do not know? Gloves with zero protection? Tie? Rubber overalls? etc
  21. Maris

    Spawn chances

    Sadly, now ItemPicker code was moved to Java. So ItemPicker.lua contains a single line of code: ItemPicker = ItemPickerJava
  • Create New...