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

[.NET] RS2 Client Project

Terrankiller

Ex-Administrator

Retired Administrator
Visual Basic Programmers
Joined
May 7, 2005
Sythe Gold
1
Messages
1,286
Location
California
I have started to program an RS2 Client in .NET as I have become bored recently. Seeing as how there are a bunch of questions and terrible .NET tutorials/sources posted here, I will host a project with the soul purpose of making the worst RS2 Client ever assembled. But possibly make a good client in the hopes to share and gain knowledge with other people.

If anyone is interested, feel free to reply or send me a private message. Or message me on MSN if you know it.

2rxjwnp.png
 
In what way are you loading the applet?
 
Super 1337 web browser method. We aren't really making a RSBOT or anything like that. Just a user client with whatever people want to program.
 
Super 1337 web browser method. We aren't really making a RSBOT or anything like that. Just a user client with whatever people want to program.

Lol, I understand that etc. You should ask Blupig how he does it as I think he makes some native calls however it doesn't really matter.
 
Not a lot of people seem to be interested. The project is open source. Still thinking about how to go about sharing and building the program.
 
Potamus
Looks promising, unfortunately I have no .net experience yet. Going to look into it in the future. Are there any advantages that .net has above java for making a client? The framework is better?

EDIT: Any chance .net is similar to Pascal when coding and to Java when naming the methods? Looks pretty similar to me as I just skimmed through some code here.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Looks promising, unfortunately I have no .net experience yet. Going to look into it in the future. Are there any advantages that .net has above java for making a client? The framework is better?

EDIT: Any chance .net is similar to Pascal when coding and to Java when naming the methods? Looks pretty similar to me as I just skimmed through some code here.

.NET is way easier to grasp and removes a lot of the complications of Java, not to mention you have access to all of the Win32 API libraries and basically any DLL you want as opposed to being forced to use things coded in Java when you use Java. Anything from COM and ActiveX components created in VB6 and C++ to things made in C# can be used in .NET. I believe that for a few things .NET actually has faster benchmarks, though generally Java and .NET are pretty evenly matched in terms of speed.

And yes, VB.NET and Pascal have pretty similar syntax. I've known people to go from VB to Pascal or from Pascal to VB with an almost seamless transition. Oddly enough, even a lot of the core function calls are the same.

There are a few differences to Java when naming methods, though it's just a matter of replacing one keyword for another. For instance, void becomes "Sub", static becomes "Shared", and the return types of functions are defined after the arguments list. An example of the differences:

In Java/C#:
Code:
public static int ReturnNumber(int Number)
{
	return Number;
}

In VB.NET:
Code:
Public Shared Function ReturnNumber(ByVal Number As Integer) As Integer
	Return Number
End Function

VB is yes, very verbose, but it's also very intuitive. It's fairly easy to figure out problems without having to go through API listings.

Hope that answers your question!
 
To add to Blupig, a lot of classes you use in Java have similar names and methods in C#. C# is Microsoft's attempt at Java.
 
Potamus
Thanks both of you for the great responses, they did indeed answer my questions :) I haven't really looked into DLL's much but it's definately interesting that you can use such a wide variety of them.

To add to Blupig's examples, in Pascal it would be:
Code:
function ReturnNumber(Number: Integer): Integer;
begin
  Result := Number;
end;

If I can find some time I'll definately look into .NET
There is still so much to learn, which is great :P
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Thanks both of you for the great responses, they did indeed answer my questions :) I haven't really looked into DLL's much but it's definately interesting that you can use such a wide variety of them.

To add to Blupig's examples, in Pascal it would be:
Code:
function ReturnNumber(Number: Integer): Integer;
begin
  Result := Number;
end;

If I can find some time I'll definately look into .NET
There is still so much to learn, which is great :P

The New Boston is a great place to learn, I learned a lot of my C++ off of this guy. http://thenewboston.org/ is the link, he's got VB.NET videos as well as C# if you're more interested in that.
 
Potamus
The New Boston is a great place to learn, I learned a lot of my C++ off of this guy. http://thenewboston.org/ is the link, he's got VB.NET videos as well as C# if you're more interested in that.
I see, I've watched java beginner tutorial 1-30 from him, after that I started to make scripts for TRiBot. Learned by making those scripts and I've gotten pretty decent at java programming now. I'm not sure what language I'll look into next, I think I'm going to stick with Java for a while as my whole first year of unversity is based around Java :P
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
I see, I've watched java beginner tutorial 1-30 from him, after that I started to make scripts for TRiBot. Learned by making those scripts and I've gotten pretty decent at java programming now. I'm not sure what language I'll look into next, I think I'm going to stick with Java for a while as my whole first year of unversity is based around Java :P

Java's a good solid language, one of the things I don't like about it though is that it's too dependent on itself. The only 3rd party sources and classes you can use have to have been made in Java. It's pretty limiting if you ever want to manipulate some core elements of Windows or really any other OS, you'd have to essentially recreate a lot of the kernal APIs.
 
Potamus
Java's a good solid language, one of the things I don't like about it though is that it's too dependent on itself. The only 3rd party sources and classes you can use have to have been made in Java. It's pretty limiting if you ever want to manipulate some core elements of Windows or really any other OS, you'd have to essentially recreate a lot of the kernal APIs.
I haven't really looked into that kind of stuff or needed to use it - so far Java has been great for what I have been doing. I started with .NET today and followed some tutorials on variables and just programming standards. Works pretty well so far. Might attempt to make a RS2 Client myself, I've looked into it and seems doable. Especially when just loading a browser it will be very easy but that's kind of like cheating. But still nice for now. Once I can make an algorithm to get the client loading page I can also pre-set the size of the window and make a screenshot and perform color detection or something. Might attempt to make some sort of small bot client.

For now I've just started haha. I also looked into SkionBot, seems interesting. Had a look through their source code but I'm not sure what all those other files means other than code. Probably some generated stuff.

I guess .NET would only work on Windows? DirectX does also only work on Windows. A .NET client together with DirectX hooking would be quite unique and might even be succesful. I saw you mentioned it on Villavu. Or did I mention DirectX & .NET there, not sure.

Oh yeah, I see you did.
http://villavu.com/forum/showthread.php?p=1107814#post1107814

I don't think I can currently do the maths for OpenGL/DirectX intercepting nor the coding part. Post got longer than I wanted lol. Not so much interest for this Client it seems.
 
Runescape Gamblingrunescape gambling
Back
Top