ebkr / r2modmanPlus

A simple and easy to use mod manager for several games using Thunderstore
MIT License
1.17k stars 183 forks source link

[BUG] - Application starts but does not work ! (Valheim) #539

Closed Daimonicon closed 3 years ago

Daimonicon commented 3 years ago

Describe the bug No connection at all can be established at the start. (see pic_01)

Only after I went to Settings -> Debugging -> "Run preloader fix" I was able to find out that the Valheim directory was not recognised at all, even without question it is correctly specified. (see animated_gif)

To Reproduce Steps to reproduce the behavior:

It already doesn't work at startup on Windows 10 (2004+20H1+21H1) what steps can I describe ?

Expected behavior I select the game, in my case "Valheim", and the programme starts with an online connection for downloading mods. Then it manage the mods.

Screenshots pic_01

animated_gif

Additional context And finally - When you close the app it hangs as a task every time and I have to kill it manually. There is no log file except for the output after "Run preloader fix".

ebkr commented 3 years ago

These are two unrelated issues.

The preloader fix isn't available for Valheim, and is broken in the current version anyway (fixed for the next release though).

Regarding your connection issue, it's likely that you just need to allow the manager through your firewall. If you can access this site, it's either your firewall or antivirus that's prevent the manager from connecting: https://valheim.thunderstore.io/api/v1/package/

Daimonicon commented 3 years ago

The preloader fix was not directly mentioned as a problem, but I thought it was a hint that the Valheim path was not found at all.

The app can start Valheim via Steam, so the path can be found. However, no mods are recognised and there are some available. Even a manual import does not work.

The app is unblocked in the firewall and the r2modman folder is excluded from monitoring by Defender.

I can call up the page mentioned. url

ebkr commented 3 years ago

Are you still having trouble connecting to Thunderstore now that it's allowed through your firewall?

However, no mods are recognised

Are the mods in the <profile folder>/BepInEx, or <game dir>/BepInEx ?

Daimonicon commented 3 years ago

Are you still having trouble connecting to Thunderstore now that it's allowed through your firewall?

Yes, still no connection can be established.

Are the mods in the -profile folder-/BepInEx, or -game dir-/BepInEx ?

Currently the mods are still under "~\steamapps\common\Valheim\BepInEx\plugins", because I have installed them manually so far.

ebkr commented 3 years ago

The manager won't load any mods under ~\steamapps\common\Valheim\BepInEx\plugins. It maintains it's own independent from other installed mods. This is intended because people forget they have manually installed mods, which may break in an update, and it's not easily diagnosable. To access to folder, go to Settings -> Browse profile folder.

What distro are you running?

Daimonicon commented 3 years ago

The manager won't load any mods under ~\steamapps\common\Valheim\BepInEx\plugins. It maintains it's own independent from other installed mods. This is intended because people forget they have manually installed mods, which may break in an update, and it's not easily diagnosable. To access to folder, go to Settings -> Browse profile folder.

Ok that means I would have to copy my mod selection to "~\r2modman\data_folder\Valheim\profiles\Mods_Complete\BepInEx" ? I copied a mod to the folder mentioned above as a test and it is not recognised.

What distro are you running?

What is meant by Distro ? Game version, r2modman version ?

ebkr commented 3 years ago

I copied a mod to the folder mentioned above as a test and it is not recognised.

It won't appear in the manager if manually installed, however will be loaded upon starting the game.

What is meant by Distro ? Game version, r2modman version ?

I assumed you were running Linux since you said the path was ~\steamapps\common\Valheim\BepInEx\plugins. with ~ being the home directory in Linux. (Just checked above and you said Windows 10, so ignore this 👀 ).

Are you absolutely sure you've explicitly allowed it through your firewall? Do you have another that comes with your antivirus?

Daimonicon commented 3 years ago

It won't appear in the manager if manually installed, however will be loaded upon starting the game.

OK, I'll test it as described.

I assumed you were running Linux since you said the path was ~\steamapps\common\Valheim\BepInEx\plugins. with ~ being the home directory in Linux. (Just checked above and you said Windows 10, so ignore this 👀 ).

ah, no, it's Windows 10 :-)

Are you absolutely sure you've explicitly allowed it through your firewall? Do you have another that comes with your antivirus?

I have unblocked it to the Windows Firewall. I also have Malwarebytes, but it is currently deactivated. To be on the safe side, I have explicitly unblocked it under Defender and MB, i.e. the folder, the exe and the URL.

ebkr commented 3 years ago

Any luck if you run the manager as admin?

Daimonicon commented 3 years ago

BepInEx and the mods are now in the profile folder and when I click "Start modded" BepInEx hangs. The app is started as admin.

BepInEx

ebkr commented 3 years ago

Press ctrl+shift+i and go to the Networks tab. Then back on the manager screen, go to Settings and click the Refresh online mod list.

You should see a request fail in the networks tab. Click it and send a screenshot.

Daimonicon commented 3 years ago

After the game hangs or better BepInEx starts the game after about 5 min. anyway, but bepinex spams several errors "NullReferenceException". If the log file helps, I'll send it to you ?

And for the network tab I get the following : network_tab

ebkr commented 3 years ago

Ah so it looks like you just have real slow internet. If you join this discord I'll send you a build with an increased duration and we'll see if that solves it.

https://discord.com/invite/jE2zWHY

Daimonicon commented 3 years ago

hmm, on the contrary, the line is actually very fast (1000 mbit) but I can't 100% rule out setting errors.

But I'm happy to try it with Discord.

Daimonicon commented 3 years ago

ok am on discord as "Daimonicon"

Daimonicon commented 3 years ago

it's the same as before.

Can this be due to DSlite or ipv6 ?

network_tab_2

ebkr commented 3 years ago

Just to close off this issue, this was caused by NetLimiter right?

Daimonicon commented 3 years ago

Jupp was NetLimiter