Jump to content

Recommended Posts

GraveMod

A simple little mod that on death creates a waypoint and stores the items in a grave, to ensure you can get your stuff back and don't have to wonder "where did i die ?" ,"Are my items despawned or is this the wrong place?"

Graves can also be crafted for decorative purposes.

To install just drop the zip into the Mods folder.

More infos and source code: https://github.com/p3t3rix/VsGraveMod

79038420-6f152d80-7bd9-11ea-9004-86f6ba6

 

Version history:
 

1.0: initial release
1.0.1: small bugfix
1.1: now search surround blocks for a position for the grave
2.0: Use Foundation library to ensure compatibility with my other mods
2.1: embed foundation library to avoid conflicts.
2.1.1: fix npe some user experience.

 

GraveMod-2.1.1.zip

 

 

Edited by P3t3rix
  • Cookie time 1
  • Amazing! 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Im so glad for this mod. I know dropping all of your inventory on death is meant to be a part of the difficulty, but boy is it frustrating to lose hours of progress. Thanks for making and sharing the mod!

Share this post


Link to post
Share on other sites

Hey there,

the mod sounds great. And works as intended in singleplayer...
But I cannot get it fully to work on a multiplayer server. It seem to load the mod and the logs looking good. But the only working is the creation of waypoints - and I also keep my inventory, but nothing else works. No spawn of a gravestone when dying, not able to craft one and there is no entry in the manual ('H').
As I can see, the last edit was 7hours ago, does the last patch just contain a mistake - or is it just not made for multiplayer (what I actually don't think).

Thanks in advance! :)

Edited by Keena

Share this post


Link to post
Share on other sites

@Keena How did you install the mod ? On the client and the server ? If you want you can PM me on Discord.

 

Edit: just tried it again on a dedicated server, it should work if you install it on the client and the server.

Edited by P3t3rix

Share this post


Link to post
Share on other sites
18 hours ago, Julius van Vern said:

Hey, the same Issue here. Since 2.1.0 update we have the same issue. He creates the waypoints but after death we keep our inventory. 

 

On 4/24/2020 at 10:46 PM, P3t3rix said:

@Keena How did you install the mod ? On the client and the server ? If you want you can PM me on Discord.

 

Edit: just tried it again on a dedicated server, it should work if you install it on the client and the server.

Should be fixed with 2.1.1

Thanks for reporting

Share this post


Link to post
Share on other sites
8 hours ago, BlueSteelAU said:

There's always something that's been bugging me with all the games with grave mods in single player .. Who Burys you ???

drifter ? maybe all they want is to get you 5 ft under 😉

Share this post


Link to post
Share on other sites

@DasPrinzip A similar issue was reported by @Julius van Vern but we could never reproduce it. A clean server with the same world did fix the issue at the time. If it still happens on a fresh installed server could you post logs and maybe your world, so i can try to reproduce it ?

Share this post


Link to post
Share on other sites

Sup @P3t3rix

It's a 2 day age new installed ubuntu 20 server.

If a player dies, syslog show:

Jun  1 10:57:58 vs VSSRV[4485]: 10:57:58 [Server Error] Mod exception: OnPlayerDeath
Jun  1 10:57:58 vs VSSRV[4485]: 10:57:58 [Server Error] Exception: System.NullReferenceException: Object reference not set to an instance of an object
Jun  1 10:57:58 vs VSSRV[4485]:   at Vintagestory.API.Common.Block.IsReplacableBy (Vintagestory.API.Common.Block block) [0x00055] in <97f87400996549bcaa796080030a18a5>:0
Jun  1 10:57:58 vs VSSRV[4485]:   at GraveMod.Systems.PlaceGraveOnDeath.DetermineGraveSpot (Vintagestory.API.Server.IServerPlayer player) [0x00097] in <c83b3d8a27204d9988766da3324a84b2>:0
Jun  1 10:57:58 vs VSSRV[4485]:   at GraveMod.Systems.PlaceGraveOnDeath.OnPlayerDeath (Vintagestory.API.Server.IServerPlayer player, Vintagestory.API.Common.DamageSource damageSource) [0x00000] in <c83b3d8a27204d9988766da3324a84b2>:0
Jun  1 10:57:58 vs VSSRV[4485]:   at (wrapper delegate-invoke) <Module>.invoke_void_IServerPlayer_DamageSource(Vintagestory.API.Server.IServerPlayer,Vintagestory.API.Common.DamageSource)
Jun  1 10:57:58 vs VSSRV[4485]:   at Vintagestory.Server.ServerEventManager.TriggerPlayerDeath (Vintagestory.API.Server.IServerPlayer player, Vintagestory.API.Common.DamageSource source) [0x0000a] in <2d6eef6f99694be1be89f6f6b9c7766e>:0

Edited by DasPrinzip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.