Jump to content

ethanwdp

Member
  • Content Count

    583
  • Joined

  • Last visited

2 Followers

About ethanwdp

  • Rank
    Not Satan

Profile Information

  • Gender
    Man
  • Interests
    Modding, computers, gaming.

Contact Methods

  • Skype
    ethanwdp

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Refactoring the Vehicle submenu creation loop into a separate function seems to have fixed the error, so I guess now is a good time to get around to that rewrite I keep procrastinating on. Thank you so much for your help.
  2. That's why I made this thread, haha. It kinda sucks that some of my mod's users have turned to alternatives such as NF because of this issue, but I'm really not sure how to fix it.
  3. When loading my Cheat Menu mod with the game's Debug Mode enabled, I get the following error: LOG : Lua, 1581544592023> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/CheatCoreForCheatMenu.lua LOG : General, 1581544592025> [CHEAT MENU] CheatCore successfully loaded LOG : Lua, 1581544592026> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/CheatMenuCompassPresets.lua LOG : Lua, 1581544592027> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/CheatMenuHomeWindow.lua LOG : Lua, 1581544592027> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/CheatMenuTerraformTiles.lua LOG : Lua, 1581544592028> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/CrucibleUI/crucibleMain.lua LOG : Lua, 1581544592029> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/GenericInputWindow.lua LOG : Lua, 1581544592029> LuaManager.RunLua> Loading: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/ISUICheatMenu.lua Feb 12, 2020 4:56:32 PM zombie.Lua.LuaManager RunLua SEVERE: Error found in LUA file: C:/Users/Owner_/Zomboid/Workshop/Cheat Menu/Contents/mods/Cheat Menu/media/lua/client/ISUI/ISUICheatMenu.lua ERROR: General, 1581544592035> ExceptionLogger.logException> Exception thrown java.lang.ArrayIndexOutOfBoundsException: 200 at LexState.new_localvar line:762. ERROR: General, 1581544592035> DebugLogStream.printException> Stack trace: java.lang.ArrayIndexOutOfBoundsException: 200 at org.luaj.kahluafork.compiler.LexState.new_localvar(LexState.java:762) at org.luaj.kahluafork.compiler.LexState.localstat(LexState.java:1648) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1767) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1791) at org.luaj.kahluafork.compiler.LexState.block(LexState.java:1351) at org.luaj.kahluafork.compiler.LexState.test_then_block(LexState.java:1600) at org.luaj.kahluafork.compiler.LexState.ifstat(LexState.java:1611) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1737) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1791) at org.luaj.kahluafork.compiler.LexState.body(LexState.java:1027) at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1208) at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1304) at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1322) at org.luaj.kahluafork.compiler.LexState.explist1(LexState.java:1037) at org.luaj.kahluafork.compiler.LexState.assignment(LexState.java:1404) at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1697) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1780) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1791) at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:199) at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132) at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124) at zombie.Lua.LuaManager.RunLua(LuaManager.java:461) at zombie.Lua.LuaManager.RunLua(LuaManager.java:431) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:279) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:206) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:324) at zombie.GameWindow.init(GameWindow.java:1008) at zombie.GameWindow.mainThreadInit(GameWindow.java:523) at zombie.GameWindow.mainThread(GameWindow.java:463) at java.lang.Thread.run(Thread.java:745) It doesn't specify a line, but if I'm reading the error correctly then there's something about one of my if/then expressions that the compiler doesn't like. This only happens when Debug Mode is enabled, so I'm guessing that there's a conditional for the Debug flag somewhere in the game's code that modifies how the compiler handles expressions. Some insight on how to solve this would be greatly appreciated. The Lua file that's encountering the error is over 600 lines long and I don't really expect anyone to dig through it, but I've attached it for good measure. ISUICheatMenu.lua
  4. I think the files you're looking for are in (game folder)/zombie/popman. All of the files in this folder have the .class extension, which can be viewed with a Java decompiler.
  5. I'm not sure if this is a bug with LuaManager or if I'm doing something wrong, but calling addVehicle spits out an invocation error on 41.21. The vehicle seems to be spawned correctly, but it disappears when the player leaves the cell. On Build 40 neither the error nor the despawning occurs. Code to replicate the error: addVehicle("Base.SmallCar") -- spawns a Chevalier Dart The error:
  6. Use Perks.FromString (or Perks.fromIndex if you're iterating numerically). I don't know why, but accessing Perks like a regular table & passing it to a Kahlua function results in errors. for i, k in pairs(Perks) do local perk = Perks.FromString(i) if PerkFactory.getPerk(perk) ~= nil then getPlayer():getXp():AddXP(perk,10) end end Some of the "perks" (i.e Agility) are categories, so I'd recommend using PerkFactory.getPerk to ensure that the perk exists.
  7. It's most likely a problem on your end, as it works fine for me. If you don't mind, could you load into a save with Cheat Menu enabled & send me the console.txt after closing the game?
  8. Great update! Is there any way to get the console back? Being able to print stuff to the console while testing mods was super useful.
  9. Apologies for the late reply, I don't check this forum much. I've updated the description to include another manual download link.
  10. Updated to V2.7.1 Changelog: Prevent Death now functions properly, courtesy of Slok. Thanks to his code contribution, nothing short of falling several stories will kill you. Fixed quite a few bugs for Warp Time, it now correctly sets days/months. Changed the amount of years in Warp Time from 1 - 20 (additive) to 1993 - 2077. Fixed a minor bug in the Vehicles submenu that added engine power/loudness/quality setters to every menu in the Under-the-hood category.
  11. ethanwdp

    Mind Mod

    Glad to see this mod is back, I missed having intact windows in my bases.
  12. Updated to V2.7. Changelog: Added Vehicle Godmode. Added Repair All Parts, Add Key To Inventory, Permanently Remove Vehicle, and Toggle Hotwire. Added vehicle part editing, every part on the vehicle can now be edited. Added Freeze Day/Night Cycle. Redid the UI elements so that they now scale properly for different resolutions. Changed how Stats Toggle works, mostly just a behind-the-scenes change. Tidied up CheatCoreForCheatMenu.lua.
  13. It works with every version from 32 and onwards. It's modular, so if one feature breaks the rest will still be working.
  14. Cheat Menu has Instant Actions which makes all item transfers complete instantly, as well as building things (don't think it works on crafting, since there's a separate function for that in the mod).
×
×
  • Create New...