Project Zomboid

Project Zomboid

Another Vehicle Claim System
This topic has been locked
Sirze 4 Dec, 2023 @ 3:55pm
Update: 4 Dec @ 11:40am / Container Access
I think I've found a bug. A player on my server reported that others can take items from their vehicle but can't put them back, regardless of the configured permissions. This is completely contrary to how today's update should be working.
< >
Showing 1-8 of 8 comments
Lu5ck  [developer] 5 Dec, 2023 @ 12:18am 
I am unable to reproduce your said problem.
TraumaSCL 5 Dec, 2023 @ 4:01am 
without container permits, they can remove the loot from inside the trunk and seats, but not put it back
https://medal.tv/es/games/project-zomboid/clips/1HuE2PJYQoTDgR/d1337OkVO0in?invite=cr-MSxlaGQsMjAyNTY3MTE1LA
In this clip you can see that my colleagues can blowtorch me out of my seats without container permits
Sirze 5 Dec, 2023 @ 5:56am 
Originally posted by Youtube_TraumaSCL:
without container permits, they can remove the loot from inside the trunk and seats, but not put it back
https://medal.tv/es/games/project-zomboid/clips/1HuE2PJYQoTDgR/d1337OkVO0in?invite=cr-MSxlaGQsMjAyNTY3MTE1LA
In this clip you can see that my colleagues can blowtorch me out of my seats without container permits

Thank you for your evidence. In that clip, you can also see what I mentioned— a player can remove items from the vehicle seat without having the permissions activated. This also happens in the trunks; it's just not visible in that video.
Sirze 5 Dec, 2023 @ 5:58am 
Originally posted by Lu5ck:
I am unable to reproduce your said problem.

If you give me a couple of hours, I can record a clip demonstrating what I'm talking about, in case the clip sent by 'TraumaSCL' isn't sufficient evidence.
Lu5ck  [developer] 5 Dec, 2023 @ 9:12am 
So you saying a person without the permission
  • no public permission
  • not in same faction
  • not in same safehouse
  • not a privileged user
can take items from their seats, inside the car. But I have tested it, I cannot take those items.
Last edited by Lu5ck; 5 Dec, 2023 @ 9:14am
Sirze 5 Dec, 2023 @ 11:07am 
Exactly, several players on my server have conducted tests without belonging to the same shelter or faction (an option I have disabled), without being privileged users and with public permission denied. All reported being able to take items but not to put them back. The only detail I suspect may be related is that the testing was done on the modded vehicle 'AM General M998,' but I will ask them to test it on a vanilla vehicle.
TraumaSCL 10 Dec, 2023 @ 8:29am 
Please return the mod to how it was before the update :( It no longer works on the server we played with the update, now literally anyone can steal your things from the trunk
Lu5ck  [developer] 17 Dec, 2023 @ 12:26am 
Hi,

My admins have confirmed that it is working on our running server. I suspect that it could be that you have mods overriding my mod's programming. I suggest putting the mod in later mod load order

If you know some programming, you can try search for this in your mods, with software like notepad+
ISInventoryTransferAction:isValid()

In common practice, we try to backup the vanilla function and call back the said function after we done injecting our codes.

local backupValid = ISInventoryTransferAction.isValid

However, there might be mods overriding it directly without backing it up thus making it incompatible with other mods. Such mods should be placed at the top of the load order.
Last edited by Lu5ck; 17 Dec, 2023 @ 12:40am
< >
Showing 1-8 of 8 comments
Per page: 1530 50