35 Commits

Author SHA1 Message Date
EntenKoeniq
9c3aab008c Added and changed documentation for some functions. Hopefully fixed #54 2022-03-25 15:45:22 +01: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
EntenKoeniq
7cc91ebbbd Split packets 2022-01-01 03:07:18 +01:00
EntenKoeniq
73ac8694be Started with Parachute sync. Small bug fixes and new ServerScript Events 2021-12-27 17:26:16 +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
5cfbaaddd7 Removed PlayerConnectPacket() from client to server and small bug fixed 2021-12-17 23:02:53 +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
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
2a6a9bf004 Bug fixes and small changes 2021-12-11 12:35:17 +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
652733c715 Added API.OnStop(). Added ConsoleCancelEvent 2021-12-08 13:45:00 +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
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
b6b64eba53 More stuff 2021-09-30 23:35:42 +02:00
EntenKoeniq
05f70a6d04 NOT FINISHED YET!
More info later...
2021-09-29 14:34:22 +02:00
EntenKoeniq
6479d92460 Interface.cs (ChatMessageReceived and SendChatMessage added). Small changes 2021-09-27 20:28:27 +02:00
EntenKoeniq
be921ba310 LAST UPDATE 2021-08-26 17:01:32 +02:00
EntenKoeniq
72d8f9b92b Stuff 2021-08-22 13:59:15 +02:00
EntenKoeniq
d9ea3f426a better 2021-08-21 16:52:17 +02:00
EntenKoeniq
9bcf817418 Stuff 2021-08-20 17:28:13 +02:00
EntenKoeniq
8f9eefb9ce ServerScript update 2021-08-18 12:47:36 +02:00
EntenKoeniq
3c05b11292 stuff 2021-08-18 11:47:59 +02:00
EntenKoeniq
f10f3686d3 ID (from "string" to "long") 2021-08-16 14:03:05 +02:00
EntenKoeniq
b9e40f8e36 ServerScript update 2021-08-15 07:54:25 +02:00
EntenKoeniq
fc9a581ff6 ServerScript added (not finished yet) 2021-08-14 21:49:23 +02:00