Multiplayer Connectivity Errors/Issues (Megathread)

For discussion about Trine 2, released in December 2011 on Windows, Mac, Xbox, PlayStation Network and later on Linux and Wii U.
User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Multiplayer Connectivity Errors/Issues (Megathread)

Postby MarjutFB » Fri May 23, 2014 12:48 pm

Hello!

This thread is to help with the various multiplayer errors and troubles that might occur to some players with Trine 2. We usually have been linking an older Steam thread about Online Multiplayer problems but finally decided to move it here and this is the result which has been upgraded for better readability.

Feel free to drop a comment if you have any questions about this throubleshoot guide or need help with your troubleshoot. At the end of this post there are of course instructions about what you should include to your message to us so we can help you as best as we can.



General Information
General information about the Online Multiplayer mode and about troubleshooting your problem

    Trine 2's Steam version supports Cross-Platform Multiplayer between Windows, Mac and Linux. In other words, you can play together with a player even if their computer is running on a different operating system. There are also standalone versions of the game that unfortunately might not be compatible cross-platform.

    The Online Multiplayer works very well for the most part, as most players don't encounter any problems but unfortunately some players have trouble with it. Usually the issues are related to connecting to other players. Sometimes the game will output an error code when it can, which can tell why the problem occurred. You can see the explanations for error codes below.

    Please note that one reason for errors can be simple fact that the servers might be under heavy load. That's why it's advised to try a few times at least and maybe at different times. If the error numbers are always different, then that might indicate that the problem isn't "permanent" and you'll get through with enough tries.

    If this guide doesn't help you with your problem, see the second last title of this post about how to report the problem so we can help you.


Error Codes
The Online Multiplayer error codes and their explanations for Trine 2

    0 = NetErrorUnknown
    // Unexpected disconnection

    2 = NetErrorJoinLobbyAborted
    // User cancelled connection attempt

    3 = ConnectFailReasonNotOnline
    // Not connected to master server

    4 = NetErrorNoResponseFromHost
    // No reply received in 30s

    6 = NetErrorConnectionRejected, NetErrorNoResponseFromServer
    // Connection was lost

    7 = NetErrorConnectionRejectedByServer, Disconnecting
    // Server is disconnecting

    8 = NetErrorConnectionLost
    // Connection was lost

    9 = NetErrorConnectionSyncDataTimeOut
    // Sync data was not received in 30s (slow connection)

    10 = NetErrorConnectingToMasterFailed
    // Cannot connect to master server

    65539 = ConnectFailReasonFull
    // Game is full

    65541 = NetErrorConnectionRejected, ResponseRejectedFull
    // Game is full

    65543 = NetErrorConnectionRejectedByServer, ServerFull
    // Game is full

    131075 = ConnectFailReasonRejected
    // Rejected by peer

    131077 = NetErrorConnectionRejected, ResponseRejectedBadPassword
    // Invalid password

    131079 = NetErrorConnectionRejectedByServer, BadVersion
    // Incompatible version

    196611 = ConnectFailReasonInvalidTarget
    // No such peer

    196613 = NetErrorConnectionRejected, ResponseRejected
    // No longer hosting a game

    196615 = NetErrorConnectionRejectedByServer, BadRequest
    // Incompatible version

    262147 = ConnectFailReasonTimeOut
    // Connecting took too long

    262151 = NetErrorConnectionRejectedByServer, TimeOut
    // Join attempt timed out

    327683 = ConnectFailReasonDeleted
    // Disconnected from master server

    393223 = NetErrorConnectionRejectedByServer, KickedOut
    // Kicked out by server


Trine 2 NetTest program
A progam to test are the gates which the game uses open

    You can download our quick port test program from
    http://www.trine2.com/help/Trine2_nettest.zip

    Trine 2 uses UDP ports. By default the ports are from 27300 to 27315.

    This may help figuring out if the web ports the game uses are open or not. It is not, however, conclusive - most players will be able to play just fine even if the ports are closed.

    Ports are usually opened through the router. Every router has a different setup how to do this, so unfortunately we can't add any good guide for this. It's recommendable to try to look for a guide or your router's manual for this. If you can't find this feature let us know and we can try to help you out.


How to start solving the problem
What to do if you encounter a problem with the Online Multiplayer mode

    First, make sure the Steam Ports are open.

    If that doesn't help then, there's a lot of different options that relate to multiplayer in the game itself. You can change these options throught the game's options.txt file.

    How to find the Options.txt?
    %APPDATA%\Trine2\ can be copypasted to Windows Explorer, which is where the the file is located. On Mac it's in ~/Library/Trine2/ folder. For Linux the options.txt file is always located in the HOME directory under .frozenbyte.

    The settings we are looking for are at the end, and the most important ones are these:

    Code: Select all

    setOption(networkModule, "AllowSteamConnections", true)
    setOption(networkModule, "AllowNonSteamConnections", true)
    setOption(networkModule, "AllowSteamRelay", false)

    The first thing to try is to enable AllowSteamRelay. If it doesn't work, change something else and try again and so on.

    Also, especially if your game is slow, check if you have any internet speed/connectivity programs running on the computer(s), e.g. downloaders, or programs boost downloads or other similar things, please make sure they are not enabled while trying to play.
    Windows users could also simply try to open the game as administrator. This has worked for many players. You can do this simply from the games executable, for Steam version it's located at ...\Steam\SteamApps\common\Trine 2\trine2_32bit.exe depending on where you installed Steam.


