Commit Graph

199 Commits

Author SHA1 Message Date
Ray
914acc2e1b Zero-terminate Data to prevent client-side bugs.
- Fixes chat messages displaying stale memory as the client discards the data length.
2024-05-16 21:30:35 +02:00
Ray
b4e6433545 Fix deprecation and nullability warnings. 2024-05-16 12:02:48 +02:00
Ray
63691f897b Update app target framework to .NET 8. 2024-05-16 12:02:01 +02:00
Ray
b509d7bdaf Update test dependencies. 2024-05-16 12:01:56 +02:00
Ray
046033bba7 Update platform toolset. 2024-05-16 12:01:14 +02:00
Ray
6dc2de2445 Update dependencies (same major version only). 2024-05-16 12:00:51 +02:00
Ray
48f1f91be3 Update copyright. 2024-05-16 11:58:06 +02:00
Ray
cbe1388fb0 Fix typo. 2021-09-12 16:56:41 +02:00
Ray
b68503e609 Release 4.0.4 2021-09-12 16:54:04 +02:00
Ray
5fdd97c5ad Add missing StrikeClusterDamage field. 2021-09-12 16:53:19 +02:00
Ray
6a418e84ae Update release notes. 2021-09-12 13:18:07 +02:00
Ray
8eb0a971e8 Release 4.0.3: Fix StackOverflowException when using legacy .NET versions.
Sadly requires all packages to update due to fixed version ProjectReferences.
2021-09-12 13:14:23 +02:00
Ray
6cba058138 Fix StreamShims Read method to not call itself. 2021-09-12 12:30:17 +02:00
Ray
03095916f1 MSBuild: Change common target paths in project files to fix building for DocFX. 2021-03-24 19:27:22 +01:00
Ray Koopa
9a218549e7 Mention new module folder. 2020-07-21 21:08:41 +02:00
Ray Koopa
a99a883f6f Move WormKit loaders, modules, and libraries to module sub folder. Add signature scanning and import replacing. 2020-07-21 21:06:03 +02:00
Ray Koopa
518207b7e6 Add AllowMultiInstance. 2020-07-20 20:17:20 +02:00
Ray Koopa
2b94e09e39 Move FrontendKitLib to WormKitTools to reuse it for other modules. 2020-07-20 18:38:10 +02:00
Ray Koopa
a314377c13 Move reusable FrontendKitWS code into own library. Fix small issue when determining fkNetcode INI path. 2020-07-16 16:01:27 +02:00
Ray Koopa
4e251959b3 Prevent trailing 0-bytes at the end of some sent Packet.Data. 2020-07-14 21:21:49 +02:00
Ray Koopa
2ea6af0324 Remove semaphores. 2020-07-14 21:11:05 +02:00
Ray Koopa
730b14cdfa Change version to 1.1.0 due to new features. 2020-07-14 21:00:28 +02:00
Ray Koopa
bb2b7e72b5 Rewrite server netcode to be asynchronous and support timeouts. Allow multiple proxy connections. 2020-07-14 20:53:11 +02:00
Ray Koopa
65522b6af5 Merge branch 'master' of https://gitlab.com/Syroot/Worms 2020-07-12 21:27:43 +02:00
Ray Koopa
4c27eb415c Read packets more strictly to prevent crashes from bogus data. 2020-07-12 21:27:32 +02:00
Ray Koopa
e9ba6895b8 Add FrontendKitWS and fkNetcode. 2020-07-12 18:37:31 +00:00
Ray Koopa
48e6988083 Use original logic if there's no fallback and / or webservice failed. 2020-07-12 20:20:32 +02:00
Ray Koopa
f242a6b745 Add versioning. 2020-07-12 18:27:59 +02:00
Ray Koopa
d0a01c6a13 Do not drop clients reporting unparsable IP addresses. 2020-07-12 17:40:36 +02:00
Ray Koopa
180a61a147 Extend fkNetcode with settings and better error handling. 2020-07-12 17:40:11 +02:00
Ray Koopa
71c8f33ea7 Add FrontendKitWS and fkNetcode. 2020-07-12 02:19:51 +02:00
Ray Koopa
db3a49539f Fix color output on Linux and Mac OS X, log time stamps with packets, allow configuring local end point with command line parameter. 2020-07-11 05:12:32 +02:00
Ray Koopa
4e1f9b17a8 Prepare game server to be published easily. 2020-07-11 03:14:57 +02:00
Ray Koopa
c97ef5deb2 Send message to users trying to host with bad IP. 2020-07-11 02:07:42 +02:00
Ray Koopa
0cfbc5b675 Fix rooms not being closed when last game is closed. 2020-07-11 01:50:25 +02:00
Ray Koopa
20d7c3c743 Fix game packets. 2020-07-10 23:00:16 +02:00
Ray Koopa
02a644abe9 Finish Worms 2 server (so far). 2020-07-10 21:01:09 +02:00
Ray Koopa
0fee2e1e13 Implement room chat and leaves. 2020-07-10 18:45:10 +02:00
Ray Koopa
9aad0faf6b Implement real packet handling. 2020-07-10 02:15:06 +02:00
Ray Koopa
ac2d12c1b6 Handle additional packets. 2020-07-09 17:06:37 +02:00
Ray Koopa
17b0edf67f Push current additions to Worms 2 server with test proxy. 2020-07-08 23:48:28 +02:00
Ray Koopa
ebdf7f5168 Add Worms2 server. 2020-07-07 00:46:30 +00:00
Ray Koopa
a308ae49b1 Add quick Worms 2 server PoC. Makes BinaryStream FixedString extensions globally available. 2020-07-07 02:45:00 +02:00
Ray Koopa
420810fad2 Remove old TODOs from BinaryStreamExtensions, they're not relevant. 2020-07-03 21:09:19 +02:00
Ray Koopa
b44ae666b6 Armageddon: Read and write signature as unsigned integer instead of string. 2020-07-03 13:57:34 +02:00
Ray Koopa
6d2864e6f7 Loading and saving extended options no longer needs to be unsafe. Remove unused "ClearExtendedOptions". 2020-07-03 13:48:18 +02:00
Ray Koopa
dd2e67eab9 Arnageddon
- Make Scheme.Extended a field rather than an uncommon ref property. Set ObjectCount to 8 by default.
- Make ExtendedOptions.Default public.
- Simplify comparison of ExtendedOptions instances.
2020-07-03 11:50:26 +02:00
Ray Koopa
4454cb1496 Merge branch 'master' of https://gitlab.com/Syroot/Worms 2020-07-02 05:29:15 +02:00
Ray Koopa
5b69f82a35 Syroot.Worms.Armageddon 4.0.1: Optimize WA v3 schemes to store only non-default extended options.
- Adds SchemeVersionExtensions.GetWeaponCount(), returning how many weapons are stored by the corresponding SchemeVersion.
- Adds ExtendedOptions.AsSpan() to return the unmanaged representation of the extended settings.
- Optimize usage of .NET Standard 2.0 Span backports.
2020-07-02 05:28:59 +02:00
Ray Koopa
08703b6c12 Add initial Blazor-based scheme editor. 2020-07-02 01:25:35 +02:00