Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
ShahriyarBPublic archive

About

Warcraft III Game Server AKA Hostbot Written in C# (.NET 6)

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Contributors Forks Stargazers Build Issues Apache-2.0 License LinkedIn


Logo

Hostbot Project

Warcraft III Lan Only Game Server Written in C# (.NET 6)
Explore the docs »

Releases · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This project started first as a port of ghostpp to C# and then went under some heavy modifications to become a clean, organized and well documented project. It is written with the extensibility in mind, so a plugin system can be implemented later with the minimal effort. There is not any Battle.net connection code in this project, aim of this project is currently LAN only for use in custom-made platforms like ICCup, RGC and others.

Please note that this project is not production ready in its current state, it lacks some minor features which you can find below on this page and not yet tested in a big scale.

(back to top)

Getting Started

Prerequisites

  • .NET 6
  • Visual Studio 2019+ (Optional)

Building

  1. Clone the repo
    git clone https://github.com/ShahriyarB/Icecrown.git
  2. Go to the hostbot directory
    cd Icecrown/Hostbot
  3. Build the hostbot
    dotnet build // or "dotnet run" to run the project

(back to top)

Usage

If you're using any game version other than 1.30.1 you need to manually extract common.j and blizzard.j file from game files and put it in hostbot's data directory.

Maps should be copied to maps folder.

Some in game commands requires Moderator/Administrator role and can not be used by everyone, to make yourself admin you need to set your in game name to admin. This will definitely change in the feature when we implement the user roles and database.

To start the game you can use the /start command. To see the available commands and their usage type /help in chat.

To modify the hostbot settings refer to settings.json file, this file should be near the binaries. If this file does not exist, a default settings.json file will be created at first launch.

This is an example of how settings.json can be:

{
  "DataPath": ".\\data",
  "CommandDelimiter": "/",
  "WarcraftVersion": 30,
  "DownloadLimit": 800,
  "Latency": 80,
  "BroadcastLan": true,
  "Hostbots": [
    {
       "GameName": "|cFF6495EDDotA All Pick",
       "Map": "Maps\\Download\\DotA v6.83d.w3x",
       "HCL": "ap",
       "MaxLobbies": 3
    },
    {
       "GameName": "|cFF6495EDMelee",
       "Map": "Maps\\(12)IceCrown.w3m",
       "HCL": "",
       "MaxLobbies": 1
    }
  ]
}

This settings.json results the following lobbies:

Lobbies

For more information about settings.json file, please refer to the Documentation

(back to top)

Roadmap

  • Add lag screen support
  • Implement database support
  • Implement user roles
  • Implement plugin system
  • Implement gproxy support
  • Implement match stats and ranking system

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

(back to top)

Contact

Shahriyar Bazaei - ShahriyarBa - shahriyar.ba@icloud.com

Project Link: https://github.com/ShahriyarB/Icecrown

(back to top)

Acknowledgments

  • Huge thanks to ghostpp without it this project would take much more time to make

(back to top)

About

Warcraft III Game Server AKA Hostbot Written in C# (.NET 6)

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages