View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008098||Multi Theft Auto : San Andreas||Server||public||2014-03-20 17:10||2014-03-20 18:37|
|Target Version||1.4||Fixed in Version||1.4|
|Summary||0008098: Server debug script spam about getResourceRootElement|
if (getResourceRootElement(res) == sourceResourceRoot) then
Causes this spam when I restart a script (or an element is destroyed):
[17:03:03] Stopping CITutil
Works fine in 1.3.5, spams like crazy on mtasa-1.4-unstable-6234-20140320-net41D6.exe
Looks like getResourceRootElement() behaviour has changed and complains when you try to get the resource root element of an not started resource or maybe it's getResources() that changed or maybe there is nothing wrong with the debug error and actually it's the script that needs to add a getResourceState check from now on?
|Steps To Reproduce|
This is a script I made to detect scripts which are deleting elements from other scripts when a script fails to dereference it's elements:
|Tags||No tags attached.|
Copy & Paste fail in r5434 when I argstreamed the server. getResourceDynamicRootElement has this error message and I just copied it over back then.