#b42.16.1 - spawnregions.lua modifications lead to be unable to claim safehouses

1 messages · Page 1 of 1 (latest)

spring bobcat
#

I've opened up a thread regarding a similar issue few days ago: https://discord.com/channels/136501320340209664/1490286634514776175

basically i thinked that using modded maps were causing issues to claim safehouse but no, the root cause is the modification of spawnregions.lua file.

I've edited the file adding only the 'native' spawnpoints.lua files (ex: brandenburg or Ekron) provided by indiestone in the server file, and the issue is always reproductible

Ex:

{ name = "Brandenburg", file = "media/maps/Brandenburg, KY/spawnpoints.lua" },

Since the forum doesn't allow posting bugs for Modded version of the game, i wanted to know if this is a know issue to be addressed

Thanks

#

server_console.log

WARN : Multiplayer  f:483567, t:1775313727520, st:6 855 237 972> PacketTypes$PacketType.onServerPacket> The packet SafezoneClaim is not consistent: { "SafezoneClaimPacket": { "x" : 2126, "y" : 14515, "w" : 54, "h" : 41, "title" : "When using modded map in B42.16.1 MP, safehouse claim is broken, the server throw an exception related to being unable to find the claim location" }  , "PlayerID": { "playerIndex" : 0 }  , "IDShort": { "id" : 28 }  }
#

server_error.log

WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.lwjgl.system.MemoryUtil (file:/home/pz_b42/.local/share/Steam/steamapps/common/Project%20Zomboid%20Dedicated%20Server/java/projectzomboid.jar)
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
#

server_error.log

ERROR: General      f:85, t:1775566762266, st:7 108 272 718> GameServer.mainLoopDealWithNetData  > Error with packet of type: SafehouseClaim for 202661984395206174
ERROR: General      f:85, t:1775566762266, st:7 108 272 718> GameServer.mainLoopDealWithNetData> Exception thrown
        java.lang.NullPointerException: Cannot invoke "zombie.gameStates.ChooseGameInfo$Map.getZoomX()" because "map" is null at SafeHouse.setLocation(SafeHouse.java:836). Message:
        Stack trace:
                zombie.iso.areas.SafeHouse.setLocation(SafeHouse.java:836)
                zombie.iso.areas.SafeHouse.addSafeHouse(SafeHouse.java:75)
                zombie.iso.areas.SafeHouse.addSafeHouse(SafeHouse.java:103)
                zombie.network.packets.safehouse.SafehouseClaimPacket.processServer(SafehouseClaimPacket.java:97)
                zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:966)
                zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1596)
                zombie.network.GameServer.main(GameServer.java:900)
full haven
#

Just to understand, this can be reproduced with vanilla or custom spawn regions?

#

If yes, then you can post it on the forums

spring bobcat
#

The behavior is quite curious because the spawnpoints are actually working, but it lead to graphical bug where's the map^preview is not loaded correctly and prevent any admin or players to claim a safehouse

#

(using either the contextual action or the admin zone tool)

full haven
spring bobcat
#

ty

#

i'll try to deploy a vanilla server, reproduce the issue and send the logs into the indie stone forum as bug report

tawny orchid
#

Just tested myself. Can confirm this issue. Also affects the new spawn locations added in 42.17.0 hilariously. So multiplayer servers are really significantly impacted by this because safehouse claims are such a vital part of vanilla gameplay. I'm writing up a forum bug report post now cc @full haven

tawny orchid
#
The Indie Stone Forums

Version: 42.17.0 (same issue existed in 42.16.x and 42.15.x as well) Mode: Multiplayer - local host and dedicated server both same issue Server settings: Irrelevant Mods: Tested with and without mods - reproduced both times Save: New Save/Fresh Wipe Description/How to Reproduce: Any amendments wh...

spring bobcat
tawny orchid