Project Zomboid

Project Zomboid

Easy Corpse Move
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Kryse  [udvikler] 29. maj 2022 kl. 11:51
Bug Report
As I can see some interest in this mod, I am starting this thread.

To report a bug please use the following format:
- Game Version: used game version
- Mod List: list of installed mods or N/A
- Error: The error that you will find in the debug console (please do not post the whole trace)
- Additional info: Additional info about when the problem occurred. Eg: When I was clicking to dump the corpse on a car.

I will try to fix any issues as fast as I will have the time.

Thank you for the patience.
< >
Viser 1-12 af 12 kommentarer
Maxunit 29. maj 2022 kl. 20:18 
Heyo Kryse,

Moving the bug report here, as requested and here's a part of the mod list running on my dedicated server. There is actually a huge list (around 80), but since the initial conflict is with Mod Options, I assume it has to do with either Mod Options or a mod making use of Mod Options.

So I will only list those for now:

Mod Options
Noir's Attachments
Accessibility: Controller Support
Clothing Actions - Radial Menu
Containers Show Duplicates
Eggon's Have I Found This Book???
Arsenal(26) Gunfighter Mod
Rain Wash
SpiffUI - Radials
Tidy Up Meister
Weapon Condition Indicator

If none of those is the culprit...then no idea and I will have to list all of the mods used on my dedicated server >_>
Notloc 30. maj 2022 kl. 7:35 
I have a theory.
I assume the dedicated server is being hosted on a Linux machine.
Linux has CASE-SENSITIVE file paths.

This mod does not have a 'media' folder, it's 'Media' instead. Given the error message posted in the regular comments, I believe this might be the issue and the mod's folder should be renamed to lower-case 'media'
Sidst redigeret af Notloc; 30. maj 2022 kl. 7:36
Kryse  [udvikler] 30. maj 2022 kl. 8:50 
Oprindeligt skrevet af Notloc:
I have a theory.
I assume the dedicated server is being hosted on a Linux machine.
Linux has CASE-SENSITIVE file paths.

This mod does not have a 'media' folder, it's 'Media' instead. Given the error message posted in the regular comments, I believe this might be the issue and the mod's folder should be renamed to lower-case 'media'

Nice catch right here.
I am working on setting up a dedicated server test env, also using the mods he listed above.

I'll be back soon with the results

Edit:

I could not reproduce the issue on either my local ( macos ) or test server (ubuntu 18.04) machines.

Still, I've updated the media folder's name to lowercase and tested again with not errors coming up.

I've also seen that mods usually don't have spaces in their names. That could also be a factor.

For now, I'll be waiting on @Maxunit's test on the matter.

Also @Maxunit, You can try to rename the mod folder to remove the spaces if the current fix still does not work, posting here the results afterwards.
Sidst redigeret af Kryse; 30. maj 2022 kl. 11:12
Maxunit 30. maj 2022 kl. 14:30 
I just re-added the mod to my server and I can log in fine. Forgot to mention, that my dedicated runs on Ubuntu 20.04.4 LTS.

EDIT 1:

Hmm, the mod is not working for me, tho. The Grab-Dump Corpse Move option does nothing. Maybe because I am on the Gamepad UI?

Going back to main menu and logging back in with Mouse & Keyboard UI instead to test.

EDIT 2:

Okay, it works fine on Mouse and Keyboard! Only broken for Gamepad, but I think it is not really something usable on Gamepad.

(Thinking about it...testing it with the Gamepad UI was really dumb xD)
Sidst redigeret af Maxunit; 30. maj 2022 kl. 15:04
Kryse  [udvikler] 30. maj 2022 kl. 15:43 
Oprindeligt skrevet af Maxunit:
I just re-added the mod to my server and I can log in fine. Forgot to mention, that my dedicated runs on Ubuntu 20.04.4 LTS.

EDIT 1:

Hmm, the mod is not working for me, tho. The Grab-Dump Corpse Move option does nothing. Maybe because I am on the Gamepad UI?

Going back to main menu and logging back in with Mouse & Keyboard UI instead to test.

EDIT 2:

Okay, it works fine on Mouse and Keyboard! Only broken for Gamepad, but I think it is not really something usable on Gamepad.

(Thinking about it...testing it with the Gamepad UI was really dumb xD)

Really glad it "works" after all this xD.

I don't really know how the Gamepad UI works, atm it is skipped in code.
I will look into it tho, (Gotta check how floor placing is handled using a gamepad ).
Maxunit 30. maj 2022 kl. 16:53 
No need to really check it, unless it is not too much work and no idea how floor placing is really handled in the gamepad ui.

You also get this square, but no idea if you can move it around in any way. Didn't have to deal with that so far, but I might jump into PZ in a bit and see, how it works.
Kryse  [udvikler] 1. juni 2022 kl. 11:29 
Oprindeligt skrevet af Maxunit:
No need to really check it, unless it is not too much work and no idea how floor placing is really handled in the gamepad ui.

