6654280990
Adjusted Random Name generator to include wanted username and switched to numbers instead of character for readability
Seraina
2022-03-27 15:25:14 +02:00
4a5bc49aa7
Added Alexandrs "Tried implementing logout handling (changes only on Server side) " commit
Seraina
2022-03-27 14:49:53 +02:00
0e39f06f9e
Added Alexandrs "Added name duplicate handler by modifying the ClientHandler class as well as adding a class where all Client names are stored" commit
Seraina
2022-03-27 14:44:55 +02:00
83991587d6
Added Alexandrs Random Generator commit
Seraina
2022-03-27 14:35:15 +02:00
86180f047c
Added Alexandrs class
Seraina
2022-03-27 14:30:54 +02:00
841a6f095c
formatting
Jonas
2022-03-27 14:22:55 +02:00
4eb70bd028
friendship ended with :, now $ is my best friend
Jonas
2022-03-27 14:06:20 +02:00
cdb2bb402b
Merge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff
Jonas
2022-03-27 13:57:41 +02:00
467d72b17c
Added protocol.txt
Jonas
2022-03-27 13:56:32 +02:00
0e3e9aaa99
Did some Logger-Experiments so far - TODO: find out how to change rootlogger level
Seraina
2022-03-27 13:48:51 +02:00
ced0f0aa9e
Relocated message formating from server to client
Seraina
2022-03-27 13:40:25 +02:00
2f7db70df7
Merge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff
Jonas
2022-03-27 13:29:16 +02:00
141a4783b9
Formatting of how chat messages are displayed, too short a protocol message doesnt print exception stack trace.
Jonas
2022-03-27 13:29:02 +02:00
d6e938e87c
Inserted formatting into parser
Seraina
2022-03-27 13:19:32 +02:00
2263483462
Added a Class and Method that can reformat the terminal commands into commands that the parser can read
Seraina
2022-03-27 13:14:42 +02:00
6071ea4b2f
Cleaned up, deleted unused files, reformatted all code
Jonas
2022-03-27 13:06:08 +02:00
d2c2ca1732
Chat works.
Jonas
2022-03-27 12:07:21 +02:00
63a8e21f6c
Ping(back) works on both client and server side.
Jonas
2022-03-27 11:58:48 +02:00
146ff4ea82
Working on JClientProtocolParser
Jonas
2022-03-27 11:54:01 +02:00
ac11bc4991
implemented JServerProtocolParser, started writing JClientProtocolParser
Jonas
2022-03-27 10:41:37 +02:00
80644a934c
New Parser structure
Jonas
2022-03-27 10:03:27 +02:00
f5dd739dd4
spelling
Jonas
2022-03-27 10:01:08 +02:00
d1b2474702
Tried implementing logout handling (changes only on Server side)
Alexander Sazonov
2022-03-27 03:03:53 +02:00
10bbcdf69e
Added name duplicate handler by modifying the ClientHandler class as well as adding a class where all Client names are stored
Alexander Sazonov
2022-03-27 00:38:48 +01:00
4b3d3127ad
Merge remote-tracking branch 'origin/master'
Alexander Sazonov
2022-03-26 21:33:16 +01:00
8f4f542893
Added random name generator
Alexander Sazonov
2022-03-26 21:32:04 +01:00
5adbe540ec
Fixed Typos in QA-Concept Draft
Seraina
2022-03-26 21:14:22 +01:00
15db9e4eb9
Some fields and methods where non-static and I changed them to static.
Sebastian Lenzlinger
2022-03-26 14:46:05 +01:00
a244903fbb
Finnished Dokumenting ClientMsgDecoder.java and removed unused imports.
Sebastian Lenzlinger
2022-03-26 14:11:14 +01:00
edfceb0048
Added Some javadoc to ClientMsgDecoder.java to explain the use of the class.
Sebastian Lenzlinger
2022-03-26 13:39:51 +01:00
46ee78d298
Further work on CommandExecuter and adjustments to NightServerProtocol.
Sebastian Lenzlinger
2022-03-26 13:32:27 +01:00
8916d7f8b9
Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-26 13:14:53 +01:00
b2d725f4c3
Finnished ClientMsgDecoder! last thing todo is implement the execution of the input.
Sebastian Lenzlinger
2022-03-26 13:14:36 +01:00
c48457e9b6
spelling
Jonas
2022-03-26 11:50:35 +01:00
111e310d00
Merge remote-tracking branch 'origin/master'
Jonas
2022-03-26 11:38:25 +01:00
9371f8551d
formatting & lower case folders
Jonas
2022-03-26 11:37:57 +01:00
8f0ccbfa36
Fixed InputToProtocolMap to now contain a encoding map from client input to protocol msg and a set of legal client inputs.
Sebastian Lenzlinger
2022-03-26 10:53:22 +01:00
3f05121925
added "to" in NTtB doc comment...
Sebastian Lenzlinger
2022-03-26 10:10:51 +01:00
18acef0a2e
Reformatted my Code and cleaned it up a little
Seraina
2022-03-25 21:59:09 +01:00
5368679933
Added description to NTtBFormatMsg
Sebastian Lenzlinger
2022-03-25 14:48:18 +01:00
3575c2010c
deleted unused classes work on: NTtBFormatMsg ClientMsgDecoder Notice: no correct response is generated yet!
Sebastian Lenzlinger
2022-03-25 14:44:47 +01:00
002e9a5e57
updated Diary.txt
Jonas
2022-03-25 13:56:18 +01:00
5dc4747f6e
Merge remote-tracking branch 'origin/master'
Jonas
2022-03-25 13:30:25 +01:00
7a3dc4abd6
Client can specify host IP
Jonas
2022-03-25 13:30:03 +01:00
2b10ff3294
Put the enum NTtBProtocol into the NightTrainProtocol class to have a authority class to validate and keep track of legal commands.
Sebastian Lenzlinger
2022-03-25 13:12:03 +01:00
846d0a8187
Noticed enums can be treated as clases to an extent so added a HashSet that accociates strings with Enum fields of the Protocol. ProtocolValidator might become redundant!
Sebastian Lenzlinger
2022-03-25 12:50:57 +01:00
7f967f6818
ClientPinger and ServerPinger "merged" from the ping branch
Jonas
2022-03-25 12:39:20 +01:00
30986d2d86
Added ProtocolValidator class added MSGRS command (message recieved, sent for server to client after recieving a msg with what was recieved as aprameters) to NTtBCommands continued work on ClientMsgDecoder
Sebastian Lenzlinger
2022-03-25 12:17:42 +01:00
208b0d6586
addded ClientMsgDecoder class and a NoCommmandTokenException class
Sebastian Lenzlinger
2022-03-25 11:58:37 +01:00
90728e3833
Updates to various TODOs
Sebastian Lenzlinger
2022-03-25 11:42:24 +01:00
03d4942552
TODO in CLient: automate/hide connecting sequence in Client Constructor. Added Comment to ClientHandler that the constructor atm implements connecting logic.
Sebastian Lenzlinger
2022-03-25 11:27:41 +01:00
47703e481e
Updated ServerPinger and ClientPinger to terminate if the socket is closed
Jonas
2022-03-24 20:22:40 +01:00
04df8806cd
Added some TODOs in Client.java
Sebastian Lenzlinger
2022-03-24 15:57:53 +01:00
3c89b60592
Clean up.
Sebastian Lenzlinger
2022-03-24 15:49:05 +01:00
65404c210b
Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-24 15:37:00 +01:00
dd898c1742
Implemented NTtBProtocolParser.java. Still needs to be tested.
Sebastian Lenzlinger
2022-03-24 15:36:50 +01:00
909abd81b1
added ServerPinger.java and updated client & server pingers
Jonas
2022-03-24 15:34:38 +01:00
66628b07cd
Started working on some basic game logic stuff Added a tool to randomize the order of the train (->Train)
Seraina
2022-03-24 15:17:19 +01:00
4bad0857cf
Added meeting notes for the 24.03
Seraina
2022-03-24 14:38:13 +01:00
7f5a8badc7
Made a copy of diary for milestone 2
Seraina
2022-03-24 14:08:30 +01:00
dac803aed7
MAde a copy of diary for milestone 2
Seraina
2022-03-24 14:07:03 +01:00
532159d466
Updates NTtBCommands, that defines the NTtB Protocol, to include which commands mean what. Added Ping/pong classes where Pinging and Ping-Handling could be implemented. Tried to define useful interfaces. Added Some Command Classes, unsure if they will be needed.
Sebastian Lenzlinger
2022-03-24 12:53:30 +01:00
3e9888e662
updated documentation for humanNPC
Jonas
2022-03-24 11:23:41 +01:00
454f8331c7
Irrelevant change to NTtBFormatMsg constructor
Sebastian Lenzlinger
2022-03-23 19:11:50 +01:00
347984d0db
Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-23 19:07:53 +01:00
7bb1407ef7
MANY UPDATES TO CLIENT/SERVER:Introduced a protocol parser interface and created an implementing class. Introduced Input-Type Interface which is implemendet by the parameter class. This allowes the clients parser to more easily create an the NTtB-Protocol adhering message. furthermore a ProtocolMessage interface implemented by NTtBFormatMsg abstract class. parseMsg in NTtBProtocolParser
Jonas
2022-03-23 12:59:30 +01:00
784e4ae9f3
tiny formatting adjustment
Jonas
2022-03-23 12:59:30 +01:00
ccf36dff19
Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-22 15:47:14 +01:00
e8157a6a91
Wiiter mit Client/Server, minor changes
Sebastian Lenzlinger
2022-03-22 15:47:07 +01:00