274 Commits

Author SHA1 Message Date
EntenKoeniq
ce00f07e89 Small changes for later 2022-04-06 08:44:17 +02:00
EntenKoeniq
8383c1fd0e More bug fixes 2022-04-06 06:52:02 +02:00
EntenKoeniq
1e1b22462d More bug fixes and changes for DownloadManager 2022-04-06 05:54:03 +02:00
EntenKoeniq
a6d2acac79 Bug fixes and revised DownloadManager for client 2022-04-06 05:10:29 +02:00
EntenKoeniq
7b2708f185 removed unused stuff 2022-04-06 02:21:56 +02:00
EntenKoeniq
fedc036e76 Changes for the upcoming update 2022-04-06 02:18:24 +02:00
EntenKoeniq
fffe619f1e Packet renamed 2022-04-03 19:28:25 +02:00
EntenKoeniq
989dcaeb0b DownloadManager works! 2022-04-03 02:27:30 +02:00
EntenKoeniq
095c920f38 Added DownloadManager for the server (NOT DONE YET!) 2022-04-02 19:12:15 +02:00
EntenKoeniq
cc3e0829c0 Updated DownloadManager 2022-04-02 18:11:30 +02:00
EntenKoeniq
7e1764d526 Started with the download manager 2022-04-02 16:40:24 +02:00
EntenKoeniq
9023b85382 New functions and removed SHVDN and LemonUI for Javascript 2022-04-02 16:14:42 +02:00
EntenKoeniq
ec1b56d152 Added CleanUpWorld and CreateObject for Javascript 2022-03-31 18:03:19 +02:00
EntenKoeniq
06db5542cf Fixed delegates for javascript 2022-03-31 17:31:39 +02:00
EntenKoeniq
0051504684 Small changes 2022-03-30 16:14:25 +02:00
EntenKoeniq
7d2e3705ea Let's use the new logger 2022-03-29 00:28:57 +02:00
EntenKoeniq
90d7ae7059 Added first simple logger for CoopClient 2022-03-28 23:59:19 +02:00
EntenKoeniq
98a593daae No more paused settings 2022-03-28 22:34:59 +02:00
EntenKoeniq
2a514357d1 Make ScriptEngines readonly. Added GetLocalUsername() for Javascript 2022-03-28 16:43:52 +02:00
EntenKoeniq
d99613445f More small changes 2022-03-28 15:08:30 +02:00
EntenKoeniq
a6167528dd Small changes 2022-03-28 14:49:26 +02:00
EntenKoeniq
214aed68ad ScriptContext is now internal 2022-03-27 19:49:23 +02:00
EntenKoeniq
da45b26e77 Added more events for clientside 2022-03-26 17:50:34 +01:00
EntenKoeniq
b1325bcef8 Added LoadAll and StopAll function. Some Javascript changes 2022-03-25 21:51:29 +01:00
EntenKoeniq
26d7a4d4a5 Added TestResources and only loaded the files from ip 2022-03-25 21:07:07 +01:00
EntenKoeniq
20f0833795 Added SHV and LemonUI to Javascript 2022-03-25 20:41:59 +01:00
EntenKoeniq
50bcfabf18 Added CallNative function and OnRender event for Javascript 2022-03-25 20:30:03 +01:00
EntenKoeniq
9d356a1b57 Load all *.js files from "scripts/resources" 2022-03-25 20:09:45 +01:00
EntenKoeniq
cfca7ad412 Added ClearScript for upcoming clientside
Example code for "test.js": ```script.SendMessage('test message');```
2022-03-25 19:53:48 +01:00
EntenKoeniq
9c3aab008c Added and changed documentation for some functions. Hopefully fixed #54 2022-03-25 15:45:22 +01:00
EntenKoeniq
44c04147cc Changed MasterServer address 2022-03-20 18:49:39 +01:00
EntenKoeniq
61f9701aeb Small changes and fixed #50 2022-03-20 14:54:48 +01:00
EntenKoeniq
474cba33fa Unused variables removed. MasterServer connection updated 2022-03-20 09:21:41 +01:00
Makinolo
d9e68bf0b5 Allows chat and player list use in NON_INTERACTIVE mode
Adds player list alignment choice to make it visible if the
calling mod is showing a menu where the player list appears by
default
2022-02-24 21:32:45 -07:00
Makinolo
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
EntenKoeniq
9373cb3c85 Jump, Parachute, Debug and BrakeLight bug fixed 2022-01-01 19:24:57 +01:00
EntenKoeniq
6f2da854a9 Better brake lights 2022-01-01 17:24:55 +01:00
EntenKoeniq
3f4eeb0a32 Parachute sync added. Small changes 2022-01-01 04:16:24 +01:00
EntenKoeniq
7cc91ebbbd Split packets 2022-01-01 03:07:18 +01:00
EntenKoeniq
21a5ed2b31 try...catch added to every incoming packet 2022-01-01 02:27:30 +01:00
Makinolo
a7a71a4651 Fixes copy paste error
NetIncomingMessageToPacket was overwriting the
NetHandle with the value of the Target and this was making
the from Handle in the messages processed by the resources
to be zero.
2021-12-28 16:54:42 -07:00
EntenKoeniq
24eb221f57 Addded Climb and ClimbLadder sync. Small changes 2021-12-28 19:14:51 +01:00
EntenKoeniq
64dd2f5768 Small changes. ParachuteFreeFall is now working 2021-12-28 17:50:04 +01:00
EntenKoeniq
73ac8694be Started with Parachute sync. Small bug fixes and new ServerScript Events 2021-12-27 17:26:16 +01:00
EntenKoeniq
dd80c2f323 First player animation added 2021-12-27 11:05:01 +01:00
EntenKoeniq
c3b054c75a NPC and Player split 2021-12-27 10:15:52 +01:00
EntenKoeniq
69cca124ff Revert changes 2021-12-27 01:26:36 +01:00
EntenKoeniq
ae0663cdd4 Small changes and bug fixes
Thank to @oldnapalm
2021-12-26 23:19:12 +01:00
EntenKoeniq
f4e563f93b OnTick added. Bug fixes. Remove server created objects/vehicles/peds/checkpoints/blips on disconnect. More... 2021-12-26 03:25:00 +01:00
EntenKoeniq
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
EntenKoeniq
5393378317 The VectorExtensions class has been moved to the Util.cs file. Fixed ragdoll bug and UpdateOnFootPosition() call for aim and shoot 2021-12-24 06:33:00 +01:00
EntenKoeniq
2a494a3595 Added missing XML comments 2021-12-24 05:25:31 +01:00
EntenKoeniq
56ab6ef284 AimCoords also added for LightSync. Small changes 2021-12-24 05:20:32 +01:00
EntenKoeniq
d6ef443b92 ToVector(), ToLVector(), ToQuaternion() and ToLQuaternion() added 2021-12-24 05:05:35 +01:00
EntenKoeniq
b9703dd612 Bug fixes and new player movement 2021-12-24 03:16:16 +01:00
EntenKoeniq
96d2a9ca4c Added missing health sync 2021-12-23 22:16:20 +01:00
EntenKoeniq
b9a1089fd0 Network traffic reduced. Changes!
Bugs:
- Character rotation?
2021-12-23 22:03:01 +01:00
EntenKoeniq
5353532360 1.2.0 2021-12-19 00:53:03 +01:00
EntenKoeniq
a04d9eb9b3 Removed loading of multiplayer maps 2021-12-18 22:51:00 +01:00
EntenKoeniq
f07607000b Fixed a bug where it was not possible to shoot other players 2021-12-18 20:31:10 +01:00
EntenKoeniq
6f857daf69 Added vehicle roof sync 2021-12-18 09:46:42 +01:00
EntenKoeniq
ce5868e9ac EntitiesNpc class removed and changed to EntitiesPed 2021-12-18 08:04:17 +01:00
EntenKoeniq
d71083e770 LemonUI.SHVDN3.dll updated. MenuPool.RefreshAll() is no longer required. Small changes 2021-12-18 07:46:15 +01:00
EntenKoeniq
cef43b80f7 SocialClubName removed. Allowlist removed from CoopSettings.xml 2021-12-17 23:58:32 +01:00
EntenKoeniq
5cfbaaddd7 Removed PlayerConnectPacket() from client to server and small bug fixed 2021-12-17 23:02:53 +01:00
EntenKoeniq
6e72cf9d27 Lidgren-Network updated. Only TLS 1.3 and TLS 1.2 are supported. Small changes 2021-12-17 19:50:47 +01:00
EntenKoeniq
7df796340f Small changes 2021-12-17 01:27:42 +01:00
EntenKoeniq
bedd251385 Util.Compare() updated 2021-12-17 00:19:34 +01:00
EntenKoeniq
e2f5e602c8 Small changes 2021-12-16 22:35:37 +01:00
EntenKoeniq
6742fb9050 Bug fixes. Compare() added to compare two Dictionary<> 2021-12-16 22:26:45 +01:00
EntenKoeniq
6c09c10bd9 Renamed Props to Clothes. Reduced bytes for data 2021-12-16 22:05:40 +01:00
EntenKoeniq
ed56534db7 Updated documentation. Small changes 2021-12-16 14:52:48 +01:00
Makinolo
ee79fe5cc2 Allows sending messages only to a group of users
In some circumstances (like proximity, missions...) we may want
to target messages to only a sub set of all the users connected
to the server. Adding this optional parameter to SendModPacketToAll
and SendChatMessageToAll allows that while being backwards
compatible with the API
Fixes some problems introduced in the non interactive mode
Changes the SetLocalTraffic parameter to make it more readable
so now SetLocalTraffic(true) means to ENABLE local traffic while
SetLocalTraffic(false) means DISABLE local traffic
2021-12-15 11:09:56 -07:00
EntenKoeniq
52f1f655ae Small fix and last update for version 1.1.0 2021-12-15 18:24:33 +01:00
EntenKoeniq
7b7295bdea Added NPCsVehicles.Clear() to CleanUp() 2021-12-15 04:31:24 +01:00
EntenKoeniq
3bb803f3c9 Fixed bug with weapon components. Partial EntitiesPed.cs 2021-12-15 03:31:57 +01:00
EntenKoeniq
26e4cb97ae Added synchronization of weapon components for players 2021-12-15 01:25:16 +01:00
EntenKoeniq
6e12848a61 Small changes 2021-12-15 00:25:31 +01:00
EntenKoeniq
c71539435e Small changes. Fix server browser (SSL/TLS) 2021-12-15 00:00:27 +01:00
EntenKoeniq
4cd813d0be Changed lnID to netHandle (COOPAPI) 2021-12-14 22:51:09 +01:00
EntenKoeniq
98295fee3a Changed ID to NetHandle. Configure() removed from COOPAPI and replaced by its own functions 2021-12-14 22:39:15 +01:00
EntenKoeniq
721da34e36 New MasterServer address 2021-12-14 21:18:12 +01:00
EntenKoeniq
ba562789b2 No more vehicle duplication with "Share NPCs" enabled. Small changes 2021-12-14 19:33:52 +01:00
EntenKoeniq
517d5e93d6 Added landing gear sync 2021-12-14 14:46:10 +01:00
EntenKoeniq
749a5b258d Only gta5 v1.0.1290 or newer is supported! 2021-12-14 14:20:41 +01:00
EntenKoeniq
4bd50a557b Transformation synchronization for submarine cars added 2021-12-13 23:43:02 +01:00
EntenKoeniq
af2267f346 Added horn sync and LastSyncWasFull flag removed 2021-12-13 23:18:15 +01:00
EntenKoeniq
b5d0aecc59 Added ConnectionChannel 2021-12-13 22:41:07 +01:00
EntenKoeniq
68948990b5 Started with version 1.1.0 2021-12-13 20:35:07 +01:00
EntenKoeniq
b55ba2ac33 3 bug fixes 2021-12-13 20:25:31 +01:00
EntenKoeniq
a8160aeb49 Update Settings.cs 2021-12-13 18:16:31 +01:00
EntenKoeniq
902a08066c Removed slider for NPCs. Small bug fixes and changes 2021-12-13 17:48:00 +01:00
EntenKoeniq
2d441f7fb3 Not yet tested 2021-12-13 11:51:03 +01:00
EntenKoeniq
9f020c6094 Added MarkAsNoLongerNeeded() 2021-12-12 22:52:57 +01:00
EntenKoeniq
de81e1ad43 new way to load the model 2021-12-12 22:00:06 +01:00
EntenKoeniq
cf93feff87 max. streamed NPCs from 20 to 30 2021-12-12 20:05:55 +01:00
EntenKoeniq
b026026112 "if (MainVehicle.IsTurretSeat(VehicleSeatIndex))" 2021-12-12 19:52:21 +01:00
EntenKoeniq
ad776f6f16 Fixed freezing on model request 2021-12-12 19:31:06 +01:00
EntenKoeniq
02cc3f2fb5 Undo "Changed IP in Address". This will be version 1.0.0 2021-12-11 14:40:34 +01:00
EntenKoeniq
64e089ce58 Changed IP to Address 2021-12-11 14:33:31 +01:00