2
0

NinjaSnowWar.bat 720 B

123456789101112
  1. :: To avoid cacophony of multiple background music when testing with multiple connections on the same test machine,
  2. :: start all the other non-headless connections with '-nobgm' argument.
  3. :: E.g. 1 - headless server
  4. :: Start the server with "NinjaSnowWar -headless -server"
  5. :: Start the first client with "NinjaSnowWar -w -address <put-your-host-name-here>"
  6. :: Start the subsequent clients on the same host with "NinjaSnowWar -w -nobgm -address <put-your-host-name-here>"
  7. ::
  8. :: E.g. 2 - non-headless server
  9. :: Start the server with "NinjaSnowWar -w -server"
  10. :: Start the client on the same host with "NinjaSnowWar -w -nobgm -address <put-your-host-name-here>"
  11. ::
  12. "%~dp0Urho3DPlayer" Scripts/NinjaSnowWar.as %*