Coder Social home page Coder Social logo

sungaila / newdarkglobalserver Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 104 KB

A global server providing a game server list for Thief 2 Multiplayer.

License: MIT License

C# 97.50% Shell 0.38% Batchfile 0.35% Dockerfile 1.77%
server tcp ipv4 socket dotnet dotnet-core dotnet6 thief2 newdark game

newdarkglobalserver's Introduction

NewDarkGlobalServer Logo NewDarkGlobalServer

GitHub Workflow Status (branch) GitHub license

A global server providing a game server list for Thief 2 Multiplayer.

How to setup Thief 2 Multiplayer

  1. Get yourself a copy of the game (e.g. on GOG.com or Steam).
  2. Note: A few fan missions will not work after installing the multiplayer patch. So consider to create a copy of the Thief 2 game folder for singleplayer purposes.
  3. Download the latest version of T2Fix: An Unofficial Comprehensive Patch for Thief 2.
  4. Install T2Fix and make sure to select the component "Thief 2 Multiplayer".
  5. Open the file dark_net.cfg in your game folder with a text editor.
  6. Replace the last two lines with the following:
global_server_name thief2.sungaila.de
global_server_port 5199
  1. Read the text file mp_release_notes.txt for more information.
  2. Enjoy! Start the game with Thief2MP.exe. Windows might prompt you to install DirectPlay on first launch.
    • Select Multiplayer and then View Server List to see all running game servers.
    • Host your own game with Host a game (UDP port 5198). You will show up in the server list if clients can connect to you. If your game shows Connected to global server. but others cannot see you in the global server list, then a connection cannot be established (firewall, NAT, IPv4-only ...).
    • Sometimes selecting View Server List crashes the game. Hosting a game (seeing the player list), cancelling and then selecting View Server List seems to circumvent this weird issue.

How to setup your own NewDarkGlobalServer

  1. Download the latest release.
  2. Launch NewDarkGlobalServer.exe.
    • Default TCP port is 5199
    • You can change that port with the command line argument --port=YOURNUMBER
    • Note: IPv4 is the only supported protocol (IPv6 is not)
  3. Make sure all your clients have updated their dark_net.cfg file with your name and port.

Command-line options

Use the --help argument to show all available options.

Usage: NewDarkGlobalServer [options]
Starts a server providing a game server list for Thief 2 Multiplayer.

Options:
  -p, --port=VALUE           Sets the port for this global server. Default is
                               5199.
  -s, --timeoutserver=VALUE  Sets timeout for game servers in seconds. Default
                               is 180 seconds (00:03:00).
  -c, --timeoutclient=VALUE  Sets timeout for game clients in seconds. Default
                               is 3600 seconds (01:00:00).
  -u, --timeoutunidentified=VALUE
                             Sets timeout for connections to indentify as
                               client or server in seconds. Default is 10
                               seconds (00:00:10).
  -b, --showheartbeatminimal Shows HeartbeatMinimal messages in the log. Each
                               connected game server sends one every 10 seconds
                               so the log may become cluttered.
  -f, --hidefailedconn       Hides failed connections attempts (due to invalid
                               or unknown messages) from the log.
  -t, --printtimestamps      Adds timestamps to the log output.
  -v, --verbose              Shows more verbose messages in the log.
  -h, --help                 Prints this helpful option list and exits.

newdarkglobalserver's People

Contributors

sungaila avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

onurbulbul2

newdarkglobalserver's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.