raclepoulpe Posted July 8, 2014 Share Posted July 8, 2014 Hi all !I'm trying to do a soft reset of my server, running on Linux (ubuntu 14.04)I launch it by adding the -Dsoftreset option in the projectzomboid-dedi-server.sh script, as explain hereThe script return a lot of java.lang.NullPointerException, exemple : Soft clearing chunk: map_1161_908.binSoft clearing chunk: map_1267_645.binSoft clearing chunk: map_1228_675.binSoft clearing chunk: map_1263_596.binSoft clearing chunk: map_1303_649.binSoft clearing chunk: map_1332_599.binSoft clearing chunk: map_1253_653.binSoft clearing chunk: map_1335_600.binSoft clearing chunk: map_1175_681.binx=11750 y=6811 z=0objectsclass zombie.iso.IsoObjectIsoObjectclass zombie.iso.IsoObjectIsoObjectstaticmovingobjectsx=11750 y=6810 z=0objectsclass zombie.iso.IsoObjectIsoObjectstaticmovingobjectsjava.lang.RuntimeException: java.lang.NullPointerException at zombie.iso.IsoGridSquare.load(IsoGridSquare.java:1449) at zombie.iso.IsoChunk.Load(IsoChunk.java:857) at zombie.iso.IsoChunk.Load(IsoChunk.java:242) at zombie.iso.WorldStreamer.DoChunkAlways(WorldStreamer.java:183) at zombie.iso.WorldStreamer.addJobWipe(WorldStreamer.java:306) at zombie.iso.WorldConverter.softreset(WorldConverter.java:326) at zombie.iso.IsoWorld.init(IsoWorld.java:993) at zombie.network.GameServer.main(GameServer.java:199)Caused by: java.lang.NullPointerException at zombie.iso.IsoObject.setOverlaySprite(IsoObject.java:2374) at zombie.iso.IsoObject.load(IsoObject.java:602) at zombie.iso.IsoGridSquare.load(IsoGridSquare.java:1442) ... 7 morejava.lang.NullPointerException at zombie.network.ServerMap.getMinX(ServerMap.java:479) at zombie.network.ServerMap.getGridSquare(ServerMap.java:1037) at zombie.iso.IsoCell.getGridSquare(IsoCell.java:4027) at zombie.characters.IsoGameCharacter.<init>(IsoGameCharacter.java:4248) at zombie.characters.IsoZombie.<init>(IsoZombie.java:245) at zombie.VirtualZombieManager.createRealZombieAlways(VirtualZombieManager.java:534) at zombie.VirtualZombieManager.AddZombiesToMap(VirtualZombieManager.java:864) at zombie.iso.IsoChunk.AddZombies(IsoChunk.java:99) at zombie.iso.IsoChunk.Load(IsoChunk.java:259) at zombie.iso.WorldStreamer.DoChunkAlways(WorldStreamer.java:185) at zombie.iso.WorldStreamer.addJobWipe(WorldStreamer.java:306) at zombie.iso.WorldConverter.softreset(WorldConverter.java:326) at zombie.iso.IsoWorld.init(IsoWorld.java:993) at zombie.network.GameServer.main(GameServer.java:199)Exception in thread "main" java.lang.NullPointerException at zombie.network.ServerMap.getMinX(ServerMap.java:479) at zombie.network.ServerMap.getGridSquare(ServerMap.java:1037) at zombie.iso.IsoCell.getGridSquare(IsoCell.java:4027) at zombie.characters.IsoGameCharacter.<init>(IsoGameCharacter.java:4248) at zombie.characters.IsoZombie.<init>(IsoZombie.java:245) at zombie.VirtualZombieManager.createRealZombieAlways(VirtualZombieManager.java:534) at zombie.VirtualZombieManager.AddZombiesToMap(VirtualZombieManager.java:864) at zombie.iso.IsoChunk.AddZombies(IsoChunk.java:99) at zombie.iso.IsoChunk.Load(IsoChunk.java:259) at zombie.iso.WorldStreamer.DoChunkAlways(WorldStreamer.java:193) at zombie.iso.WorldStreamer.addJobWipe(WorldStreamer.java:306) at zombie.iso.WorldConverter.softreset(WorldConverter.java:326) at zombie.iso.IsoWorld.init(IsoWorld.java:993) at zombie.network.GameServer.main(GameServer.java:199)Then, when I start the server again and I connect to it, zombies are still there, nothing is refill, etc...Is there something that I missed ?ThxOlivier Link to comment Share on other sites More sharing options...
Highlander Posted July 8, 2014 Share Posted July 8, 2014 I have the same problem Link to comment Share on other sites More sharing options...
raclepoulpe Posted July 10, 2014 Author Share Posted July 10, 2014 When I look this line : java.lang.NullPointerException at zombie.network.ServerMap.getMinX(ServerMap.java:479)I guess there is a problem with the map coordinates. I started my server with a build 26, and it's now upgraded to 27#1.I think there is no way to do a soft reset in this case.Any dev to confirm / help me ? 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