Fix #3: Implements converting to and from SNBT #9

Merged
zontreck merged 50 commits from feat/3 into main 2024-06-06 18:16:15 -07:00

50 commits

Author SHA1 Message Date
bb67d9f335 Increment Version number 2024-06-06 18:15:02 -07:00
dfd536ae1c Finish implementing - and testing SNBT 2024-06-06 18:14:41 -07:00
a0f372693b Implement basic SNBT reader and testsuite 2024-06-06 14:14:13 -07:00
396c660113 Allows root tag to be serialized without a name 2024-06-06 10:35:26 -07:00
d885485684 TryCatch tail functions 2024-06-05 22:01:01 -07:00
2a5774bd6d Rcon was not working 2024-06-04 15:34:07 -07:00
167c27848a add decompress to try catch 2024-06-04 14:51:07 -07:00
15aae5c3d7 Roll my own rcon implementation due to problems with other implementation 2024-06-04 13:30:12 -07:00
74fe37d7d8 Adds tail functions 2024-06-03 16:42:59 -07:00
0b3458a0b6 print port number 2024-06-03 15:43:13 -07:00
868303b9da Bump version 2024-06-03 15:19:46 -07:00
8d93157ac0 Make it possible to change the port number of the PacketServer 2024-06-03 15:19:28 -07:00
043010aad3 Adds a instruction to prevent automatically reconnecting the client to the server 2024-05-24 15:48:50 -07:00
4de135284f Do not completely crash, store error and stacktrace when failing to decode reply. 2024-05-24 15:47:06 -07:00
0a5d99cd6f File is deleted on write to ensure it does not continuously grow 2024-05-24 15:43:47 -07:00
86ae7ad4aa Bump package version number 2024-05-24 14:40:47 -07:00
5af94f3988 Add rcon from https://github.com/aidanlok/mc_rcon/tree/master but without flutter requirement 2024-05-24 14:40:28 -07:00
1133992078 Change package name, remove flutter as SDK 2024-05-24 14:36:51 -07:00
dd40eace38 Adds a secondary copy method 2024-05-23 17:49:35 -07:00
5f9f0e08ef Add a copy method to Time 2024-05-23 17:47:50 -07:00
730535d4b8 Sanity check seconds, and lock to 0 or above. Disallow negative time 2024-05-23 17:43:52 -07:00
d4a6a3609e Adds a testsuite to Time API. 2024-05-23 17:25:14 -07:00
6ba00044af Adds a time utility for keeping track of time 2024-05-23 17:15:02 -07:00
302595d45d Add two helper API functions to PathHelper 2024-05-23 12:15:52 -07:00
18d55666e6 Fix another error 2024-05-23 11:44:48 -07:00
312176d37f Add a missing instruction, and a testcase 2024-05-23 11:40:16 -07:00
95d769bf89 Attempt to fix null UUIDs being handled strangely when serializing to NbtUUID 2024-05-23 11:35:41 -07:00
86386f97a2 Add some more verbosity to the server 2024-05-23 11:25:14 -07:00
cc151e9109 Add a converter method 2024-05-23 10:13:51 -07:00
d4b7a12187 Ignore files placed in the out folder. 2024-05-22 20:10:58 -07:00
3be0a9ab5f Finish testing and assembling a basic server and client structure 2024-05-22 20:10:41 -07:00
5c4a8c6a58 Bump version 2024-05-22 16:44:27 -07:00
485619eea6 Hotfix: Fix a small oversight 2024-05-22 16:44:04 -07:00
fe181555ef Add a failsafe to prevent server crash 2024-05-22 16:41:36 -07:00
f5d1d741cb Return a invalid value when no reply 2024-05-22 16:33:49 -07:00
178cc201c1 Finish basic server and client impl 2024-05-22 15:53:29 -07:00
a082210fa9 Add a network packet system 2024-05-22 14:22:08 -07:00
71f028f25c Add some more helpers 2024-05-22 01:06:22 -07:00
d6f0e05713 Make LibAC be web compatible for UUIDs 2024-05-19 18:43:26 -07:00
960cf0d789 Fix null UUIDs 2024-05-16 23:11:30 -07:00
1024c4dbd7 Adds a base64 encode wrapper, and a way to encode NBT to Base64 2024-05-16 13:22:05 -07:00
7c194f2dd4 Bump version 2024-05-16 02:59:31 -07:00
9348bf1370 Fixes a invalid length hash due to the way dart outputs hex 2024-05-16 02:59:10 -07:00
b2f12eae15 Adds several helper hash functions 2024-05-15 13:25:57 -07:00
f14a10a381 Bump version 2024-05-15 03:15:17 -07:00
e9d4d51b70 Adds a unit test that writes a snbt file 2024-05-08 20:40:37 -07:00
0766a43622 Implement SNBT write to file 2024-05-08 20:37:41 -07:00
daf9cb7376 SNBT Serialization now implemented 2024-05-08 20:35:08 -07:00
84b37f8b04 Initial SNBT implementation 2024-05-08 18:52:20 -07:00
c10ffc58b8 Apply dart autofixes 2024-05-08 14:44:37 -07:00