Trying to make a bot
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.
Java might not be the best language for something like this.
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!
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.
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.