Question Can i running api with C#?

Discussion in 'Developer Support' started by czcompl, Nov 17, 2015.

  1. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    i might make an dll with api and use dll run it on c#? is it work?
    i really don't like to write code in java
    --- Double Post Merged, Nov 17, 2015, Original Post Date: Nov 17, 2015 ---
    it will be cool i think,so i can write script bot in other language?
     
  2. Fox

    Fox

    Joined:
    Nov 3, 2013
    Messages:
    41
    Likes Received:
    6
    You don't like to code in java. Even though C# is shit and their both similar.

    To do so you'll need to use jni which only supports c/c++ then you'll have to other shit. The process will be very slow and not worth it.
    You can already write scripts bots in a different language by using languages that run on the
     
  3. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    C# faster write code than Java,you know that's true lol
     
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,429
    Likes Received:
    1,008
    Agree to disagree.
     
  5. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    not really, have you know ikvm? I can make an dll with API then i can use dll in c#
     
  6. Fox

    Fox

    Joined:
    Nov 3, 2013
    Messages:
    41
    Likes Received:
    6
    Yes, but do you realize how many steps you have to do? You clearly don't know.
     
  7. mateogon

    Joined:
    Oct 14, 2015
    Messages:
    26
    Likes Received:
    2
    Can i has maken api then usen no i yesterday.
    Sorry hadden to done it
     
  8. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    every thing normal,but not work lol
    [​IMG] [​IMG]

    EDIT: IT'S ONLY A API TEST
     
  9. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,788
    Likes Received:
    739
    Not sure if troll or srs.
    Firstly, I'm pretty sure it's common knowledge that you can't just import a Java API into another language and have it work fine, although I do see that you're using IKVM, but even then you need the knowledge to use it properly.
    Secondly, the API in your screenshots isn't even RuneMate's.
     
  10. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    Yes it's only a test
    I've tried before in an email client projects (using java jar in .NET)
    --- Double Post Merged, Nov 17, 2015, Original Post Date: Nov 17, 2015 ---
    It can't read data from game client,because the hook is not installed i think
    I used third party game clients by myself coded,not Epicbot or Runemate
     
    #10 czcompl, Nov 17, 2015
    Last edited: Nov 17, 2015
  11. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,788
    Likes Received:
    739
    The hooks are within the API, it does all the hooking and stuff for you
     
  12. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    so API can read data from my client? i don't think so
     
  13. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,788
    Likes Received:
    739
    No, not from your own client. The APIs inject/reflect the JAR to get the info they need.
     
  14. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    Where can i download runemate api? i'll keep try lol
     
  15. Fox

    Fox

    Joined:
    Nov 3, 2013
    Messages:
    41
    Likes Received:
    6
    download -> standalone? Profit? Learn to download? Learn that this won't work? Learn that it will be extremely slow? Learn that even with the library it still goes through three different processes?
     
  16. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,788
    Likes Received:
    739
    I kinda think that the main reason he wants to use C# is because it's the only language he's comfortable with :/
     
  17. Savior

    Savior ArbiKool

    Joined:
    Nov 17, 2014
    Messages:
    1,967
    Likes Received:
    663
    I also doubt that c# code would compile on the svn...
     
  18. Derk

    Joined:
    Jan 8, 2015
    Messages:
    1,606
    Likes Received:
    582
    #cringe
     
  19. czcompl

    Joined:
    Sep 28, 2015
    Messages:
    38
    Likes Received:
    0
    RM's API is encrypt maybe i should write code in java
    this is a good try anyway
     
  20. SlashnHax

    SlashnHax The Chosen One

    Joined:
    Dec 10, 2014
    Messages:
    2,788
    Likes Received:
    739
    RM's API is encrypt? Did you mean obfuscated?
     

Share This Page

Loading...