Results 1 to 5 of 5
  1. #1
    ighor10 is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Default Trying to make a bot

    hi guys,

    i want to try to do a bot for a game, but i dont know how to start this.

    the game client, make a communication with the server, what i need to do, is send and receive packets of this commnication.

    i did a socket server, and now, the game client connect in localhost on my program, and then, i did a client socket, to connect to the game server.

    the problem here is,

    i dont know, what type of data i need to receive and how from client.

    i did a String receiver, and i received a string, encoded, and a sent it to the server, but the server didnt awser to me.

    i trying to convert the string to hex, but i dont know if its right, if its what i need to do..

    somebody know, what king of data to receive for a game server and how to do it?


    by the way, the game i am talking about is "Tibia".

    thx a lot.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

  3. #3
    ighor10 is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Default

    many people spoke it to me.

    can u explain to me why?

    i dont understand..

    i think java is a powerful language,

    i know that each language is the best for something, but i dont know why java is not so good to do it!

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    You essentially are desiring to control another program through Java, but to do this well, you would need a language that is close to the OS and the hardware which Java isn't. Don't get me wrong, Java is a wonderful and powerful language, one that can create applications that can be more easily run on other machines than most other languages, but all this comes at a price, and that price is that it strives to be OS-agnostic. This is not what you're looking for. You're likely better using C, C#, AutoIt, or some-such.

    Much luck!

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    I think use of C/C++ is the best choice for this implementation. Use of C# also may cause some difficulties when we really want to deal with memory controlling stuff. Better not to depend on GC.

Similar Threads

  1. make forum with EJB??!!
    By element_sole in forum Enterprise JavaBeans (EJB)
    Replies: 6
    Last Post: 03-06-2010, 05:05 PM
  2. how to make my code better
    By vendetta in forum New To Java
    Replies: 4
    Last Post: 02-10-2010, 09:14 PM
  3. Make it just A, Help me please
    By yuuchan in forum New To Java
    Replies: 3
    Last Post: 04-25-2009, 02:09 PM
  4. Make Change
    By Black.Ice. in forum New To Java
    Replies: 4
    Last Post: 12-18-2008, 07:12 AM
  5. i need help to make this program
    By masaka in forum New To Java
    Replies: 2
    Last Post: 03-23-2008, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •