95 Commits

Author SHA1 Message Date
EntenKoeniq
75fb2c29d3 Code conventions. Small changes and bug fixes 2022-04-10 14:34:55 +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
fedc036e76 Changes for the upcoming update 2022-04-06 02:18:24 +02:00
EntenKoeniq
ebba1e5d28 Small changes and stopping sending own disconnect packet 2022-04-03 19:48:51 +02:00
EntenKoeniq
7777310267 DownloadManager updated [Server] 2022-04-03 18:46:57 +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
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
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
7cc91ebbbd Split packets 2022-01-01 03:07:18 +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
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
b9a1089fd0 Network traffic reduced. Changes!
Bugs:
- Character rotation?
2021-12-23 22:03:01 +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
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
98295fee3a Changed ID to NetHandle. Configure() removed from COOPAPI and replaced by its own functions 2021-12-14 22:39: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
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
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
2e2e007814 Server internal 2021-12-03 20:41:44 +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