• Log in or sign up for an account here: https://www.sythe.org/login

New StealRS, Will never break :)

Stuart

Guru

Banned
Joined
May 5, 2005
Sythe Gold
10
Messages
1,580
Age
37
Location
Swindon, UK
I made this for cruels.net but thought I would share here aswell.

It dynamically edits the pages sourcecode so that it just leaves the applet on the webpage and nothing else :)

Code:
Private Sub Command1_Click()
WebBrowser1.Navigate "http://sl1.runescape.com/l1,p0,j1"
End Sub

Private Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
If (URL = "http://www.runescape.com/") Then Cancel = True
End Sub

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
WebBrowser1.Document.body.innerHTML = WebBrowser1.Document.All.Item("app").outerHTML
WebBrowser1.Width = Val(WebBrowser1.Document.All.Item("app").getAttribute("width")) + 4
WebBrowser1.Height = Val(WebBrowser1.Document.All.Item("app").getAttribute("height")) + 4
End Sub
 
You need to set your form to pixels and not twips in the forms scale mode.
Oh boy, you should have known that Covey. D:
 
Member of the Month Winner
Sythe's 10th Anniversary
Someone mind telling me what the entire point of twips are? They seem like a useless medium of measurement to me.
 
You don't always multiply twips by 15 to get the correct pixels. For example my screen has 12 twips per pixel. Just use the built in methods of the screen property to get the correct number. Screen.TwipsPerPixelX Screen.TwipsPerPixelY
 
Broken..

Error_loader_crash - The program has crashed whilst loading.
RuneScape has encountered a problem and cannot continue loading.
You may able to resolve this by upgrading to a newer version of java by going to www.java.com and downloading and installing the latest version from there.

If problems persist then please refer to our technical FAQ which can be found in the FAQ section of our website.
 
I guess. But i have no problems loading it in IE7.
 
i have newest version.
 
Runescape Gamblingrunescape gambling
Back
Top