Project Zomboid

Project Zomboid

Not enough ratings
Adjustable Safehouse Claim Panel
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
131.676 KB
Oct 15, 2024 @ 10:12pm
Feb 9 @ 11:17pm
7 Change Notes ( view )

Subscribe to download
Adjustable Safehouse Claim Panel

Description
Adjustable Safehouse Claim Panel
Unlock the ability to claim custom-built bases as safehouse

This mod improves default safehouse claiming system, allowing you to claim rectangular areas using width and height sliders.

FIXED:
Fixed the issue where you cant claim cuz of the claim button being disabled


UPDATE:
I added a release button when you have a safehouse already(instead of disabling the panel)
I also fixed the bugged road checker
visual highlight thing when you press set to stay for 5 seconds
will show which ones are red and green
auto closes the panel when player moves (to prevent bugs)
follows the server option of number of days survive requirement
no longer be able to claim spawn locations

How it works:

Move to the center of the area you want to claim.
Adjust the sliders to define the size of the safehouse.
Press "Check" to preview the area. The system will check for potential issues:
No zombies in the area.
Not on the map's edge.
Doesn't overlap with another safehouse.
Roads (sandbox options).
If no issues are found, the "Claim" button will be enabled.
Press "Claim" to finalize the claim. Congratulations!


Sandbox Options:
Slider Limit
Number of Squares Limit
Toggle Safehouse Claiming on Roads
Hide Contextmenu When Player already has a Safehouse

Built for MP
can be installed mid save
May potentially cause lag if you set the options to max



--------------------------------------------------



Originally posted by author:
Mod by Glytch3r
Commissioned by Krusttyx
Update sponsored by DerHauge



All my mods are commissioned including this one
For custom pz mod commissions contact me


discord: Glytch3r#7331 / glytch3r
[ko-fi.com]
https://ko-fi.com/glytch3r


Workshop ID: 3349581611
Mod ID: AdjustableSafehouse
19 Comments
Glytch3r  [author] Feb 14 @ 3:58pm 
@Alktimel
thank you for your support
Alktimel Feb 10 @ 11:13pm 
No worries, thank you very very much! This is one of the crucial mods I need for my server. Donation incomming! <3
Glytch3r  [author] Feb 9 @ 11:25pm 
fixed the mod sorry for the trouble
Alktimel Feb 8 @ 11:26pm 
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Alktimel Feb 8 @ 11:26pm 
`attempted index: getProfession of non-table: null
function: isSpawnPoint -- file: AdjustableSafehouse_Panel.lua line # 777 | MOD: AdjustableSafehouse
function: isValidSq -- file: AdjustableSafehouse_Panel.lua line # 80 | MOD: AdjustableSafehouse
function: VerifySquares -- file: AdjustableSafehouse_Panel.lua line # 364 | MOD: AdjustableSafehouse
function: Set -- file: AdjustableSafehouse_Panel.lua line # 545 | MOD: AdjustableSafehouse
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla
java.lang.RuntimeException: attempted index: getProfession of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
Alktimel Feb 8 @ 11:26pm 
I cant claim Hunter's Base on my MP Dedicated Server.. There are no zombies and the option to claim spawns is enabled. My character doesnt have a job..
Glytch3r  [author] Feb 6 @ 12:46am 
forgive me for the multiple updates
my game bugged and the update didnt push so i re attempted it like 2 more times
sorry if i made you restart your server multiple times
but i hope you guys like the new update
Glytch3r  [author] Oct 23, 2024 @ 3:08pm 
@Darect
yeah there was a mistake on the checker function that did the reverse
but anyways it should be fixed now 100%
Darect Oct 23, 2024 @ 10:07am 
Hello, sorry I had to contact you on discord but I got busy, today I started playing and the mod now works, I don't know if you updated it but thank you!!:carolinehearts:
Glytch3r  [author] Oct 21, 2024 @ 6:40am 
@Ssaulabby
make a patch require the mod
im not trying to be rude or anything but ive got other projects to do
and thats not part of the project scope
hope you could respect the fact that i do these mods as commission

@Darect
please contact me via discord and we will look at the issue
this could be mod conflict
or perhaps my mod doesnt work on SP(if youre playing SP)