ScriptVM: Bump execution time limit
This was changed a long time ago in Jagex's code. Normal listeners timeout after 500kops, but onLoadListeners timeout after 5mops
This commit is contained in:
@@ -151,6 +151,6 @@ public abstract class ScriptVMMixin implements RSClient
|
|||||||
System.arraycopy(args, 0, cargs, 1, args.length);
|
System.arraycopy(args, 0, cargs, 1, args.length);
|
||||||
RSScriptEvent se = createScriptEvent();
|
RSScriptEvent se = createScriptEvent();
|
||||||
se.setArguments(cargs);
|
se.setArguments(cargs);
|
||||||
runScript(se, 200000);
|
runScript(se, 5000000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user