Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 23 of 23

Thread: Making an bot client

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Making an bot client

    What java or programming knoweldges do I need to make an botting client ?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    Networking
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    Im talking about the program itself

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    So am I. See the the java.net package.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    Oh , I mean like game bot automation. Not web app bot :p

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    Sorry, I have no idea what you mean by "client".
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    image.jpg

    Here you go. An client is an interface(jframe) where you can run program that do task for you.(like playing the game for you)

  8. #8
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    See the Robot class.
    If you don't understand my answer, don't ignore it, ask a question.

  9. #9
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    I know how the robot class work and its bad because its take youre user mouse +no accuracy at all.
    Bots client generate "fake" mouse clicks by sending mouse events. Thats how its work generally But i want to know more

  10. #10
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    Ask google. Your question is much too general.

    Try asking some specific questions about what you want to do.
    If you don't understand my answer, don't ignore it, ask a question.

  11. #11
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    The problem is idk what to write in google :p

  12. #12
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    Describe in some detail what you want the program to do.
    If you don't understand my answer, don't ignore it, ask a question.

  13. #13
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    Ok ,there a game ok. I want to take the game and put into a jframe(by parsing the game classes). On this frame, I want to generate fake mouse clicks to plaay the game. I want to get some data value from the game to use it while the bot running.

  14. #14
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    Is this what you are trying to do:
    Create a frame and add some components to the frame.
    Send "mouse events" to the components shown in the frame.

    To see how to do this, create a simple program with a frame with some components shown. Add some mouse listeners to those components that print a message when they are called.
    One way to send "mouse events" to the components would be to get a reference to the component, see what listeners it has and call the component's mouse listener(s) with MouseEvent objects that your code has created.
    If you don't understand my answer, don't ignore it, ask a question.

  15. #15
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    Ok but the thing is I need to acess data that are in the game classes so i can know when
    and to what game component I need to send mouse events .

  16. #16
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    need to acess data that are in the game classes
    Get references to the classes and call their methods to get any data that they allow access to. There might be a use for reflection here.
    If you don't understand my answer, don't ignore it, ask a question.

  17. #17
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    Yes i heard that you need to use asm or bcel classes to be able to get data from java program? Is it right?

  18. #18
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    I've never done it and have no idea.
    If you don't understand my answer, don't ignore it, ask a question.

  19. #19
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: Making an bot client

    the *Runescape Botting Clients* are illegal and a breach of Jagex Copyright
    i am advising you not to make one because you can be sued by Jagex... and they do Prosecute for this offence

    Also the Runescape Botting client is written in JavaScript and C++ no Java

    thank you,
    CoderXX0

  20. #20
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    1. Jagex cant do nothing for me because I live somewhere where copyrigths doesnt exist.
    2. Please tell how can you write an application with javascript(web design language) . Clientd are 100 percent coded in java just to tell you (like runescape it self):p

  21. #21
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Making an bot client

    I live somewhere where copyrigths doesnt exist.
    But it does exist here and we don't want to infringe on it.
    If you don't understand my answer, don't ignore it, ask a question.

  22. #22
    Junior Member
    Join Date
    Mar 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Making an bot client

    You wont get infringue lol

  23. #23
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: Making an bot client

    Quote Originally Posted by MalikDz View Post
    2. Please tell how can you write an application with javascript(web design language) . Clientd are 100 percent coded in java just to tell you (like runescape it self):p
    i don't know how they do it but my friend ws coding one n he said you need knowledge of JavaScript and c++ (personally i agree with you how canyou write it in a web design language)

    As For
    1. Jagex cant do nothing for me because I live somewhere where copyrigths doesnt exist.
    A private server is an unauthorized version of RuneScape that is not run by Jagex. Private servers are illegal because they violate copyright; the operators of such servers do not pay Jagex for a license to run a copy of the game. A player cannot be banned in RuneScape for playing a private server because Jagex has no control over what players do outside of their game; however, Jagex strongly recommends against using a private server due to the risk of malware.
    <---- this information can be found here http://runescape.wikia.com/wiki/Rules_of_RuneScape]rules of runescape
    Last edited by coderxx0; April 10th, 2013 at 07:07 PM. Reason: Adding Information

Similar Threads

  1. Bot for online flash game
    By Honatto in forum Java Theory & Questions
    Replies: 0
    Last Post: October 23rd, 2012, 03:55 PM
  2. Almost woring bot!
    By iceman in forum What's Wrong With My Code?
    Replies: 15
    Last Post: September 12th, 2012, 05:18 PM
  3. Replies: 1
    Last Post: May 14th, 2011, 04:57 PM
  4. Trying to make a bot
    By ighor10 in forum Java Theory & Questions
    Replies: 1
    Last Post: June 11th, 2010, 02:07 PM
  5. Pinball bot
    By Johannes in forum Project Collaboration
    Replies: 16
    Last Post: August 13th, 2009, 07:59 AM