Michael Rausch
8b7407bf89
Various bug fixes
...
- Closed socket when discovery server crashes, so it can be restarted
- Flattened water on terrain mesh
- Added checks to ensure server is started before connecting
- Added a check to ensure client has started before connecting to the server
- Fixed concurrency issue in server-> client thread list
Tags: #story[1281]
2017-09-28 01:58:49 +13:00
Calum
a266779709
Added new Wind Waker mesh
...
#implement #story[1293]
2017-09-28 00:24:34 +13:00
Calum
42d490d6fd
Added new Wind Waker mesh
...
#implement #story[1293]
2017-09-27 23:35:51 +13:00
William Muir
ff4c2cd5b6
Merge branch '1273_Skybox' into 'develop'
...
1273 skybox
Server Discovery:
- Created server discovery server.
- Implemented protocols to support matchmaking & room code connection
- Improved error handling for server disconnections
Skybox:
- Added a skybox
- Added a terrain mesh
See merge request !79
2017-09-27 21:52:34 +13:00
Michael Rausch
5cc4898ab5
Fixed failing tests & other bug fixes
...
- Fixed server capacity in server list
- Fixed failing unit tests for chat
Tags: #story[1281] #pair[mra106, cir27]
2017-09-27 20:37:29 +13:00
Haoming Yin
22e1e57c24
Issue #73 : If you change controls to 'Continuously turning' before moving into game, it is not applied
...
- always send turning mode packet when race starts to sync the steering mode
#story[1278]
2017-09-27 20:18:06 +13:00
Haoming Yin
c5d2016733
Merge branch 'issue_#67_early_start' into 'develop'
...
added a check in the start logic to make sure a boat can't cross the start line early
See merge request !74
2017-09-27 19:42:05 +13:00
Michael Rausch
2b3a972ed5
Various bug fixes
...
- Fixed bug where an invalid port number would crash the program
- Closed the stage before cleaning up resources. This speeds up closing the app.
- Added error handling for when the client looses connection to the server.
Tags: #story[1281]
2017-09-27 17:14:55 +13:00
Michael Rausch
7db387bdec
Merged Host Customisation onto 1273_Skybox
2017-09-27 15:31:54 +13:00
Michael Rausch
00ff771fc3
Merge remote-tracking branch 'origin/story1275_host_customization' into 1273_Skybox
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/gameServer/MainServerThread.java
# src/main/java/seng302/gameServer/ServerToClientThread.java
# src/main/java/seng302/visualiser/ClientToServerThread.java
# src/main/java/seng302/visualiser/GameView.java
# src/main/java/seng302/visualiser/GameView3D.java
# src/main/java/seng302/visualiser/controllers/dialogs/ServerCreationController.java
2017-09-27 14:56:09 +13:00
Michael Rausch
78f64557c3
Merged dev onto 1273_Skybox
2017-09-27 14:46:12 +13:00
Michael Rausch
982fac38a0
Merge remote-tracking branch 'origin/develop' into 1273_Skybox
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/gameServer/MainServerThread.java
# src/main/java/seng302/gameServer/MessageFactory.java
# src/main/java/seng302/gameServer/ServerToClientThread.java
# src/main/java/seng302/model/ClientYacht.java
# src/main/java/seng302/model/mark/MarkOrder.java
# src/main/java/seng302/visualiser/GameClient.java
# src/main/java/seng302/visualiser/GameView3D.java
# src/main/java/seng302/visualiser/controllers/ServerListController.java
# src/main/java/seng302/visualiser/controllers/dialogs/ServerCreationController.java
# src/main/resources/icons/bumperIcon.png
# src/main/resources/icons/handlingIcon.png
# src/main/resources/icons/velocity.png
# src/main/resources/icons/windWalkerIcon.png
# src/main/resources/views/RaceView.fxml
# src/main/resources/views/dialogs/ServerCreationDialog.fxml
2017-09-27 14:23:38 +13:00
William Muir
6f62efcc93
Updated the icons to be more uniform and transparent
...
#story[1293]
2017-09-27 12:44:22 +13:00
Michael Rausch
daf3867433
Server discovery bug fixes & error handling improvements
...
- Fixed concurrency bug that prevented players from connecting to servers
- Discovery server can restart itself if it crashes
- Added nicer error handling for server discovery.
- Using AWS to get servers external IP address.
Tags: #story[1281]
2017-09-27 12:32:17 +13:00
William Muir
e5af7bf666
Minor fixes. Only one person can have wind walker now. Tokens spawn at 30s rather than 15
...
#story[1293]
2017-09-27 12:06:16 +13:00
William Muir
85ca91db96
Minor fixes. Only one person can have wind walker now. Tokens spawn at 30s rather than 15
...
#story[1293]
2017-09-27 11:55:40 +13:00
Calum
c0bd498f1b
Added debugs for missing xml
2017-09-27 02:50:36 +13:00
Calum
e9881bb24a
Added per map max player count. Handles case when map cannot fit players behind start mark. Added initial implementation for spacing out yachts.
...
#implement #story[1275]
2017-09-27 02:04:24 +13:00
William Muir
6d51ea3574
Created a random place token generator.
...
Generates a location between any leg of the race in a random angle / distance of the radius of the centre point of the two gates to one of the gates
#story[1293]
2017-09-27 01:44:01 +13:00
Calum
df7264cc1f
Added per map max player count. Handles case when map cannot fit players behind start mark. Added initial implementation for spacing out yachts.
...
#implement.
2017-09-26 23:34:19 +13:00
William Muir
330ccd272d
The random token now has a 50% chance of causing your boat to have a speed penalty
...
#story[1293]
2017-09-26 21:13:35 +13:00
William Muir
4b7dfe38c4
Fixed Boats powering up and down correctly. Icons respond correctly
...
#story[1293]
2017-09-26 19:43:32 +13:00
William Muir
ab07c7f298
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/visualiser/GameView3D.java
2017-09-26 19:01:53 +13:00
William Muir
b5076bc976
Fixed wind walker and bumper
...
Added a hack to bumper so that the collision distance is larger than the regular collision distance
Wind walker now makes you go at you max speed rather than VMG speed
#story[1293]
2017-09-26 18:57:15 +13:00
William Muir
8ba44d7476
Minor commit for testing
...
#story[1293]
2017-09-26 17:19:45 +13:00
Peter Galloway
870d7a6e82
added a check in the start logic to make sure a boat can't cross the start line prematurely (they will have to go back and go through it again) #fix #refactor
2017-09-26 15:25:24 +13:00
William Muir
7a4cdbe0c9
Fixed WindWalker
...
#story[1293]
2017-09-26 11:12:29 +13:00
Calum
06e5f4ae00
Merge remote-tracking branch 'origin/1273_Skybox' into 1273_Skybox
2017-09-26 01:35:07 +13:00
Calum
d9c832168b
Merge branch 'story1275_host_customization' into 1273_Skybox
...
# Conflicts:
# src/main/java/seng302/visualiser/GameView3D.java
# src/main/java/seng302/visualiser/controllers/LobbyController.java
# src/main/java/seng302/visualiser/controllers/ViewManager.java
# src/main/resources/views/LobbyView.fxml
# src/main/resources/views/RaceView.fxml
2017-09-26 01:19:47 +13:00
Michael Rausch
9cfb3b9e5d
Added functionality to automatically select a server
...
- Added functionality on the DiscoveryServer to return a random server to the player
- Added elements to the UI to support auto-selecting a server
- Added client side code to request a random server
Tags: #story[1281]
2017-09-26 01:14:02 +13:00
Calum
51747e2d13
Refactored the 2D and 3D game view class setups. Made scaling more logical.
...
#refactor #story[1275]
2017-09-26 00:55:28 +13:00
Calum
b3981b19e0
Merge branch 'develop' into story1275_host_customization
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/gameServer/ServerToClientThread.java
# src/main/java/seng302/model/ServerYacht.java
# src/main/java/seng302/visualiser/ClientToServerThread.java
# src/main/java/seng302/visualiser/controllers/LobbyController.java
# src/test/java/seng302/models/YachtTest.java
2017-09-25 23:25:33 +13:00
Calum
7027de80c4
Fixed issues with correct protocol implementation.
...
#issue[64] #fix #testmanual
2017-09-25 22:09:26 +13:00
Michael Rausch
9ca39d1a7c
Merge branch '1273_Changing_Cameras' into 1273_Skybox
2017-09-25 18:40:15 +13:00
William Muir
0211f2df38
Merged dev back on
...
#story[1293]
2017-09-25 17:38:09 +13:00
William Muir
dba5a5680f
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/model/ServerYacht.java
# src/main/resources/views/RaceView.fxml
2017-09-25 17:20:25 +13:00
William Muir
29b97a194d
Merged dev back on
...
#story[1293]
2017-09-25 11:26:44 +13:00
William Muir
8a0ad8d6a9
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/model/ServerYacht.java
2017-09-25 11:19:10 +13:00
Haoming Yin
44275aec04
Merge branch 'develop' into Story1278_keybindings
...
# Conflicts:
# src/main/java/seng302/model/ServerYacht.java
2017-09-25 11:06:28 +13:00
Calum
9b00ba654a
Added a race importer. Added imported races to visualizer. Made it so that the host sets the race. Refactored server to no longer be dependant on a specific race. Tested functionality of map manually. Some bugs found and listed below.
...
#implement #testmanual #story[1275]
Known bugs:
* Can't move
* Map is off center in lobby view.
* 3D Map is off center
2017-09-23 22:45:53 +12:00
Haoming Yin
066557584f
Implemented turning mode toggle
...
- when the mode is toggled, a boat action package will be sent to notify server
to change the boat's turning mode
- turning mode toggle is now fully functional
#story[1245]
2017-09-23 19:37:13 +12:00
William Muir
c47e5b1450
Boat now changes color when it is bumped for a time
...
ClientYacht: Added ColorChangeListener from GameView3D to re paint the boat when the color attribute is changed
#story[1293]
2017-09-23 16:31:18 +12:00
Kusal Ekanayake
364264377a
Fixed merge errors and reimplemented handling multiplier
...
#story[1274]
2017-09-23 15:04:11 +12:00
Kusal Ekanayake
9112183ac3
Merge branch 'develop' into Story1274_custom_boat_stats
...
# Conflicts:
# src/main/java/seng302/model/ServerYacht.java
# src/main/java/seng302/visualiser/controllers/dialogs/BoatCustomizeController.java
2017-09-23 14:48:50 +12:00
William Muir
8c7f9a878d
Created Boat bumper logic. Refactored logic for powering up / dpwn
...
YachtEventType: Added some new events, a generic power down event and a bumper_crash event for an affected boat
GameState: Implemented boat bumper logic
MessageFactory: Made new messages for powerdown and status effect
ClientYacht: Had to create another powerDown functional interface to inform the race view controller when to turn off the icon
RaceViewController/GameClient: Now waits for a message about powering down before turning off rather than waiting time client side
#story[1293]
2017-09-23 13:23:16 +12:00
William Muir
ecb3d4ecbf
Removed sendServerMessage to be replaced with notifyMessageListeners. Minor structure move arounds
...
#story[1293]
2017-09-23 11:49:56 +12:00
William Muir
e61b6d50a1
Small refactor. Fixed tokens to spawn on the minute mark.
...
Moved updates of wind and token timers into gamestate from mainserver thread. Now triggered upon GameState change to start
#story[1293]
2017-09-23 11:33:01 +12:00
William Muir
061e49bab9
Implemented wind walker algorithm. Refactored some GameState updating logic to allow for better token logic integration
...
GameState: Moved all token logic into its own function startPoint so that it is dsijoint from other updating logic
GameState: Implemented wind walker algorithm.
GameState: Changed Generic 'speedMultiplier' to 'serverSpeedMultiplier' to make it obviously disjoint from a boats speed multiplier
MessageFactory: Moved some found message creation (Chatter Message) server side into MessageFactory that wasnt already there
ServerYacht: Added a speed multiplier and a handling multiplier to the serveryacht class that is set and reset upon powerup / down
#story[1293]
2017-09-22 23:44:03 +12:00
William Muir
a3c555d5fe
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/model/ClientYacht.java
2017-09-22 21:18:58 +12:00
William Muir
22fdf1e4ac
Changed the boatType attribute from all around the place from String lit to enum
...
#story[1274]
2017-09-22 21:00:28 +12:00