Skip to content

Instantly share code, notes, and snippets.

@Kyle-Muir
Last active October 26, 2024 10:11
Show Gist options
  • Save Kyle-Muir/dcfc191e3c7678cb30309cd5027cf17d to your computer and use it in GitHub Desktop.
Save Kyle-Muir/dcfc191e3c7678cb30309cd5027cf17d to your computer and use it in GitHub Desktop.
Heroes of Newerth - client commands to create games

Prerequisites - not covered here

To host games you need the server running locally and have forwarded port 11235 from your router. See instructions here: https://github.com/honserver/honserver

  • Press ctrl + f8 to open the console
  • Type connect 127.0.0.1. You should see the server output indicating you have connected
  • Type one of the following startgame commands to launch the game
  • Once the lobby has loaded have other people connect to your public IP address - e.g. connect [public IP address]. You can find your public IP from typing "what is my IP" into google.
  • It is best to restart the server between games. There are lots of niggly things that can happen such as:
    • Other people being considered the "host" even though they can't start games if they don't disconnect from the game in time.
    • If the game hasn't completed typing connect 127.0.0.1 will reconnect you to the game rather than allowing you to start a new one
    • The server can get confused and think you're already running games which then doesn't let you start a new one

Start Forest of Caldavar

startgame local_automatic GTFO map:caldavar

Start Forest of Caldavar with no respawn timer

startgame local_automatic 'GTFO_Lives_On' map:caldavar norespawntimer:true

Start Grimms Crossing

startgame local_automatic 'GTFO_Lives_On' map:grimmscrossing norespawntimer:true

Start midwars - this is messy and can likely be tidied up but works

startgame local_automatic server name mode:normal Server map:midwars

Note: This is all pick, not the classic banning pick that Midwars used. Work in progress.

Other settable options

StartGame local_automatic 'test' map:caldavar region: teamssize:5 minpsr:0 maxpsr:0 spectators:0 referees:0 ping:0 mode:botmatch norepick:false noswap:false reverseselect:false noleaver:false private:false casual:false nostats:false norespawntimer:false shuffleteams:false verifiedonly:false noagility:false tournamentrules:false hardcore:false gated:false dropitems:false devheroes:false alternatepicks:false nostrength:false tournament:false nointelligence:false nopowerups:false autobalance:false full:false allowduplicate:false

Other things - not yet working but want to get working

StartGame local_automatic 'test' map:prophets

StartGame local_automatic 'test' map:devowars

Enable taunt - must be put into server console once the server has started

g_perks true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment