Jump to content

francogp

Member
  • Posts

    200
  • Joined

  • Last visited

Posts posted by francogp

  1. There is now a a tool available here:

    https://github.com/blind-coder/pz-mapmap

     

    It doesn't have a UI, only a command line interface and you need a way to compile C# programs to use it.

    Most of the code comes from TIS with the savegame-reading code created by me.

    it does not compile... it say:

    Severity	Code	Description	Project	File	LineError	CS0246	The type or namespace name 'MMBinReader' could not be found (are you missing a using directive or an assembly reference?)	MapMap	D:\Trabajo\VisualStudio\pz-mapmap-master\MapMap\Main.cs	73

    do I need some sepcial lib? because MMBinReader and MMTileDefReader are not in MapMaplib

  2. @francogp:

    Yes, ofcourse it can be used with a map pack.

    Let me know what you need.

    Is you map connected to the originals?

    EDIT: just tested... it's not. Can you add a path leading to original maps? so we can travel to you town

  3. Can I help you adding more maps? if you share with me a dropbox folder, I could add more maps (And I will attach original owners permissions for that).
    If you are interested, PM me.

  4. Is it possible to disable the sound for the longswords? Sounds really annoying.. Good weapons though!

    AND katanas... they sound terrible. Maybe a SWING sound instead a shout?

  5.  

     

    dash -

     

    will make your translations ignored, use underline instead _

     

     

    Yes, That was the problem here... I replace them with _ and now they work fine.

     

    Thanks!

     

    snip

    I read my files again and again, and I discovered a camelcase typo in (Multicam)... it should be (MultiCam) :S

    When I replace some words automatically, I may replace them wrong.

     

    So, the only REAL problem was the sign - and _

     

    sorry

  6. If I add boiled egg to Roasted Vegetables, I always get this error:
     

    COMMAND QUEUE stallCount = 0 peakUsage = 12096java.lang.RuntimeException: __concat not defined for operands: ContextMenu_FoodType_ and null        at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)        at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:781)        at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1642)        at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:72)        at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:74)        at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:5763)        at zombie.characters.IsoPlayer.update(IsoPlayer.java:2752)        at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:1336)        at zombie.iso.IsoCell.update(IsoCell.java:5165)        at zombie.iso.IsoWorld.update(IsoWorld.java:2497)        at zombie.gameStates.IngameState.update(IngameState.java:1249)        at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)        at zombie.GameWindow.logic(GameWindow.java:619)        at zombie.GameWindow.run(GameWindow.java:1173)        at zombie.GameWindow.maina(GameWindow.java:974)        at zombie.gameStates.MainScreenState.main(MainScreenState.java:173)-----------------------------------------STACK TRACE-----------------------------------------function: checkName -- file: ISAddItemInRecipe.lua line # 57function: perform -- file: ISAddItemInRecipe.lua line # 36java.lang.RuntimeException: __concat not defined for operands: ContextMenu_FoodType_ and null        at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)        at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:781)        at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1642)        at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:72)        at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:74)        at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:5763)        at zombie.characters.IsoPlayer.update(IsoPlayer.java:2752)        at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:1336)        at zombie.iso.IsoCell.update(IsoCell.java:5165)        at zombie.iso.IsoWorld.update(IsoWorld.java:2497)        at zombie.gameStates.IngameState.update(IngameState.java:1249)        at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)        at zombie.GameWindow.logic(GameWindow.java:619)        at zombie.GameWindow.run(GameWindow.java:1173)        at zombie.GameWindow.maina(GameWindow.java:974)        at zombie.gameStates.MainScreenState.main(MainScreenState.java:173)-----------------------------------------STACK TRACE-----------------------------------------function: checkName -- file: ISAddItemInRecipe.lua line # 57function: perform -- file: ISAddItemInRecipe.lua line # 36
  7.  

    I bet it's the same with brackets (). Just skip them DisplayName_Camelback_UCP

     

    nope, it does not recognize any var now, for example:

     

    WITH ( ):

    DON'T WORK

    DisplayName_Leg_Holster_(Multicam) = "Funda para pierna (MultiCam)",

    WORK (Don't understand why)

    DisplayName_Tactical_backpack_(Multicam) = "Mochila táctica (MultiCam)",

    -------------------------------------------------------------------------

     

    WITHOUT ( ):

    DON'T WORK

    DisplayName_Leg_Holster_Multicam = "Funda para pierna (MultiCam)",DisplayName_Tactical_backpack_Multicam = "Mochila táctica (MultiCam)",

    I also tried replacing ( ) with _ without success

     

    dash -

     

    will make your translations ignored, use underline instead _

     

     

    Yes, That was the problem here... I replace them with _ and now they work fine.

     

    Thanks!

  8. I have this in a script:

    DisplayName = Camelback (UCP),

    and in the translation file:

    DisplayName_Camelback_(UCP) = "Sistema de hidratación (UCP)",

    the problem is that the translation get ignored... Why? is because of the () ?

     

    ---------------------------------------------------------------------------------------------------------------------------

     

    here's another case:

    DisplayName = .32 ACP - 50 Round Box,

    translation:

    DisplayName_.32_ACP_-_50_Round_Box = ".32 ACP - 50 Cartuchos en Caja",

    is ignored because of the sign - ?

     

    NOTE: All other variables in my translation files are OK and ACCEPTED, there's only a few that are ignored, like the vars described in this thread.

  9. In 5.5 I'm getting this log errors:

    ERROR: can't find recipe source "HCEmptybarrelmetal" in recipe "Make Ammonal"ERROR: can't find recipe source "HCEmptybarrelblue" in recipe "Make Ammonal"ERROR: can't find recipe source "HCEmptybarrelblue" in recipe "Liquidate Body"ERROR: can't find recipe source "HCBeaker" in recipe "Make Beaker of Ammonia"ERROR: can't find recipe source "HCBeaker" in recipe "Make Beaker of Ammonia"ERROR: can't find recipe source "HCEmptybarrelblue" in recipe "Build Biogas Collector"ERROR: can't find recipe source "HCHamsterfemalmaledead" in recipe "Butcher Hamster"ERROR: can't find recipe source "HCEmptybarrelmetal" in recipe "Build Steam Machine"ERROR: can't find recipe source "HCEmptybarrelmetal" in recipe "Build Professional Lab"
  10. You can simply overwrite the function in your mod. There's no need to alter the game's base files directly.

    Sorry, maybe I was not clear. I was talking about overriding that function in a mod, not modifying the game source code. Overriding the function is conflictive if another mod override that function as well for the same purposes.

    That's why I ask for a solution in this thread.

  11. Hi, there's an actual problem in the current way to implement containers:

     

    What we need:

    A way to register or add custom containers (new API function?) that don't need to be equipped on the back or hands (as a quick implementation), or several different body slots so we can fit specific equipment there (like the actual back slot, but for every part of the body). For example: Leg slot -> knife holster, Head -> helmet, waist-> waist pack.

     

    Current container detection in source code:

    In the function: "function ISInventoryPage:refreshBackpacks()" you can see the condition:

    if item:getCategory() == "Container" and getSpecificPlayer(self.player):isEquipped(item) or item:getType() == "KeyRing" then....

    Problem:

     

    Lots of mods MUST modify this function to add custom containers categories. This cause conflicts between mods because of OVERRIDING the same function/condition to achieve this goal.

    For example, the mods http://theindiestone.com/forums/index.php/topic/18016-united-states-military-gear-v12-3320/ and http://theindiestone.com/forums/index.php/topic/15092-zomboidxbow-update-fix-for-3230/ are incompatible because they override the same ISInventoryPage:refreshBackpacks() function, breaking their containers each other.

  12. When I right click on backpacks sometimes I get this:

    -----------------------------------------STACK TRACE-----------------------------------------function: createMenuEntries -- file: ISCompassMenu.lua line # 138Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f1e37b14function: createMenu -- file: INJECT.lua line # 150function: onRightMouseUp -- file: ISInventoryPane.lua line # 1080java.lang.RuntimeException: __len not defined for operand	at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)	at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:79)	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:724)	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)	at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1672)	at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:53)	at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:81)	at zombie.Lua.Event.trigger(Event.java:37)	at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:141)	at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:150)	at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:1647)	at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	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:182)	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:983)	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1642)	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:63)	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1112)	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1074)	at zombie.ui.UIManager.update(UIManager.java:1185)	at zombie.GameWindow.logic(GameWindow.java:572)	at zombie.GameWindow.run(GameWindow.java:1173)	at zombie.GameWindow.maina(GameWindow.java:974)	at zombie.gameStates.MainScreenState.main(MainScreenState.java:173)-----------------------------------------STACK TRACE-----------------------------------------function: createMenuEntries -- file: ISCompassMenu.lua line # 138Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f1e37b14function: createMenu -- file: INJECT.lua line # 150function: onRightMouseUp -- file: ISInventoryPane.lua line # 1080-----------------------------------------STACK TRACE-----------------------------------------function: createMenuEntries -- file: ISCompassMenu.lua line # 138Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f1e37b14function: createMenu -- file: INJECT.lua line # 150function: onRightMouseUp -- file: ISInventoryPane.lua line # 1080java.lang.RuntimeException: __len not defined for operand	at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)	at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:79)	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:724)	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)	at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1672)	at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:53)	at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:81)	at zombie.Lua.Event.trigger(Event.java:37)	at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:141)	at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:150)	at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:1647)	at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	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:182)	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:983)	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1642)	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:63)	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1112)	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1074)	at zombie.ui.UIManager.update(UIManager.java:1185)	at zombie.GameWindow.logic(GameWindow.java:572)	at zombie.GameWindow.run(GameWindow.java:1173)	at zombie.GameWindow.maina(GameWindow.java:974)	at zombie.gameStates.MainScreenState.main(MainScreenState.java:173)-----------------------------------------STACK TRACE-----------------------------------------function: createMenuEntries -- file: ISCompassMenu.lua line # 138Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@f1e37b14function: createMenu -- file: INJECT.lua line # 150function: onRightMouseUp -- file: ISInventoryPane.lua line # 1080

    what does it means?

×
×
  • Create New...