319 Commits

Author SHA1 Message Date
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
EntenKoeniq
7b8af52ae1 Steering Angle sync 2021-07-10 22:01:36 +02:00
EntenKoeniq
00a372c280 Time to change your seat 2021-07-10 11:16:54 +02:00
EntenKoeniq
8e8eddf1f3 Vehicle sync update 2021-07-10 10:52:43 +02:00
EntenKoeniq
2be5375a47 Vehicle synchronization started (only NPC and Debug)
Not finished yet!
2021-07-10 09:41:17 +02:00
EntenKoeniq
7edb21087c Many weapons now fire bullets correctly 2021-07-09 03:28:58 +02:00
EntenKoeniq
df56039237 Small changes. Small bug fixes 2021-07-09 00:20:09 +02:00
EntenKoeniq
64e6f35363 missing data added 2021-07-08 21:57:21 +02:00
EntenKoeniq
8fb530df2d CoopSerializer class added 2021-07-07 18:05:08 +02:00
EntenKoeniq
8cc3ea1e3a 🙄
Much better...
2021-07-07 15:37:54 +02:00
EntenKoeniq
c332b89bf7 Initial commit 2021-07-07 13:36:25 +02:00