Project Zomboid

Project Zomboid

CleanUI [B42]
1,639 Comments
Aug 20 @ 10:08pm 
I'm following up on a bug report I posted on 15 August that I only just now got to test out.
The bug was that when dragging the inventory icons to re-order them in my inventory, they would reset to their original position.

This is on a locally hosted MP server. I'm using Clean Hotbar, SMB Autohide, Project Cook, and Neat Craft UI mods. I verified game files and re-installed the mod so I should be on the latest version.

I wasn't able to find relevant console details, unfortunately, however, I think I figured out how to reproduce the bug.

If I re-order the containers and then just don't touch it, even exiting the inventory and doing other things, it seems to stay where I ordered it. However, if I start clicking on the icons to look in a container/backpack, after a few moments they will shift back to their original positions. This also happens instantly if I use scroll wheel while hovering my mouse over the icons to scroll through the containers.
Aug 20 @ 4:03am 
如果是拆开的子弹放在箱子或任何容器里,也能复现BUG。
Aug 20 @ 4:00am 
Hi, I’ve been enjoying your mod for a long time, but I’ve run into a serious performance bug.
Unpacking ammo in my inventory causes massive stutters and freezes:
500 rounds: noticeable lag
1000 rounds: heavy stuttering
2000 rounds: very laggy
3000+ rounds: UI nearly freezes
5000 rounds: game almost crashes and becomes unplayable
It looks like the unpacking code spawns individual single‑bullet items instead of large stacks, creating tons of item instances that overload Lua and inventory rendering. Performance goes back to normal once I delete those unpacked bullets.
Hoping you can optimize this to generate large ammo stacks instead of spawning bullets one‑by‑one. Game version: Build 42.20 Stable. Thank you for your hard work!
Aug 20 @ 3:59am 
你好,辛苦了。您的MOD我一直在用,但是现在出现了一个BUG,希望您能解决一下。BUG导致游戏卡死或强烈卡顿,复现方式非常简单,将背包子弹拆包,达到500颗时出现卡顿,达到1000发时很卡顿,达到2000发时非常卡顿,3000发以上页面严重卡死。5000发游戏接近崩溃,再高几乎动不了了。
Aug 20 @ 3:33am 
Its giving an error everytime i try to read, posted the error on the discussion
Aug 20 @ 2:28am 
It's compatible only partly with "Better Containers".

Changing the color of a specific container will make other containers that color too.
Aug 19 @ 3:50pm 
still no loot window drag button
Aug 19 @ 12:13pm 
Can you add comp with https://steamcommunity.com/sharedfiles/filedetails/?id=3775513231 ? Or its difficult? My server need this for full style like yours UI
Aug 19 @ 11:06am 
Have you fix the grab-corpse button bugged yet with this update?
Afyrmo  [author]
Aug 19 @ 7:36am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Afyrmo  [author]
Aug 19 @ 7:34am 
@junio.king Thanks for testing and for the extra details.

CleanUI v2.7.6 adds only an initial Better Containers compatibility pass. It can now pick up the custom container color, but I know the result is still not visually ideal: the color can look too dark, may not fill the whole button area, and may only refresh after switching to another container.

I’ll keep this for a visual refinement in a future update.

I prefer not to push another Workshop update during high server-traffic hours unless it is a critical hotfix, because every update can cause server/client version mismatch until servers restart.
Aug 19 @ 7:03am 
https://steamcommunity.com/sharedfiles/filedetails/?id=3775513231 this mod, when i start this mod with it i have thousand errors and my RBM click dont show actions.
Aug 19 @ 6:57am 
Thanks for keeping the mod maintained ever since Rocco stepped down.
Aug 19 @ 6:42am 
The colors came out a bit dark even at maximum brightness; depending on the color, you can barely see them unless you put your face very close to the monitor.
Aug 19 @ 6:30am 
I managed to understand how it works; to update the color change, I need to click on another container, then the update occurs. Thank you very much for the update, excellent work.
Aug 19 @ 6:24am 
@Afyrmo
Hi, I just tested it and I still can't change the color of the containers using Better Containers.
Afyrmo  [author]
Aug 19 @ 6:18am 
@Cream4***** That file does not look like a CleanUI file:

