[.NET] RS2 Client Project

Discussion in 'Programming General' started by Terrankiller, Sep 16, 2012.

[.NET] RS2 Client Project
  1. Unread #1 - Sep 16, 2012 at 4:38 PM
  2. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    [.NET] RS2 Client Project

    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.

    [​IMG]
     
  3. Unread #2 - Sep 17, 2012 at 12:17 AM
  4. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    [.NET] RS2 Client Project

    In what way are you loading the applet?
     
  5. Unread #3 - Sep 17, 2012 at 4:41 AM
  6. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    [.NET] RS2 Client Project

    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.
     
  7. Unread #4 - Sep 17, 2012 at 6:16 AM
  8. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    [.NET] RS2 Client Project

    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.
     
  9. Unread #5 - Sep 19, 2012 at 3:54 AM
  10. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    [.NET] RS2 Client Project

    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.
     
  11. Unread #6 - Sep 20, 2012 at 2:46 PM
  12. RuneScapeJJ
    Joined:
    Aug 14, 2011
    Posts:
    1,522
    Referrals:
    1
    Sythe Gold:
    0
    Potamus

    RuneScapeJJ Guru
    $25 USD Donor New

    [.NET] RS2 Client Project

    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.
     
  13. Unread #7 - Sep 21, 2012 at 1:40 PM
  14. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    [.NET] RS2 Client Project

    .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!
     
  15. Unread #8 - Sep 22, 2012 at 5:31 AM
  16. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    [.NET] RS2 Client Project

    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.
     
  17. Unread #9 - Sep 22, 2012 at 5:45 AM
  18. RuneScapeJJ
    Joined:
    Aug 14, 2011
    Posts:
    1,522
    Referrals:
    1
    Sythe Gold:
    0
    Potamus

    RuneScapeJJ Guru
    $25 USD Donor New

    [.NET] RS2 Client Project

    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
     
  19. Unread #10 - Sep 22, 2012 at 5:16 PM
  20. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    [.NET] RS2 Client Project

    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.
     
  21. Unread #11 - Sep 23, 2012 at 7:40 AM
  22. RuneScapeJJ
    Joined:
    Aug 14, 2011
    Posts:
    1,522
    Referrals:
    1
    Sythe Gold:
    0
    Potamus

    RuneScapeJJ Guru
    $25 USD Donor New

    [.NET] RS2 Client Project

    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
     
  23. Unread #12 - Sep 27, 2012 at 2:06 AM
  24. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    [.NET] RS2 Client Project

    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.
     
  25. Unread #13 - Oct 4, 2012 at 5:40 PM
  26. RuneScapeJJ
    Joined:
    Aug 14, 2011
    Posts:
    1,522
    Referrals:
    1
    Sythe Gold:
    0
    Potamus

    RuneScapeJJ Guru
    $25 USD Donor New

    [.NET] RS2 Client Project

    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.
     
  27. Unread #14 - Oct 18, 2012 at 8:00 AM
  28. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    [.NET] RS2 Client Project

    I've decided to cancel this project as there is not a lot of interest.
     
< Simple HotKey Key Pusher | The remote server returned an error: (403) Forbidden. HttpWebRequest Response Error? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site