View Issue Details

IDProjectCategoryView StatusLast Update
0008771Multi Theft Auto : San AndreasSynchronizationpublic2015-02-26 05:08
ReporterarisuAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.5Fixed in Version1.5 
Summary0008771: getElementSyncer issue
Description

getElementSyncer returns invalid values when warping player to vehicle far far away (probably not streamed in vehicle).

In case player enters vehicle from onfoot, or warped into nearby vehicle, getElementSyncer(vehicle) gives element:vehicle. But when the vehicle is not streamed in, getElementSyncer(vehicle) gives false.

Steps To Reproduce

Give yourself a vehicle with admin, then

run getElementSyncer(getPedOccupiedVehicle(getPlayerFromName("yourname")))
< Command results: false [boolean]

Get out of it, then enter again, then

run getElementSyncer(getPedOccupiedVehicle(getPlayerFromName("yourname")))
< Command results: userdata: XXXXXXXX [element:player]

Store it in a variable

run veh = getPedOccupiedVehicle(getPlayerFromName("yourname"))
then get out and go far away, then
run warpPedIntoVehicle(getPlayerFromName("yourname"), veh)
run getElementSyncer(getPedOccupiedVehicle(getPlayerFromName("yourname")))
< Command results: false [boolean]

Additional Information

log from #mta.dev
http://pastebin.com/JqvzvmWk

TagsNo tags attached.

Activities

Cazomino05

2015-02-25 23:53

reporter   ~~0023049

Last edited: 2015-02-25 23:54

View 2 revisions

I don't know if I have spare time to look at this but it will be a fairly serious issue if true.

I'm guessing someone modified the server processing of incoming vehicle entry packets recently.

if anyone wants to look at this consider it free from my pov

lopezloo

2015-02-26 03:30

developer   ~~0023051

Fixed in https://code.google.com/p/mtasa-blue/source/detail?r=7090

Issue History

Date Modified Username Field Change