63 Commits

Author SHA1 Message Date
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
dc4263ab9f Removed "PlayerDisconnectPacket()" from client to server. Small bug fixes and changes 2021-12-08 09:57:19 +01:00
EntenKoeniq
31fa603b1c Serverlist is working now 2021-12-07 08:18:29 +01:00
EntenKoeniq
bec80e6082 Vehicle turret synchronization (experimental and not finished yet) 2021-12-06 00:56:08 +01:00
EntenKoeniq
129a4faea1 Fixed client exceptions 2021-12-03 20:30:00 +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
Makinolo
1c3c9ec1fa Adds connection and disconnection callbacks for all players
Not only for own player
2021-11-19 17:05:57 -07:00
EntenKoeniq
8fc16725ff Use TickCount64 instead of TickCount 2021-11-19 22:08:15 +01:00
EntenKoeniq
ffb3db7d37 "vehicleIsTryingToEnter" added (you have to test this with two people) 2021-11-19 10:44:16 +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
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
1320f35f30 More stuff. Small changes 2021-09-28 16:51:16 +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
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
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
3c05b11292 stuff 2021-08-18 11:47:59 +02:00
EntenKoeniq
51f4b58497 EngineHealth sync added 2021-08-16 16:51:33 +02:00
EntenKoeniq
f10f3686d3 ID (from "string" to "long") 2021-08-16 14:03:05 +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
6566317617 FullSync every 1.5s and small changes 2021-08-15 11:33:52 +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
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
fbacb8dc0a much better... 2021-07-13 17:24:18 +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
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
EntenKoeniq
bc6761d265 Vehicle synchronization for players
Not tested ... I hope it works 😬
2021-07-12 05:00:48 +02:00