AsYetUntitled / Framework

Altis Life RPG mission framework for Arma 3 originally made by @TAWTonic.
Other
245 stars 308 forks source link

Police and Medic Lights not appearing after disconnect and rejoining #407

Closed Nathan021000 closed 6 years ago

Nathan021000 commented 6 years ago

Expected behaviour

Police and Medic Lights should stay visible to everyone whether they join after or before the lights we're activated

Actual behaviour

If you leave and re-join the server, the lights are not visible anymore, however, you still know they are on as you have to press Shift + L twice to reactivate them so you can see them again

Steps to reproduce the behaviour

  1. Put lights on using Shift + L
  2. Leave the server to the lobby. 3.Re-join and go to the same place where the car was placed. You will see lights are not visible
  3. Get back into car and see that you have to push Shift + L twice to make them visible again

RPT and/or extDB3 logs (if applicable)

No logs entries produced


Mission version: 4.4r3, but other versions have been tested and they get the same outcome

Launcher version: Launcher version: 1.5.14375

Game version: 1.80.143869

Branch: main / beta branch not specified

SalihCanBinboga commented 6 years ago

and If you hold down "Shift + L" you will see your traffic increase. This problem goes on until the server shuts down

Nathan021000 commented 6 years ago

What do you mean? You shouldn't have to hold it down, just press it once to turn on then press it again to turn off. However, turn the lights on then someone joins after, they won't be able to see the lights until he/she turns them off and on again... not sure whether you understood what I meant?

SalihCanBinboga commented 6 years ago

if you hold the "SHIFT + L" key, the server crashes or lag grows %90.

blackfisch commented 6 years ago

try adding a JIP-Tag to the remoteExec-Call of the sirenLights

Also you should not forget to store the JIP into a variable (maybe onto the vehicle?) and delete it from JIP queue when turning the lights back off if no one wil do it i'll get on to that later on this week ^^

Nathan021000 commented 6 years ago

@BlackFisch. Yeah that one sounds a bit complicated for me a step to step would really help ;)

blackfisch commented 6 years ago

Sit back ^^ I'll take my time maybe this afternoon and make a pull request ;)

blackfisch commented 6 years ago

Pull request out now :P I tried to keep it as simple as possible while adding the feature in a neat way :)