Project Zomboid

Project Zomboid

74 ratings
SSR: Safehouses Overhaul
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.300 MB
Oct 23, 2017 @ 9:53am
Sep 16, 2024 @ 1:52am
24 Change Notes ( view )

Subscribe to download
SSR: Safehouses Overhaul

In 1 collection by Oneline
SpiffoSpace Russia
5 items
Description
This mod implements factions-based safehouse capture system
(includes safehouse UI overhaul and auto raid-times that allow trespassing)

Tested on Build 41.78

This mod has reached its End of Life.
Due to low interest to the mod over past few years, I've decided to drop the support, which means there won't be updates with improvements anymore.

Client-side installation:
1) Subscribe
2) Enjoy

Server-side installation:
Step 1: Java mod
Install of java mod is required for auto-change of safehouse settings to work.

Download the latest version of java mod[drive.google.com] and unpack the archive to pzserver.

Windows
Open batch file you use to run the server and replace zombie.network.GameServer with zombie.SSROverride.

Linux
Use start-server-jm.sh to launch the server.

Starting from 41.68 the game has "1 safehouse per player" restriction hardcoded in network packet verification
To remove this limit, download fix (select the correct version or you'll have problems)[drive.google.com] and copy java folder to server directory.

Step 2: Configuration
1) Install mod to your server(if you only need raid-times, use ssr-private-lite and skip to step 3)
2) If you don't want players to be able to capture owned safehouses, also enable ssr-private-e1
3) Run server once (config file will be created)
4) Disable safehouses trespassing, fire and looting in servertest.ini
5) Go to Zomboid\Lua directory and edit FWSettings.ini
Here're some notes:
RT=true // enables raid-times on server (true or false) StartTime=20 // must be lower than EndTime (1-23) EndTime=21 // must be higher than StartTime (1-23) DaysOfWeek=1,2,3,4,5,6,7 // set schedule for raids (1-7) AllowFireOnRT=false // allows putting safehouses on fire during rt (true or false) AllowLootOnRT=false // allows looting safehouses during rt (true or false) HoursUntilPenalty=24 // time given to faction to recruit more members on points mismatch
6) Enjoy

Notes
Default rules: capture of claimed safehouses is disabled (use ssr-private-c to enable); 1 point for faction on start (for solo players) + 1 point per 2 members (incl. leader).
Legacy rules (applied when ssr-private-c is enabled): 1 point per 3 members (excl. leader) + 1 point for the first 3 members to use for raiding other factions.
The larger the building, the more points you'll need to claim it. Small houses cost 1 point.
This should balance things out a bit, making difficult for small factions to raid big ones (probably).
For default rules I recommend enabling AllowLootOnRT, for legacy rules I recommend leaving both AllowFireOnRT and AllowLootOnRT at OFF, so that there was some point in raiding other people (implying that to loot someone's safehouse you need to capture it first).
I've moved old screenshots[imgur.com] to imgur. Check them out in case you need better illustration of how things work.



Join my discord server for updates and support:
[discord.gg]

If you like my mods, please, consider donating.
Even $1 is highly appreciated and shows that you care.
[boosty.to]
[www.blockchain.com]

Redistribution of this mod without explicit permission from the original creator is prohibited under any circumstances. This includes, but not limited to, uploading this mod to the Steam Workshop or any other site, distribution as part of another mod or modpack, distribution of modified versions. The product can be published on Steam only through an account with the name Oneline.

© 2017-2024 Oneline
[theindiestone.com]

Workshop ID: 1178772929
Mod ID: ssr-private
Mod ID: ssr-private-c
Mod ID: ssr-private-lite
Popular Discussions View All (1)
13
Dec 13, 2024 @ 2:20pm
Bug Reports
Oneline
136 Comments
Oneline  [author] Dec 14, 2024 @ 11:48pm 
@RegularPlayer it definitely can be caused by incompatibility with other mods that affect safehouses, but it's probably one of reasons I mentioned earlier. It is also possible to lose recently claimed safehouses by shutting down server without saving. And of course there's an option to remove safehouses for inactivity in server settings.

You should check server logs to confirm:
1) the moment when safehouse was claimed;
2) the moment when safehouse was removed.
Each of them has a corresponding message (if safehouse is removed by the mod for points mismatch it will also show a message).
RegularPlayer Dec 14, 2024 @ 10:16am 
Still doesn't work
RegularPlayer Dec 14, 2024 @ 9:29am 
I believe the problem is a Incompatibility with another mod called Faction Safehouses with friends, A mod that will Automatically add faction members to safehouses

I removed that mod and will tell you if the issue persists

And yes, I have installed the Safehouse limit uncap java mod
Oneline  [author] Dec 14, 2024 @ 5:32am 
@RegularPlayer safehouse claim can be removed in a few cases:
1) some player(s) left the faction, and it no longer has enough points to own claimed safehouse(s).
2) you forgot to install the fix that removes 1 safehouse per player limit, and when faction claims the second safehouse it simply isn't synced.
RegularPlayer Dec 13, 2024 @ 3:28pm 
Safehouse claims are sometimes removed, typically when the player logs out, can you help us out?
RegularPlayer Dec 11, 2024 @ 2:00pm 
nevermind!
RegularPlayer Dec 11, 2024 @ 1:57pm 
Hello! Players get redbox errors when inside of a house & claiming safehouse's doesn't seem to work
Oneline  [author] Nov 4, 2024 @ 2:26am 
@silent реальное время. Часовой пояс любой, какой установите в настройках системы, на которой запущен игровой сервер.
SILENT PREDATOR Nov 3, 2024 @ 11:32pm 
StartTime=20
EndTime=21
Здесь указывается игровое время или реальное время? И если реальное, то в каком UTC?
Oneline  [author] Jun 13, 2024 @ 1:13pm 
@merry ssr-private and ssr-private-lite are mutually exclusive