Perfect World Bot PWI-Prophet Bot Recoded

08/25/2010 04:01 mrbatosai#316
may i ask how to write the memory completely succed?

in your programe it write like this. and why i can't use the same method?


If GUICtrlRead($CHK_FZ) <> IniRead($SOFTWARE_CONFIG, $CFG_EXTRAS_ROOT_KEY, $CFG_EXTRAS_FREEZE_KEY, "0") Then
IniWrite($SOFTWARE_CONFIG, $CFG_EXTRAS_ROOT_KEY, $CFG_EXTRAS_FREEZE_KEY, GUICtrlRead($CHK_FZ))
If GUICtrlRead($CHK_FZ) = 5 Then
MEMWRITE(10439036, 1)
EndIf
EndIf


Func MEMWRITE($IV_ADDRESS, $AH_HANDLE, $V_DATA, $SV_TYPE = "dword")
If Not IsArray($AH_HANDLE) Then
SetError(1)
Return 0
EndIf
Local $V_BUFFER = DllStructCreate($SV_TYPE)
If @error Then
SetError(@error + 1)
Return 0
Else
DllStructSetData($V_BUFFER, 1, $V_DATA)
If @error Then
SetError(6)
Return 0
EndIf
EndIf
DllCall($AH_HANDLE[0], "int", "WriteProcessMemory", "int", $AH_HANDLE[1], "int", $IV_ADDRESS, "ptr", DllStructGetPtr($V_BUFFER), "int", DllStructGetSize($V_BUFFER), "int", "")
If Not @error Then
Return 1
Else
SetError(7)
Return 0
EndIf
EndFunc

it always show the same error.

like this
ERROR: MEMWRITE() called by a previous line with 2 arg(s). Min = 3. First previous line calling this Func is 3783.
Func MEMWRITE($IV_ADDRESS, $AH_HANDLE, $V_DATA, $SV_TYPE = "dword")

3783 is the line that MEMWRITE(10439036, 1) located

sorry prophet to peek into your code
08/25/2010 07:04 No0oB#317
the memwrite func needs min. 3 parameters ^^
1. Address
2. Handle to an open process
3.the data he should write to the memory
08/25/2010 13:10 liukqwer#318
Hi i have problem with targeting mob. When i try to set mob listed it says me to go to the game, select a mob and click f11 but when i click f11 nothing happens.What can i try to do?
08/25/2010 13:42 Tralalelo#319
Sorry, i have no idea.
08/25/2010 14:32 liukqwer#320
When i open the bot he testing automatically targeting mob and it says "targeting test failed targeting a mob"
08/25/2010 15:39 methose98#321
I had the same issue with "Targeting Failure". Make sure you do not already have a mob targeted when you start the bot and also give it a second or two to fully start before you attempt to make changes. Once I was past this it never happened again.

Target List - Once again be sure you do not have a mob targeted when you begin to set the target list. Also, target several mobs of the same type, hitting F11 for each one and remember to select the option from the drop-down menu and see the notification on screen (top left-hand corner) to "Return To Game"
08/25/2010 15:57 liukqwer#322
Hmmm...I tried but not working!!
08/25/2010 18:17 asaky#323
Quote:
Originally Posted by liukqwer View Post
When i open the bot he testing automatically targeting mob and it says "targeting test failed targeting a mob"
What version of Perfect World are you using?
08/25/2010 18:33 liukqwer#324
PWI perfect world international
08/25/2010 18:41 asaky#325
Quote:
Originally Posted by liukqwer View Post
PWI perfect world international
If you are running on windows vista or 7 make sure to right click it and "Run as Administrator" Not sure if it helps if it doesn't will wait for prophets to help you out. :)
08/25/2010 20:33 chakjii#326
took a look at the source today since the first release ^^ its running, but i got "5 error(s), 68 warning(s)"
how come? :o

ps: and good job, its only using as much CPU as elementclient.exe now =)
08/26/2010 01:45 mrbatosai#327
Quote:
Originally Posted by No0oB View Post
the memwrite func needs min. 3 parameters ^^
1. Address
2. Handle to an open process
3.the data he should write to the memory
yes you'r right and i hve fix it now and the error gone. but it doesn't have any affect to freeze The element client i wondeer where's the error now?
08/26/2010 01:54 No0oB#328
pls post your codelines where you get the error ^^
08/26/2010 02:33 chakjii#329
Quote:
Originally Posted by No0oB View Post
pls post your codelines where you get the error ^^
seems you guys got a modified version of nomadsmemory ;-)
08/26/2010 02:41 No0oB#330
i don't use nomadmemory funcs ^^ they are to slow ^^
if he uploads his file or the lines where the error is maybe we can help mrbatosai