corpseStorageCheck.lua > require("ISUI/ISContextMenu") failed

It sounds like another mod failing to require a vanilla UI file, or an incomplete update/load issue.

Please verify game files with PZ closed:
Steam Library > right-click Project Zomboid > Properties > Installed Files > Verify integrity of game files

If it continues, please send the full console.txt in
Questions and Bug Reports.
Afyrmo  [author]
Aug 19 @ 6:17am 
@哈大尸风韵犹存 这通常是客户端没有正确更新、服务器/客户端版本不同,或加载顺序/设置问题。

请关闭 Project Zomboid 后尝试:
· Steam 验证 Project Zomboid 文件完整性
· 取消订阅 NeatUI Framework 和 CleanUI
· 等 Steam 删除旧文件
· 重新订阅
· 等下载完成后再启动游戏

也请检查:
· NeatUI Framework 在 CleanUI 前面加载
· Options > Mods > CleanUI > Use CleanUI Inventory 是否开启
· 服务器和客户端是否是同一 Workshop 版本
Afyrmo  [author]
Aug 19 @ 6:16am 
@LeakyWeeny Thanks for the report.

If double-click to read still works but the context menu does not, I’ll need the full console.txt / stack trace to see where it fails.

Please post it in Questions and Bug Reports and include:
· PZ build
· CleanUI version
· SP or MP
· exact book/item
· whether it happens with only NeatUI Framework + CleanUI
Afyrmo  [author]
Aug 19 @ 6:15am 
@Epic_Star Yes, CleanUI should be safe to add/remove mid-save because it is a UI mod.

No new save is required after updating.

For servers, the server also needs the updated Workshop version and a restart, otherwise clients may get version mismatch errors.

@Aloha 不需要重新开档。CleanUI 是界面模组,正常更新不需要新存档。服务器需要更新并重启,否则客户端和服务器版本不同会导致无法进入。
Afyrmo  [author]
Aug 19 @ 6:14am 
@TsagenZa Which mod do you mean?

Please send the exact Workshop link/ID, what is not working, and your console.txt in
Questions and Bug Reports.

CleanUI already has compatibility handling for several inventory/equipment UI mods, but I need to know the specific mod and error to check it.
Afyrmo  [author]
Aug 19 @ 6:13am 
@Keriei Yes, CleanUI should be compatible with Equipment UI - Paper Doll Equipment Interface.

CleanUI includes compatibility handling for Equipment UI, especially around equipped items / hide equipped behavior.

If you see a specific issue, please send the exact Equipment UI version/link, CleanUI version, and console.txt in
Questions and Bug Reports
Afyrmo  [author]
Aug 19 @ 6:11am 
@UnCheat CleanUI v2.7.6 adds a new option for this:
Options > Mods > CleanUI > Allow Loot Panel Container Reordering

It is disabled by default because loot panel containers can come from floor tiles, world objects, vehicles, corpses, proximity systems and other dynamic sources.

Player inventory container reordering remains enabled as before.
Afyrmo  [author]
Aug 19 @ 6:10am 
@Car Seat Fries @junio.king Thanks for the Better Containers reports.

CleanUI v2.7.6 includes an initial compatibility pass for Better Containers custom container colors.

It should now try to preserve/tint CleanUI’s container button background when Better Containers applies a custom color.

This is only a first pass, so the color may still not look exactly like Better Containers’ vanilla-style buttons. I’ll keep refining the visual side later.
Afyrmo  [author]
Aug 19 @ 6:10am 
CleanUI v2.7.6 is now available.

