File tree Expand file tree Collapse file tree 6 files changed +17
-14
lines changed
sdk/src/main/server-api/sc/networking/clients
server/src/main/java/sc/server/network Expand file tree Collapse file tree 6 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,20 @@ The version should always be in sync with the [GUI](https://github.com/software-
7
7
8
8
- The major version ` x ` corresponds to the year of the contest and thus only changes once a year
9
9
- ` y ` is bumped for any major updates or backwards-incompatible changes.
10
- A ` y ` version of 0 indicates the beta of the current year.
10
+ A ` y ` version of 0 marks the beta of the current year.
11
11
12
12
## [ 22.1.0] ( https://github.com/software-challenge/backend/commits/22.1.0 ) - 2021-09
13
13
14
- ## [ 22.0.2] ( https://github.com/software-challenge/backend/commits/22.0.2 ) - 2021-07
14
+ ## [ 22.0.2] ( https://github.com/software-challenge/backend/commits/22.0.2 ) - 2021-07-16
15
15
- Update documentation links
16
- - Various improvements in tests
16
+ - Various improvements around testing
17
17
### Protocol
18
18
- Reworked GameResult XML (add player information, include winner as team)
19
- - Simplified Player XML (team as attribute)
20
- - Can join without specifying a gameType
21
- - Removed PlayerScoreRequest and TestModeRequest - add up the GameResults instead ([ #385 ] ( https://github.com/software-challenge/backend/pull/385 ) )
19
+ - Simpler Player XML (team as attribute)
20
+ - Join without specifying a gameType
21
+ - Removed test mode - add up the GameResults instead ([ #385 ] ( https://github.com/software-challenge/backend/pull/385 ) )
22
+ - Do not send repeated MoveRequests when pausing/unpausing
23
+ - Stop terminating client connections upon protocol issues ([ 6c6d6fa51] ( https://github.com/software-challenge/backend/commit/6c6d6fa51af71eea3914303cb886bd8b78be53a0 ) )
22
24
23
25
## [ 22.0.1] ( https://github.com/software-challenge/backend/commits/22.0.1 ) - 2021-06-25
24
26
### Ostseeschach
Original file line number Diff line number Diff line change 1
1
socha.gameName =ostseeschach
2
2
socha.version.year =22
3
3
socha.version.minor =00
4
- socha.version.patch =01
4
+ socha.version.patch =02
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ tasks {
66
66
val release by creating {
67
67
dependsOn(clean, check)
68
68
group = " distribution"
69
- description = " Prepares a new Release by bumping the version and creating a commit with a git tag of the new version"
69
+ description = " Prepares a new Release by bumping the version and creating a commit with a git tag for the new version"
70
70
doLast {
71
71
fun edit (original : String , version : String , new : Int ) =
72
72
if (original.startsWith(" socha.version.$version " ))
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ tasks {
30
30
dependsOn(createStartScripts)
31
31
doFirst {
32
32
manifest.attributes[" Class-Path" ] =
33
- configurations.default.get().map { " lib/" + it.name }
33
+ configurations.default.get()
34
+ .map { " lib/" + it.name }
34
35
.plus(" server.jar" )
35
36
.joinToString(" " )
36
37
copy {
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import sc.protocol.requests.PrepareGameRequest
5
5
import sc.protocol.room.ObservableRoomMessage
6
6
7
7
class AdminClient (private val client : LobbyClient ) {
8
+ val closed: Boolean
9
+ get() = client.isClosed
8
10
9
11
fun prepareGame (request : PrepareGameRequest ) {
10
12
client.send(request)
Original file line number Diff line number Diff line change 3
3
import org .jetbrains .annotations .NotNull ;
4
4
import org .slf4j .Logger ;
5
5
import org .slf4j .LoggerFactory ;
6
- import sc .api .plugins .exceptions .GameLogicException ;
7
- import sc .api .plugins .exceptions .NotYourTurnException ;
8
6
import sc .api .plugins .exceptions .RescuableClientException ;
9
7
import sc .networking .INetworkInterface ;
10
8
import sc .networking .UnprocessedPacketException ;
@@ -100,9 +98,9 @@ protected void onDisconnect(DisconnectCause cause) {
100
98
@ Override
101
99
protected void onObject (@ NotNull ProtocolPacket message ) throws UnprocessedPacketException {
102
100
/*
103
- * NOTE that this method is called in the receiver thread. Messages
104
- * should only be passed to listeners. No callbacks should be invoked
105
- * directly in the receiver thread.
101
+ * NOTE that this method is called in the receiver thread.
102
+ * Messages should only be passed to listeners.
103
+ * No callbacks should be invoked directly in the receiver thread.
106
104
*/
107
105
Collection <RescuableClientException > errors = new ArrayList <>();
108
106
You can’t perform that action at this time.
0 commit comments