From: bevardis
…
Wth? I mean.. I was right -___- (same problem as RSPS servers, how disappointing)
No Canvas detected.. If that
really is the case, something in Smart will need to be re-written/fixed OR there may be a problem on `your` system. I just tested Smart with JDKu45 and there is no problem. I'm going to update to JDKu51 and see what changed if any.. Otherwise you're going to have to uninstall Java, delete `D:/Program File(x86)/Java` folder and re-install.
EDIT: Updated to JDKu51, no problem here..
C:\Users\Brandon>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Script:
{$DEFINE SMART}
{$i SRL-6/SRL.Simba}
begin
SetupSRL;
end.
I ran the above in one Simba, two tabs. Not sure why your Smart would be detecting no canvas but try deleting your RS cache and everything above.
Either that or for some reason on `your system`, this timeout is actually reached:
try {
for (int i = 0; i < 10 && clientApplet.getComponentCount() < 1; i++) {
Thread.sleep(200);
}
} catch (Exception e) {
e.printStackTrace();
}
if (clientApplet.getComponentCount() < 1) {
Main.debug("No Canvas detected. Either RS has changed or using nonstandard applet.");
//.....
//....
}
which means that it is taking your system more than `2 seconds` to detect if the applet has a canvas.. You can try bugging Ben to increase the timer OR compile yourself a version with an increased timer.. If not, I'll try and compile you one when I get home in roughly 4-5 hours from the time of this post..
Maybe I'll actually download a compiler on this laptop and compile you a version before then.. I'll see. Try bugging Ben first though (give him a link to this post). If he doesn't want to hear you out because maybe your comp is slow? I'll download the compiler and help you out and see if it helps at all.