Changes:
· Added option: Allow Loot Panel Container Reordering.
· Disabled by default because loot containers can come from floor, world objects, vehicles, corpses, proximity systems, etc.
· Added initial Better Containers compatibility for custom container button colors.
· Reinforced hotbar/belt/back right-click guard.
· Quick transfer by name/category should now ignore hotbar/belt/back items more reliably.
· Added guard for seed packet growing-season info if the Literature/Agriculture UI is not ready.
· Added translations for the new option.

Please report any remaining issues with container reordering, Better Containers colors, hotbar/belt items, books/context menus, or loot panel behavior in
Questions and Bug Reports
Aug 19 @ 3:20am 
Great mod. It works just fine with Better Containers; except you can't pick a color for the containers. You can change the icon though!
Aug 18 @ 2:50pm 
is it compatable with Equipment UI - Paper Doll Equipment Interface?
Aug 18 @ 1:35pm 
need compatibility with Clean UI, mod not working with it
Aug 18 @ 11:20am 
Safe Mid save?
Aug 18 @ 10:39am 
cant read books with new patch but can double click to read
Aug 18 @ 8:37am 
这个mod在我这边神秘失效了,有前置mod的条件下纯粹打不进游戏,单机是原版ui,进入朋友打了mod的服务器,除了我以外的其他人都是优化后的ui,我还是原版。很诡异,有大佬知道这是什么原因吗
Aug 18 @ 7:25am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Aug 18 @ 2:25am 
Sadly can't reorder containers on a loot panel even if Better Containers is intalled
Aug 17 @ 8:15pm 
I've had my server running for a week now but today I started getting these error messages that may be caused by this mod ( according to chatgpt, sorry if that is wrong)

corpseStorageCheck.lua > require("ISUI/ISContextMenu") failed
Aug 17 @ 3:18pm 
在对下方快捷栏内的物品点击右键的时候报错,报错内容如下,还有就是每当排好位置后,小退物品要么回到身上,要么位置变了,没个准。。。不知道为啥,然后刚才点了一下右键就报错,每点一下增加1个报错信息。。。望大佬修复。。
Aug 17 @ 3:16pm 
attempted index: getDisplayName of non-table: null
Lua(Vanilla).doMenuFromInventory(ISHotbar.lua:139)
Lua((MOD:CleanUI)).CleanUI_safeDoHotbarMenuFromInventory(ISInventoryPaneContextMenu.lua:76)
Lua((MOD:CleanUI)).createMenu(ISInventoryPaneContextMenu.lua:755)
Lua(Vanilla).doMenu(ISHotbar.lua:94)
Lua(Vanilla).onRightMouseUp(ISHotbar.lua:287)
java.lang.RuntimeException: attempted index: getDisplayName of non-table: null
Aug 17 @ 3:16pm 
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1430)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:459)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:162)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1740)
at se.krka.kahlua.stdlib.BaseLib.pcall(BaseLib.java:313)
at se.krka.kahlua.stdlib.BaseLib.call(BaseLib.java:111)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:178)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:795)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:162)
Aug 17 @ 3:16pm 
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1740)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1676)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:96)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1647)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1476)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:747)
at zombie.ui.UIManager.update(UIManager.java:621)
at zombie.GameWindow.logic(GameWindow.java:347)
at zombie.GameWindow.frameStep(GameWindow.java:790)
at zombie.GameWindow.mainThreadStep(GameWindow.java:567)
at zombie.MainThread.mainLoop(MainThread.java:69)
at java.base/java.lang.Thread.run(Unknown Source)
Aug 17 @ 9:39am 
사이드바 크기를 키웠을때 지그재그 모양으로 2줄로 되면 좋겠습니다 컨테이너가 좀 많은데 컨테이너 사이에 공백이 생기면서 아래로 숨어서 안보여요