Private and Public games
Should I choose a private or a public game?

    There has been reports that Private games have more issues than Public ones. So, if you're having problems with Private games please also try a Public one and see if it has the same issues.

    Unfortunately we don't know why this happens and we hope you can play Public games if the Private ones don't work as well.


Private games with a password
Issues with passwords

    Even if you are invited by your friend, you may get a Bad Password popup. In this case, go to the Multiplayer / Join Online Game menu, and join the Private game manually. There has been a fix to this but in case it still happens joining manually should do the trick. When joining the game first enter the password at the bottom of the screen, and then click on the server to join.


The older version
Take note of these if you change to the older version

    One alternative, if you only want to play with Steam friends, is to try out the older version of the game. This may help in some of the cases (but not all - the newer version should be the best one for most people).

    If you are interested in that, there's a couple of things to know:

      1. Your savegames will get messed up. Newer versions of the game can load any savegame, but older versions do not recognize newer savegames. Therefore, if you "downgrade" to v1.14, your v1.16 savegames will not work (they may show up as only having the Story Begins level available). Use a different "Save Slot" for v1.14 and that way you might be able to keep all saves in working condition. In general, be prepared to lose your savegames.
      2. V1.14 can only play multiplayer against other v1.14 versions. So if you do this, you can only play with your friends or others who use the same version (which is very few people).
      3. This has not been done many times so something strange can happen - most dramatic would be losing your savegames (as said in #1).
    If that sounds ok, then here's instructions on how to do this:

    Launch Steam, go to Library, right-click on Trine 2 and go to Properties. Then go to Betas tab, and choose one of the "old" builds. It doesn't require password. After you have chosen one Steam should load the build you choose for Trine 2. If this doesn't happen try to verify the game cache for the game (right-click on Trine 2 in your Steam Library, click on properties and choose local files-tab and the button to verify integrity of game cache should be there) which should at least start the loading.


Hamachi
Read this if you have Hamachi installed

    Hamachi may cause trouble with the game. If you are experiencing issues with Online Multiplayer and are using Hamachi, it's recommendable to close Hamachi and disable it's virtual Hamachi network card before trying the game again. This has fixed many problems for many players.
    Note that also other programs that create a LAN like network can interfere with the game, so it's recommendable to close them as well.


How to enable multiplayer logging?
Read this to know get logs for the Online Multiplayer

    In options.txt there's a line:

    Code: Select all

    setOption(networkModule, "NetLogEnabled", false)

    set it to true, and the game will produce a log of the events to the game's installation folder to the log\trine2.log file. You can open this file with e.g. Notepad, it's just text data. Please either copypaste it along with your post or make it available elsewhere online, so we can take a look at it. You can also sent us the file via email to Support [at] Frozenbyte [dot] com. Please also read the next header about how to report your problem so we can help you as well as we can.

    How to find the Options.txt?
    %APPDATA%\Trine2\ can be copypasted to Windows Explorer, which is where the the file is located. On Mac it's in ~/Library/Trine2/ folder. For Linux the options.txt file is always located in the HOME directory under .frozenbyte.


Report your problem in detail
How to report your problem? What kind of information is needed?

    To help us figure out what's going on and help us to help you, try to attach this information to your error report:

      - the error code(s) you may have received
      - description of the problem, such as how of often it happens and when exactly the issue shows up
      - the net log output (trine2.log) instructions how to get this if you scroll up a bit
      - what game settings you are using (resolution, graphics detail level, etc)
      - your operating system and other computer information
      - your location (country/city)
      - your ISP and bandwidth/connection
    You can send your report in a reply to this thread or sent it to us via email to Support [at] Frozenbyte [dot] com and we'll do our best to help you!


How to active the LAN only option
This is for advanced users only!

    If nothing else works you could try to play the game using the LAN only mode. Note that this is for more advanced users only, as especially if you're not in the same network you also need to use a separate program to establish this and we can't guarantee the game will work with third party softwares like this. This setting will also prevent you from joining other games.

    If you would like to try this, have all of the participants connect to the same network and change the following line in the game's options.txt to match the following:

    Code: Select all

    setOption(networkModule, "UseLANOnly", true)

    You can just change the line back to false to disable this option.
    Please also note that if you edited the options.txt file earlier, it might be necessarily to reset it for the LAN only mode to work correctly. You can reset the options.txt simply by deleting it, a new file with default options will be created when you launch the game.


If you get it working
If you have knowledge of these things or manage to solve your issue otherwise

If you had issues with the Online Multiplayer but got the game working, please post what you did here so others can learn as well. You can also sent us email and we can see if we can add your solution to this troubleshoot post.


Cheers!

Return to “Trine 2”

Who is online

Users browsing this forum: No registered users and 9 guests