6654280990Adjusted 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
4a5bc49aa7Added Alexandrs "Tried implementing logout handling (changes only on Server side) " commit
Seraina
2022-03-27 14:49:53 +02:00
0e39f06f9eAdded 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
83991587d6Added Alexandrs Random Generator commit
Seraina
2022-03-27 14:35:15 +02:00
86180f047cAdded Alexandrs class
Seraina
2022-03-27 14:30:54 +02:00
841a6f095cformatting
Jonas
2022-03-27 14:22:55 +02:00
4eb70bd028friendship ended with :, now $ is my best friend
Jonas
2022-03-27 14:06:20 +02:00
cdb2bb402bMerge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff
Jonas
2022-03-27 13:57:41 +02:00
467d72b17cAdded protocol.txt
Jonas
2022-03-27 13:56:32 +02:00
0e3e9aaa99Did some Logger-Experiments so far - TODO: find out how to change rootlogger level
Seraina
2022-03-27 13:48:51 +02:00
ced0f0aa9eRelocated message formating from server to client
Seraina
2022-03-27 13:40:25 +02:00
2f7db70df7Merge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff
Jonas
2022-03-27 13:29:16 +02:00
141a4783b9Formatting 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
d6e938e87cInserted formatting into parser
Seraina
2022-03-27 13:19:32 +02:00
2263483462Added 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
6071ea4b2fCleaned up, deleted unused files, reformatted all code
Jonas
2022-03-27 13:06:08 +02:00
d2c2ca1732Chat works.
Jonas
2022-03-27 12:07:21 +02:00
63a8e21f6cPing(back) works on both client and server side.
Jonas
2022-03-27 11:58:48 +02:00
146ff4ea82Working on JClientProtocolParser
Jonas
2022-03-27 11:54:01 +02:00
ac11bc4991implemented JServerProtocolParser, started writing JClientProtocolParser
Jonas
2022-03-27 10:41:37 +02:00
80644a934cNew Parser structure
Jonas
2022-03-27 10:03:27 +02:00
f5dd739dd4spelling
Jonas
2022-03-27 10:01:08 +02:00
d1b2474702Tried implementing logout handling (changes only on Server side)
Alexander Sazonov
2022-03-27 03:03:53 +02:00
10bbcdf69eAdded 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
4b3d3127adMerge remote-tracking branch 'origin/master'
Alexander Sazonov
2022-03-26 21:33:16 +01:00
8f4f542893Added random name generator
Alexander Sazonov
2022-03-26 21:32:04 +01:00
5adbe540ecFixed Typos in QA-Concept Draft
Seraina
2022-03-26 21:14:22 +01:00
15db9e4eb9Some fields and methods where non-static and I changed them to static.
Sebastian Lenzlinger
2022-03-26 14:46:05 +01:00
a244903fbbFinnished Dokumenting ClientMsgDecoder.java and removed unused imports.
Sebastian Lenzlinger
2022-03-26 14:11:14 +01:00
edfceb0048Added Some javadoc to ClientMsgDecoder.java to explain the use of the class.
Sebastian Lenzlinger
2022-03-26 13:39:51 +01:00
46ee78d298Further work on CommandExecuter and adjustments to NightServerProtocol.
Sebastian Lenzlinger
2022-03-26 13:32:27 +01:00
8916d7f8b9Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-26 13:14:53 +01:00
b2d725f4c3Finnished ClientMsgDecoder! last thing todo is implement the execution of the input.
Sebastian Lenzlinger
2022-03-26 13:14:36 +01:00
c48457e9b6spelling
Jonas
2022-03-26 11:50:35 +01:00
111e310d00Merge remote-tracking branch 'origin/master'
Jonas
2022-03-26 11:38:25 +01:00
9371f8551dformatting & lower case folders
Jonas
2022-03-26 11:37:57 +01:00
8f0ccbfa36Fixed 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
3f05121925added "to" in NTtB doc comment...
Sebastian Lenzlinger
2022-03-26 10:10:51 +01:00
18acef0a2eReformatted my Code and cleaned it up a little
Seraina
2022-03-25 21:59:09 +01:00
5368679933Added description to NTtBFormatMsg
Sebastian Lenzlinger
2022-03-25 14:48:18 +01:00
3575c2010cdeleted unused classes work on: NTtBFormatMsg ClientMsgDecoder Notice: no correct response is generated yet!
Sebastian Lenzlinger
2022-03-25 14:44:47 +01:00
002e9a5e57updated Diary.txt
Jonas
2022-03-25 13:56:18 +01:00
5dc4747f6eMerge remote-tracking branch 'origin/master'
Jonas
2022-03-25 13:30:25 +01:00
7a3dc4abd6Client can specify host IP
Jonas
2022-03-25 13:30:03 +01:00
2b10ff3294Put 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
846d0a8187Noticed 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
7f967f6818ClientPinger and ServerPinger "merged" from the ping branch
Jonas
2022-03-25 12:39:20 +01:00
30986d2d86Added 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
208b0d6586addded ClientMsgDecoder class and a NoCommmandTokenException class
Sebastian Lenzlinger
2022-03-25 11:58:37 +01:00
90728e3833Updates to various TODOs
Sebastian Lenzlinger
2022-03-25 11:42:24 +01:00
03d4942552TODO 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
47703e481eUpdated ServerPinger and ClientPinger to terminate if the socket is closed
Jonas
2022-03-24 20:22:40 +01:00
04df8806cdAdded some TODOs in Client.java
Sebastian Lenzlinger
2022-03-24 15:57:53 +01:00
3c89b60592Clean up.
Sebastian Lenzlinger
2022-03-24 15:49:05 +01:00
65404c210bMerge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-24 15:37:00 +01:00
dd898c1742Implemented NTtBProtocolParser.java. Still needs to be tested.
Sebastian Lenzlinger
2022-03-24 15:36:50 +01:00
909abd81b1added ServerPinger.java and updated client & server pingers
Jonas
2022-03-24 15:34:38 +01:00
66628b07cdStarted 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
4bad0857cfAdded meeting notes for the 24.03
Seraina
2022-03-24 14:38:13 +01:00
7f5a8badc7Made a copy of diary for milestone 2
Seraina
2022-03-24 14:08:30 +01:00
dac803aed7MAde a copy of diary for milestone 2
Seraina
2022-03-24 14:07:03 +01:00
532159d466Updates 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
3e9888e662updated documentation for humanNPC
Jonas
2022-03-24 11:23:41 +01:00
454f8331c7Irrelevant change to NTtBFormatMsg constructor
Sebastian Lenzlinger
2022-03-23 19:11:50 +01:00
347984d0dbMerge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-23 19:07:53 +01:00
7bb1407ef7MANY 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
784e4ae9f3tiny formatting adjustment
Jonas
2022-03-23 12:59:30 +01:00
ccf36dff19Merge remote-tracking branch 'origin/master'
Sebastian Lenzlinger
2022-03-22 15:47:14 +01:00
e8157a6a91Wiiter mit Client/Server, minor changes
Sebastian Lenzlinger
2022-03-22 15:47:07 +01:00