Thuztor Posted January 6, 2015 Share Posted January 6, 2015 I've tested my map with own textures and room definitions and so on.It works very well, after breaking into a hotel with an alarm system - the game crashed.I'm not quite sure, if this is the reason, but it makes sense, because it happens nearly contemporaneous. Here is the console.txt output as download: https://dl.dropboxusercontent.com/u/69737873/console.txt And the error part embedded in this spoiler:STATE: enter zombie.gameStates.IngameStateJan 06, 2015 4:34:03 PM zombie.gameStates.IngameState updateSEVERE: nulljava.lang.NumberFormatException: For input string: "tz_82" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at zombie.characters.IsoGameCharacter.DoFootstepSound(IsoGameCharacter.java:5174) at zombie.characters.IsoPlayer.update(IsoPlayer.java:3685) at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:1417) at zombie.iso.IsoCell.update(IsoCell.java:5244) at zombie.iso.IsoWorld.update(IsoWorld.java:2186) at zombie.gameStates.IngameState.update(IngameState.java:1135) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:623) at zombie.GameWindow.run(GameWindow.java:1151) at zombie.GameWindow.maina(GameWindow.java:976) at zombie.gameStates.MainScreenState.main(MainScreenState.java:150) 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 com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source)STATE: exit zombie.gameStates.IngameState Link to comment Share on other sites More sharing options...
RoboMat Posted January 6, 2015 Share Posted January 6, 2015 Looks like it is caused by one of your custom tiles. If I am reading the error log correctly it happens because you have a string where you need an Int. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 6, 2015 Share Posted January 6, 2015 It looks like this lineint index = Integer.parseInt(floorName.replaceFirst("floors_interior_tilesandwood_01_", ""));I guess you have a tileset called tz_floors_interior_tilesandwood_01? Link to comment Share on other sites More sharing options...
Thuztor Posted January 6, 2015 Author Share Posted January 6, 2015 Yup, and there are wooden tiles in it.I tested a bit and every time I walk on them, the game crashes. But I don't understand what's wrong. Link to comment Share on other sites More sharing options...
EasyPickins Posted January 7, 2015 Share Posted January 7, 2015 It's a bug in the game, it removes the "floors_interior_tilesandwood_01_" from the name of the tile and that leaves only "tz_82". I've fixed the bug but there's nothing you can do except not walk on those tiles for now. Link to comment Share on other sites More sharing options...
Thuztor Posted January 7, 2015 Author Share Posted January 7, 2015 Oh, the tilesheet is calling "tz_floors_interior_tilesandwood_01" as you said two posts before.I don't know where the last _ comes from. Link to comment Share on other sites More sharing options...
ddraigcymraeg Posted February 24, 2017 Share Posted February 24, 2017 (edited) Hello, did this ever get fixed? I am playing with the version from the download link on the thread below, and get this error in PZ 36.4. Odd, since it seemed to be not working, then working last night, but definitely not working today : EDIT: Definitely not working, was in Ghost mode the times it did work. Edited February 25, 2017 by ddraigcymraeg 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