Commit Graph

99 Commits

Author SHA1 Message Date
7d2e3705ea Let's use the new logger 2022-03-29 00:28:57 +02:00
d99613445f More small changes 2022-03-28 15:08:30 +02:00
a6167528dd Small changes 2022-03-28 14:49:26 +02:00
da45b26e77 Added more events for clientside 2022-03-26 17:50:34 +01:00
b1325bcef8 Added LoadAll and StopAll function. Some Javascript changes 2022-03-25 21:51:29 +01:00
474cba33fa Unused variables removed. MasterServer connection updated 2022-03-20 09:21:41 +01:00
32ea3a0037 Adds logging to disconnection to help debugging
When the user is disconnected from a malformed or wrong message
it is now logged in the server for debugging purposes.
If the disconnection comes from the client itself, the reason
of disconnection will contain the offending message type.
2022-02-06 09:59:18 -07:00
9373cb3c85 Jump, Parachute, Debug and BrakeLight bug fixed 2022-01-01 19:24:57 +01:00
3f4eeb0a32 Parachute sync added. Small changes 2022-01-01 04:16:24 +01:00
7cc91ebbbd Split packets 2022-01-01 03:07:18 +01:00
21a5ed2b31 try...catch added to every incoming packet 2022-01-01 02:27:30 +01:00
24eb221f57 Addded Climb and ClimbLadder sync. Small changes 2021-12-28 19:14:51 +01:00
73ac8694be Started with Parachute sync. Small bug fixes and new ServerScript Events 2021-12-27 17:26:16 +01:00
c3b054c75a NPC and Player split 2021-12-27 10:15:52 +01:00
69cca124ff Revert changes 2021-12-27 01:26:36 +01:00
ae0663cdd4 Small changes and bug fixes
Thank to @oldnapalm
2021-12-26 23:19:12 +01:00
f4e563f93b OnTick added. Bug fixes. Remove server created objects/vehicles/peds/checkpoints/blips on disconnect. More... 2021-12-26 03:25:00 +01:00
a4ffc25823 Only take 35 NPCs to share. Don't wait any longer to send a package. Vehicle synchronization updated. Small changes 2021-12-24 15:33:27 +01:00
56ab6ef284 AimCoords also added for LightSync. Small changes 2021-12-24 05:20:32 +01:00
b9a1089fd0 Network traffic reduced. Changes!
Bugs:
- Character rotation?
2021-12-23 22:03:01 +01:00
6f857daf69 Added vehicle roof sync 2021-12-18 09:46:42 +01:00
ce5868e9ac EntitiesNpc class removed and changed to EntitiesPed 2021-12-18 08:04:17 +01:00
cef43b80f7 SocialClubName removed. Allowlist removed from CoopSettings.xml 2021-12-17 23:58:32 +01:00
5cfbaaddd7 Removed PlayerConnectPacket() from client to server and small bug fixed 2021-12-17 23:02:53 +01:00
7df796340f Small changes 2021-12-17 01:27:42 +01:00
6c09c10bd9 Renamed Props to Clothes. Reduced bytes for data 2021-12-16 22:05:40 +01:00
3bb803f3c9 Fixed bug with weapon components. Partial EntitiesPed.cs 2021-12-15 03:31:57 +01:00
26e4cb97ae Added synchronization of weapon components for players 2021-12-15 01:25:16 +01:00
98295fee3a Changed ID to NetHandle. Configure() removed from COOPAPI and replaced by its own functions 2021-12-14 22:39:15 +01:00
ba562789b2 No more vehicle duplication with "Share NPCs" enabled. Small changes 2021-12-14 19:33:52 +01:00
517d5e93d6 Added landing gear sync 2021-12-14 14:46:10 +01:00
749a5b258d Only gta5 v1.0.1290 or newer is supported! 2021-12-14 14:20:41 +01:00
4bd50a557b Transformation synchronization for submarine cars added 2021-12-13 23:43:02 +01:00
af2267f346 Added horn sync and LastSyncWasFull flag removed 2021-12-13 23:18:15 +01:00
b5d0aecc59 Added ConnectionChannel 2021-12-13 22:41:07 +01:00
b55ba2ac33 3 bug fixes 2021-12-13 20:25:31 +01:00
3bcda302fe Small changes and bug fixes 2021-12-10 16:25:59 +01:00
d244cd393a bug fixes 2021-12-10 15:55:45 +01:00
218e60157e Added SendNativeResponse() 2021-12-10 13:38:03 +01:00
dc4263ab9f Removed "PlayerDisconnectPacket()" from client to server. Small bug fixes and changes 2021-12-08 09:57:19 +01:00
31fa603b1c Serverlist is working now 2021-12-07 08:18:29 +01:00
bec80e6082 Vehicle turret synchronization (experimental and not finished yet) 2021-12-06 00:56:08 +01:00
129a4faea1 Fixed client exceptions 2021-12-03 20:30:00 +01:00
33cda5dcfb XML documentation added (not finished yet) 2021-11-28 23:35:37 +01:00
12a2ddf625 CleanUp() removed 2021-11-28 22:57:39 +01:00
2836953d89 Newtonsoft.Json added. CoopSerializer updated. Bugfix for ModPackets. Interface renamed to COOPAPI. SendDataToServer() and GetLocalUsername() added 2021-11-27 22:44:00 +01:00
1c3c9ec1fa Adds connection and disconnection callbacks for all players
Not only for own player
2021-11-19 17:05:57 -07:00
8fc16725ff Use TickCount64 instead of TickCount 2021-11-19 22:08:15 +01:00
ffb3db7d37 "vehicleIsTryingToEnter" added (you have to test this with two people) 2021-11-19 10:44:16 +01:00
27b7b96bfd We don't need that flag 2021-11-19 09:24:06 +01:00