Commit Graph

58 Commits

Author SHA1 Message Date
4fbdd86566 Use struct to serialize vehicle data
This gonna reduce the tedious work needed to add a new sync, also beings a performance boost
Ped, projectile sync will be updated later
2023-03-26 15:36:15 +08:00
826e80c5d8 Reintroduce compact vector types 2023-03-26 12:03:06 +08:00
3944d41e85 Merge branch '1.6-pre-alpha' of https://github.com/RAGECOOP/RAGECOOP-V into 1.6-pre-alpha 2023-03-23 22:30:42 +08:00
114e59a3bd Add toggle mods sync 2023-03-23 22:30:39 +08:00
db7146e00e Add Xenon Headlights Color Sync (#45) 2023-03-20 23:13:43 +08:00
6f2c0077cb Add vehicle extras sync 2023-03-20 18:05:14 +08:00
5f1aadbdb5 Don't use dictionary to store vehicle mods 2023-03-20 17:14:52 +08:00
7cd0fd22af Use tuple to store vehicle colors
Array allocation is somewhat expensive
2023-03-20 17:02:56 +08:00
e6c6e5ceff Update some data stuff 2023-03-19 20:35:42 +08:00
713e005975 Ditch Newtonsoft.Json in favor of System.Text.Json 2023-03-19 15:13:24 +08:00
f100261e88 Update stuff 2023-03-11 17:08:07 +08:00
f44715cdf4 Cleanup math and benchmark stuff 2023-03-11 16:09:22 +08:00
df9efb6210 Use quaternion differentiation to calibrate rotation
Hopefully fixes the wobbling issue
2023-03-11 15:22:25 +08:00
2451131e36 Prepare for CoreCLR version 2023-03-06 21:54:41 +08:00
0e5271b322 Basically working resource system 2023-02-27 11:54:02 +08:00
6e2b4aff2f Fix stuff 2023-02-16 18:56:56 +08:00
e5f426690f Introduce CustomEventHandler for more flexible invocation 2023-02-15 11:38:02 +08:00
e4f432b593 Cleanup and rewrite some bullshit 2023-02-13 20:44:50 +08:00
ac07edfe68 Client API remoting stuff 2023-02-12 22:06:57 +08:00
718814c491 Fix crashing due to bug in BufferWriter.ToByteArray()
Renamed the serialisers and added CustomEvents to unit test to be more future-proof
2023-02-03 13:37:20 +08:00
b4f86719ce Join network thread before unload 2023-02-03 13:30:37 +08:00
f1b9bf0571 Some works for the new resource system
Rewrite some parts of CustomEvent
Expose some API as dll entry
2023-02-01 21:29:25 +08:00
d4df041c44 Add Lidgren.Network and SHVDNC as submodule 2023-02-01 13:23:09 +08:00
a7ea28281e Some fancy classes for faster serialization 2023-01-31 20:23:52 +08:00
cac2385c35 Initial migration commit to .NET 7
Menu, sync and other stuff except resource system should be working.
We're far from finished
2023-01-28 20:51:29 +08:00
3a9068f060 Various weapon fixes and some change on vehicle sync 2022-12-04 19:34:54 +08:00
a9b05c62ff Cleanup and update installer 2022-11-30 20:17:06 +08:00
952ab4f7b3 Update to work with latest build of SHVDN 2022-11-30 19:08:52 +08:00
478305112f Changed some variables from ServerInfo to an integer. .NET updated to version 7.0
Not compatible with the current MasterServer. `https://test.ragecoop.online/` is compatible
2022-11-19 00:01:38 +01:00
745b212b42 cleanup 2022-11-16 17:40:07 +08:00
50153d860a Tidy up weapon code and data dumper 2022-11-16 17:37:31 +08:00
8961eb102b Initial CEF and DirectX overlay implementation (PoC, unfinished)
Still pretty unstable, game might crash at times.
Revamp build system and other small fixes
2022-11-05 18:35:39 +08:00
2828b9b74f Clean up 2022-10-23 19:02:39 +08:00
69419d41e0 Improved weapon and turret sync 2022-10-19 19:07:46 +08:00
4e6bab1b53 blah 2022-10-15 18:14:35 +08:00
64692bc161 Update 2022-10-15 17:16:47 +08:00
8d27c072ca Change package format to iso9660 2022-10-15 17:06:19 +08:00
d7c0abdfc2 Bump version 2022-10-15 15:54:46 +08:00
411b199a98 Unload fix and small tweaks 2022-10-15 13:52:49 +08:00
b48b15b652 Tidy up 2022-10-15 12:15:19 +08:00
d1b4f23992 Restructure solution 2022-10-15 11:51:18 +08:00
fa80b87f7a Change folder name 2022-06-06 18:27:19 +08:00
a1dda2ffa4 Fixed three players issue, some work on API and resources management. 2022-06-06 17:37:11 +08:00
9f2cf2eb03 Scripting prototype? 2022-06-04 18:09:42 +08:00
5a455d0487 Auto fetch master server address 2022-06-03 16:28:02 +08:00
11d178498f Back to old rotation calculation. 2022-06-03 14:40:41 +08:00
88a51cc154 Add radio station sync. 2022-06-03 13:11:17 +08:00
42d057e2c5 Latency update and threading fixes. 2022-06-01 19:05:45 +08:00
9d9d421671 Small fix 2022-05-31 19:46:40 -08:00
a8a16fac61 Scripting? 2022-05-31 19:35:01 -08:00