Project Zomboid

Project Zomboid

RV Interior
gank 2023 年 8 月 6 日 下午 6:08
bug causing server to desync/crash
the isuzu box truck and one of the campers interiors cause the server to desync when entering the vehicle. most of them are fine. seems like rv and unimog and others are fine. but those ones crash the server when entered. earlier i posted a bug related to the isuzu vehicles having breakable walls in them. im guessing that when this issue was resolved, it caused this new bug.

Such as those contained in the BoxIsuzuServerDeal.lua file. such as Base.isuzuboxelec or Base.isuzuboxfood

additionally it was the camper which also had the destroyable walls. it has been patched but now also causes the desync.

everytime this issue happens the server desyncs and people dont even know its happened and they can keep playing for an unlimited time with nothing saving. no chat. and if they drive they will enter black box.
最后由 gank 编辑于; 2023 年 8 月 6 日 下午 6:12
< >
正在显示第 1 - 13 条,共 13 条留言
gank 2023 年 8 月 11 日 上午 9:39 
just an update.
i notice that on the 8th an update was pushed
"Version 1.4.5

* Map Fix: removed wall detailing (was overwritting tile properties)"

the issue with the server crashing while entering these specific rv interiors still exists.
gank 2023 年 8 月 15 日 下午 4:03 
This issue is still happening. Server keeps crashing anytime anyone enters one of these vehicles. box trucks from this file BoxIsuzuServerDeal.lua and one of the pull behind campers.
gank 2023 年 8 月 19 日 上午 11:10 
This issue is still happening. Hoping for an update to the mod to prevent this causing the server to crash.
gank 2023 年 8 月 30 日 上午 2:44 
please fix this issue. we are losing so many members of the server from this issue. anytime anyone enters one of these vehicles people hose hours of work and they leave the server. please please please fix it. there is a very serious server desync issue happening with these specific vehicles. please please fix it.
BOW 2023 年 9 月 4 日 下午 3:43 
we are suffering from this same problem on our server, we were not successful in correcting it with version 1.4.6, waiting for a new update and correction of this bug that breaks the server. tnks
最后由 BOW 编辑于; 2023 年 9 月 4 日 下午 3:43
RobRendell  [开发者] 2023 年 9 月 5 日 上午 6:16 
Sorry, I haven't touched this mod or looked at the discussions here for a while, and it appears that Maxwelt44 (the mod's actual author) hasn't either.

Do you get any errors in the logs when the server crashes? I'm not able to cause a local dedicated server running on Windows to crash by entering a random Base.isuzubox interior.

This discussion talks variously about desync and crashes - do both happen randomly? Is there some way to test if I'm suffering from the desync?
gank 2023 年 9 月 6 日 上午 7:36 
it happens every time, and yes it is possible to test to see if the desync has happened. You can try to enter an rv or drive or talk in chat. basically all communication on the server with the client stops. so from a players perspective it does not seem like anything has happened if they are just sitting at their base. but chat will no longer be sent. and because of this people will be working on their base for a couple hours before they realize what has happened. and everything that is done on the server is not saved for however long before the server is restarted. also when trying to connect to the server it hangs on "authenticating with steam" and as far as the question about logs, when viewing the server console nothing happens from connected clients, however it constantly will spit out messages showing that people are trying to connect and cannot.

and if you would like to test this and are not able to replicate the issue I am happy to provide the ip and port of my server for you to test it.
gank 2023 年 9 月 7 日 下午 1:27 
Update: today a player entered a unimog trailer. the server did the same crash as previously discussed. i inspected the unimog. it has no assigned interior. upon spawning 2 more, I found that they also didnt have assigned interiors. i also spawned the camper and isuzu box trucks and they also had none assigned. is it possible that the black portion of the map in which the rv interiors reside, has run out of room for these types of rv interiors? if so what might be the solution for this.
gank 2023 年 9 月 7 日 下午 7:12 
Problem Found: when checking on vehicle id, it has none assigned. as all vehicle interiors for this type are used. if another vehicle of this type has the id unassigned then a new vehicle can take over that unused interior. Each vehicle type has a total of 25 available interiors. For example once 25 unimog interiors have been assigned to vehicles, the 26th vehicle will have no interior to send a player to, at which point when a player tries to enter it, the server will crash. My proposal is at the very least could you create a fix for this by preventing the enter button on the raidial menu from working or showing up or show a warning message or something to prevent players from being able to enter these vehicles interiors if it isnt possible to assign it a new interior?
Grumpy 2023 年 9 月 18 日 下午 8:37 
引用自 RobRendell
Sorry, I haven't touched this mod or looked at the discussions here for a while, and it appears that Maxwelt44 (the mod's actual author) hasn't either.

Do you get any errors in the logs when the server crashes? I'm not able to cause a local dedicated server running on Windows to crash by entering a random Base.isuzubox interior.

This discussion talks variously about desync and crashes - do both happen randomly? Is there some way to test if I'm suffering from the desync?

For the record this happened on one of my servers today as well. Our problem was the Petyarbuilt Sleeper trucks (both styles of them).

A player would sit in the truck and try to enter interior. It wouldn't let them. But once they clicked the icon to enter the interior the sever lagged out. You could still move around but chat died quickly, anyone driving would get surrounded by black walls. You couldn't turn on, turn off and/or move a vehicle forward/backward.

No error report sent on it. Everything seemed fine for a few hours but now the server is acting up again. Though this time it's not a whole server crash. Just major lag for a bit then it comes back. I fear another interior messed up somewhere. It's like finding a needle in a haystack at this point since I have interior in every vehicle possible on the server.
Grumpy 2023 年 9 月 19 日 下午 3:31 
Additionally the interior of the 86E150's were causing the same issue on our server.

I also noticed that in the coding of the Petyarbuilt's there is a period missing where there should be one for the SleeperLong's.

"Base.ATAPetyarbuiltSleeper",
"BaseATAPetyarbuiltSleeperLong"
RobRendell  [开发者] 2023 年 9 月 27 日 上午 5:46 
Thanks for the additional detail!

The bug is actually more specific than just running out of interiors to allocate... it only happens if you have 24 of 25 interiors allocated, *and* the one still available is interior 25. It turns out that ZombRand(1, 25) only returns values between 1 and 24, so the loop to pick a random unallocated interior would never find interior 25, which was the only one that was free. That put the server into an infinite loop, picking random interiors in the range 1 to 24 forever.

We have a fix which will be released in version 1.4.8.

1.4.8 will also have a fix for the Base.ATAPetyarbuiltSleeperLong

Sorry this took so long to figure out!
最后由 RobRendell 编辑于; 2023 年 9 月 27 日 上午 5:53
gank 2023 年 9 月 30 日 上午 11:55 
引用自 Grumpy
引用自 RobRendell
Sorry, I haven't touched this mod or looked at the discussions here for a while, and it appears that Maxwelt44 (the mod's actual author) hasn't either.

Do you get any errors in the logs when the server crashes? I'm not able to cause a local dedicated server running on Windows to crash by entering a random Base.isuzubox interior.

This discussion talks variously about desync and crashes - do both happen randomly? Is there some way to test if I'm suffering from the desync?

For the record this happened on one of my servers today as well. Our problem was the Petyarbuilt Sleeper trucks (both styles of them).

A player would sit in the truck and try to enter interior. It wouldn't let them. But once they clicked the icon to enter the interior the sever lagged out. You could still move around but chat died quickly, anyone driving would get surrounded by black walls. You couldn't turn on, turn off and/or move a vehicle forward/backward.

No error report sent on it. Everything seemed fine for a few hours but now the server is acting up again. Though this time it's not a whole server crash. Just major lag for a bit then it comes back. I fear another interior messed up somewhere. It's like finding a needle in a haystack at this point since I have interior in every vehicle possible on the server.



if you as an admin right click on the vehicle and assign an interior to the vehicle there will be 25 interiors, if there are * next to the number you will know that interior is used. so once you run out of these interiors that issue presents itself. so its not a specific vehicle causing the problem. its that that rv interior type has run out of interiors. you can enter the interiors and find ones which are unused and then "make them avaliable again" and you could now enter that vehicle without the server crashing.
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50