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

Simulating system's mouse cursor with a picturebox?

Simulating system's mouse cursor with a picturebox?
I don't have any copies of the source anymore, and as for my involvement, I only made scripts for it. It freezes because everything has changed in the game since then. It's trying to load RS from '09 which obviously doesn't exist anymore.



You're not going to be able to get the bot running. Your best shot for your own bot is to deconstruct ScionBot and find the code for the mouse handler. It'll be in Java.
I've found the code for the mouse splines; Java is remarkably similar to C#.

Since I'm going to be using the NXT client, I'm going to try to translate some of its logic straight into my own source (in the C# project)

I'm having a bit of difficulty seeing how the mouse spline ("bot.java") connects to the C# project. I can't even find a reference to "bot.java" in the CS code. I can see where the languages bridge. Does the "runescape.jar" file refer to this? I've tried reading the "runescape.jar" file, however, I believe it's in hex code and I'm unable to translate it with any online converters: e.g. 0b95 2e9c e3c2 6a17 5a24 - is this hex (this is my question)? :P

Lol, thanks for the help ! :D
 
Simulating system's mouse cursor with a picturebox?
I've found the code for the mouse splines; Java is remarkably similar to C#.

Since I'm going to be using the NXT client, I'm going to try to translate some of its logic straight into my own source (in the C# project)

I'm having a bit of difficulty seeing how the mouse spline ("bot.java") connects to the C# project. I can't even find a reference to "bot.java" in the CS code. I can see where the languages bridge. Does the "runescape.jar" file refer to this? I've tried reading the "runescape.jar" file, however, I believe it's in hex code and I'm unable to translate it with any online converters: e.g. 0b95 2e9c e3c2 6a17 5a24 - is this hex (this is my question)? :p

Lol, thanks for the help ! :D

looks like hex, what are you trying to convert it to?
 
Last edited:
Simulating system's mouse cursor with a picturebox?
looks like hex, what are you trying to convert it to?
Whatever its hiding - I presume Java code - since it was found when analysing a .JAR file.

Thank you.
 
Simulating system's mouse cursor with a picturebox?
How exactly are you reading the jar file? You should extract the jar file contents and then decompile .class files to see the Java source code.
Oh, I was reading it w/ Sublime Text :D

Thanks Fast Coins!!
 
Simulating system's mouse cursor with a picturebox?
You can send me the .jar, I can decompile it for you, if you'd like
No thanks, I've decompiled it :) - I think, anyways, it's coherent code, however the class names are quite random: e.g. ab.class, aZ.class, etc. - and there are about 30 of these...

Do you know where I can get an up-to date runescape.jar (non-official, ofc)?

Thanks :)
 
Simulating system's mouse cursor with a picturebox?
Yeah, it's obfuscated to make your life harder to read the code.

Why would you need a non-official one? If you want to use injection, then this should be made against the original client' code, through directly or some other launcher/ client.

I will PM you one link.
 
Simulating system's mouse cursor with a picturebox?
Your thought process is all wrong. You're not duplicating or replicating the mouse really at all with other bots - they're sending messages and hooking directly into the RS applet. The cursor you see is just a bi-product of the messages being sent and displayed by the client. This is a form of reflection. As such, it has to be done with Java.

ScionBot was an RS bot made in C# a long time ago and they had to make the mouse handler in Java then tie it into C# via JVM interop. The source might be floating around the internet somewhere. Maybe look at that.

C# and Java are very similar. Honestly just learn Java.

My google searches always end up with you. Im finding all your ancient posts
 
Simulating system's mouse cursor with a picturebox?
Bro I've been posting on Sythe since I developed fingers in the womb, been a genius since day 1

"How to send virtual inputs to osrs"

"Blupig had this obscure answer 10 years ago" fuck my life
 
Runescape Gamblingrunescape gambling
Back
Top