Project Zomboid

Project Zomboid

PhunZones
75 kommentarer
Samy FIGUEROA 24. sep. kl. 12:20 
Ok the file finally appeared ^^
UburGeek  [ophavsmand] 23. sep. kl. 23:14 
It will be in your lua folder. eg lua/PhunZones.lua, however it only appears once you make a change
Samy FIGUEROA 23. sep. kl. 15:03 
is this file generated automatically ? I can't find it anywhere :/
Samy FIGUEROA 23. sep. kl. 14:59 
I dont find any ''PhunZones.lua" on my server files :/
Samy FIGUEROA 23. sep. kl. 14:55 
It looks like an awesome mod ! I installed it on my server but where do you configure the PvP zones for a custom map?”
UburGeek  [ophavsmand] 16. sep. kl. 12:32 
Hey jimdogman, sorry, but have only just seen this message. Is PvP enabled on the server?
jimdogman 14. sep. kl. 13:00 
I run a server, and really like your mod, but it seems to break the PVP safety system and effects the entire map, even if all zones are disabled. Am i doing something wrong?
UburGeek  [ophavsmand] 27. aug. kl. 10:28 
PW, I will need to investigate as I don't know if that can be done based on just a specific area
PW 26. aug. kl. 22:33 
Would it be possible to add a toggle for zombies being able to thump buildings?
Claire 25. aug. kl. 0:43 
Found it! IGUI_PhunSprinters_MoonPhaseo modifier 100%
Claire 24. aug. kl. 21:44 
Thank you very much, I updated the mod on the server.

The moodle now working well, no problems have been found yet.
The PVP mode also started working correctly.
Claire 24. aug. kl. 10:32 
Hello UburGeek!

Another bug report:
I pulled a new zone, now I want to delete it, but I can't find the delete zone button anywhere. I also clicked the "Enabled" checkbox in it and now I can't change any other checkbox, including enabling the zone back.

Thank you for reading my bug reports, I haven't had a chance to check yet, I'm waiting for the right moment when there are no people on the server to update it.
UburGeek  [ophavsmand] 22. aug. kl. 0:15 
Updates on raised issues (though please keep mod-specific notes in their own threads to avoid confusion). @Claire I had to run your comments through Translate let me know if I misread anything.

PhunZone

- Removed option to disable PvP in PvP zones
- Despawning zeds left unchanged; porting them may cause heavy performance issues

PhunSprinters

- Sprinter moodle now shows more consistently (still settings-dependent)
- Moodlets scale by risk: >5% = red, lower = shades of green
- Claire: please flag the untranslated string; I couldn’t find it
- Skeletons not showing on all clients is due to which client controls the zed; they should sync eventually, but it’s a PZ limitation

PhunLewt

- Fixed bug resetting zone settings
Claire 20. aug. kl. 15:35 
UburGeek, вот небольшой багрепорт из того, что мне удалось обнаружить, надеюсь это поможет в разработке:

1. При входе в зону с отметкой PVP у игрока автоматически включается данный режим. Однако клик по иконке позволяет отключить PVP обратно (теряется смысл в данной настройке зоны).
2. Галочка которая запрещает нахождение зомби на территории работает, однако, она просто "деспавнит" всех зомби, которые заходят на территорию. Игроки могут использовать это как некий абуз, чтобы избавляться от большого количества врагов.
Claire 20. aug. kl. 15:34 
1.3: Я как администратор сервера могу видить только красный мудлет. Если я покидаю зону, то зеленого мудлета у меня нет (он просто пропадает).

2. В настройках стоит галочка для отображения спринтеров как скелеты. Некоторые игроки видят их как обычных, хотя они бегают. Я попробовал перезапустить сервер еще раз, возможно проблема частично решена (все еще проводим тестирование).
Claire 20. aug. kl. 15:34 
Багрепорт относительно спринтеров:
1. Есть подозрение, что мудлет работает неправильно.
1.1: В мудлете есть строка, для которой нет перевода (отображается как IGUI_...), вероятно нужно проверить Translate/EN на наличие.
1.2: Если стоит галочка "Показывать мудлет всегда", то у игроков на сервере мудлет всегда зеленый, вне зависимости от реальной ситуации. Т.е. игрок заходящий в зону (например Луизвилль) все еще видит зеленый мудлет, хотя и видит шанс риска.
UburGeek  [ophavsmand] 20. aug. kl. 4:01 
Ah, that does sound pants. Ill investigate and sort Claire
Claire 20. aug. kl. 0:25 
PVP toggle works bad, any player can click on pvp button to disable it!
Naup 12. aug. kl. 12:37 
At the same time, I noticed that an old issue has only been partially resolved.

