Jump to content

[41.19] Ammo required to unload mag


Arsenal26

Recommended Posts

Seems if you try to remove bullets from a magazine, it will only work if you have at least 1 of the same (loose) bullets in your inventory...

 

Otherwise this error pops up:

 

 


LOG  : General, 1573528521584> -----------------------------------------
LOG  : General, 1573528521594> STACK TRACE
LOG  : General, 1573528521604> -----------------------------------------
LOG  : General, 1573528521614> function: update -- file: ISLoadBulletsInMagazine.lua line # 31
ERROR: General, 1573528521624> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in null at KahluaUtil.fail line:82.
ERROR: General, 1573528521635> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __sub not defined for operands in null
    at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:675)
    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.pcallvoid(KahluaThread.java:1789)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
    at zombie.characters.CharacterTimedActions.LuaTimedActionNew.update(LuaTimedActionNew.java:54)
    at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:8601)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:8349)
    at zombie.characters.IsoPlayer.lambda$update$40(IsoPlayer.java:1880)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.characters.IsoPlayer.update(IsoPlayer.java:1872)
    at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2610)
    at zombie.iso.IsoCell.updateInternal(IsoCell.java:5338)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.iso.IsoCell.update(IsoCell.java:5282)
    at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3017)
    at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
    at zombie.iso.IsoWorld.update(IsoWorld.java:2945)
    at zombie.gameStates.IngameState.updateInternal(IngameState.java:1520)
    at zombie.gameStates.IngameState.update(IngameState.java:1255)
    at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
    at zombie.GameWindow.logic(GameWindow.java:279)
    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)
LOG  : General, 1573528521651>
LOG  : General, 1573528521661> -----------------------------------------
LOG  : General, 1573528521671> STACK TRACE
LOG  : General, 1573528521681> -----------------------------------------
LOG  : General, 1573528521691> function: update -- file: ISLoadBulletsInMagazine.lua line # 31

 

 

Edited by Arsenal26
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...