Commit authored by Derek Williams's avatar Derek Williams
......@@ -46,21 +46,23 @@ The image below will guide you to the correct location.
To run the game on your machine, use these run configurations for the Desktop Client, Login Server and Game Servers with the following arguments.
The Working Directory fields that are listed will be added after the "FreshmanRPGSuite" path.
All Class names are prefixed with (`edu.ship.engr.shipsim.`) Example: `edu.ship.engr.shipsim.Server`
| Name | Main Class | Module | Program Arguments | Working Directory | Environment Variables |
|---|---|---|---|---|---|
| Login Server | edu.ship.engr.shipsim.LoginServer | `LoginServer.main` | --localhost | FreshmanRPG/LoginServer | INTELLIJ_MODE=true |
| Desktop Client | edu.ship.engr.shipsim.DesktopClient | `GameClient-desktop.main` | --localhost | FreshmanRPG/GameClient-desktop | INTELLIJ_MODE=true |
| Server Rec Center | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1873" --map="recCenter.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Library | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Sorting Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Wellington Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server MCT Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Ducktopia | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Cub | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Mowrey | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Outside Mowrey | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Quad | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server DHC1 | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Login Server | LoginServer | `LoginServer.main` | --localhost | FreshmanRPG/LoginServer | INTELLIJ_MODE=true |
| Desktop Client | DesktopClient | `GameClient-desktop.main` | --localhost | FreshmanRPG/GameClient-desktop | INTELLIJ_MODE=true |
| Rec Center | Server | `GameServer.main` | --port="1873" --map="recCenter.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Library | Server | `GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Sorting Room | Server | `GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Wellington Room | Server | `GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| MCT Room | Server | `GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Ducktopia | Server | `GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Cub | Server | `GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Mowrey | Server | `GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Outside Mowrey | Server | `GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Quad | Server | `GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| DHC1 | Server | `GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
## Running in production for testing
To test using the production database, change the --localhost arguments for all run configurations to --production **except** GameClient-desktop, which should still use the --localhost argument. Since you are running the servers on your local machine, the client needs to know that they are being run locally.
......
......