LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.22k stars 458 forks source link

[Bug]: melonloader breaks oculus authentication but steam and BepInEx work just fine (il2cpp interop and unhollower) #654

Closed Elmishhh closed 1 week ago

Elmishhh commented 1 month ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

You can launch and play just fine with mods and the mods work but you can't connect to multiplayer, as I wrote in the title this only happens with melonloader and the oculus version of the game

No errors in the logs, just can't connect to multiplayer

Game: RUMBLE it's Il2Cpp

Did you attach your log file?

No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

slxdy commented 4 weeks ago

Good, because it's intended (probably by the game developer). The devs of MelonLoader do not support online pvp modding

Elmishhh commented 4 weeks ago

Good, because it's intended (probably by the game developer). The devs of MelonLoader do not support online pvp modding

it is not intended, there is a modding community and the devs are completely fine unless we cheat (which we dont)

slxdy commented 4 weeks ago

In that case, i doubt its a problem with MelonLoader. However, you can try running MelonLoader in debug mode to check if there are any warnings or if it blocks any of the game server domains

slxdy commented 4 weeks ago

Launch arg --melonloader.debug

Elmishhh commented 4 weeks ago

In that case, i doubt its a problem with MelonLoader. However, you can try running MelonLoader in debug mode to check if there are any warnings or if it blocks any of the game server domains

if it does, is there anything i can do?

Elmishhh commented 4 weeks ago

In that case, i doubt its a problem with MelonLoader. However, you can try running MelonLoader in debug mode to check if there are any warnings or if it blocks any of the game server domains

it does, how do i unblock it?

slxdy commented 4 weeks ago

What domain is it blocking that the game needs?

Elmishhh commented 4 weeks ago

What domain is it blocking that the game needs?

it uses azure something something i think

Elmishhh commented 4 weeks ago

Well yes, but can you check the console logs to see which exact domain it's blocking that the game requires?

rumble.azurewebsites.net is one of the blocked websites, as well as the facebook one but i believe you know that wont break networking if it was added

slxdy commented 4 weeks ago

Actually, try running your game with --melonloader.dab. This should disable the domain blocker. If this doesn't work for you, then I have no idea

Elmishhh commented 4 weeks ago

Actually, try running your game with --melonloader.dab. This should disable the domain blocker. If this doesn't work for you, then I have no idea

wait whut, melonwiki.xyz says it debugs it not disables it trying in a bit

slxdy commented 4 weeks ago

Yep, you're totally right. I misread.

I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

Elmishhh commented 4 weeks ago

Yep, you're totally right. I misread.

I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

yeah i've been trying to do that exact thing for a while, switching to bepinex simply isnt an option but 0.6.2 is if i can get that mod to work

it sucks but it is what it is

Elmishhh commented 4 weeks ago

ty for trying to help, lets hope my current attempt works

HerpDerpinstine commented 2 weeks ago

Yep, you're totally right. I misread.

I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

Nothing in MelonLoader's source is encrypted which you can verify yourself. The only thing MelonLoader prevents outright is running obfuscated .NET DLLs which is for user safety.

In the case of the issue @Elmishhh is having is that the Analytics Blocker is blocking hosts that were otherwise used for analytical purposes but this specific game actually requires those hosts to function properly.

The Analytics Blocker is in MelonLoader because we receive a lot of complaints from Game Developers when their game sends back logs from modded games. Additionally a lot of games, and in the case of Unity inside the engine itself, nowadays have analytical systems that syphon a lot of data about the user's every whim. These are also often left without any actual way for the end user to opt-out or even know of the data collection happening.

However we are discussing if the Analytics Blocker should stay or not in the upcoming MelonLoader Universality update. For now I can possibly add a disable launch option to the next MelonLoader release.

Elmishhh commented 2 weeks ago

@HerpDerpinstine Having a way to disable it would be really nice. I feel like bunch of things should be added in a text file config like BepInEx (disable the logging console and stuff)

While I'm at this, please make the first launch of an il2cpp game after the initial ML installation not load mods

We have figured out a temporary solution, it's most likely azurewebsites but no way to really confirm it because testing is rough (I personally don't own the oculus version, only the steam one which doesn't ever connect to Facebook/azurewebsites)

Ty

HerpDerpinstine commented 1 week ago

Issues have been fixed in v0.6.3.