You also get this square, but no idea if you can move it around in any way. Didn't have to deal with that so far, but I might jump into PZ in a bit and see, how it works.
As an update, I haven't had time to get on it yet, got some work matters to take care of.

I'll still be looking into this in a few days, when I get back home.
Kryse  [udvikler] 2. juni 2022 kl. 18:43 
Oprindeligt skrevet af Kryse:
Oprindeligt skrevet af Maxunit:
No need to really check it, unless it is not too much work and no idea how floor placing is really handled in the gamepad ui.

You also get this square, but no idea if you can move it around in any way. Didn't have to deal with that so far, but I might jump into PZ in a bit and see, how it works.
As an update, I haven't had time to get on it yet, got some work matters to take care of.

I'll still be looking into this in a few days, when I get back home.

Okay, so I've been testing this game with a xbox controller.

And oh my god... this kind of needs some refining...

I can setup this mod to be used by the game as the "Destroy" option is used.

But then I should let you select the corpse and then, let u select the place where you want to dump the corpse...
It seems to me (while testing) that this mod would require much more work from the player using a gamepad, than just clicking around as it is with a mouse.

Think about a Destroy-like capability and then, this mod... I don't think this would work...


If you can think of another way that this could be implemented for gamepads, I'm all ears, but for now, I'm going to let it work only for mouse/keyboard while I work on a "arduino" (auto water crops from barrel & others) mod.
Sidst redigeret af Kryse; 2. juni 2022 kl. 18:47
inject 24. sep. 2022 kl. 18:11 
I have a bug to report with a solution.

The player must have a shovel in their inventory to place a corpse in an open grave, which isn't required in vanilla.

The shovel check only recognises the item called "shovel" in game, it doesn't recognise shovel2 or the snow shovel.

It's an easy fix.

In ISCorpseMoverMenu.lua,
Line 70-71, the if statement has an AND clause looking for the item named shovel.

If you remove that clause it works as expected. Your system will put corpse in open graves whether or not the player has a shovel, and will finish the grave if the fifth corpse goes in.

Thank you for this mod btw, it makes playing please don't feed the zombies bearable.
Kryse  [udvikler] 28. sep. 2022 kl. 13:42 
Oprindeligt skrevet af Tommo:
The player must have a shovel in their inventory to place a corpse in an open grave, which isn't required in vanilla.

You are absolutely right, back when I made it, I think it was necessary to have a shovel, I haven't played much since...
I will update this immediately.

Thank you for the input, have an award!

And also you're welcome :), glad to see that a little thing like this matters this much to people.

Edit: Done, V1.0.5
Sidst redigeret af Kryse; 28. sep. 2022 kl. 14:48
inject 6. feb. 2023 kl. 19:46 
Hi Kryse,

Francisco José from the main comments was right, you can make a grave take unlimited bodies.

If you interrupt the automatic fill in grave action after placing the fifth body in a grave, and if you are standing next to it carrying another body when you click on it, you can put more than five bodies into the grave.

I think this is because line 74 of ISCorpseMoverMenu.lua is using ISEmptyGraves.isGraveFilledIn(isoObject), which doesn't check the grave capacity, it checks if the grave is still open or has been filled in.

If line 74 used ISEmptyGraves.isGraveFullOfCorpses(isoObject), you can still click on an open grave with five corpses in it, but the character will dump the corpse on the square, they won't put it into the grave and take it over capacity.

There is a bug in zomboid itself, where standing in or adjacent to the target square for a queued action can cause it to skip conditional checks for the action. If zomboid fixed that, there wouldn't be an issue.
BroDimm 22. aug. 2023 kl. 20:42 
Have these but the function still works.
Only occured 3 times during hours of playtime with extensive use of corpse moving. latest b41, coop


LOG : General , 1692718145893> 0> [Excrementum41] Excrementum loaded successfully.
LOG : General , 1692718145898> 0> [BB_CommonSense] Added tool to list successfuly!
LOG : General , 1692718145899> 0> [BB_CommonSense] Added tool to list successfuly!
LOG : General , 1692718145901> 0> [BB_CommonSense] Added tool to list successfuly!
LOG : General , 1692718145903> 0> [TrueCrawl] TRUE CRAWL : IsTrueCrawlEnabled? [ true ]
LOG : General , 1692718145904> 0> [TrueCrawl] CreateType
LOG : General , 1692718145904> 0> [TrueCrawl] TRUE CRAWL : isSurvivorNpcModEnabled? [ false ]
LOG : General , 1692718145904> 0> [TrueCrawl] TRUE CRAWL : isTrueCrouchingEnabled? [ true ]
LOG : General , 1692718145970> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: getByIndex
function: CheckCrematoriumModPresent -- file: ISCorpseMoverMenu.lua line # 151 | MOD: Easy Corpse Move (1.0.6)

ERROR: General , 1692718145971> 0> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
Sidst redigeret af BroDimm; 22. aug. 2023 kl. 20:43
< >
Viser 1-12 af 12 kommentarer
Per side: 1530 50