Project Zomboid

Project Zomboid

评价数不足
Adjustable Safehouse Claim Panel
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
131.676 KB
2024 年 10 月 15 日 下午 10:12
2 月 9 日 下午 11:17
7 项改动说明 ( 查看 )

订阅以下载
Adjustable Safehouse Claim Panel

描述
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



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



引用自 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 条留言
Glytch3r  [作者] 2 月 14 日 下午 3:58 
@Alktimel
thank you for your support
Alktimel 2 月 10 日 下午 11:13 
No worries, thank you very very much! This is one of the crucial mods I need for my server. Donation incomming! <3
Glytch3r  [作者] 2 月 9 日 下午 11:25 
fixed the mod sorry for the trouble
Alktimel 2 月 8 日 下午 11:26 
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 2 月 8 日 下午 11:26 
`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 2 月 8 日 下午 11:26 
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  [作者] 2 月 6 日 上午 12:46 
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  [作者] 2024 年 10 月 23 日 下午 3:08 
@Darect
yeah there was a mistake on the checker function that did the reverse
but anyways it should be fixed now 100%
Darect 2024 年 10 月 23 日 上午 10:07 
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  [作者] 2024 年 10 月 21 日 上午 6:40 
@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)