View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006059||Multi Theft Auto : San Andreas||Client||public||2011-04-27 11:44||2011-06-10 22:47|
|Target Version||1.1||Fixed in Version||1.1|
|Summary||0006059: Exported functions break if the owner resource is restarted|
This happens client side only.
Discovered after #6039 was fixed because I could read the debug message now.
Basically if you have a resource which has an export, and that export is called from other resources if you restart the resource with the export those resources that call it will no longer work.
So if you had a resource which drew text for various different scripts and restarted it, you would need to restart every resource that calls it for their calls to it to work again.
|Steps To Reproduce|
I have created two test resources which can reproduce this bug easily.
Start ResA and ResB. In the clients debug output notice a debug info message.
Bad 'resource' pointer @ 'call'(1) [string "?"]
Restart ResA and the resource pointer will be updated to the new one and it will work again.
|Tags||No tags attached.|