View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001947||Multi Theft Auto : San Andreas||Scripting||public||2007-04-10 23:56||2007-04-14 12:15|
|Target Version||Fixed in Version|
|Summary||0001947: server crash / protocol 150|
this script is meant to spawn a marker and a bliponly visable to a player who walks into a certain marker.
the blip and secondary marker shows to everyone however. also, when the script is stopped, the person who walked into the first marker gets booted off the server and given a protocol 150 message. on top of that, on occasion it will totally crash the server. all the output chatbox stuff does show up before the crash occurs however.
we beleive its related to the setElementVisibleTo lines.
HERE IS THE LUA CODE:
truckertriggermarker = createMarker ( -77.69, -1136.22, 1.07, "cylinder", 1.5, 255, 255, 0, 170 )
addEventHandler ( "onMarkerHit", getRootElement(), "truckertriggermarkerhit" )
|Tags||No tags attached.|
150 occurs when you're attempting to remove an element that isn't valid.
When you're stopping a resource it removes all the elements associated with that resource, so it's predicted behaviour.
Apparently the marker doesn't get deleted from the game or something.
Think this was due to mismatching packet-data, should be fixed, but reopen if it happens again.