Commit authored by Derek Williams's avatar Derek Williams
...@@ -48,21 +48,23 @@ The Working Directory fields that are listed will be added after the "FreshmanRP ...@@ -48,21 +48,23 @@ The Working Directory fields that are listed will be added after the "FreshmanRP
All Class names are prefixed with (`edu.ship.engr.shipsim.`) Example: `edu.ship.engr.shipsim.Server` 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 | The environment variables text box in each run configuration should contain: `INTELLIJ_MODE=true`
|---|---|---|---|---|---|
| Login Server | LoginServer | `LoginServer.main` | --localhost | FreshmanRPG/LoginServer | INTELLIJ_MODE=true | | Name | Main Class | Module | Program Arguments | Working Directory |
| 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 | | Login Server | LoginServer | `LoginServer.main` | --localhost | FreshmanRPG/LoginServer |
| Library | Server | `GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Desktop Client | DesktopClient | `GameClient-desktop.main` | --localhost | FreshmanRPG/GameClient-desktop |
| Sorting Room | Server | `GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Rec Center | Server | `GameServer.main` | --port="1873" --map="recCenter.tmx" | FreshmanRPG/GameServer |
| Wellington Room | Server | `GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Library | Server | `GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer |
| MCT Room | Server | `GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Sorting Room | Server | `GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer |
| Ducktopia | Server | `GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Wellington Room | Server | `GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer |
| Cub | Server | `GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | MCT Room | Server | `GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer |
| Mowrey | Server | `GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Ducktopia | Server | `GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer |
| Outside Mowrey | Server | `GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Cub | Server | `GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer |
| Quad | Server | `GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Mowrey | Server | `GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer |
| DHC1 | Server | `GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Outside Mowrey | Server | `GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer |
| Quad | Server | `GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer |
| DHC1 | Server | `GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer |
## Running in production for testing ## 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. 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.
... ...
......