[Bug] Server tries to load custom vehicles before downloading them

Started by EK.IceFlake, Jul 05, 2018, 07:20 PM

Previous topic - Next topic

EK.IceFlake

Description
The server tries to load custom vehicles before they're downloaded.

Reproducible
Always

What were you doing when the bug happened
Trying to join a server. I had /showdebug enabled.

What do you think caused the bug
Vehicles were only streamed after spawning before the latest server update, so there wasn't any check to see if a particular vehicle was downloaded before creating it. The devs overlooked this when releasing the new update.

NicusorN5

Does this result in any error or crash? If no, then that issue should not be important.

NicusorN5



Yeah, I can confirm this results in some errors. When the player is downloading files, the objects (like vehicles, pickups ) are still streamed to him. And because of this there will be errors like this:
[VEHICLE] Failed to load model 12002 for vehicle 30. (BAD)

Anyway, the vehicle looks normal when I'm spawned.

EK.IceFlake

Quote from: Athanatos on Jul 06, 2018, 08:49 AMDoes this result in any error or crash? If no, then that issue should not be important.
Doesn't matter. It exists and needs to be dealt with.

Abri

Quote from: EK.IceFlake on Jul 08, 2018, 09:14 PM
Quote from: Athanatos on Jul 06, 2018, 08:49 AMDoes this result in any error or crash? If no, then that issue should not be important.
Doesn't matter. It exists and needs to be dealt with.

Is there any fix these days?

NicusorN5

Yes, I get no error if there's no vehicle near Vector(0,0,0).

Abri

Quote from: Athanatos on Nov 01, 2018, 03:40 PMYes, I get no error if there's no vehicle near Vector(0,0,0).

Any other solution?

I tried to edit the defective cars but unfortunately did not produce any results!
Has anyone encountered this problem yet?



Xenon

Quote from: Abri on Nov 21, 2018, 08:22 AMAny other solution?
Yes, just change player virtual world where is no vehicles near Kaufman Cabs building in your onPlayerJoin function ;).
This bug appears while player downloading files, so you can change player world only for this time.

Abri

Quote from: Xenon on Nov 21, 2018, 12:36 PM
Quote from: Abri on Nov 21, 2018, 08:22 AMAny other solution?
Yes, just change player virtual world where is no vehicles near Kaufman Cabs building in your onPlayerJoin function ;).
This bug appears while player downloading files, so you can change player world only for this time.

Thank you very much for your help! Really working! :)

NicusorN5

Quote from: Abri on Nov 21, 2018, 08:22 AM
Quote from: Athanatos on Nov 01, 2018, 03:40 PMYes, I get no error if there's no vehicle near Vector(0,0,0).

Any other solution?

I tried to edit the defective cars but unfortunately did not produce any results!
Has anyone encountered this problem yet?



The cars aren't defective. Their models aren't loaded into the client's memory.Also this bug isn't really important tbh.

rww

Quote from: Athanatos on Nov 22, 2018, 04:44 PM
Quote from: Abri on Nov 21, 2018, 08:22 AM
Quote from: Athanatos on Nov 01, 2018, 03:40 PMYes, I get no error if there's no vehicle near Vector(0,0,0).

Any other solution?

I tried to edit the defective cars but unfortunately did not produce any results!
Has anyone encountered this problem yet?



The cars aren't defective. Their models aren't loaded into the client's memory.Also this bug isn't really important tbh.

But it's very annoying, when every player ask you, why chat shows errors (with showdebug 0).

[spoiler]

[/spoiler]

Btw. Xenon way is good for this time ;)
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X