Commit Graph
30 Commits
Author SHA1 Message Date
lukas0008 85785c9ebe Fix: Server panics when loading certain chunks
Cause:
The size that is given in the file for the length of the chunk includes the compression byte, thus when reading a chunk that is at the end of the file, it would read 1 byte more that should be possible, causing a panic.
2024-08-13 14:53:55 +02:00
lukas0008 59749af69c Remove unnecessary logs and loading
- Load chunk (0,0) only in debug mode. This prevents crashes when the chunk for (0,0) does not exist, since this is only used for checking the size of the chunk packet.
- Remove log: `Getting chunks x, from region file y`
2024-08-13 14:14:19 +02:00
lukas0008 b68e9b809f Use rayon for processing chunks 2024-08-13 14:09:49 +02:00
lukas0008 435cd3b365 Remove development things 2024-08-12 20:43:15 +02:00
lukas0008 7a5984984f Merge fixes 2024-08-12 20:35:07 +02:00
lukas0008 5d6c38d1b2 Merge remote-tracking branch 'upstream/master' 2024-08-12 20:30:52 +02:00
lukas0008 eaf806a928 NOW IT FULLY WORKS 2024-08-12 20:23:15 +02:00
lukas0008 a991ce214b CHUNK LOADING KINDA WORKS 2024-08-12 20:22:59 +02:00
lukas0008 b9de0839fa Reapply "Remove reqwest blocking feature"
This reverts commit 33df6b0b1f.
2024-08-07 21:16:40 +02:00
lukas0008 f91ee4e9eb Reapply "Reapply "Tokio""
This reverts commit fc4c9b3b98.
2024-08-07 21:16:33 +02:00
lukas0008 fc4c9b3b98 Revert "Reapply "Tokio""
This reverts commit f1b7d649db.
2024-08-07 21:16:03 +02:00
lukas0008 33df6b0b1f Revert "Remove reqwest blocking feature"
This reverts commit 76ce44e58d.
2024-08-07 21:16:00 +02:00
lukas0008 76ce44e58d Remove reqwest blocking feature 2024-08-07 21:13:00 +02:00
lukas0008 f1b7d649db Reapply "Tokio"
This reverts commit 7891d2848d.
2024-08-07 20:45:22 +02:00
lukas0008 7891d2848d Revert "Tokio"
This reverts commit fa8969d6a2.
2024-08-07 20:44:04 +02:00
lukas0008 873df335b8 Merge remote-tracking branch 'upstream/master' 2024-08-07 20:34:36 +02:00
lukas0008 2fd8686fea todo to TODO 2024-08-07 20:33:51 +02:00
lukas0008 fa8969d6a2 Tokio 2024-08-07 19:57:36 +02:00
lukas0008 96c9a573de fix: unwrap SSwingArm 2024-08-07 17:21:40 +02:00
lukas0008 aab13de89a Re-add SSwingArm 2024-08-07 17:18:09 +02:00
lukas0008 2e31fda6de Merge remote-tracking branch 'upstream/master' 2024-08-07 17:14:32 +02:00
lukas0008 298389a10a Clippy + fmt 2024-08-07 17:08:13 +02:00
lukas0008 11eb08a46c FINALLY DESERIALIZER WORKS YIPEEEE 2024-08-07 17:07:30 +02:00
lukas0008 e079b23bd9 Remove unnecessary trait 2024-08-05 15:23:04 +02:00
lukas0008 3378b76b36 Remove unused + fmt 2024-08-05 14:14:12 +02:00
lukas0008 1fed6dca5f Update serializer for more types 2024-08-05 14:12:56 +02:00
lukas0008 a5110eb939 Packet proc macro 2024-08-05 12:56:46 +02:00
lukas0008 4fa1cced79 Split all client requests into seperate files 2024-08-05 12:56:46 +02:00
lukas0008 284db803f9 Serde serialize for automatic packet serialization 2024-08-05 12:56:14 +02:00
lukas0008 02337adbdf Add default gamemode to configuration 2024-08-04 21:29:10 +02:00