Do you remember I mentioned that after shutting down/restarting the server, all settings would revert to zero? This still happens.

However, I can open the interface and press “Save” to reload the contents of the “lua file,” restoring all regional settings and loot drop rates. Perhaps it would be worth considering adding a “reload” button.

The problem is that when the server restarts due to a “mod update,” before an admin comes online, the world’s loot will be in its default state, allowing players to obtain more resources than intended.
Naup 12. aug. kl. 12:37 
Before today’s update, “Default values” did not take the highest priority, but now they do.

For example, if the “Default values” are set to 0, then regardless of how I adjust the regional drop rates, no loot will appear at all.

This is just to address your question — no matter how you change it, I will adapt accordingly. The idea of duplicating is great, and in fact, I am currently doing the same thing by directly editing the “lua file” to set different loot drop rates for different regions.
UburGeek  [ophavsmand] 12. aug. kl. 7:16 
Thanks for the feedback and suggestions. I may be misunderstanding you, but isn't editing the Default values the same as editing all values at once? Regardless, it makes me think a "copy" section could be useful.
Naup 12. aug. kl. 3:32 
I know that "Default Reduction" can override the drop rates for all loot zones, but since I want to configure three specific zones—No Loot / Rare Loot / Rich Loot—I still have to manually enter percentage values for every item type. This is not an urgent need, but I believe it could be very useful for server administrators who use this mod.

This suggestion should ideally be posted in the "PhunLewt" comment section, but I don’t want to trouble you, so I’m responding here instead.
Naup 12. aug. kl. 3:32 
Thank you. The edited "lua" file can now be read normally, and it no longer keeps reverting to the default settings.

I spent several hours using this mod, and I would like to suggest adding a new feature: the ability to edit the drop rates for all item types at once.

The reason is that when we set up loot zones with high and low drop rates, in practice we have to manually configure the percentage points for every single item type.

With the game’s default categories, this is usually just a matter of a few minutes. However, if a category-expanding mod or several other mods are installed, it takes considerably more time.

(Some mods tend to add their items under a “new category.”)
UburGeek  [ophavsmand] 10. aug. kl. 16:01 
Thanks for feedback Kapral, I will look to add a delete zone button. In the meantime, you could just delete from the lua/PhunZones.lua file (if you feel comfortable editing)
Kapral 10. aug. kl. 13:38 
The mod is great, but there is not enough button to delete zones that are not needed, and over time, unnecessary zones on the server cannot be deleted.
UburGeek  [ophavsmand] 10. aug. kl. 10:30 
Hey Naup, thanks for this report. I have just uploaded a fix that should hopefully address this.

Regarding your question about the files - custom modifications are stored in your lua/PhunZones.lua and lua/PhunLewt.lua files. If you are moving your configs between servers, simply uploading the files to your lua folder should be sufficient. However I would recommend that you shut down the game/server before you do this as those files are read when the server boots up
Naup 7. aug. kl. 6:16 
I encountered an issue that makes the feature unusable. After I "add zone" at any coordinate, as soon as I "Edit Region" and click "save", all newly added "zone" entries disappear.

This issue also occurs with the "PhunLewt" module, where the modified item drop rates get reverted as well.

I have not installed any other modules.

Additionally, when I migrate the "PhunZones.lua" or "PhunLewt.lua" files from the "lua" folder to a new server, how should I load the files themselves?
Ssaulabby 23. juli kl. 15:20 
yay, thanks UburGeek
UburGeek  [ophavsmand] 23. juli kl. 12:34 
UburGeek  [ophavsmand] 21. juli kl. 3:22 
Hmmm. You are getting the error they quoted below when a zed wanders into a zed free zone? Can you get me your lua/PhunZones.lua file? It may be easier to send to me on discord if you're on there.
Ssaulabby 21. juli kl. 3:07 
@uburGeek, i have the same problem with PW. I wonder why...
UburGeek  [ophavsmand] 17. juli kl. 22:48 
@PW, I fixed that issue last week. Just checked again and cannot replicate. Shouldn't be an issue putting on to an existing server/save.
PW 17. juli kl. 19:25 
Hi! the mod still continues to index null would this be an issue by adding the mod onto a previously not wiped server?
UburGeek  [ophavsmand] 6. juli kl. 0:56 
Appreciate that, Ill look into this
PW 6. juli kl. 0:16 
This is the main part of the error

