Commit graph

128 commits

Author SHA1 Message Date
in0finite
2fec510ce3 display inflicted damage as on-screen message 2020-05-31 19:09:58 +02:00
in0finite
ecc17aef6d add button pressed event which uses button name 2020-05-31 19:09:52 +02:00
in0finite
186ba140ed change script execution order for all (?) scripts 2020-05-31 19:09:49 +02:00
in0finite
5fe0a8fe46 destroy player's vehicles when he disconnects 2020-05-31 19:09:46 +02:00
in0finite
0127b0d392 send fire position to server 2020-05-31 19:09:45 +02:00
in0finite
7983812074 send fire direction to server 2020-05-31 19:09:45 +02:00
in0finite
94b7404e4f client checks if vehicle is spawned every frame 2020-05-31 19:09:45 +02:00
in0finite
57bb127345 now sending net id of current vehicle 2020-05-31 19:09:45 +02:00
in0finite
aeab96e4b5 display msgbox when client disconnects 2020-05-31 19:09:44 +02:00
in0finite
2baa846b68 notify when client status changes 2020-05-31 19:09:44 +02:00
in0finite
da999023e9 log when player (dis)connects on client too 2020-05-31 19:09:44 +02:00
in0finite
2aabefe38c log 2020-05-31 19:09:44 +02:00
in0finite
00443679c9 ... 2020-05-31 19:09:44 +02:00
in0finite
5d2363d7fa detect dead connections 2020-05-31 19:09:44 +02:00
in0finite
d022f6bb41 add dates to some logs 2020-05-31 19:09:44 +02:00
in0finite
6e989088c3 player can make request to destroy his vehicles only 2020-05-31 19:09:44 +02:00
in0finite
a645e5e8dc improve vehicle spawning API, and add ability to request specific vehicle 2020-05-31 19:09:44 +02:00
in0finite
85fe74bacc ped stalker's target is assigned 2020-05-31 19:09:44 +02:00
in0finite
47e4c2cead add request to spawn ped stalker 2020-05-31 19:09:44 +02:00
in0finite
204aeb5d42 add ability to spawn ped around any transform 2020-05-31 19:09:44 +02:00
in0finite
90dc1a7b3a add option to remove current weapon 2020-05-31 19:09:44 +02:00
in0finite
abb05b570b rate-limit weapon requests 2020-05-31 19:09:44 +02:00
in0finite
bfa6e330f3 implement weapon related requests 2020-05-31 19:09:44 +02:00
in0finite
4727977207 prevent tick rate override by Mirror 2020-05-31 19:09:44 +02:00
in0finite
e5ef9e03c7 sync weapon fire event 2020-05-31 19:09:44 +02:00
in0finite
4a495cfd71 remove unused code 2020-05-31 19:09:44 +02:00
in0finite
eb13b25a3f send next/previous weapon button events 2020-05-31 19:09:44 +02:00
in0finite
d21a9f5c44 send aim/fire button events 2020-05-31 19:09:44 +02:00
in0finite
953c57ee9b send aim/fire input 2020-05-31 19:09:44 +02:00
in0finite
44c4012645 aim direction is synced 2020-05-31 19:09:43 +02:00
in0finite
ba149d06aa rename class to match file name 2020-05-31 19:09:43 +02:00
in0finite
ffffdf2360 rename script file 2020-05-31 19:09:43 +02:00
in0finite
2fd8f1dd15 fix error 2020-05-31 19:09:43 +02:00
in0finite
056e4bf284 run safe 2020-05-31 19:09:43 +02:00
in0finite
2e9c3ca3e0 working on player requests 2 2020-05-31 19:09:43 +02:00
in0finite
6803d56cbc working on player requests 2020-05-31 19:09:43 +02:00
in0finite
c19f7b9066 cmd line args parsing finished ? 2020-05-31 19:09:43 +02:00
in0finite
49369e63f3 create some scripts 2020-05-31 19:09:43 +02:00
in0finite
5facf5f6e6 max num players is configurable 2020-05-31 19:09:42 +02:00
in0finite
8020e49a69 add max num players to net stats 2020-05-31 19:09:42 +02:00
in0finite
3aff8be074 improvement 2020-05-31 19:09:42 +02:00
in0finite
a135d2a8bd net status will be available in Utilities namespace 2020-05-31 19:09:42 +02:00
in0finite
b54948dd55 Create some files 2020-05-31 19:09:41 +02:00
in0finite
461a3087b8 Remove authority when ped exits vehicle 2020-05-31 19:09:40 +02:00
in0finite
45897ebd9d Working on vehicle authority 2020-05-31 19:09:40 +02:00
in0finite
2d9f998a20 Create functions for sending input 2020-05-31 19:09:39 +02:00
in0finite
78507f0f32 Send submit button event 2020-05-31 19:09:39 +02:00
in0finite
1e83309e53 Remove unused code 2020-05-31 19:09:39 +02:00
in0finite
6ae76e392f Working on vehicle sync 7 2020-05-31 19:09:39 +02:00
in0finite
4cae66d0c2 Sitting state should be done 2020-05-31 19:09:39 +02:00
in0finite
c7ce53f6e1 Almost done with vehicle entering 2020-05-31 19:09:39 +02:00
in0finite
6472f3c73e Working on vehicle sync 3 2020-05-31 19:09:39 +02:00
in0finite
5e8d96aead Working on vehicle sync 2 2020-05-31 19:09:39 +02:00
in0finite
09b1bfae30 Working on vehicle sync 2020-05-31 19:09:39 +02:00
in0finite
669daa23be Send crouch button event 2020-05-31 19:09:39 +02:00
in0finite
d2a5764624 Fix log 2020-05-31 19:09:39 +02:00
in0finite
1204ff9942 Log when player connects 2020-05-31 19:09:38 +02:00
in0finite
50c31a61be Log some info when player disconnects 2020-05-31 19:09:38 +02:00
in0finite
da380e0fa1 Kill player's ped after he disconnects 2020-05-31 19:09:38 +02:00
in0finite
9096954525 Send heading 2020-05-31 19:09:38 +02:00
in0finite
929bb22fb5 Testing client behaviour when input is reset 2020-05-31 19:09:38 +02:00
in0finite
be231b0f7d Working on sending input to server 2 2020-05-31 19:09:38 +02:00
in0finite
abf9db0818 Working on sending input to server 2020-05-31 19:09:38 +02:00
in0finite
b9ff01542a Create some sync scripts 2020-05-31 19:09:38 +02:00
in0finite
b66c73457f Create CustomNetworkManager which prevents client from marking itself as ready until the Loaded finishes 2020-05-31 19:09:38 +02:00
in0finite
18f83af5bf Add log message 2020-05-31 19:09:38 +02:00
in0finite
30cc4e0384 Add onStart event to Player 2020-05-31 19:09:37 +02:00
in0finite
bb8e416457 Change SyncVar to be a GameObject 2020-05-31 19:09:37 +02:00
in0finite
80c0507f0b Fixing Ped.Instance & Ped.IsLocalPlayer 2020-05-31 19:09:37 +02:00
in0finite
ee4afecf3a Trying to use ServerChangeScene() 2020-05-31 19:09:37 +02:00
in0finite
235adeee7b Working on player spawning 2 2020-05-31 19:09:37 +02:00
in0finite
01701be12d Working on player spawning 2020-05-31 19:09:37 +02:00
in0finite
06a2dc4c5f Create Player script 2020-05-31 19:09:37 +02:00
in0finite
272cc63d02 Create SpawnManager script 2020-05-31 19:09:37 +02:00
in0finite
580335b576 Improve StartGameWindow and apply 'dontListen' option 2020-05-31 19:09:37 +02:00
in0finite
21c5cbfaab Create NetStatus class 2020-05-31 19:09:37 +02:00
in0finite
076257b82c Working on NetManager 2 2020-05-31 19:09:37 +02:00
in0finite
0979cabd51 Working on NetManager 2020-05-31 19:09:37 +02:00