View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005145||Multi Theft Auto : San Andreas||Server||public||2009-12-22 12:44||2010-01-09 02:52|
|Platform||PC 32bits||OS||Windows||OS Version||Vista|
|Target Version||1.0.4||Fixed in Version||1.0.4|
|Summary||0005145: createMarker crashes the server if called within a collision event handler|
When attempting to create a marker within an onColShapeLeave event handler, the marker is created (visible by the client) but the server crashes right away with no warning or log message.
I have summarized below the minimum code to reproduce it (server side script).
|Steps To Reproduce|
g_Root = getRootElement()
local g_CurrentVars = nil
The bug doesn't seem to exist on the Linux server.
|Tags||No tags attached.|
I failed to mention (even if it's implied by the version number reported) that it worked fine with previous windows server versions (< 1.0.3)
Nobody cares? It's quite annoying not to be able to use event-based marker creation.
Edit: workaround so far, do all the stuff that should be done in the onHit or onLeave in a function called with a setTimer(...,50).
Bug now confirmed also on 1.0.3 Linux server.
Thanks for the detailed report.