Update Getting the project into eclipse authored by Henry Wyatt's avatar Henry Wyatt
...@@ -78,6 +78,11 @@ Project: GameServer ...@@ -78,6 +78,11 @@ Project: GameServer
Main Class: edu.ship.shipsim.areaserver.Server Main Class: edu.ship.shipsim.areaserver.Server
Arguments: --port=1876 --map=wellingtonRoom.tmx --localhost Arguments: --port=1876 --map=wellingtonRoom.tmx --localhost
Name: ServerMCTRoom
Project: GameServer
Main Class: edu.ship.shipsim.areaserver.Server
Arguments: --port=1877 --map=mct1.tmx --localhost
Name: GameClient-desktop Name: GameClient-desktop
Project: DesktopClient Project: DesktopClient
Arguments: --localhost Arguments: --localhost
...@@ -85,7 +90,7 @@ Arguments: --localhost ...@@ -85,7 +90,7 @@ Arguments: --localhost
Name: GameManager Name: GameManager
Project: GameManager Project: GameManager
Main Class: manager.GameManager Main Class: manager.GameManager
Arguments: --localhost --db=x (where x is your database identifier) Arguments: --localhost --db=x (where x is your database identifier)
## 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.
... ...
......