[Critical Bug]Vehicle data is messed up
#3

Unsure if I'm meant to post if I haven't experienced this kind of problem, strange really when the server I script is heavily dependant on vehicles.

From looking at the interesting video bug, the problem developes when the vehicles respawn. I know you said it isn't a scripting bug, but maybe show your OnVehicleSpawn() code.

Also, how long have you been using Itter_Add()?

Quote:
Originally Posted by [HLF]Southclaw
if one is destroyed for example and someone tries to teleport it
Are you checking the vehicles owner, while destroying?
DestroyVehicle(thisvehicleid);
When the player teleports to PutPlayerInVehicle(playerid, thisvehicleid, 0), is thisvehicleidid removed from the players private vehicle id. If not, the next CreateVehicle() will take thisvehicleid, thus giving the player the wrong vehicle. Even better, as you said no vehicle at all, if no vehicle was newly created, he wouldn't get a vehicle.

Sorry for trying to answer your bug with scripting solutions, but 9/10 it is a scripting issue.
Reply


Messages In This Thread
[Critical Bug]Vehicle data is messed up - by leong124 - 09.07.2011, 13:29
AW: [Critical Bug]Vehicle data is messed up - by Littl3j0hNy - 07.03.2012, 12:03
Re: [Critical Bug]Vehicle data is messed up - by Rac3r - 08.03.2012, 07:48
Re: [Critical Bug]Vehicle data is messed up - by Donya - 08.03.2012, 09:53
Re: [Critical Bug]Vehicle data is messed up - by Calgon - 08.03.2012, 09:59
Re: [Critical Bug]Vehicle data is messed up - by leong124 - 08.03.2012, 10:00
Re: [Critical Bug]Vehicle data is messed up - by Rac3r - 08.03.2012, 11:29
Re: [Critical Bug]Vehicle data is messed up - by dugi - 08.03.2012, 12:14
AW: [Critical Bug]Vehicle data is messed up - by Littl3j0hNy - 12.03.2012, 02:29
Re: [Critical Bug]Vehicle data is messed up - by leong124 - 12.03.2012, 04:23
Re: [Critical Bug]Vehicle data is messed up - by Rac3r - 13.03.2012, 08:32
Re: [Critical Bug]Vehicle data is messed up - by leong124 - 13.03.2012, 09:14
Re: [Critical Bug]Vehicle data is messed up - by Unknownich - 13.03.2012, 10:15
Re: [Critical Bug]Vehicle data is messed up - by Jay_ - 13.03.2012, 17:02
Re: [Critical Bug]Vehicle data is messed up - by leong124 - 13.03.2012, 17:11
Re: [Critical Bug]Vehicle data is messed up - by Kalcor - 16.03.2012, 09:25
Re: [Critical Bug]Vehicle data is messed up - by leong124 - 16.03.2012, 09:50
Re: [Critical Bug]Vehicle data is messed up - by Kalcor - 16.03.2012, 10:04
Re: [Critical Bug]Vehicle data is messed up - by Unknownich - 16.03.2012, 10:05
Re: [Critical Bug]Vehicle data is messed up - by Donya - 16.03.2012, 10:53

Forum Jump:


Users browsing this thread: 2 Guest(s)