0.3.8 virtualworld bug? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (
https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (
https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: 0.3.8 virtualworld bug? (
/showthread.php?tid=645254)
0.3.8 virtualworld bug? -
DleyDeR - 23.11.2017
Hi. I using custom objects++RemoveBuildingForPlayer(but i ain't remove any objects in Los Santos) So probably i found a bug.
When I create vehicle for player, and put him to this vehicle + change VW, then player still staying in his before position on minimap, and something weird happend:
https://i.imgur.com/PocsMAq.png
---
CreateVehicle....
SetVehicleVirtualWorld(playerVehicle[playerid], 10+playerid);
SetPlayerVirtualWorld(playerid, 10+playerid);
PutPlayerInVehicle(playerid, playerVehicle[playerid], 0);
---
In VirtualWorld 0 everything works fine!
In 0.3.7 everything works fine with all VirtualWorlds!
Re: 0.3.8 virtualworld bug? -
Kalcor - 23.11.2017
Put useartwork=0 in the server.cfg and see if that makes any difference. It could be caused by the model downloading system.
Re: 0.3.8 virtualworld bug? -
DleyDeR - 23.11.2017
When I turn off artwork(useartwork=0) everything works fine. That does not change the fact, that there is a some problem with VirtualWorld - because in VW 0 it's working.
Re: 0.3.8 virtualworld bug? -
Kalcor - 24.11.2017
I don't know if it's a bug. If you have useartwork enabled, players won't stream anything until after OnPlayerFinishedDownloading is called. So you're trying to put the player in a vehicle that doesn't exist in their world yet.
Re: 0.3.8 virtualworld bug? -
DleyDeR - 24.11.2017
So. How can I ''fix'' this?
Re: 0.3.8 virtualworld bug? -
ikkentim - 24.11.2017
Call PutPlayerInVehicle(playerid, playerVehicle[playerid], 0); in OnPlayerFinishedDownloading