Need help moving

11/04/2011 23:05 blackmorpheus#1
Hi all,

I'm creating a packet bot for NosTale, independent of the version.
I can already attack monsters, filter on their mob id, collect items, and filter on item id.

The problem i have now is moving towards an item or monster if the distance is too large. When i send the packet "walk <x> <y> <0/1 ??> <speed>", then the character will move serverside ( at least i hope so....), but it won't move clientside. This is a problem because i read my x/y coordinates clientside.
So what i kinda need is a proper way to walk both serverside and clientside..

If anyone is interested in the source, i will pm.
u can expect a release soon ;)

EDIT:
Here is my result so far, no walk :(



Anyways, my result so far can be download in the attachment.
You need to inject before character selection.
11/05/2011 18:06 Mr.Crunch#2
hooking the walk function.
11/05/2011 18:08 SuicideCookie™#3
Why i've to inject before char selection?
Mysterious
11/05/2011 18:44 blackmorpheus#4
Quote:
Originally Posted by Styler334 View Post
Why i've to inject before char selection?
Mysterious
Because monster attack is based on "in" packets and they only will appear when you log in or change map. Think before you say something styler..

Alright, this is how to walk:
Code:
DWORD walkAddress = 0x520a44;
void walk(short x, short y)
{
	DWORD high = ((unsigned char)y) << 16;
	DWORD low = (unsigned char)x;
	DWORD value = high | low;
	__asm{
		push 1
		mov edx, value
		mov eax, DWORD PTR DS:[0x7d168c]
		call walkAddress
	}	
}

Now i need to find out a way to read my own hp...
mby i can parse some packets for that?

and i need to find out the hp of target.

If i have this all, my bot will be pretty epic :P
I just need to find someone who can create a nice GUI.
This win32 api is really bitching me.
11/06/2011 14:09 xInox3#5
Quote:
Originally Posted by Styler334 View Post
Why i've to inject before char selection?
Mysterious
Geht der hack bzw. hat den mal jmd getestet?
11/06/2011 14:26 Δbraxas#6
Ja der BOT geht - Ich habe ihr getestet :P
Wenn man im Danderfeld steht greift er den mob an der einem am nächsten ist und her hebt Sachen auf...