Giter Club home page Giter Club logo

bannerlordcoop's Introduction

Bannerlord Coop

Mod to enjoy the Mount & Blade II: Bannerlord campaign with other players.

Mod Discord

https://discord.gg/ngC4RVb

Current state

Very early in development. There's is absolutely no gameplay so far. Video created on commit d86c24c.

Implemented:

  • Establish a network connection between 2 game instances.
  • Send the initial world state from host to client.
  • Load the initial world state on client.
  • Sync of time control (pause, play, fastforward) & main party movement (move to position only).

Next:

  • Streamline harmony patches
  • Evaluate feasibility of running all clients in lock step with synced RNG. It would require a lot less hooks into the currently very unstable game DLLs, but might end up in desync hell.
  • Evaluate feasibility of a headless server (run only the game simulation, patch out everything else).

How to build & deploy

  1. Set the path to your Bannerlord modules folder in config.json.
  2. Open the Coop.sln in Visual Studio.
  3. Build.
  4. If everything was successful, your Bannerlord mod folder now contains the Coop mod. Enable it through the launcher or launch directly from Visual Studio.

How to host a coop game

  1. Start the game with the Coop mod enabled.
  2. Load any save game.
  3. Open the console using the hotkey Ctrl + `.
  4. Execute the command coop.start_local_server.
  5. coop.info will print some debug information about the server. The game is now running a local coop server and is connected to it with a local client. Additional players can now join.

How to join a coop game

  1. Start the game with the Coop mod enabled.``
  2. Open the console using the hotkey Ctrl + `.
  3. Execute the command coop.connect_to 127.0.0.1 4201.
  4. The client connect to server, download a save game and load it locally. It takes quite a long time until a loading screen pops up (~30s). Only works in LAN, never tested it in WAN.

Contributing

If anyone is interested in contributing to this project, please feel free to open an issue and request additional documentation & information.

Acknowledgments

bannerlordcoop's People

Contributors

araex avatar evorios avatar garrettluskey avatar

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.