blackteapie Posted January 13, 2017 Share Posted January 13, 2017 3 hours ago, blindcoder said: 2. Only the parts no longer supported, see the first screenshot. So, if I detroy all 4 sides of wall on 2nd floor of a four storey building, would all floors above 2nd floor collapse or just 3rd floor collapse? Link to comment Share on other sites More sharing options...
Gman Posted January 14, 2017 Share Posted January 14, 2017 My thoughts on this mod is it is a great mod, but you're a sell out. Link to comment Share on other sites More sharing options...
blindcoder Posted January 14, 2017 Author Share Posted January 14, 2017 20 hours ago, blackteapie said: So, if I detroy all 4 sides of wall on 2nd floor of a four storey building, would all floors above 2nd floor collapse or just 3rd floor collapse? All floors above will collapse. The check is recursive for all destroyed walls. Link to comment Share on other sites More sharing options...
nasKo Posted January 14, 2017 Share Posted January 14, 2017 6 hours ago, Gman said: My thoughts on this mod is it is a great mod, but you're a sell out. lol How? Rathlord, tommysticks and Kuren 3 Link to comment Share on other sites More sharing options...
Ciber Ninja Posted January 15, 2017 Share Posted January 15, 2017 If you tie support distance to carpentry skill, then you should let engineer or construction worker or both start out with max support distance. Link to comment Share on other sites More sharing options...
blackteapie Posted January 15, 2017 Share Posted January 15, 2017 On 2017年1月14日 at 6:52 PM, blindcoder said: All floors above will collapse. The check is recursive for all destroyed walls. Something just cross my mind. I think there should be some change to the roll-up doors. In the current version of PZ, players will destroyed both of the doorframe and the door in a tile, which means all the supports for that tile is destroyed. Therefore, we will evitably got injury if we try to break a roll-up door inside a building. Kuren 1 Link to comment Share on other sites More sharing options...
blindcoder Posted January 15, 2017 Author Share Posted January 15, 2017 3 minutes ago, blackteapie said: , we will evitably got injury if we try to break a roll-up door inside a building Whtat's a roll-up door? Can you give a link on the map? Link to comment Share on other sites More sharing options...
tommysticks Posted January 15, 2017 Share Posted January 15, 2017 On 1/14/2017 at 10:17 AM, nasKo said: lol How? The exact post I was going to make. Link to comment Share on other sites More sharing options...
tommysticks Posted January 15, 2017 Share Posted January 15, 2017 4 hours ago, blackteapie said: Something just cross my mind. I think there should be some change to the roll-up doors. In the current version of PZ, players will destroyed both of the doorframe and the door in a tile, which means all the supports for that tile is destroyed. Therefore, we will evitably got injury if we try to break a roll-up door inside a building. I believe this is the case because currently the roll-up doors aren't functional. As in the wooden doors open and shut, so there is a separate image for both the door and the frame, so you can destroy the door and not the frame. Link to comment Share on other sites More sharing options...
blackteapie Posted January 16, 2017 Share Posted January 16, 2017 (edited) 18 hours ago, blindcoder said: Whtat's a roll-up door? Can you give a link on the map? A roll-up door is something like this. In the game these doors are usually located in large warehouse. Players can't only destroy the door, but also the door frame, which means we will have to destroy all support at that tile. Edited January 16, 2017 by blackteapie Kuren 1 Link to comment Share on other sites More sharing options...
nolanri Posted January 16, 2017 Share Posted January 16, 2017 8 hours ago, blackteapie said: A roll-up door is something like this. In the game these doors are usually located in large warehouse. Players can't only destroy the door, but also the door frame, which means we will have to destroy all support at that tile. that is technically just a wall. A wall that is colored to look like a door. blackteapie 1 Link to comment Share on other sites More sharing options...
thrandisher Posted January 16, 2017 Share Posted January 16, 2017 (edited) Ok, like i said on steam, ill be buzy soon until tonight, when ill be able to do more testing. Error while loading up on server 1484593674592 function: C:\pzserver\steamapps\workshop\content\108600\836161359\mods\bcGravity\media\lua\server\bcGravity.lua -- file: bcGravity.lua line # 9 Jan 16, 2017 11:07:54 AM zombie.Lua.LuaManager RunLua SEVERE: null Jan 16, 2017 11:07:54 AM zombie.Lua.LuaManager RunLua SEVERE: null java.lang.RuntimeException: at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1285) 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 se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:77) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4955) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:853) at zombie.network.GameServer.doMinimumInit(GameServer.java:2110) at zombie.network.GameServer.main(GameServer.java:598) Jan 16, 2017 11:07:54 AM zombie.Lua.LuaManager RunLua SEVERE: null Didnt notice that server start up error untill today. Here is the error i got when it should have kicked in and the roof falling down. 1484507683861 function: destroyObject -- file: bcGravity.lua line # 102 1484507683861 function: itsTheLaw -- file: bcGravity.lua line # 207 1484507683861 function: obeyGravity -- file: bcGravity.lua line # 276 1484507683861 function: OnTileRemoved -- file: bcGravity.lua line # 331 1484507683862 Callframe at: sledgeDestroy 1484507683862 function: perform -- file: ISDestroyStuffAction.lua line # 118 java.lang.RuntimeException: attempted index: character of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1549) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:473) 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:83) at zombie.iso.IsoGridSquare.RemoveTileObject(IsoGridSquare.java:4540) at zombie.network.GameClient.destroy(GameClient.java:4767) at zombie.Lua.LuaManager$GlobalObject.sledgeDestroy(LuaManager.java:2134) 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 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.LuaJavaInvoker.call(LuaJavaInvoker.java:189) 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:72) at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:77) at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:9723) at zombie.characters.IsoPlayer.update(IsoPlayer.java:2726) at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:1366) at zombie.iso.IsoCell.update(IsoCell.java:4682) at zombie.iso.IsoWorld.update(IsoWorld.java:2862) at zombie.gameStates.IngameState.update(IngameState.java:1272) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:634) at zombie.GameWindow.run(GameWindow.java:1246) at zombie.GameWindow.maina(GameWindow.java:1022) at zombie.gameStates.MainScreenState.main(MainScreenState.java:180) It will be about 8 hours or so until i can run more tests. Mostly to see if its conflicting with something, trying a new world and not on a pre existing one, things like that. Something i did notice was that when i got the error on a default building, nothing happened to the roof. I shut down server, did some voodoo, started it back up and the section of the roof was magicly destoryed like it should have been. I tried doing it again. Got the error, reloaded game and server, and the next section was still up. BTW, i did find the CRC problem i was having. Turns out i had some 3d model loaders still in my game install directory, so after reinstalling and clearing that out, i was golden. EDIT: Ok, single player works fine. there are 0 errors, walls destroy just fine. Working as intended. Its only muliplayer that i get the errors. On server startup, then on client when i try to destroy things. Test it with only gravity, bcutils, and your mod preset save thingy. Which also lead me to a rare bug ive having the last 2 days with the menu, which i haven tracked down yet as to if its a mod problem, or error between keyboard and chair yet. Im thinking it might be due to the mod presets one, but i wasnt able to duplicate it when i tried to. Edited January 17, 2017 by thrandisher Link to comment Share on other sites More sharing options...
blindcoder Posted January 17, 2017 Author Share Posted January 17, 2017 Oooh, I see the problem. I'm apparently using client code in the server path... Gotta look into that. Link to comment Share on other sites More sharing options...
thrandisher Posted January 17, 2017 Share Posted January 17, 2017 We keep going here, im gonna run out of things for you! Link to comment Share on other sites More sharing options...
blindcoder Posted January 22, 2017 Author Share Posted January 22, 2017 @thrandisher I just uploaded a new version to the workshop that should fix this. Can you please try again? Link to comment Share on other sites More sharing options...
thrandisher Posted January 22, 2017 Share Posted January 22, 2017 3 hours ago, blindcoder said: @thrandisher I just uploaded a new version to the workshop that should fix this. Can you please try again? Ok, heres the error. Looks like 1 is same as before, plus a new one. Spoiler 1485099132143 STACK TRACE 1485099132143 ----------------------------------------- 1485099132144 function: C:\pzserver\steamapps\workshop\content\108600\836161359\mods\bcGravity\media\lua\server\bcGravity.lua -- file: bcGravity.lua line # 9 java.lang.RuntimeException: attempted index: perform of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1549) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:473) 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 se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:77) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4955) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:853) at zombie.network.GameServer.doMinimumInit(GameServer.java:2110) at zombie.network.GameServer.main(GameServer.java:598) 1485099132154 1485099132154 ----------------------------------------- 1485099132154 STACK TRACE 1485099132155 ----------------------------------------- 1485099132155 function: C:\pzserver\steamapps\workshop\content\108600\836161359\mods\bcGravity\media\lua\server\bcGravity.lua -- file: bcGravity.lua line # 9 Jan 22, 2017 7:32:12 AM zombie.Lua.LuaManager RunLua SEVERE: null Jan 22, 2017 7:32:12 AM zombie.Lua.LuaManager RunLua SEVERE: null java.lang.RuntimeException: at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1285) 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 se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:77) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4955) at zombie.Lua.LuaManager.RunLua(LuaManager.java:4919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:919) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:853) at zombie.network.GameServer.doMinimumInit(GameServer.java:2110) at zombie.network.GameServer.main(GameServer.java:598) What was odd was my test server i had for just this, wouldnt update this, but my normal server updated it just peachy, lol. I see 0 errors on client side for it when going into a server with gravity installed. Anyway, ill try to play around with it today some more, include try to verify the item duplication. Looking good tho Link to comment Share on other sites More sharing options...
blindcoder Posted January 22, 2017 Author Share Posted January 22, 2017 Okay, just uploaded v0.3.4 (check mod.info) that should fix this. Clientside shouldn't see any errors as there's no clientside code Link to comment Share on other sites More sharing options...
thrandisher Posted January 22, 2017 Share Posted January 22, 2017 9 minutes ago, blindcoder said: Okay, just uploaded v0.3.4 (check mod.info) that should fix this. Clientside shouldn't see any errors as there's no clientside code Ahh, i figured that was the case, but i wanted to make sure on both ends Ok, update finally came through and...... No errors while loading up now! Looks good. Ill run a few more tests but everything seems to be working perfect now. blindcoder 1 Link to comment Share on other sites More sharing options...
blindcoder Posted January 24, 2017 Author Share Posted January 24, 2017 I just uploaded v0.4.0 which should finally fix this mod for both single and multiplayer. Link to comment Share on other sites More sharing options...
ditoseadio Posted January 24, 2017 Share Posted January 24, 2017 2 hours ago, blindcoder said: I just uploaded v0.4.0 which should finally fix this mod for both single and multiplayer. I've got this error when putting out a campfire. Quote 1485295260234 ----------------------------------------- 1485295260234 STACK TRACE 1485295260235 ----------------------------------------- 1485295260235 function: OnTileRemoved -- file: bcGravity.lua line # 383 1485295260235 Callframe at: RemoveTileObject 1485295260235 function: removeFireObject -- file: ISCampfire.lua line # 113 1485295260235 function: syncFireFire -- file: camping.lua line # 169 1485295260235 function: changeFireLvl -- file: camping.lua line # 217 1485295260236 function: putOutCampfire -- file: camping.lua line # 104 1485295260236 function: perform -- file: ISPutOutCampfireAction.lua line # 31 Link to comment Share on other sites More sharing options...
thrandisher Posted January 24, 2017 Share Posted January 24, 2017 Error that appeared as someone ran by my test area. Rest of the situation i think i explained all on workshop page. 1485299612520 attempted index: getX of non-table: null 1485299612520 1485299612521 ----------------------------------------- 1485299612521 STACK TRACE 1485299612522 ----------------------------------------- 1485299612522 function: ReceiveFromClient -- file: bcGravity.lua line # 361 java.lang.RuntimeException: attempted index: getX of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1549) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:623) 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:181) at zombie.network.GameServer.receiveClientCommand(GameServer.java:4847) at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:2627) at zombie.network.GameServer.main(GameServer.java:740) 1485299612531 1485299612531 ----------------------------------------- 1485299612531 STACK TRACE 1485299612532 ----------------------------------------- 1485299612532 function: ReceiveFromClient -- file: bcGravity.lua line # 361 Link to comment Share on other sites More sharing options...
blindcoder Posted January 25, 2017 Author Share Posted January 25, 2017 Okay, that should be an easy fix. Link to comment Share on other sites More sharing options...
blindcoder Posted January 25, 2017 Author Share Posted January 25, 2017 9 hours ago, ditoseadio said: I've got this error when putting out a campfire. The part above the STACK TRACE would be interesting av it contains the error. Link to comment Share on other sites More sharing options...
ditoseadio Posted January 25, 2017 Share Posted January 25, 2017 10 hours ago, blindcoder said: The part above the STACK TRACE would be interesting av it contains the error. Console shows this... 1485368605280 ----------------------------------------- 1485368605281 STACK TRACE 1485368605281 ----------------------------------------- 1485368605281 function: OnTileRemoved -- file: bcGravity.lua line # 383 1485368605281 Callframe at: RemoveTileObject 1485368605282 function: removeFireObject -- file: ISCampfire.lua line # 113 1485368605282 function: syncFireFire -- file: camping.lua line # 169 1485368605282 function: changeFireLvl -- file: camping.lua line # 217 1485368605282 function: putOutCampfire -- file: camping.lua line # 104 1485368605282 function: perform -- file: ISPutOutCampfireAction.lua line # 31 java.lang.RuntimeException: attempted index: getProperties of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1549) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:623) 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:83) at zombie.iso.IsoGridSquare.RemoveTileObject(IsoGridSquare.java:4540) 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 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.LuaJavaInvoker.call(LuaJavaInvoker.java:189) 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:72) at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:77) at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:9723) at zombie.characters.IsoPlayer.update(IsoPlayer.java:2726) at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:1366) at zombie.iso.IsoCell.update(IsoCell.java:4682) at zombie.iso.IsoWorld.update(IsoWorld.java:2862) at zombie.gameStates.IngameState.update(IngameState.java:1272) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:634) at zombie.GameWindow.run(GameWindow.java:1246) at zombie.GameWindow.maina(GameWindow.java:1022) at zombie.gameStates.MainScreenState.main(MainScreenState.java:180) Link to comment Share on other sites More sharing options...
blindcoder Posted January 25, 2017 Author Share Posted January 25, 2017 Okay, similiar fix, I'll have it up tonight. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now