blaxxun-boop / TargetPortal

9 stars 7 forks source link

Portal map not showing portals #26

Open GekoGpose opened 7 months ago

GekoGpose commented 7 months ago

Running into an issue where the portal map isn't showing all the available portals. And when I moved the 1 portal in my hub to a new location so I could build once I put it down I had no more icons. All portals are set to public and it still isn't showing them all.

gamingoffice commented 7 months ago

same on me

hr1s7i commented 6 months ago

Happened to me as well and it's an odd one. I've narrowed it down a bit. Firstly, the problem doesn't surface when playing on client hosted multiplayer, nor in single player. It does happen on a server where the mod is installed. Once I interact with a portal, it remains visible on the portal map for use. Only the ones which I've walked into remain visible, the other ones appear only when touched. If I log off then reconnect to the server or close the game and reopen it, then reconnect to the server, the portals are invisible on the portal map until walked through again.

martindemharter commented 6 months ago

I didn't want to reopen the issue. It looked exactly the same as you described, but I figured out that the server-side mods weren't actually loaded. And then this is the behaviour that would make sense and it was the same for me.

Basically what is happening is, it is not your local save game, but the servers. That's why the portals known from last session don't show up after relogging. And that's why you have to touch (actually load) them manually every time. Your local mod installation takes over the portal(s) in your proximity.

Wild guess: Like me, you are using lloesche valheim docker image ( https://github.com/lloesche/valheim-server-docker) or something similar. I would recommend making sure the mods are correctly copied to the target folder, because that was my issue. The bepinex-config folder was not writable, so the mods weren't loaded at first start. In the end, only client-side was running for me.

Greetz

edit: weird formating

Am Fr., 22. Dez. 2023 um 11:23 Uhr schrieb hr1s7i @.***

:

Happened to me as well and it's an odd one. I've narrowed it down a bit. Firstly, the problem doesn't surface when playing on client hosted multiplayer, nor in single player. It does happen on a server where the mod is installed. Once I interact with a portal, it remains visible on the portal map for use. Only the ones which I've walked into remain visible, the other ones appear only when touched. If I log off then reconnect to the server or close the game and reopen it, then reconnect to the server, the portals are invisible on the portal map until walked through again.

— Reply to this email directly, view it on GitHub https://github.com/blaxxun-boop/TargetPortal/issues/26#issuecomment-1867510464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6226MVDMFG74NAFG4GQCDYKVNRVAVCNFSM6AAAAAA7TRQYJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGUYTANBWGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hr1s7i commented 6 months ago

You are a genius and a time saver, Martin! I was about to write that I'm using basic hardlinking for all the bepinex related folders and settings. Had a what-if moment. Turns out the hard-links didn't exist anymore. Plugged them back in and now everything works just fine. Never trust windows with automation.

Heroix-ADK commented 5 months ago

I didn't want to reopen the issue. It looked exactly the same as you described, but I figured out that the server-side mods weren't actually loaded. And then this is the behaviour that would make sense and it was the same for me. Basically what is happening is, it is not your local save game, but the servers. That's why the portals known from last session don't show up after relogging. And that's why you have to touch (actually load) them manually every time. Your local mod installation takes over the portal(s) in your proximity. Wild guess: Like me, you are using lloesche valheim docker image ( https://github.com/lloesche/valheim-server-docker) or something similar. I would recommend making sure the mods are correctly copied to the target folder, because that was my issue. The bepinex-config folder was not writable, so the mods weren't loaded at first start. In the end, only client-side was running for me. Greetz edit: weird formating Am Fr., 22. Dez. 2023 um 11:23 Uhr schrieb hr1s7i @. : Happened to me as well and it's an odd one. I've narrowed it down a bit. Firstly, the problem doesn't surface when playing on client hosted multiplayer, nor in single player. It does happen on a server where the mod is installed. Once I interact with a portal, it remains visible on the portal map for use. Only the ones which I've walked into remain visible, the other ones appear only when touched. If I log off then reconnect to the server or close the game and reopen it, then reconnect to the server, the portals are invisible on the portal map until walked through again. — Reply to this email directly, view it on GitHub <#26 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6226MVDMFG74NAFG4GQCDYKVNRVAVCNFSM6AAAAAA7TRQYJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGUYTANBWGQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

I'm currently hosting the Valheim server on my local machine, however I run into this issue aswell with the Thunderstore Mod Manager. But in my case the Bepinex config folder is writeable.

If anyone knows a fix for TMM or this problem in general, that would be super cool. For now I fix the issue by teleporting to every portal on a map restart.

martindemharter commented 5 months ago

Check, when the server is running, if the mods are actually loaded server-side. (cd into the mod folder). i would guess, they are not there, writeable folder or not.

Heroix-ADK commented 5 months ago

Thanks for the quick reply @martindemharter! Serverside configs are however loaded.

My current setup:

What I find strange is that there are so little reports of this bug.

Edit: after checking the closed issues I found this thread: https://github.com/blaxxun-boop/TargetPortal/issues/2.

It seems that BetterNetworking causes issues with this mod. Will confirm it this afternoon and will edit post if that is actually the problem.

Heroix-ADK commented 5 months ago

So I've selectively removed every mod until only targetportal was in it, unfortunately it was only targetportal that is causing issues. Maybe it has to do with the configs of the modpack that get reset every time I reupload the modpack

@blaxxun-boop is it correct that the portal connection location is stored in the config files of bepinex? If so, this mod might not be that compatible with modpacks that have custom config settings enabled in thunderstore mod manager.

Still debugging...

Edit: it's not stored there lol. Continuing my search

Heroix-ADK commented 5 months ago

So it seems that, indeed, no mods are loaded. Thunderstore Mod Manager is really shit when it comes to loading mods up for a server. I manually dragged bepinex with all its content to the server, ran it through the .bat, and it magically worked. Man I'm pissed off

hr1s7i commented 5 months ago

@Heroix-ADK I ran onto the same problem of mods not loading properly on the server when launched through r2modman. The way I fixed it was by putting the server in the same drive as my mod manager installation. That way the mod manager can hard-link the mod folders properly (presuming the server location on the drive is setup properly in the manager's settings).