Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Clients lose all portals on log out #19

Open
Chronokill opened this issue Oct 20, 2021 · 8 comments
Open

Clients lose all portals on log out #19

Chronokill opened this issue Oct 20, 2021 · 8 comments

Comments

@Chronokill
Copy link

Running a ~4 man server and just unlocked portals. They work at first, but when a client logs off and back on, any portals that are not near a person (perhaps unloaded) are forgotten.

@jamesbyo
Copy link

Confirmed on a 3 man server but only with some sort of network mod enabled on the server, in our case BetterNetworking, but there was another one that did it too. The only portals that save are where players have their spawn set. Removed the network mod and it all came back.

@Berkajerk
Copy link

Berkajerk commented Jan 28, 2022

Same problem.

No mods loaded on dedicated server. AnyPortal removed from local client and connected portals on lost on logout.

Edit: Rebooting the dedicated server and then rebuilding the portal seems to have fixed the issue. Unsure if every player will need to.

@SauceyGit
Copy link

This is happening today, as of patch 0.208.1. Last night, all portals were working and could be selected as a destination. This morning, after taking version 0.208.1 of the client and updating the dedicated server, the drop-down was completely blank.

If you walk over to where another portal is located, the game will see that portal in the drop-down again, but if you select that destination, it'll reset after a second.

https://youtu.be/ND95DnArr9s

@Athrunen
Copy link

@SauceyGit have you tried #18 (comment) ?

@SauceyGit
Copy link

SauceyGit commented Apr 11, 2022

@Athrunen does that need to be on both the client and server? Just updating the server actually wiped all the portals from the list, which were in the above video.

edit: no luck on server-side only. no luck with client and server using that .dll.

I was originally using the thundertstore upload by Tjs1000, then tried using "anyportalfix" by Augie.

Did IG change something that the mod is using to find and link these entries in the recent patch?

@Athrunen
Copy link

Athrunen commented Apr 11, 2022

If definitely should be on the server, but the patch shouldn't affect the client.

But if you use the fix by Augie that should be the correct version.

They might have changed something but I currently don't have Valheim installed, so I can't check.

@SauceyGit
Copy link

image
Not sure if it helps, but when trying to interact with a portal, the following is showing in the BepInEx log.

  1. Press E to open AnyPortal menu
  2. Observe the destination is "None"
  3. Select destination.
  4. Portal fires up.
  5. Portal dies down.
  6. Destination reverts to "None"

You have to move really quickly between setting a destination and moving through the portal to actually go through it, or it deactivates the destination before you pass through. Last night, we had a lot of portals accidentally get renamed to "W" and "WA" 🤣

@Athrunen
Copy link

Athrunen commented May 4, 2022

Sorry, only saw this now.

But yeah, either something changed somewhere in ZDOMan i.e the networking or they changed something in TeleportWorld i.e the actual teleport.

Alternatively, the location for the game's own portal connection could have changed and is interfering(because the patch to deactivate it failed), but I would need to see a full log to know that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants