SpikeHimself / XPortal

XPortal is a Valheim mod that lets you select a portal's destination from a list. XPortal is a complete rewrite of AnyPortal.
GNU General Public License v3.0
20 stars 6 forks source link

mod doesn't work #91

Closed njikm2010 closed 9 months ago

njikm2010 commented 10 months ago

Describe the bug Hello, this mod doesn't work properly on my computer. It is as if he has not installed this mod, and the portal is exactly the same as the original one.

BepLnEx Shell Out.txt is the log in the console when I open the game.

To Reproduce

Expected behaviour The mod works fine

LogOutput file(s) BepLnEx Shell Out.txt LogOutput.log

Version

xPortal : 1.20.0 Jotunn library : 2.16.1

Environment Choose from the following options where you are experiencing the problem (leave only the ones you know about):

Other mods No, I turned off all other mods to test

Priority Estimate how important this problem is. Choose Medium if you don't know.

Additional information image

SpikeHimself commented 10 months ago

Hi, according to your log file you are running a very old version of BepInEx: v5.4.9.0.

Can you update this and see if the problem persists? The current version at the time of writing is 5.4.22

njikm2010 commented 10 months ago

LogOutput.log yep. I also found this problem and updated it.Still not working properly.

SpikeHimself commented 9 months ago

LogOutput.log yep. I also found this problem and updated it.Still not working properly.

This log file seems to cut off early and doesn't show anything beyond loading the game (no gameplay). I can't see any errors in it.

What could also help is turning on BepInEx Debug logging

njikm2010 commented 9 months ago

sorry. My BepInEx configuration does enable debug, but for some reason there is no corresponding information in the log file. This is the output of the console. Can you take a look? BepLnEx Shell Out.txt

SpikeHimself commented 9 months ago

Very strange issue indeed. It seems that Jotunn is trying to start XPortal's initialisation too early. At the point where the menu is loaded, instead of at the point where your world is loaded.

I'm not really sure what could cause that..

Can you double check that your Valheim is not out of date, by using Steam's "verify integrity of game files" option?

image

SpikeHimself commented 9 months ago

Also please make sure that you are running the live version of the game, not a beta or an older version;

image

njikm2010 commented 9 months ago

It's really very strange. My version is indeed the latest live version and has been checked for integrity, but it does not work properly when I use Vortex as my Mod Manager. Later, when I used ThunderStore as my Mod management software, it worked normally. It's really, really incredible! ! But anyway, thanks for your help.

SpikeHimself commented 9 months ago

That's very weird, and not something I've seen before. I use Vortex myself and don't have this issue.

If you ever work out what the root cause was I'm very curious to learn about it :)

njikm2010 commented 9 months ago

As you said, I don't know why it was initialized prematurely. When I use ThunderStore, it is only initialized when I enter the world. I'm also curious about the specific reasons. And please let me know if this mod can work on Linux server. I followed the instructions in the documentation to move to the server but it was prompted that the mod version was inconsistent.