`attempted index: main of non-table: null
function: getLocation -- file: core.lua line # 422 | MOD: PhunZones
function: updateModData -- file: core.lua line # 271 | MOD: PhunZones
function: Add -- file: client_events.lua line # 69 | MOD: PhunZones
java.lang.RuntimeException: attempted index: main of non-table: null

I dont know if this could be caused by night sprinters since its running on the server.
UburGeek  [ophavsmand] 5. juli kl. 23:59 
Can you provide info on the error? A quick check here didn't produce an error
PW 5. juli kl. 16:21 
I've noticed the mod seems to spam errors with the zombies allowed turned off when zombies get near zones made. (this is using custom regions and zones for certain zones)
UburGeek  [ophavsmand] 4. juli kl. 0:23 
PhunLewt - Reducer mod has now been released. Allows you to fine tune control of lewt spawning by zone: https://gtm.steamproxy.vip/sharedfiles/filedetails/?edit=true&id=3516092704
UburGeek  [ophavsmand] 4. juli kl. 0:18 
Thanks for the heads up PW - this should be fixed in the latest version
PW 2. juli kl. 17:51 
Hi! i noticed an issue on a dedicated server where the disable widget sandbox option doesnt work In and out of admin mode.
Ssaulabby 29. juni kl. 21:05 
@UburGeek, hey hey thank you for uploading this mod. Can you also upload the PhunRunner mod as well? I believe that will make some zeds in the certain zone runners?
UburGeek  [ophavsmand] 18. juni kl. 14:46 
I have uploaded a beta of the next iteration of this mod, including a beta version of the Lewt reducer that allows you to adjust loot spawns by zone. They are unlisted, but if you want to test and give feedback, it is appreciated. Lewt reducer addon is here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3502907723
Acidbunny 2. juni kl. 7:40 
@UburGeek Yes please, I'd love that sprinter mod, as said, anything to let me make zones that act almost as an endgame experience with tougher zombies (sprinting, smarter, pinpoint hearing etc.)
stepbro 20. maj kl. 20:49 
This is a very nice mod tbh, and is a must-have for server admins. Keep up the good work!
Moff 20. maj kl. 4:26 
@UburGeek just a big yes! this is what im looking for. you the man, wen release :bigups: Thank you cant wait for it (and mp)
UburGeek  [ophavsmand] 19. maj kl. 10:28 
Not currently, I do have a custom sprinter mod that I run on our PhunZoid servers that uses this mod to determine the amount of sprinters that a player will spawn (depending on the zone), but like the loot modifying one... it isn't ready for "prime time" yet. But if interested, Ill tee it up. The server is public if you want a taste for how it works: No sprinters in starting zones, places like Louisville have max #
Acidbunny 19. maj kl. 8:30 
I haven't mucked about with this mod yet as I'm waiting for B42 MP to come out, however, is it possible to use this to designate certain zones with 100% sprinters? You mentioned below a loot modifying addon that I am also interested in, the idea being that I make zones on the map that act as a pseudo endgame where players can take their geared selves to deal with dangerous zones for more and better loot.
UburGeek  [ophavsmand] 12. maj kl. 14:03 
Not with this mod specifically, however I am actually making an addon to do just that as we speak! It allows you to reduce loot spawning of items or categories by a specific %. Is that what you're after?
Moff 12. maj kl. 6:50 
is it possible to change loot settings w your mod? like zoning areas where you could find very rare loot?
UburGeek  [ophavsmand] 3. maj kl. 3:58 
@Tcela, I have added some code to prevent players bypassing the player prevention check by being in a vehicle. Let me know how you get on with it.

@monobi - I have added a new setting in the options called "Load Default". Untick that to prevent loading up the default vanilla zones