[ASK] I want Create like a Auto Target or Auto Klik Monster

03/06/2020 17:24 Nick`#1
hy, i want to create Auto Target Monster
from VB.net
where i can learn?

i am already build auto loot then work for inactive windows RF Online,
but now, i want to create auto target monster and hit the monster
anybody know? can teach me?

Thanks a lot, sry my english bad
03/13/2020 17:19 AZiRes1#2
To change target you can search for the, "current target" address in CE.
Then use WriteProcessMemory in your app, to change the target.

example | working offset (from RF Asyura)
Code:
DWORD rdm(HANDLE& handle, DWORD read_address){
	DWORD b; ReadProcessMemory(handle, (DWORD*)read_address, &b, 4, NULL);
	return b;
}
void wdm(HANDLE& handle, DWORD write_address, DWORD value){
	WriteProcessMemory(handle, (DWORD*)write_address, &value, 4, NULL);
}
// [[0x00F41214] + 0x04] | 'current target' offset
HANDLE window_handle;
DWORD GetCurrentTarget(){
	DWORD pointer = rdm(window_handle, 0x00F41214) + 0x04;
	return rdm(window_handle, pointer);
}
void SetCurrentTarget(DWORD target_index){
	DWORD pointer = rdm(window_handle, 0x00F41214) + 0x04;
	wdm(window_handle, pointer, target_index);
}
Also you will need to create a function, to search for the target by name.
I guess the easiest way would be to do a signature scan, to find out nearby npcs/players, and return the address/index.
Or try searching for offsets.


About 'hitting the monster', the easiest would be to do an auto clicker / simulate keys.
The other method might require calling assembly functions. (Attack function in our case)
Similar to this..
03/28/2020 21:24 Nick`#3
Quote:
Originally Posted by AZiRes1 View Post
To change target you can search for the, "current target" address in CE.
Then use WriteProcessMemory in your app, to change the target.

example | working offset (from RF Asyura)
Code:
DWORD rdm(HANDLE& handle, DWORD read_address){
	DWORD b; ReadProcessMemory(handle, (DWORD*)read_address, &b, 4, NULL);
	return b;
}
void wdm(HANDLE& handle, DWORD write_address, DWORD value){
	WriteProcessMemory(handle, (DWORD*)write_address, &value, 4, NULL);
}
// [[0x00F41214] + 0x04] | 'current target' offset
HANDLE window_handle;
DWORD GetCurrentTarget(){
	DWORD pointer = rdm(window_handle, 0x00F41214) + 0x04;
	return rdm(window_handle, pointer);
}
void SetCurrentTarget(DWORD target_index){
	DWORD pointer = rdm(window_handle, 0x00F41214) + 0x04;
	wdm(window_handle, pointer, target_index);
}
Also you will need to create a function, to search for the target by name.
I guess the easiest way would be to do a signature scan, to find out nearby npcs/players, and return the address/index.
Or try searching for offsets.


About 'hitting the monster', the easiest would be to do an auto clicker / simulate keys.
The other method might require calling assembly functions. (Attack function in our case)
Similar to this..
[Only registered and activated users can see links. Click Here To Register...]
hy thanks for your answer, sorry for late reply..
what is the value for the target?

i have address nearby + offset, but its is always changing,
and read the results of all that are close together,
not only read the results of monsters,
because the problem is if i am close to one races (ex. accretia),
cant auto attack,

sry if my english bad
12/19/2021 15:21 irizkyw#4
can u share entity lists(mobs) sir?.
I'm a bit confused about looking for entity lists mobs around.
12/26/2023 21:40 amoet123#5
is there no follow-up to this post? I want to make it