Project Zomboid

Project Zomboid

Functional Clipboard [B41/B42]
36 条留言
Kable 9 月 1 日 上午 12:24 
@Kaostic
Worth asking, thanks mate :otrthumbup:
Kaostic  [作者] 8 月 31 日 下午 3:10 
@Kable Not at present no, it's a standalone modal, opposed to a collapsable modal
Kable 8 月 31 日 上午 4:33 
Is there a way you can have the clipboard pinned like other windows, e.g. Character info, Inventory, Containers, Foraging etc.?
Kaostic  [作者] 7 月 9 日 上午 6:26 
It's very possible that some of the recent updates have caused issues with it. I made this for B41 and ported it over to B42 on launch.

I've been working a lot on my server's mods as of late, so haven't had the chance to go back and bug fix B42 errors.
Kable 7 月 9 日 上午 4:37 
This still works, but spurts a lot errors, I'm assuming due to the new 42.10 update with maps. Thank you for the mod:otrthumbup:
Kaostic  [作者] 6 月 26 日 上午 6:56 
I did forget, yeah. For now, it uses the default B42 clipboard as well, so you can find those in office spawn locations.
YourLocalMedic 6 月 24 日 下午 12:30 
Has the recipe been fixed? I am seening the last update to the mod as being from December, and it seems like a relatively minor fix, so I'm thinking maybe you forgot
Kaostic  [作者] 6 月 4 日 下午 5:09 
@Inked You're... right. Well, it looks like I never ported over the recipe. I'll get it sorted.
Inked. 6 月 4 日 上午 8:29 
Huh. That recipe is just not showing up at all in my game, even after unsubbing and resubbing to the mod. Interestingly, I don't see a recipe file in the mod files on my steam unless it's handled in lua or something.
Kaostic  [作者] 6 月 4 日 上午 1:37 
@Inked They're crafted from a Stapler and a few other things. Should be in the crafting menu under Misc.
Inked. 6 月 3 日 下午 4:15 
I can't seem to find a clipboard anywhere and there's no recipe showing up for me in B41. Any ideas why that may be?
z0ntir 3 月 22 日 上午 9:05 
It gives a lot of errors when opening the clipboard from the dongle.
Kitster_2000 3 月 11 日 下午 5:17 
Would you please add a description above for the steps needed to make a clipboard and then to use it? I've tried to figure it out and I have no idea and feel dumb >_>

Please </3
Meyar 3 月 1 日 上午 4:37 
I wish there was a way to attach it to a belt or something so instead of having to open and close it via context, I could just tap [belt #] and pull up the clipboard.

inb4 there's an easier way and I'm just a dunce.
Kaostic  [作者] 2 月 6 日 上午 10:17 
@Smokey-Beanz -- Thanks for pointing that out. I did notice an error when trying to access the context menu options from not the main inv. but hadn't got around to actually fixing it.
cat 2 月 6 日 上午 8:26 
Hello, there is an error that can be fixed within your clipboard mod:

The issue is in the prerender function of Clipboard_UI.lua, specifically in this block:

function Clipboard_UI:prerender()
ISPanel.prerender(self)
if self.readOnly then
local px = self.character:getX()
local py = self.character:getY()
local cx = self.clipboard:getWorldItem():getX()
local cy = self.clipboard:getWorldItem():getY()
local dx = px - cx
local dy = py - cy
if dx * dx + dy * dy > 4 then
self:onClose()
end
end
end

Issues:
1. self.clipboard:getWorldItem() might return nil when the clipboard is stored (not in inventory).
2. Calling getX() on nil causes the error:
"attempted index: getX of non-table: null". Hope these details help!
Kaostic  [作者] 1 月 5 日 上午 4:18 
@Austiinos Thanks for that, I'll have to just make it only accessible via the main inventory.
austiinos 1 月 4 日 下午 10:29 
clipboard errors when I click read when its stored(not on character). It also didn't have a sheet of paper. I did test and it is working normally. I put it in my inventory with a sheet of paper and no errors.
Kaostic  [作者] 2024 年 12 月 28 日 上午 3:11 
@Dokkodo You can use the vanilla Clipboards that spawn in the world. There is a crafting recipe for it in B41, but I've not transferred it over to B42 properly so won't be available there yet.
Dokk 2024 年 12 月 28 日 上午 1:23 
cant find it in crafting list does it spawn in world?
Kaostic  [作者] 2024 年 12 月 25 日 下午 5:43 
Both the variable name has now been updated (Thanks to @Chuckleberry for pointing this out) and the weight has been reduced from 1.0 to 0.4.
mia 2024 年 12 月 25 日 上午 9:30 
i second skully's comment. i love this mod and it's incredibly useful but i think it's too heavy. something like 0.3 or even less would be better. thank you for making this regardless!
Chuckleberry Finn 2024 年 12 月 25 日 上午 9:17 
:praisesun: Awesome!
Kaostic  [作者] 2024 年 12 月 25 日 上午 7:51 
@Chuckleberry Good point! I'll make that change in the coming days.
Chuckleberry Finn 2024 年 12 月 24 日 下午 3:07 
Hello and happy holidays, `Clipboard` is a default global variable, please change yours to something more unique to avoid bugs, thank you.
Skully 2024 年 12 月 23 日 下午 7:47 
The clipboard is way too heavy. Can you make it a more reasonable weight? like 0.2 or 0.3 instead of 1.0?
Skully 2024 年 12 月 23 日 上午 11:12 
kinda cool, will try it
xTRACKERx 2024 年 12 月 21 日 上午 4:04 
cracy. thanks :-)
TheBwnH3d 2024 年 12 月 20 日 上午 8:33 
@groupsurgery After playing it and smiling from start to when I finished last night. Its DEFFO an update if you haven't tried it yet its awesome. But yeah your also right.
Kaostic  [作者] 2024 年 12 月 20 日 上午 6:45 
This is now fully functional in B42 :steamthumbsup:
Kaostic  [作者] 2024 年 12 月 19 日 下午 1:25 
I'll be testing this on B42 shortly. If it requires much work to port, I'll look to get it sorted soon.
groupsurgery 2024 年 12 月 19 日 下午 12:54 
@KageVII you don’t update to build 42 from 41, you opt in to try the public beta test. Right click the game, go to properties, and you can select unstable and download b42
Wako Doodle 2024 年 12 月 19 日 下午 12:45 
Hopefully this gets updated for B42 when it releases. Would be very useful for resource checklisting :D
TheBwnH3d 2024 年 12 月 19 日 下午 12:37 
I wanna install this immediately but literally about to update to B42 :(
Ren'Dahu Nation 2024 年 12 月 19 日 下午 12:02 
the best mod in the entire universe
Hairy.Mario 2024 年 12 月 19 日 上午 11:08 
DAMN