otavepto / gbe_fork

Fork of https://gitlab.com/Mr_Goldberg/goldberg_emulator
https://gitlab.com/Mr_Goldberg/goldberg_emulator
GNU Lesser General Public License v3.0
191 stars 55 forks source link

Experimental version of Emu not connecting to non-Steam servers #242

Closed yU93r closed 3 days ago

yU93r commented 4 days ago

Hi! I am really sad that the development of this fork has been stopped. At the last minute I would like to report a small, but not very important bug. In the experimental version of the emulator the game cannot connect to non-Steam servers. For example, you can get the update news in ETS 2 in the regular version, but not in the experimental version.

Regular Version

Emu Regular

Experimental Version

Emu Experimental

As you can see from the screenshots, there is no update news in the experimental version

STEAM_LOG_regular.txt

STEAM_LOG_experimental.txt

P.S. In the logs it says disable_networking=1 and offline=1 in configs.main.ini, but this does not prevent the game from receiving updates in the regular version. I mean, it's not because of these settings that you can't get updates in the experimental version.

otavepto commented 3 days ago

Already mentioned in the ini

# disable all steam networking interface functionality
# this won't prevent games/apps from making external requests
# networking related functionality like lobbies or those that launch a server in the background will not work
disable_networking=0

disable_networking just turns off the emu's ability to send/receive local packets and gameserver related stuff (think of local multiplayer as an example). offline makes the emu pretend as if you're not logged in, not related to any web related stuff.

What you probably want is disable_lan_only

# prevent hooking OS networking APIs and allow any external requests
# only used by the experimental builds on Windows
disable_lan_only=0

The comment above it explains what it does, set it to 0 to be able to receive external web requests made by the game

yU93r commented 3 days ago

Oh, thank you. All those hours for nothing. How stupid of me! Thanks again.