When the sidebar is enlarged, I’d like the containers to wrap into two rows in a zigzag pattern. There are many containers, but gaps are appearing between them, causing some to hide below and become invisible
Aug 17 @ 2:51am 
请问更新后需要重新开档吗?:praisesun:
Aug 16 @ 9:42pm 
How does this mod affect performance? Is it better than Vanilla UI? Is it better than Undying? Thanks in advance :)
Aug 16 @ 2:24pm 
@Pianist such things exists in few other mods, you mean you want this exclusevelly without other functionality? For example Better Containers mod
Aug 16 @ 1:29pm 
Workshop ID: 3780233258
Mod ID: NestedContainerSearch
他们说的嵌套容器应该是这个模组。。
Aug 16 @ 1:05pm 
Please implement the Nested Containers mod's logic natively for your mod, with the ability to enable it, for example, in the settings or on the server. My friends and I needed the Nested Containers mod, but it was abandoned in B42 and works terribly, and no one wants to rewrite it. It would be incredibly cool if you implemented its functionality natively in your mod :chicken_cry:
Aug 16 @ 12:11pm 
我想应该是更多特质这个模组导致的,他昨天更新又退回了,感觉是让服务器保存的有些东西会莫名退回导致的吧。。。感谢作者做出的回复,我会在明天游玩的时候注意一下吧,看看到底是怎么样会使这个故障重现吧,期待你的更新,顺便说一下,非常好看的界面,(就是可恶的自动拾取模组会挡住往身上往容器存放的按钮,我已经给作者说明了,但是可惜的是他并没有回复我这条,可能下次更新会更改吧,希望吧XD)
Afyrmo  [author]
Aug 16 @ 10:55am 
@Reeizer Thanks for the report.

I’ll need more details to reproduce this. Please post the full console.txt / stack trace in the bug thread:
Questions and Bug Reports

Please include:
· PZ build
· CleanUI version shown in the mod list
· SP or MP
· exact canned item name
· exact action used: right-click “Open”, crafting recipe, eating, etc.
· whether it happens with only NeatUI Framework + CleanUI

Opening canned items should normally be handled by vanilla context-menu/actions, so the full stack trace is needed to see where CleanUI is involved.
Afyrmo  [author]
Aug 16 @ 10:55am 
@Mad Man 感谢详细反馈。

1. 关于腰带/背包上挂好的武器或枪套重新进入、小退、或右键破坏物体后回到主容器:这听起来像 hotbar/装备附着状态不同步的问题。CleanUI 本身不应该主动把已挂载物品放回主容器。如果可以,请在 bug 讨论区发完整 console.txt,并说明是否只启用 NeatUI Framework + CleanUI 时也会发生。

2. 关于容量超过 99.99 后数字不显示:我会检查容量/重量文本宽度。可能需要把显示范围从类似 99.99/99 调整得更适合 999.99/999,或者在空间不足时缩短显示。

谢谢,我会在后续版本里检查这两个问题。
Afyrmo  [author]
Aug 16 @ 10:53am 
@Beornvig @Death Thanks for the reports.

Container reordering should be saved for the player inventory panel. The loot panel/world containers may still follow the game/world order.

If backpack order reverts after closing/reopening the panel, please first try a clean update with PZ closed:
· Steam Library > right-click Project Zomboid > Properties > Installed Files > Verify integrity of game files
· unsubscribe from CleanUI
· wait until Steam removes the old files
· subscribe again
· let Steam finish downloading before starting PZ

This helps with old cached files, including older CleanUI versions that used previous config save paths.

If it still happens, please send console.txt, SP/MP, CleanUI version, and your other inventory/container UI mods here:
Questions and Bug Reports
Afyrmo  [author]
Aug 16 @ 10:51am 
@The Last Another Crystal Wings Thanks for confirming.

The multiple-selection issue should be improved/fixed in the latest CleanUI version.

If it still happens for anyone, please make sure CleanUI updated correctly, then test with only NeatUI Framework + CleanUI. If it only happens with a full mod list, another inventory/loot/equipment UI mod may be refreshing the panel repeatedly.