Mods / VsWaypointSharing

Category: #QoL #Utility
Author: Astarael
Side: Both
Created: Feb 8th 2023 at 9:57 AM
Last modified: Sep 11th 2023 at 7:15 AM
Downloads: 2522
Follow Unfollow 58

Latest file for v1.18.10:
VsWaypointSharing.zip 1-click install


A client and server side mod which enables syncing waypoints from other players to your map and vice-versa.

Commands

  • .ws sync - Syncs waypoints from all players to your map. Synced waypoint titles will be prefixed by the player they came from and can be seen by editing the node in the Title text box. The mod will never sync a waypoint over the same location as an existing waypoint. This command should reflect immediately without a map reload. Please note that syncing will also remove any foreign waypoints from your map that the original user deleted in their game.
  • .ws revert - Clears all non-native (waypoints from another player) from your map.
  • .ws autosync - Toggles auto-syncing waypoints to your map every 15 seconds.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.6 1201 Sep 11th 2023 at 7:15 AM Show VsWaypointSharing.zip Install now
v1.0.5 265 Sep 2nd 2023 at 6:24 AM Show VsWaypointSharing-v1.0.5.zip Install now
v1.0.4 202 Aug 29th 2023 at 6:34 AM Show VsWaypointSharing.zip Install now
v1.0.3 146 Aug 27th 2023 at 6:58 AM Show VsWaypointSharing.zip Install now
v1.0.2 708 Feb 8th 2023 at 10:00 AM Show VsWaypointSharing-v1.0.2.zip Install now

17 Comments (oldest first | newest first)

💬 Caimbul, Mar 15th at 12:58 AM

Is there an update for 1.19.4?

 

💬 Phoenicius, Oct 27th 2023 at 1:41 PM

Receiving this error whenever someone tries ".ws sync" on our server:


27.10.2023 09:37:40 [Error] System.NullReferenceException: Object reference not set to an instance of an object.
at VsWaypointSharing.VsWaypointSharing.OnShareRequested(IServerPlayer fromPlayer, WaypointShareMessage wsm) in I:\Documents\Git\VsWaypointSharing\src\VsWaypointSharing.cs:line 284
at Vintagestory.Server.NetworkAPI.HandleCustomPacket(Packet_Client packet, ConnectedClient client) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\API\NetworkAPI.cs:line 40
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerMainNetworking.cs:line 138

 

We recently moved our save file to this server from a different machine. I'm wondering if that has something to do with it?

EDIT:
It works when I reload the world on the old server. 
If I generate a new world on the current server, I can sync without issue. So I think it must have something to do with the fact that the world was generated on a different server? I have no idea how to fix this though.

 

EDIT 2: 
I had my friend who was missing rejoin the server and try it, then it worked. What I mean is: he hadn't actually connected to the new server IP until now, and I think that's what the problem was. When someone went to sync, and the code got to the point where it calls the GetPlayerDataByUid method to get the name of the person with his ID, it returned null because that player didn't exist in the server's playerdata.json yet. I tried adding him manually but it kept reverting it whenever we'd reload the server. Anyways it's fixed now, but adding a null check for this might be a good idea still.

💬 AstaraelAuthor, Sep 11th 2023 at 7:12 PM

@Inakibari Are you using the right version of the mod with the appropriate version of the game? Also, as far as I know, you can't load two versions of the same mod at the same time, so that might be the error you're seeing. If you post the specific error from your logs, I might be able to tell you more but I can't do much with just the info from that screenshot.

💬 Inabikari, Sep 11th 2023 at 11:01 AM

https://i.imgur.com/9gQx2g1.png

Well. 1.0.5 works now, but the new 1.0.6 has the same issue as last time. What's going on here?

💬 Frovix, Sep 5th 2023 at 3:38 PM

@HostilHobbit good idea I used both mods myself. @Astarael I know these mods were compatible but the new updates have probably messed something up, I think Auto Map Markers needs updating 

💬 Inabikari, Sep 4th 2023 at 2:09 AM

image

Not sure what's going on here, but the newest version straight up doesn't work. Seems to have a dependency?

💬 HostilHobbit, Sep 2nd 2023 at 1:14 PM

@Astarael Thanks for the response, i understand if its not something possible heres a link to the mod https://mods.vintagestory.at/automapmarkers#showchangelog .

💬 AstaraelAuthor, Sep 2nd 2023 at 6:26 AM

@HostilHobbit I'll try to take a look when I have some time, but it's possible the two are incompatible.

💬 HostilHobbit, Sep 1st 2023 at 3:00 PM

This seems to break the auto map marker mod that makes markers on certain item pickups

💬 AstaraelAuthor, Sep 1st 2023 at 2:31 PM

@teslov thanks, I'll try to take a look next week. The logging fix was for the chat window, not for the logging API that (apparently) goes to file. I'll see if I can address both of the ones you mentioned.

💬 Teslov, Aug 30th 2023 at 10:04 PM

Hey, the log spam wasn't really fixed and my logs bloated to 23,7Gib after two players enabled autosync :D
"Auto-syncing client [ID]"
And then fatal error about An item with the same key being already added. It appeared multiple times a second.

Sorry for not providing actual log, I shift-deleted it as my poor storage was completely full.

💬 Frovix, Aug 29th 2023 at 10:21 AM

@Astarael I haven't noticed any errors when I do I'll let you know :D Thanks for the update ;)

💬 AstaraelAuthor, Aug 29th 2023 at 6:34 AM

@Tizuby this is fixed now

💬 AstaraelAuthor, Aug 27th 2023 at 7:43 AM

@Frovix I uploaded an updated version which I tested on the latest client. Please let me know if you're still having issues.

💬 Frovix, Aug 25th 2023 at 4:15 PM

could you update to the current version?

💬 AngryOscar, May 14th 2023 at 6:25 PM

1.18 update?

💬 Tizuby, Mar 27th 2023 at 1:34 AM

Can you disable the log spam please? Every exact minute it logs "auto-sync thread running".

(edit comment delete)