It returns this: â™ T Which is a Null and the number ascii 84.
Of course then the RoMScript("000"); returns 000 right after the 815 fails.
Are you sure it's NULL and not TAB? The TAB character (ascii 6) will not display properly in the Macro screen. NULL wouldn't make much sense, either, because that should terminate the string.
Are you sure this is in the hotkeyed macro (this should be the one in the top-left)? Or is this the output macro (the 2nd one, directly to the right of the hotkeyed macro)?
In functions.lua, line 365, see this:
Code: Select all
if( deltaTime(getTime(), startWaitTime) > 500 ) then
break; -- Timed out
end;
Try placing a printf() statement directly before the break. Something simple as "Breaking due to time-out" would be fine. Does this message display when the error occurs?