The Mana World Bot

Talk about anything, including games and servers not affiliated with The Mana World.
Post Reply
User avatar
khuil
Newly Registered User
Posts: 3
Joined: 29 Apr 2011, 17:57

The Mana World Bot

Post by khuil »

Hello. I was wondering if i would be allowed to make a bot that would whisper me in game?(Just for educational purposes). I tried to get to the loginscreen before asking you but i failed. I send the "connect" packet(i believe it was just the string "0u") and then the auth packet with my name and password... So far so good but when it comes to logging in i get stuck.

It seems like the server gives you a packet with a random(?) letter in the end of it. Something like this:

Code: Select all

c�$�http://updates.themanaworld.org/i�O�6 XPé{!�LQ]¦����2011-04-29 16:40:00.741���Q¡ÀêThe Mana World������L�����
or in hex

Code: Select all

63 00 24 00 68 74 74 70 3A 2F 2F 75 70 64 61 74 65 73 2E 74 68 65 6D 61 6E 61 77 6F 72 6C 64 2E 6F 72 67 2F 69 00 4F 00 36 20 58 50 E9 7B 21 00 4C 51 5D A6 00 00 00 00 32 30 31 31 2D 30 34 2D 32 39 20 31 36 3A 34 30 3A 30 30 2E 37 34 31 00 00 00 01 51 A1 C0 04 EA 17 54 68 65 20 4D 61 6E 61 20 57 6F 72 6C 64 00 00 00 00 00 00 4C 00 00 00 00 00
where the captial L is the random letter.(Note: this was done trying to connect to a homemade server, just dealing with auth but also with a homemade client to the normal server)

I think that this causes problems as neither the server nor the client sends any more data after that point.

Do you have any idea of how i can get a hold of this letter/character?


/Oscar
forever alone

- Learning advanced C/C++
- Good at PHP, MySQL, HTML, CSS, VB
- GNU/Linux & Windows user
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: The Mana World Bot

Post by Crush »

Creating bots is allowed as long as they are not active while you are AFK. Bots which do run while you are AFK can be run when you have the permission of the server administrators. The most important condition for getting permission for an unattended bot is that it doesn't level on its own.

Unfortunately I can't help you with your technical problem because I am not familiar with the eA netcode. But how about looking at the client sourcecode to find out how it does it? Might be more informative than just a network dump.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
khuil
Newly Registered User
Posts: 3
Joined: 29 Apr 2011, 17:57

Re: The Mana World Bot

Post by khuil »

Crush wrote:Creating bots is allowed as long as they are not active while you are AFK. Bots which do run while you are AFK can be run when you have the permission of the server administrators. The most important condition for getting permission for an unattended bot is that it doesn't level on its own.

Unfortunately I can't help you with your technical problem because I am not familiar with the eA netcode. But how about looking at the client sourcecode to find out how it does it? Might be more informative than just a network dump.
Thanks for your reply & information Crush! Im afraid im not very good at looking into someone elses code, especially not this (imo) complicated code. I will however try again.

Thanks!:)
forever alone

- Learning advanced C/C++
- Good at PHP, MySQL, HTML, CSS, VB
- GNU/Linux & Windows user
User avatar
khuil
Newly Registered User
Posts: 3
Joined: 29 Apr 2011, 17:57

Re: The Mana World Bot

Post by khuil »

yourmistakes wrote:Y U NO FORUM SEARCH?
http://forums.themanaworld.org/viewtopi ... whisperbot
Sorry hehe, and thanks i will look into it! :))
forever alone

- Learning advanced C/C++
- Good at PHP, MySQL, HTML, CSS, VB
- GNU/Linux & Windows user
User avatar
Bertram
Manasource
Manasource
Posts: 1026
Joined: 07 Sep 2004, 14:55
Location: France

Re: The Mana World Bot

Post by Bertram »

Hi,

New C++ dev are always welcome, if I may :)

Best regards.
User avatar
Kage
Manasource
Manasource
Posts: 929
Joined: 02 May 2009, 18:12

Re: The Mana World Bot

Post by Kage »

khuil for details on the protocol look at the netcode in the Mana client... the best documentation is there.
<Kage_Jittai> ... are you saying I am elite :D
<thorbjorn> Yes. :P
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: The Mana World Bot

Post by o11c »

Personally, I think the network layer of the tmwAthena source code is clearer (it was written by people who knew what they were doing, unlike much of eAthena) - on my list of things to do is separate out from ladmin a library, which could also be used for authorized AI scripts.
The only confusing thing about the network code is the one time that bytes are sent without a header... I haven't investigated it too closely, but I'm hoping the client interprets it as the tail of another packet, in which case it is merely a server bug...
Former programmer for the TMWA server.
tmwTroLL007
Novice
Novice
Posts: 50
Joined: 03 Aug 2010, 18:05

Re: The Mana World Bot

Post by tmwTroLL007 »

good luck on that
Post Reply