From: moparisthebest
Cool, this commit was the first chance to test my jenkins setup for SMART, and it worked:
https://www.moparisthebest.com/jenkins/job/SMART/
But, scanning the changes, it looks like they may have broken it again, now the jar file name is different every time, and omitting the rest of it no longer works. Also it looks like you still grab plugin.js and they don't use those parameters anymore, I re-wrote my getRS.sh archiving script yesterday, and had to re-write some things in it today due to the additional updates, this is how I locate the jar now (look at the very bottom, just a few regular expressions):
https://www.moparisthebest.com/rs/getRS.sh
So I'm thinking this needs updated again.
SMART always loads the client from the applet declaration on the page specified, it's SRL/the user's responsibility to ensure that the proper page is passed to SMART. That being said, I just pushed an update to git that has no functional changes, but debugs the path to the client being loaded. (It also updates the path to the test file provided by TRiLeZ below:
From: TRiLeZ
http://world157.runescape.com/,f5 is where the client parameters / location to the client jar is found.
Thanks for that, someone actively deving SRL needs to update this so that SMART knows what to load. As I said, I just pushed it to my test files in the git repos.
From: Flight
Ben you stated in the OP that there were sometimes issues drawing the cursor, do you have any more info on that? I've been having some trouble with SMART not displaying it at all, and I was wondering if maybe it was caused by the user. If you have any suggestions at all that'd be wonderful, because at the moment, this make it a bit difficult to test scripts and such, I'm sure you could imagine.
For what it's worth, the graphic settings are all on lowest, FPS is about 1/4-1/3 max.
I wonder is anyone else having this problem?
I suspect that this is related to Jagex using hardware/non-java rendering (interestingly, it seem I'm still capturing it? Not quite sure what to make of this). On my machine (Ubu10.10; sun-java6-jre) the cursor flickers very rapidly as if it's being erased or the page is flipping at odd times. before the cursor is done being drawn. Unfortunately, I haven't really had time to test. HOWEVER if someone wants to play with it, I'll tell you where the problems are likely to be:
1) Most likely: In the Smart_Image_Transfer thread defined in the smart.Client.createBlitThread() method.Line 369: canvasGraphics.drawImage(buffer, 0, 0, null); It could be that due to graphic changes, this is taking an unusual amount of time and is happening after the cursor is drawn (java graphics threads oddly, drawImage returns immediately and the null there can be some object to wait for the draw to be completed) Usually this isn't a problem, but now it could be if the RS drawing has changed significantly.
2) Possible: The java.awt.Canvas class that I've defined is outdated now — rs could be using javax.swing.JCanvas for instance. This could cause unspecified results like this.
In any case, it's doubtful that they could detect this so it's not a high priority, however it is very annoying I understand. I'll look into it when I get a chance, provided someone doesn't beat me to it.