PDA

View Full Version : [LameBot] Applet



Nindustries
11-27-2008, 08:33 PM
OK now, I searched for about 100 sites and still didn't found it ..
I have completely no idea on how to copy the Java Applet and implent mouse events .. Could someone help me with this ?

GrTz.

Buckleyindahouse
11-27-2008, 08:49 PM
This is from Cruels.net


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

I guess it works, but I tried converting it to C# and it didn't work for me, but u can try converting it to delphi or w/e ur programming to give it a go. I've been searching for this same thing also.

Nindustries
11-27-2008, 09:11 PM
This is from Cruels.net


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

I guess it works, but I tried converting it to C# and it didn't work for me, but u can try converting it to delphi or w/e ur programming to give it a go. I've been searching for this same thing also.
THe applet is OK, buw how to implent mouse events ?

0wn 4 skill
11-27-2008, 09:23 PM
Hmmmmmmmm, tht doesnt work. I am really interested in finding this too :(

Wizzup?
11-27-2008, 10:06 PM
THe applet is OK, buw how to implent mouse events ?

Just a question... Some call me sarcastic, but... How are you planning to make a bot if you don't know how to load the applet nor how to move the mouse?

Buckleyindahouse
11-27-2008, 10:08 PM
Just a question... Some call me sarcastic, but... How are you planning to make a bot if you don't know how to load the applet nor how to move the mouse?
http://web.ku.edu/~hoopes/bm2002/8318_Burn.jpg

We all start somewhere.

0wn 4 skill
11-27-2008, 10:49 PM
Wizzup?: Makes a valid point... I think you need extensive knowledge of this stuff before you can even think of making one :p

kitchenrange
11-27-2008, 11:55 PM
Most definately but there are at least a few talented scripters that are dedicated to the project if my information is correct. With the combined knowledge of them, they shouldnt have much trouble working out the applet.

Especially with occasional help from the people on these boards.

Timer
11-28-2008, 12:03 AM
Look at the nexus source... :p

MylesMadness
11-28-2008, 01:30 AM
Look at the nexus source... :pFirst, that's java. Second it's closed source...

A G E N T
11-28-2008, 02:25 AM
Similar discussion here:
http://www.srl-forums.com/forum/smart-scar-silent-t41499p2.html

Although this is really somewhat advanced. Out of curiosity, why are you making this bot (other than for fun?) what sort of special functionality will it have?

Timer
11-28-2008, 02:43 AM
First, that's java. Second it's closed source...
:o, its called de-compile the Jars and Classes, then Decrypt the code... :duh:

Method
11-28-2008, 03:02 AM
:o, its called de-compile the Jars and Classes, then Decrypt the code... :duh:

After doing which, you still won't have any more knowledge of how to load the client through Delphi or Visual Basic.

Nindustries
11-28-2008, 06:32 AM
Well at first I was thinking to make a bot like SCAR (without SMART), but then I wanted to join the official bots with the One mouse - One bot things .