260 Commits

Author SHA1 Message Date
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
EntenKoeniq
ccf850325a Added more turret vehicles and small changes 2021-12-10 17:04:33 +01:00
EntenKoeniq
b6bb2c7fe5 Version for server list added 2021-12-10 16:34:13 +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
Nick-I. A
2ce20ff118
Merge pull request #38 from EntenKoeniq/main
Removed "PlayerDisconnectPacket()" from client to server. Small bug f…
2021-12-08 13:01:27 +01:00
EntenKoeniq
a5ad2ab76f Changed "Npcs" to "NPCs" 2021-12-08 10:04:38 +01:00
EntenKoeniq
dc4263ab9f Removed "PlayerDisconnectPacket()" from client to server. Small bug fixes and changes 2021-12-08 09:57:19 +01:00
Makinolo
9fc92f5293 Adds config option for traffic in COOPAPI
And removes the welcome message in NON INTERACTIVE mode
(Press F9 is not possible in that compilation mode)
2021-12-07 22:14:15 -07: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
bce2a7cbc2 Fixed settings not saved. Started with the server list 2021-12-04 21:34:43 +01:00
EntenKoeniq
129a4faea1 Fixed client exceptions 2021-12-03 20:30:00 +01:00
EntenKoeniq
52f5ab5b3d ScriptHookVDotNet updated. NuGet packages removed 2021-12-03 20:12:15 +01:00
EntenKoeniq
33cda5dcfb XML documentation added (not finished yet) 2021-11-28 23:35:37 +01:00
EntenKoeniq
12a2ddf625 CleanUp() removed 2021-11-28 22:57:39 +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
b3391f3da0 "Players" locked in GetPlayer. SendChatMessage has been changed to LocalChatMessage 2021-11-27 00:39:14 +01:00
EntenKoeniq
a739497328 Bug fix for vehicle color. Interval by FPS 2021-11-27 00:26:12 +01:00
EntenKoeniq
5c7e7f45a0 Error handling, bug fixes, new API functions and more added! 2021-11-25 16:32:04 +01:00
EntenKoeniq
ed46155138 Use the new features of SHVDN (must be created from the source code itself)
9edc0871bd
2021-11-25 10:17:58 +01:00
EntenKoeniq
902acdd798 Bicycle color synchronization. Fixed server crash 2021-11-24 00:12:25 +01:00
Makinolo
1c3c9ec1fa Adds connection and disconnection callbacks for all players
Not only for own player
2021-11-19 17:05:57 -07:00
EntenKoeniq
b5d4fa6297 if (LastSyncWasFull)... 2021-11-19 22:36:46 +01:00
EntenKoeniq
8fc16725ff Use TickCount64 instead of TickCount 2021-11-19 22:08:15 +01:00
EntenKoeniq
b3fdc9f21c Show MB instead of bytes 2021-11-19 12:30:47 +01:00
EntenKoeniq
ffb3db7d37 "vehicleIsTryingToEnter" added (you have to test this with two people) 2021-11-19 10:44:16 +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
6eee37c594 Much better 2021-11-19 09:10:23 +01:00
EntenKoeniq
1cb3bca052 We should ask if this NPC is the driver 2021-11-19 08:50:23 +01:00
EntenKoeniq
0e2becd691 I forgot something 🤦‍♂️ 2021-11-19 08:45:20 +01:00
EntenKoeniq
5c14d2300b New vehicle synchronization added. Some changes 2021-11-19 08:40:40 +01:00
EntenKoeniq
13cd3527e0 Tire bursts and rpm synchronization added (Currently only for DEBUG!) 2021-11-19 06:37:21 +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
85186aef3b Interface (IsOnServer added). Small changes 2021-09-27 22:40:18 +02:00
EntenKoeniq
6479d92460 Interface.cs (ChatMessageReceived and SendChatMessage added). Small changes 2021-09-27 20:28:27 +02:00
EntenKoeniq
09b7860807 Interface.cs cleaned up 2021-09-27 19:10:51 +02:00
Makinolo
7b467aec18 Creates interface to communicate with other mods and menus optional
The interface static class will be used from 3rd party mods to
initiate, close and configure the connection. The project can be
compiled with the NON_INTERACTIVE copiler flag to remove the menus
and leave only the interface as a controller.
This is an initial implementation, future additions will support
more operations.
2021-09-26 21:31:40 -06:00
EntenKoeniq
921645287b Small changes 2021-09-26 22:27:49 +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
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
ce60aad78b 0.5.1 2021-08-18 18:20:55 +02:00
EntenKoeniq
ad1b9d9e03 bugfix 2021-08-18 16:21:07 +02:00
EntenKoeniq
3c05b11292 stuff 2021-08-18 11:47:59 +02:00
EntenKoeniq
56e42a757f ok... 2021-08-17 18:41:09 +02:00
EntenKoeniq
13f1e4afc4 NOT YET TESTED! 2021-08-17 15:04:50 +02:00
EntenKoeniq
51f4b58497 EngineHealth sync added 2021-08-16 16:51:33 +02:00
EntenKoeniq
45815ba6d9 Now it should work 2021-08-16 16:38:52 +02:00
EntenKoeniq
f10f3686d3 ID (from "string" to "long") 2021-08-16 14:03:05 +02:00
EntenKoeniq
de085e53e2 Passenger bug fixed (not tested!) 2021-08-16 13:24:32 +02:00
EntenKoeniq
c15e671e82 Update PlayerList.cs 2021-08-16 12:43:52 +02:00
EntenKoeniq
0d2896d342 Latency update. FullSync every 500ms (previously 10 per second) 2021-08-16 12:31:49 +02:00
EntenKoeniq
fb1f5685af NOT FINISHED YET! 2021-08-15 18:01:00 +02:00
EntenKoeniq
f5ff5c2727 🤔 2021-08-15 13:58:56 +02:00
EntenKoeniq
ec96878340 0.4.0 => 0.5.0 2021-08-15 13:17:57 +02:00
EntenKoeniq
1e52d75607 Vehicle sync update 2021-08-15 12:27:24 +02:00
EntenKoeniq
6566317617 FullSync every 1.5s and small changes 2021-08-15 11:33:52 +02:00
EntenKoeniq
fc9a581ff6 ServerScript added (not finished yet) 2021-08-14 21:49:23 +02:00
EntenKoeniq
ffe808d1ba Vehicle dead and door synchronization added 2021-08-14 11:14:34 +02:00
EntenKoeniq
5faac16404 Vehicle color added 2021-08-13 15:52:30 +02:00
EntenKoeniq
bfb697d419 Some changes 2021-08-13 15:20:26 +02:00
oldnapalm
3ec9f1ab99
bugfix
Fix my mistake in 26f0d2e53c
2021-08-06 13:40:05 -03:00
EntenKoeniq
cd4eaab872 ok 2021-08-06 12:36:50 +02:00
EntenKoeniq
b3edbd9ed5 Small changes. New folder for menus added 2021-08-06 12:31:25 +02:00
oldnapalm
5c1daef996 Remove remote players on abort
Hide menu on connect/disconnect
2021-08-05 20:30:27 -03:00
EntenKoeniq
aed66339ac V0.4.0 2021-08-04 18:54:56 +02:00
Nick-I. A
cb26dfdad7
Merge branch 'GTACOOP-R:main' into main 2021-08-03 02:31:22 +02:00
EntenKoeniq
c102d6964e I'm not sure this will work because it's been too long 2021-08-02 22:03:07 +02:00
oldnapalm
26f0d2e53c Fix leave vehicle 2021-07-23 09:39:21 -03:00
EntenKoeniq
4b1fddd64a Weapon/radio slowdown 2021-07-14 08:09:26 +02:00
EntenKoeniq
fbacb8dc0a much better... 2021-07-13 17:24:18 +02:00
EntenKoeniq
9dd435dd3a Oops... 2021-07-13 16:32:45 +02:00
EntenKoeniq
c371484932 ok... 2021-07-13 16:30:33 +02:00
EntenKoeniq
a0fead635f New vehicle synchronization 2021-07-13 12:00:37 +02:00
EntenKoeniq
6228aa8f67 Better 2021-07-13 08:45:37 +02:00
EntenKoeniq
2d460b6387 Other players can now steal the vehicle 2021-07-13 08:37:40 +02:00
EntenKoeniq
6aaeb61d20 Enter vehicle as passenger added 2021-07-13 08:30:10 +02:00
EntenKoeniq
f2f80c636a I hope this fixed the problem. (Not tested 😅)
```[02:04:37] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto.
   em CoopClient.EntitiesPed.CreateCharacter(String username)
   em CoopClient.EntitiesPed.DisplayLocally(String username)
   em CoopClient.Entities.EntitiesThread.OnTick(Object sender, EventArgs e)
   em SHVDN.Script.MainLoop()
[02:04:37] [ERROR] The exception was thrown while executing the script CoopClient.Entities.EntitiesThread.
[02:04:37] [WARNING] Aborted script CoopClient.Entities.EntitiesThread.```
2021-07-13 07:56:32 +02:00
oldnapalm
7e88599155 Bug fix
Chat will lose focus if hide/showFeed is called regardless of current state
2021-07-13 00:56:50 -03:00
EntenKoeniq
8302e0b96e LICENSE updated 2021-07-13 05:12:40 +02:00
Nick-I. A
7d09962b40
Merge pull request #3 from oldnapalm/main
Hide chat
2021-07-13 04:48:21 +02:00
EntenKoeniq
84237d11b8 Small bug fix 2021-07-13 04:47:00 +02:00
oldnapalm
3e559dfafd Use Environment.TickCount 2021-07-12 21:53:27 -03:00
EntenKoeniq
7b3993f4aa Oops 🤦‍♂️ 2021-07-13 02:52:40 +02:00
EntenKoeniq
62b2ad5bf2 better 2021-07-13 02:12:09 +02:00
oldnapalm
57eb2954d9 Hide chat 2021-07-12 20:28:26 -03:00
EntenKoeniq
780051af4d Oops! my mistake 2021-07-13 00:03:19 +02:00
EntenKoeniq
94c7cdda95 Add pedaling animation 2021-07-12 23:50:24 +02:00
EntenKoeniq
ad5f436f46 V0.2.1 2021-07-12 09:35:36 +02:00
EntenKoeniq
47f7635145 Small changes 2021-07-12 09:24:31 +02:00
EntenKoeniq
b86d593ebb Small changes 2021-07-12 07:06:52 +02:00
EntenKoeniq
104154a9f3 V0.2.0 2021-07-12 05:11:24 +02:00
EntenKoeniq
bc6761d265 Vehicle synchronization for players
Not tested ... I hope it works 😬
2021-07-12 05:00:48 +02:00
EntenKoeniq
2d8f9b2a80 Started with player vehicle synchronization 2021-07-12 04:33:23 +02:00
EntenKoeniq
49cc21b2cb Fixed vehicle sync 2021-07-11 22:56:48 +02:00
EntenKoeniq
c0f7b979fb I hope it works 😅 2021-07-11 05:32:57 +02:00
EntenKoeniq
08af1a4ca3 Not tested, but should work 🤷‍♂️😂 2021-07-11 04:45:56 +02:00
EntenKoeniq
b4a03d99d2 🤔 2021-07-11 04:04:00 +02:00
EntenKoeniq
6b1a7ae09c Vehicle sync update 2021-07-11 03:05:07 +02:00
EntenKoeniq
04629272c5 Vehicle sync update 2021-07-11 00:51:46 +02:00
EntenKoeniq
b9e2787d0f We don't need that anymore 2021-07-10 23:54:35 +02:00
EntenKoeniq
7e628ce71f More vehicle sync 2021-07-10 23:41:28 +02:00