preister / Celts_Altis_Life

Celts Clan Arma 3 Altis Life RPG Multiplayer mission
6 stars 5 forks source link

I got disconnected by battle eye and now I cant unlock my vehicle :( #61

Closed preister closed 10 years ago

preister commented 10 years ago

which should have gotten despawned?

after despawning it appeared in my garage

Duubz commented 10 years ago

This is an odd one I've noticed before. If you leave game and rejoin sometimes you lose the keys to your vehicle if it's not in your garage. The cars do despawn at some point (I'm not sure what the exact circumstances are that make this happen). If you impound the car it comes up with a message saying vehicle was most likely spawned in by hackers as it has no owner info. I don't want the vehicle despawning stuff changed really, but would be nice if we could figure out why the keys are lost.

preister commented 10 years ago

As far as I understand the code the desired behavior is to just clean up all object and vehicles of a unit as soon as the player of this unit disconnects or is disconnected.

However on the other hand owner of vehicles should be always persistent but I guess that is related to the 2 to 3 different vehicle spawn functions scattered throughout server and client (which I'm already working on cleaning up ;) )

Duubz commented 10 years ago

IMO cars shouldn't despawn. People should have to take their cars back to garage, else risk having them stolen if left around. It also gives cops something extra to do by impounding abandoned vehicles. I guess if the player isn't online it's unable to find the vehicles owner info though?

I know on Asylum server the cars don't despawn at all. Infact even if the server restarts the car is still left in the same place. This is because it remembers the players location as well so if you dc or if the server restarts, you reconnect and are in the same place like a proper MMO game.

preister commented 10 years ago

That sounds like a cool feature but that has to wait until we get to the db rework ^^

preister commented 10 years ago

This is fixed in 3.1.4.8 closing this as a duplicate of #67