
Originally Posted by
Itankbots
Im 99% sure it is updated for Smart8 Already, only need to remove the -1 if you running an older version. Unless they downgraded for OSRS? Idk , but last i checked that problem was only for 7.2 and older
You need to remove the -1 if you're using Smart 8 as well. Try force update your SRL, I believe you will encounter the error again.
In OSR-SRL smartparams, its already excluded, looks like this
Simba Code:
//Removal of Smart 7.2?
//{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), 'http://oldschool' + World + '.runescape.com/', 'j1', 765, 503, '', '', '');
//{$ELSE}
//Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
//{$ENDIF}
In SRL5...
Simba Code:
{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', -1);
{$ENDIF}