275 Commits

Author SHA1 Message Date
Sardelka
c3d7c2b335 P2P connectivity 2022-08-08 17:03:41 +08:00
Sardelka9515
6b6125eb09
Update DownloadManager.cs 2022-08-08 10:19:48 +08:00
Sardelka
09bb121ffe blah 2022-08-06 12:33:05 +08:00
Sardelka
a50be5b869 Some stuff for the upcoming change 2022-08-06 12:32:04 +08:00
Sardelka
ca5ef8cf4c read packet with BinaryReader 2022-08-06 11:40:38 +08:00
Sardelka
742e7ea998 Packet refactor 2022-08-06 10:43:24 +08:00
Sardelka
69bd4c837c Delete dll when installing update 2022-08-05 17:24:51 +08:00
Sardelka
8c10d24842 Merge branch 'main' of https://github.com/RAGECOOP/RAGECOOP-V 2022-08-05 16:13:56 +08:00
Sardelka
6b681afdee Fix wheels 2022-08-05 16:13:40 +08:00
Sardelka9515
6186497999
blah 2022-08-04 19:18:22 +08:00
Sardelka9515
2571da594e
Remove ResourceDomain 2022-08-04 19:13:39 +08:00
Sardelka9515
7c52cad569
Remove mscoree reference 2022-08-04 19:07:08 +08:00
Sardelka
303bc940f2 Move network info option to debug menu 2022-08-04 17:47:57 +08:00
Sardelka
eda903abde Sync every 30 ms 2022-08-04 17:38:28 +08:00
Sardelka
5d5bc668eb Merge branch 'main' of https://github.com/RAGECOOP/RAGECOOP-V 2022-08-04 17:14:11 +08:00
Sardelka
6e5653a168 Add latency simulation 2022-08-04 17:14:07 +08:00
Sardelka9515
8dd2241590
Update SyncedVehicle.cs 2022-08-04 08:33:18 +08:00
Sardelka
858fa81ea2 blah 2022-08-02 17:43:48 +08:00
Sardelka
8d6c70b75e Ok, this might look junky... 2022-08-02 17:43:18 +08:00
Sardelka
ffd6ce23c3 Add vehicle velocity prediction/acceleration 2022-08-02 16:42:40 +08:00
Sardelka
40f4cf88c9 Back to velocity 2022-08-01 16:56:46 +08:00
Sardelka
fe5da3cf90 Check 2022-08-01 07:14:24 +08:00
Sardelka
4ed4e37604 Revert "Set client to null on disconnect"
This reverts commit 10552d119fd61b77e56b8fedfb17ce52f3383f7e.
2022-08-01 07:13:05 +08:00
Sardelka
10552d119f Set client to null on disconnect 2022-07-31 21:03:47 +08:00
Sardelka
e2fce3cf9b Add some client API back 2022-07-31 20:47:04 +08:00
Sardelka
ad5ffc22ac blah 2022-07-30 21:55:57 +08:00
Sardelka
f980790bd7 blah 2022-07-30 21:54:45 +08:00
Sardelka
df8519961a blah 2022-07-30 21:53:42 +08:00
Sardelka
171a6be736 Revert "Squared"
This reverts commit 91035d9a3f780e3264a289b6d66dc403a20fa92c.
2022-07-30 21:51:56 +08:00
Sardelka
91035d9a3f Squared 2022-07-30 21:37:15 +08:00
Sardelka
60e7d91409 Read ped speed 2022-07-30 15:45:27 +08:00
Sardelka
d05d1dac85 predict projectile positioin 2022-07-30 14:09:07 +08:00
Sardelka
8184b4d155 Predict projectile position 2022-07-30 13:43:54 +08:00
Sardelka
a0d5f9d2df stricter flip check 2022-07-30 12:50:04 +08:00
Sardelka
49f7f9e3e1 Calibrate position with force 2022-07-30 12:39:09 +08:00
Sardelka
911d8d5d64 Fix player PlayerInfoUpdate 2022-07-30 12:03:57 +08:00
Sardelka
3015ffe3ba Revert "flush"
This reverts commit 459cfccff5972a0f984f939dda0a88f157930ba6.
2022-07-30 11:44:14 +08:00
Sardelka
eb74bcf987 Update vehicle sync 2022-07-29 22:35:20 +08:00
Sardelka
b63898d8b9 Update vehicle sync 2022-07-29 22:26:19 +08:00
Sardelka
459cfccff5 flush 2022-07-29 21:53:26 +08:00
Sardelka
93d705e402 Latency fix 2022-07-29 21:15:23 +08:00
Sardelka
c8bbdc69d0 Update latency detection method
Plus some server code refactoring
2022-07-29 20:35:39 +08:00
Sardelka
9b1587f334 Ignore API assemblies 2022-07-29 19:11:31 +08:00
Sardelka
3e67cc519e Ignore ready 2022-07-29 18:44:17 +08:00
Sardelka
eee6f614f1 Encrypt chat message 2022-07-29 18:17:45 +08:00
Sardelka
577857ab5a Hash password at server side 2022-07-29 14:51:17 +08:00
Sardelka9515
e657a02f7a
Update RageCoop.Client.csproj 2022-07-29 00:52:57 +08:00
Sardelka9515
182ff877f0
Update RageCoop.Client.csproj 2022-07-29 00:44:31 +08:00
Sardelka9515
b62aed5c5a
Update RageCoop.Client.csproj 2022-07-29 00:30:33 +08:00
Sardelka
5c4e31806d cd /d 2022-07-28 18:00:13 +08:00
Sardelka
9f8d695d45 cd 2022-07-28 17:55:40 +08:00
Sardelka
6d5bb285c9 Fix client copy 2022-07-28 17:03:29 +08:00
Sardelka
7ac405b8f9 Embed referenced assemblies 2022-07-28 15:46:15 +08:00
Sardelka
45d53bd38c Memory patch for weapon/radio slowdown/vignetting 2022-07-25 22:22:57 +08:00
Sardelka
cc52f66f5d Read quaternion and rotation directly from memory 2022-07-25 19:07:58 +08:00
Sardelka
e072c2aee8 Read entity position directly from memory 2022-07-23 23:45:20 +08:00
Sardelka
e52135c343 Allow sending chat message and command in console 2022-07-22 19:43:48 +08:00
Sardelka
cb53e8a664 Delay vehicle repair, fix vehicle if BodyHealth increased 2022-07-21 23:10:56 +08:00
Sardelka
44a8445b54 Delay vehicle repair 2022-07-21 22:42:29 +08:00
Sardelka
b0a197cd18 Back to old latency compensation 2022-07-21 09:53:07 +08:00
Sardelka
9ba52b332c Revert some vehicle sync change 2022-07-21 09:43:09 +08:00
Sardelka
ecfc77e57a Fix resource loading, add player died notification 2022-07-21 08:41:05 +08:00
Sardelka
2ba3e33d39 Don't follow position if velocity is greater than 3 2022-07-20 18:02:17 +08:00
Sardelka
71ecdbd5b9 code cleanup 2022-07-20 17:50:01 +08:00
Sardelka
51dd445a31 Fix resource duplication 2022-07-20 09:32:26 +08:00
Sardelka
264158957c Send response in same sequence channel 2022-07-20 09:11:07 +08:00
Sardelka
1372a5c33f Update release configuration 2022-07-20 07:34:53 +08:00
Sardelka
9527da9785 Add ability to share server file 2022-07-19 17:15:53 +08:00
Sardelka
809c935d37 Fix entity fire 2022-07-17 20:12:25 +08:00
Sardelka
10bd54a785 remove testing code 2022-07-17 19:19:58 +08:00
Sardelka
ece899f2a1 Better vehicle movement sync 2022-07-17 19:19:23 +08:00
Sardelka
5d1a182e47 Better ragdoll sync (maybe) 2022-07-17 18:44:16 +08:00
Sardelka
228ab9e727 Ped movement change 2022-07-17 14:23:19 +08:00
Sardelka
2605aafc4f Vehicle flag fix 2022-07-17 12:22:11 +08:00
Sardelka
0a3dbb1f59 Merge vehicle sync packet, comment cleanup 2022-07-17 11:59:37 +08:00
Sardelka
5d1832fcef Merge ped packet
Back to old project family (for debugging)
Fix blip name
Delete newly spawned traffic if limit exceeded
2022-07-17 11:15:02 +08:00
Sardelka
30ed509c55 Prevent entity spawning from interfering Tick event 2022-07-15 13:45:43 +08:00
Sardelka
2ad91011c3 blah 2022-07-14 18:52:04 +08:00
Sardelka
e40d4695ea Add QueueAction overload 2022-07-14 18:50:15 +08:00
Sardelka
e4c03f8ccc Add in-game update feature 2022-07-14 17:59:41 +08:00
Sardelka
e10a0f5415 Add Logger property for resource script 2022-07-14 16:44:35 +08:00
Sardelka
2a29011015 Better projectile check 2022-07-14 15:28:03 +08:00
Sardelka
038860f158 Update nametag drawing method 2022-07-14 10:33:24 +08:00
Sardelka
1e2a9992d8 Merge branch 'main' of https://github.com/RAGECOOP/RAGECOOP-V 2022-07-13 11:08:21 +08:00
Sardelka
72aff78718 Move logger 2022-07-13 11:08:04 +08:00
Sardelka
cdeef7279c coding style 2022-07-13 10:36:38 +08:00
Sardelka9515
9cb5c557c5
fix vehicle doors sync 2022-07-13 00:20:06 +08:00
Sardelka
20b326d396 Check before breaking a door 2022-07-12 17:15:54 +08:00
Sardelka
b7cad3b8f7 Move GetWeaponComponents to WeaponUtil 2022-07-12 17:14:06 +08:00
Sardelka
edca1e2b98 Don't sync invisible vehicles 2022-07-11 14:53:22 +08:00
Sardelka
a9397690e2 Fix 2022-07-11 12:02:46 +08:00
Sardelka
f28f23f560 Change master server 2022-07-11 12:00:25 +08:00
Sardelka
b2911017d0 Cleanup 2022-07-11 11:59:32 +08:00
Sardelka
cda4f702a1 Small API cleanup 2022-07-11 11:30:00 +08:00
Sardelka
b6a0ae7f4a Remove MapLoader 2022-07-11 11:24:17 +08:00
Sardelka
b6f3508680 Fix 2022-07-11 11:11:48 +08:00
Sardelka
ad0368b4c0 Merge resource loading 2022-07-11 11:10:43 +08:00
Sardelka
b1d67bd1c4 Add OnKeyDown and OnKeyUp event for API 2022-07-11 11:06:57 +08:00
Sardelka
cda3d37f37 Connect fix 2022-07-11 11:06:31 +08:00
Sardelka
abed0f146f Don't load resources previously downloaded 2022-07-11 10:08:21 +08:00
Sardelka9515
bdeaeee293
Update Resources.cs 2022-07-10 23:30:29 +08:00
Sardelka
27ab63ae7a Add weather and time sync 2022-07-10 16:13:08 +08:00
Sardelka
9567e97b31 Add vehicle livery sync 2022-07-09 22:18:00 +08:00
Sardelka
b10a8b47d5 Small vehicle exit fix 2022-07-09 19:59:17 +08:00
Sardelka
1bc274e2d0 Some tweaks 2022-07-09 19:32:11 +08:00
Sardelka
bc3fc70a95 Some tweaks 2022-07-09 13:55:06 +08:00
Sardelka
eee983dfd2 Change output path 2022-07-09 13:27:07 +08:00
Sardelka
fbec69cd71 Reload SHVDN on disconnect if there're client resources 2022-07-09 13:16:41 +08:00
Sardelka
0224abc9bd Request model before creating vehicle 2022-07-09 11:21:42 +08:00
Sardelka
01b4753dc6 Merge branch 'main' of https://github.com/RAGECOOP/RageCoop-V 2022-07-06 01:03:35 +08:00
Sardelka
5a5d78ac27 Networking statistics, disable resource unload 2022-07-06 01:03:18 +08:00
Sardelka9515
a05eedd68e
Fix NativeResponse 2022-07-05 21:58:37 +08:00
Sardelka
05304f9461 Add SendCustomEventQueued() 2022-07-05 11:18:26 +08:00
Sardelka
fff5ec4534 Merge branch 'main' of https://github.com/RAGECOOP/RageCoop-V 2022-07-05 10:52:33 +08:00
Sardelka
cf7641cee0 Change object list to array for CustomEvent 2022-07-05 10:52:22 +08:00
Sardelka9515
a77e0c1fc9
Fix ServerBlip 2022-07-05 00:18:12 +08:00
Sardelka
8bb39b1bfa Add PedBlip 2022-07-04 23:59:51 +08:00
Sardelka
2450956fda Add ped blip sync 2022-07-04 22:50:47 +08:00
Sardelka
a53b514fec Add ServerEntities.CreateVehicle() 2022-07-04 21:29:13 +08:00
Sardelka
de93af73f2 Merge branch 'main' of https://github.com/RAGECOOP/RageCoop-V 2022-07-04 09:57:13 +08:00
Sardelka
44f106fd0c Add ServerBlip.Handle handle 2022-07-04 09:54:43 +08:00
Sardelka9515
8d7eebd390
Fix DeleteEntity not being dispatched to main thread 2022-07-03 23:42:00 +08:00
Sardelka
0a5bb67c54 Add Name property for blip, fix blip scale 2022-07-03 21:00:05 +08:00
Sardelka
f866151cc5 Update docs 2022-07-03 15:37:51 +08:00
Sardelka
08e17b1714 Server side blip and Vector2 argument 2022-07-03 15:28:28 +08:00
Sardelka
dc5cf2b965 ServerObject Inheritance, getter and setter for Position and Roatation, Fix connect error. 2022-07-03 10:46:24 +08:00
Sardelka
e0c96cc200 Minor documentation fix 2022-07-02 18:30:16 +08:00
Sardelka
8401d616e0 Convert object to handle at client side 2022-07-02 17:53:35 +08:00
Sardelka
d8ac486984 Server side prop control 2022-07-02 17:14:56 +08:00
Sardelka
335ea2ca38 Fix data folder 2022-07-02 13:53:14 +08:00
Sardelka
c73ff96690 Add JB7002 weapon (not tested), closes #15 2022-07-02 13:37:44 +08:00
Sardelka
15b23e3a4e Add DOMINATOR5, IMPALER3, IMPERATOR2, SLAMVAN5 (not tested), closes #16 2022-07-02 13:32:26 +08:00
Sardelka
47f86c098d Add Runier2 weapon, closes #18 2022-07-02 13:21:55 +08:00
Sardelka
6c2c7e881f Add TAMPA3 weapon, closes #19 2022-07-02 13:12:59 +08:00
Sardelka
74a2265200 Add DUNE3 weapon sync 2022-07-02 12:53:18 +08:00
Sardelka
8ee188cf19 update docs 2022-07-02 11:23:12 +08:00
Sardelka
eb5b23ae17 Server side entities and custom resource location 2022-07-01 19:02:38 +08:00
Sardelka
77999fe8f3 Add docfx documentation 2022-07-01 17:00:42 +08:00
Sardelka
64fda51917 Restore 2022-07-01 14:39:43 +08:00
Sardelka
4165b757a5 XML comments 2022-07-01 13:54:18 +08:00
Sardelka
8a46bd6b68 Resource loading 2022-07-01 12:22:31 +08:00
Sardelka
58362c2613 Preparing for PluginLoader 2022-06-30 09:28:13 +08:00
Sardelka
0800361b40 Minor fixes 2022-06-27 14:42:57 +08:00
Sardelka
04c9081851 Security fix and merge LemonUI 2022-06-27 13:02:31 +08:00
Sardelka
9cf23cac7f never gonna give~ 2022-06-24 18:25:24 +08:00
Sardelka
6167417bf8 Reworked on resource loading, Added RegisterCommands overload to register commands from an instance. 2022-06-24 16:49:59 +08:00
Sardelka
82ab9237f5 Security implementation 2022-06-24 10:33:36 +08:00
Sardelka
82e7cdd785 Multiple server instances in one process is now possible 2022-06-23 14:10:16 +08:00
Sardelka
41385abc7d Rework on SendNativeCall 2022-06-23 09:46:38 +08:00
Sardelka
84171e2949 We're almost here... 2022-06-22 14:18:20 +08:00