greenpk
2013-03-04 14:45:59
Hello community!
I really need someone to help me.
The problem I am facing is that I use the "New client" feature to make it possible to run scripts through a web browser for oldschool runescape. It worked a couple of days ago, but whenever I do it now it say the "New window:". Then I try run the script & a new java client opens with runescape. I didn't want the client to open I wanted the script to be runned in oldschool on webbrowser like it was suppose to do. Can someone give me a guide or fast walkthrough on how to fix this?
It is really appriciated!
The Killer
2013-03-04 14:50:02
Remove {define smart} at the top of the script :)
Remove {$define SMART} or {$define SMART8} on top of the script
and remove SetupSRL; from the mainloop at the end of the script.
greenpk
2013-03-04 15:05:36
thanks for the replies, but none helps. I updated to SMART8, but what I don't understand is why the scripts contain {$define SMART8} if they are made for oldschool. I remove it and SetupSRL; on bottom of the script. Then I end up with error SmartSetDebug(True);
" [Error] C:\Simba\Includes\SRL/SRL/Misc/SmartGraphics.simba(25:3): Unknown identifier 'SmartSetDebug' at line 24 "
When I run it without removing the {$define SMART8} I get 0 errors and it opens in new java window (SMART)!
Hope someone can tell me how to make it work or how to fix it!
The Killer
2013-03-04 16:49:35
" [Error] C:\Simba\Includes\SRL/SRL/Misc/SmartGraphics.simba(25:3): Unknown identifier 'SmartSetDebug' at line 24 "
Remove {$i Srl/Srl/Misc/SmartGraphics.simba} from the top of the script. And remove any sort of smart painting from the script.
Kevin
2013-03-04 16:50:05
I believe the script is implementing some sort of screen drawing functions, which means it MUST run in Smart, you will not be able to run it outside of the SMART client, so either run it in SMART, or learn how to adjust the original script to remove those calls?
Edit: The discussion of whether this is possible or not has confused me with different people saying different things. Try Killer's recommendation first.
Double Edit: Someone I trust verified my original claim. No painting on RS screen.
From: nivek1989
I believe the script is implementing some sort of screen drawing functions, which means it MUST run in Smart, you will not be able to run it outside of the SMART client, so either run it in SMART, or learn how to adjust the original script to remove those calls?
Edit: The discussion of whether this is possible or not has confused me with different people saying different things. Try Killer's recommendation first.
Double Edit: Someone I trust verified my original claim. No painting on RS screen.
He can remove all the SMART_DebugATPA or SMart_drawbox etc.. stuff in the script.
And yes what The Killer recommended is correct :p
Noob King
2013-03-04 18:33:53
Just curious, but are you trying to use a regular Runescape script for Old School Runescape?