Function target info

09/08/2012 12:13 xortexx#1
Hi,

Function to find the information on the target do not work in the source code of Prophet Bot. Yet when we launch the EXE information is displayed well.
Have you any idea of the problem?

Global $OFFSET_TAR[3], $CFG_OFFSET_TAR = "Target_OffSet", $MOVETONPC = 0, $NOTARGETS = 0, $DEAD = 0
$OFFSET_TAR[1] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_CHARSTRUCT1, "52")
$OFFSET_TAR[2] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_TAR, "")

$tar_temp = _MemoryPointerRead($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_TAR)

$tar_temp is always 0.
09/08/2012 13:34 martmor#2
Hello

Two possibilities:

1) The offsets are wrong
2) you use not the original prophet bot Script
09/08/2012 14:29 xortexx#3
offset:
Target_offset = 3036
OFFSET_TAR $ [1] = 52
OFFSET_TAR $ [2] = 3036

normally they are good because they work with the exe. But when I compile the file au3 does not work.
09/08/2012 19:46 martmor#4
If you use the original prophet Bot Script then you have a mistake in the offset file.

Correct it is in the Offset ini file:

Quote:
Target_OffSet=3036
09/09/2012 20:35 xortexx#5
I use the original script well, at least I think. The offsets are necessarily good because it works with the executable, but when I compile the source code "au3" does not work.
09/09/2012 22:03 martmor#6
At the original Prophet Bot Script is only the real base address and sendpacket address in the source code to change. all other keep as it was original.
09/11/2012 13:14 xortexx#7
I found where does my problem. Target Info function did not work because I had 3.3.8.1 version of AutoIT, I installed version 3.3.6.1 and now its working ..... find the error ^ ^