465 Commits

Author SHA1 Message Date
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
Nick-I. A
9f13a1099a
Update README.md 2022-03-28 16:51:46 +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
EntenKoeniq
d64281e582 ScriptHookVDotNet updated to v3.4.0 2022-03-18 06:30:13 +01:00
Nick-I. A
a9eddea85d
Merge pull request #53 from Makinolo/main
Allows chat and player list use in NON_INTERACTIVE mode
2022-03-16 03:34:05 +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
Nick-I. A
b47beffe06
Merge pull request #51 from Makinolo/main
Adds logging to disconnection to help debugging
2022-02-18 22:51:08 +01:00
Makinolo
a52be608a2 Accepts underscore and dash as valid characteres for user name 2022-02-17 14:42:54 -07:00
Makinolo
f283a3391c Fixes exception when a resource sends a message to all
... not specifying a recipient group and there is no one left
connected to the server to send it to.
2022-02-12 21:17:41 -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
42903a1b53 MaxLatency added 2022-01-01 15:58:14 +01:00
EntenKoeniq
5ee477e857 ScriptHookVDotNet and LemonUI updated 2022-01-01 04:26:21 +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
Nick-I. A
f08cb41a4e
Merge pull request #49 from Makinolo/main
Fixes copy paste error
2021-12-29 06:54:41 +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
77daa51c6a FileStream changed to XmlWriter and XmlReader. Removed support for multiple resources
Thank to @oldnapalm #48
2021-12-28 13:51:36 +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
26db3d3530 Small fix for .NET 5 2021-12-26 03:30:05 +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