tModLoader Server Browser

Status
Not open for further replies.

hamstar

Terrarian
Note: This mod is currently non-functional. Unknown when/if I'll attempt to fix this.



Server Browser

v1.2.0

Mirror


Note: Requires Mod Helpers


After over a month of tedious net coding work, I've finally got this ready for basic use. Note that not all servers listed are joinable; they may be passworded, not properly port forwarded, or have other network issues or improper settings preventing freely joining.

Note for server owners: You can use the console command mh-private-server to remove your server from the browser list, if you wish (read: Server is not broadcast at all). Don't worry, you'll be informed of this command in-game, with a bit of time to invoke it.

If you're hosting without port forwarding, you'll need to adjust the IsServerHiddenFromBrowserUnlessPortForwardedViaUPNP setting (and also probably specify the port you're using via. ServerBrowserCustomPort) accordingly.



Update: If you're getting the following error (or something close to it) after joining a server and leaving:
Code:
Hash mismatch, data blob has been modified or corrupted
    at Terraria.ModLoader.IO.TmodFile.Read(LoadedState desiredState, ReadStreamingAsset streamingHandler)
    at Terraria.ModLoader.ModLoader.FindMods()
This means tModLoader is looking for a .tmod file that hasn't finished downloading, and refuses to load the mod list. You'll have to manually delete the offending .tmod file (usually a file 0 kb in size or something), which you can find in your "Documents/My Games/Terraria/ModLoader/Mods/" folder.



ySY98df.png

Mod source code available.


Installation

Requires tModLoader (0.10+). Copy the above .tmod file to your 'Documents/My Games/Terraria/ModLoader/Mods' folder to play.


ServerBrowser.png


 
Last edited:
v1.2.0
  • Fixed crash with new Mod Helpers v3, but renders non-functional (for now; WIP).
v1.1.1
  • Update to Mod Helpers v2.0.2
  • Set as client-only mod
v1.1.0
  • Added button to filter locked servers
  • Update to new Hamstar's Helpers code layout
  • Assorted minor tweaks
v1.0.3.2
  • Added config option to suppress ping gauging on servers
  • Minor improvement to debug info for mod version checking
  • Fixed Utilities.MenuItem to not produce duplicate menu items
v1.0.3.1
  • Fixed possible mod unload issue
  • Added in-game issue reporting support
v1.0.2
  • Fixed (again) browser crashing on load
  • Added reversable sorting
  • Minor UI tweaks
  • Minor internal refactoring
v1.0.1.2
  • Fixed (for real?) server browser loading and duplicates
  • Minor UI tweaks
  • Fixed 'server busy' error message
v1.0.1.1
  • Fixed list loading improperly sometimes
  • Minor UI tweaks
  • Internal refactoring
v1.0.1
  • Added 'server busy' popup
  • Fixed possible crashes and error popups
  • Enabled multi-line motd messages for servers
  • Set mod list popups to not clip beneath the screen
  • Minor UI tweaks
v1.0.0
  • Added mod icon
  • Added a theme toggle button
  • Added sorting and filtering
  • Added column labels
  • Removed mod lists per server (view via popup only)
  • Set browser dialog to adjust with screen height
  • Changed base theme to red only
  • Refactored UI code layout
  • Refactored UI code files
  • Added mod list popups
v0.9.2
  • Tweaked browser dialog
  • Fixed Join button (finally!)
v0.9.1
  • Fixed uptime display
  • Minor UI tweaks and fixes
  • Added password server icon display
v0.9.0
  • Semi-working early beta.
 

Attachments

  • ServerBrowser v0.9.0.zip
    29.4 KB · Views: 813
  • ServerBrowser v0.9.1.zip
    29.8 KB · Views: 303
  • ServerBrowser v0.9.2.zip
    30 KB · Views: 298
  • ServerBrowser v1.0.0.1.zip
    50.3 KB · Views: 297
  • ServerBrowser v1.0.1.zip
    52.1 KB · Views: 284
  • ServerBrowser v1.0.1.1.zip
    52.2 KB · Views: 270
  • ServerBrowser v1.0.1.2.zip
    52.5 KB · Views: 283
  • ServerBrowser v1.0.2.zip
    53.1 KB · Views: 322
  • ServerBrowser v1.0.3.1.zip
    53.9 KB · Views: 273
  • ServerBrowser v1.0.3.2.zip
    54.1 KB · Views: 375
  • ServerBrowser v1.1.0.zip
    55.2 KB · Views: 473
  • ServerBrowser v1.1.1.zip
    39.8 KB · Views: 448
  • ServerBrowser v1.2.0.zip
    49.2 KB · Views: 2,437
Last edited:
Any tips an actually connecting? I keep getting stuck at "Connecting to <ip address>" after clicking on a given server, and it just hangs there. The one time it actually went forward and connected I crashed due to a mod version error.

Just want to say that I really appreciate the tool. I'm dying to play multiplayer...
 
Any tips an actually connecting? I keep getting stuck at "Connecting to <ip address>" after clicking on a given server, and it just hangs there. The one time it actually went forward and connected I crashed due to a mod version error.

Just want to say that I really appreciate the tool. I'm dying to play multiplayer...
If you can't connect, it's likely because of port forwarding or something like that. I cannot fix that. You'll have to keep trying other servers.

Can you describe your crash a bit?

How To Create Server ?
Host & Play in the multiplayer menu should do the trick.
 
If you can't connect, it's likely because of port forwarding or something like that. I cannot fix that. You'll have to keep trying other servers.

Can you describe your crash a bit?


Host & Play in the multiplayer menu should do the trick.

There is no crash, it simply freezes at "connecting" most of the time.

I'm having some other, unrelated issues though, to the point that I'm reinstalling windows on my main rig right now. So we'll see if that helps at all.

Thx
 
Status
Not open for further replies.
Back
Top Bottom