Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: EK.IceFlake on Jul 05, 2018, 07:20 PM

Title: [Bug] Server tries to load custom vehicles before downloading them
Post by: EK.IceFlake on Jul 05, 2018, 07:20 PM
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.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: NicusorN5 on Jul 06, 2018, 08:49 AM
Does this result in any error or crash? If no, then that issue should not be important.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: NicusorN5 on Jul 08, 2018, 11:23 AM


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.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: 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.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: Abri on Nov 01, 2018, 11:09 AM
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?
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: NicusorN5 on Nov 01, 2018, 03:40 PM
Yes, I get no error if there's no vehicle near Vector(0,0,0).
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: 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?


Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: 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.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: Abri on Nov 21, 2018, 11:25 PM
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! :)
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: NicusorN5 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.
Title: Re: [Bug] Server tries to load custom vehicles before downloading them
Post by: rww on Nov 22, 2018, 05:18 PM
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]
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Foi65.tinypic.com%2F30lifpg.jpg&hash=0190935e7039259783af4b95e7948fb9c6963bd9)
[/spoiler]

Btw. Xenon way is good for this time ;)