195 Commits

Author SHA1 Message Date
EntenKoeniq
7777310267 DownloadManager updated [Server] 2022-04-03 18:46:57 +02:00
EntenKoeniq
c8923359f1 Fixed exception with deep clone 2022-04-03 03:22:28 +02:00
EntenKoeniq
989dcaeb0b DownloadManager works! 2022-04-03 02:27:30 +02:00
EntenKoeniq
7c194f38a6 DownloadManager update (NOT DONE YET!) 2022-04-02 23:02:49 +02:00
EntenKoeniq
095c920f38 Added DownloadManager for the server (NOT DONE YET!) 2022-04-02 19:12:15 +02: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
474cba33fa Unused variables removed. MasterServer connection updated 2022-03-20 09:21:41 +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
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
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
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
69cca124ff Revert changes 2021-12-27 01:26:36 +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
56ab6ef284 AimCoords also added for LightSync. Small changes 2021-12-24 05:20:32 +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
6f857daf69 Added vehicle roof sync 2021-12-18 09:46:42 +01:00
EntenKoeniq
b2434c7215 Small changes 2021-12-18 00:21:23 +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
c77e2a0287 Small changes 2021-12-17 22:16:39 +01:00
EntenKoeniq
4510543c8e Added support for multiple resources 2021-12-17 21:32:57 +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
e2f5e602c8 Small changes 2021-12-16 22:35:37 +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
a9b45b830d Rename player ids to nethandles as per new nomenclature scheme 2021-12-15 13:24:24 -07: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
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
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
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
902a08066c Removed slider for NPCs. Small bug fixes and changes 2021-12-13 17:48:00 +01:00
EntenKoeniq
1f963cb39e Small server changes 2021-12-13 14:03:24 +01:00
EntenKoeniq
2d441f7fb3 Not yet tested 2021-12-13 11:51:03 +01:00
EntenKoeniq
dfedd8ebb8 Remove Address from server settings. The last update for version 1.0.0 2021-12-11 15:23:29 +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
e65568cd62 "Address" added to the server settings. Address can only be a valid IPv4 2021-12-11 14:32:06 +01:00
EntenKoeniq
3e0ade58c5 Small bug fixed if the argument length is 0 2021-12-11 14:12:38 +01:00
EntenKoeniq
385a200bea Added kick(string) 2021-12-11 14:00:22 +01:00
EntenKoeniq
2a6a9bf004 Bug fixes and small changes 2021-12-11 12:35:17 +01:00
EntenKoeniq
be11e4984c ... 2021-12-10 20:23:58 +01:00
EntenKoeniq
3bcda302fe Small changes and bug fixes 2021-12-10 16:25:59 +01:00
EntenKoeniq
d244cd393a bug fixes 2021-12-10 15:55:45 +01:00
EntenKoeniq
218e60157e Added SendNativeResponse() 2021-12-10 13:38:03 +01:00
EntenKoeniq
c01788c2d4 Added CPU and RAM usage for debug build 2021-12-10 11:31:36 +01:00
EntenKoeniq
51c7d3aa6c "Please make sure that port forwarding is active, otherwise nobody can join!" 2021-12-08 14:57:32 +01:00
EntenKoeniq
4170001edf Disconnect every client on shutdown. Changed default value for AnnounceSelf 2021-12-08 14:46:07 +01:00
EntenKoeniq
20d66d1f02 moved "MainResource != null" from while to an if 2021-12-08 13:54:30 +01:00
EntenKoeniq
652733c715 Added API.OnStop(). Added ConsoleCancelEvent 2021-12-08 13:45:00 +01:00
EntenKoeniq
250ea7d3f3 Oops! I forgot to change this 😐 2021-12-08 13:01:38 +01:00
EntenKoeniq
dc4263ab9f Removed "PlayerDisconnectPacket()" from client to server. Small bug fixes and changes 2021-12-08 09:57:19 +01:00
EntenKoeniq
ed46eb5a8b masterserver finished 2021-12-08 03:59:14 +01:00
EntenKoeniq
14698f93dd MasterServer URL added 2021-12-07 11:10:59 +01:00
EntenKoeniq
31fa603b1c Serverlist is working now 2021-12-07 08:18:29 +01:00
EntenKoeniq
530d6b885d Maybe we should use UTF8 instead of ASCII? 2021-12-06 06:35:02 +01:00
EntenKoeniq
bec80e6082 Vehicle turret synchronization (experimental and not finished yet) 2021-12-06 00:56:08 +01:00
EntenKoeniq
2e2e007814 Server internal 2021-12-03 20:41:44 +01:00
EntenKoeniq
52f5ab5b3d ScriptHookVDotNet updated. NuGet packages removed 2021-12-03 20:12:15 +01:00
EntenKoeniq
f00bfa2526 CommandAttribute changed to Command. Usage and ArgsLength added to Command 2021-12-02 23:05:22 +01:00
EntenKoeniq
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
EntenKoeniq
5c7e7f45a0 Error handling, bug fixes, new API functions and more added! 2021-11-25 16:32:04 +01:00
EntenKoeniq
c3b3680957 Update CoopServer.csproj 2021-11-24 00:16:06 +01:00
EntenKoeniq
9ad684adc3 Revert "Update CoopServer.csproj"
This reverts commit 15dacadce9d0f775abad65ab9fd6819baa13cf3f.
2021-11-24 00:14:21 +01:00
EntenKoeniq
15dacadce9 Update CoopServer.csproj 2021-11-24 00:13:34 +01:00
EntenKoeniq
902acdd798 Bicycle color synchronization. Fixed server crash 2021-11-24 00:12:25 +01:00
EntenKoeniq
f6a49fe87f SendModPacket (Server) added 2021-11-23 23:17:47 +01:00
EntenKoeniq
48cbff2f11 Small changes 2021-11-23 23:02:41 +01:00
EntenKoeniq
f0d1fee2bd Resources are now multithreaded. GameMode renamed to Resource 2021-11-20 05:38:00 +01:00
EntenKoeniq
1bcc9882c0 You didn't see anything! 2021-11-19 09:28:38 +01:00
EntenKoeniq
27b7b96bfd We don't need that flag 2021-11-19 09:24:06 +01:00
EntenKoeniq
5c14d2300b New vehicle synchronization added. Some changes 2021-11-19 08:40:40 +01:00
EntenKoeniq
cc6db509f8 Modpacket bug fixed. Libraries updated. 2021-11-19 05:47:32 +01:00
EntenKoeniq
b6b64eba53 More stuff 2021-09-30 23:35:42 +02:00
EntenKoeniq
dfc6682e20 better but not finished yet 2021-09-29 15:51:28 +02:00
EntenKoeniq
05f70a6d04 NOT FINISHED YET!
More info later...
2021-09-29 14:34:22 +02:00
EntenKoeniq
1320f35f30 More stuff. Small changes 2021-09-28 16:51:16 +02:00
EntenKoeniq
073d09d018 Small changes 2021-09-28 14:44:10 +02:00
EntenKoeniq
6479d92460 Interface.cs (ChatMessageReceived and SendChatMessage added). Small changes 2021-09-27 20:28:27 +02:00
EntenKoeniq
b45f4cc7a3 CustomData added. SendPlayerDisconnectPacket fixed. Small changes 2021-09-26 21:19:26 +02:00
EntenKoeniq
be921ba310 LAST UPDATE 2021-08-26 17:01:32 +02:00