Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World > PW Hacks, Bots, Cheats, Exploits
You last visited: Today at 00:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Perfect World Bot PWI-Prophet Bot Recoded

Discussion on Perfect World Bot PWI-Prophet Bot Recoded within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old 09/16/2010, 08:57   #466
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Quote:
Originally Posted by dummy04 View Post
My bot doesnt attack the target why is it like what it does is just it stares at the target . it already displays the correct characters name hp mp its targeting the mob but doesnt attack it.. help me please thanks --- pw ph
Bot is not designed for PH version of pw, any errors or problems are not really our problem, you are using a software designed for another version expect it to not work.
asaky is offline  
Old 09/16/2010, 09:18   #467
 
elite*gold: 0
Join Date: Sep 2010
Posts: 8
Received Thanks: 0
huhuhuhu sobbers ... just uhmm asking anyone who could help or got the same problem with me thanks
dummy04 is offline  
Old 09/16/2010, 10:35   #468
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 575
Prophets should be able to change the way of targeting.
for each item in the available mob list
-check if its a mob
-check if its one of the mobs you wanna kill :P
-check if it doesnt have another player targeted
-check its distance to you
-check if its distance is the closest of all mobs, store that mobId
send selectPacket to closest mob
murder it.

Don't need tab for that
Interest07 is offline  
Old 09/16/2010, 10:44   #469
 
elite*gold: 0
Join Date: Sep 2010
Posts: 8
Received Thanks: 0
hello interest been reading your post of the WQ bot its good but just cant get it working same as with my bot im from pw ph.. kinda noob at this thing but Im working so I wanted to have a bot running to ease up my load in grinding. could you help me out thanks.

My bot doesnt continue to hit its targeted mob or it doesnt really hit the monster it just looks for the target but doesnt murder it. thanks
dummy04 is offline  
Old 09/16/2010, 10:46   #470
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Quote:
Originally Posted by Interest07 View Post
Prophets should be able to change the way of targeting.
for each item in the available mob list
-check if its a mob
-check if its one of the mobs you wanna kill :P
-check if it doesnt have another player targeted
-check its distance to you
-check if its distance is the closest of all mobs, store that mobId
send selectPacket to closest mob
murder it.

Don't need tab for that
Tab is working fine though I wish it had a longer range so maybe your idea will work better. Though we shouldn't overburden them to much, they are making this bot for fun if you ask ask and ask it isn't fun anymore.

Although I love how they made it open source from the start that way if they stop developing it someone else can take over for them. >.> Unlike the last PW messiah bot where the maker got cranky and discontinued it and locked it completely so no one could use it or continue it. Selfish ******* But this bot is 3000x better.
asaky is offline  
Old 09/16/2010, 10:47   #471
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Oh, how can I add 1 more set of HP/MP pot options in the code? Do I just copy and past a certain section or do I have to edit the gui? I like having both pots and ToP incase of emergency like I am getting gang banged by 2 mag mobs :\ not a fun experience.

But please don't just give me the finished result, ^^ I want to do it myself so I learn.
asaky is offline  
Old 09/16/2010, 10:55   #472
 
elite*gold: 0
Join Date: Sep 2010
Posts: 6
Received Thanks: 0
when i near a mob and press Tab it only change my skill balk >.< but the problem is...when i started the bot show that



please help me asaky ^^
CN84 is offline  
Old 09/16/2010, 11:15   #473
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Quote:
Originally Posted by CN84 View Post
when i near a mob and press Tab it only change my skill balk >.< but the problem is...when i started the bot show that



please help me asaky ^^
If your HP/MP is on 0 aswell as char name, it would seem you do not have the correct offsets for this bot, I only use PWI so I cannot help you find the offsets.

The reason the test failed even if tab is availiable on your server means the Target_Offset is incorrect.

I have attached a program that gives you the offsets, now not all offsets are there but most are.


Extract the RAR file with WinRar or winzip both programs are free, if you don't already have them.

Now run the file Offset_Finder 2.0.exe Then press the button "Find" Up the top it should give you a set of offsets, Like this.

Perfect_World_Base_Address_In_Decimal]
Unfreeze_Address=10863676
Base_Address=10862540
BaseCall_Address=10860812
[Custom_32_Offsets_In_Decimal]
Pet_Offset=4108
Jump_Offset=3080
TargetID_Offset=2828
CastID_Offset=1748
State_Offset=1656
Class_Offset=1568
Name_Offset=1560
Reputation_Offset=1448
Gold_Offset=1336
MaxCHI_Offset=1332
MaxMP_OffSet=1208
MaxHP_Offset=1204
DEX_Offset=1200
STR_Offset=1196
MAG_Offset=1192
VIT_Offset=1188
CHI_Offset=1160
Spirit_Offset=1152
EXP_Offset=1148
MP_Offset=1144
HP_Offset=1140
Culti_Offset=1136
LVL_Offset=1132

Go into the file with the bot and open Custom_Offsets.ini And change the offsets to the ones the program gives you. Manualy copy each offset in, only change the numbers not the text, that is important.

This is what Custom_Offsets.ini looks like.

[Perfect_World_Base_Address_In_Decimal]
Application_Title=Element Client5
Base_Address=10862540 <-----Base_Address=10862540
Base_AddressFZ=10863676 <----Unfreeze_Address=10863676
Base_AddressEXP=10865384 <--- (isn't used anymore I don't think)
[Custom_32_Offsets_In_Decimal]
CASTING_Offset=1748
Name_offset=1560 <-------- Name_Offset=1560
LVL_Offset=1132 <------- LVL_Offset=1132
Class_offset=1568
HP_OffSet=1140 <----- HP_Offset=1140
MaxHP_OffSet=1204 <---- MaxHP_Offset=1204
MP_OffSet=1144 <---- MP_Offset=1144
MaxMP_OffSet=1208 <--- MaxMP_OffSet=1208
EXP_Offset=1148
STR_offset=1196
DEX_offset=1200
VIT_offset=1188
MAG_offset=1192
Spirit_offset=1152
Gold_offset=1336
X_Offset=60
Y_Offset=68
Z_Offset=64
MoveX_Offset=32
MoveY_Offset=40
MoveZ_Offset=36
DoneFlag_Offset=8
Value_Offset1=44
Value_Offset2=64
ActiveFlag_Offset=24
MovingREAD_Offset=4
MovingWRITE_Offset=20
PetHP_OffSet=4108 <---- Pet_Offset=4108 (Not 100% sure)
Target_OffSet=2828
TarHP_OffSet=300
TarMaxHP_OffSet=364
TarName_OffSet=596
TarLVL_OffSet=292
TarSpec_OffSet=584



And so on and so forth, the problem with using this other program is it doesn't give you all the offsets but it can give you most. I hope that helps, apart from manually finding the other offsets (Which I know little about) There is not much you can do.


P.s The program was made by NoOoB Make sure to give Him/Her all the credit for the program.

As for a note to prophets could you guys have a chat to NoOob and see if she can make an offset finder for all the offsets for this bot, it would make your life easier when updates come.
Attached Files
File Type: rar OffsetFinder_2.0.rar (383.2 KB, 169 views)
asaky is offline  
Old 09/16/2010, 11:50   #474
 
elite*gold: 0
Join Date: Sep 2010
Posts: 8
Received Thanks: 0
[Perfect_World_Base_Address_In_Decimal]
Application_Title=1
Base_Address=10229012
Base_AddressFZ=10863676
Base_AddressEXP=10865384
[Custom_32_Offsets_In_Decimal]
CASTING_Offset=1748
Name_offset=1544
LVL_Offset=1124
Class_offset=1552
HP_OffSet=1132
MaxHP_OffSet=1188
MP_OffSet=1136
MaxMP_OffSet=1192
EXP_Offset=1140
STR_offset=1180
DEX_offset=1184
VIT_offset=1172
MAG_offset=1176
Spirit_offset=1144
Gold_offset=1336
X_Offset=60
Y_Offset=68
Z_Offset=64
MoveX_Offset=32
MoveY_Offset=40
MoveZ_Offset=36
DoneFlag_Offset=8
Value_Offset1=44
Value_Offset2=64
ActiveFlag_Offset=24
MovingREAD_Offset=4
MovingWRITE_Offset=20
PetHP_OffSet=4108
Target_OffSet=2808
TarHP_OffSet=300
TarMaxHP_OffSet=364
TarName_OffSet=596
TarLVL_OffSet=292
TarSpec_OffSet=584

huhuhuh my bot still doesnt work.. anyone from PW PH who could give me an offset.. my bot displays the necessary HP but it only stares at it and doesnt attack... thanks prophet for the help.

Killing Monster #5 ID:[2148537577]
Killing Monster #4 ID:[2148537577]
[[[Prophet Bot Started]]]
Killing Monster #3 ID:[2148537577]
Killing Monster #2 ID:[2148537577]
[[[Prophet Bot Stopped]]]
Killing Monster #1 ID:[2148537574]
[[[Prophet Bot Started]]]
[[[Prophet Bot Recoded Initiated]]]
dummy04 is offline  
Old 09/16/2010, 11:57   #475
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Quote:
Originally Posted by dummy04 View Post
thanks prophet for the help.
I am not one of the prophets they use the same account.
maybe if you did some digging if the forum or ask around someone with PH might be able to help.
asaky is offline  
Old 09/16/2010, 12:13   #476
 
elite*gold: 0
Join Date: Sep 2010
Posts: 6
Received Thanks: 0
okay next problem when i started the programm with admin...it show this error


thyx for your help ^^
CN84 is offline  
Old 09/16/2010, 12:15   #477
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Quote:
Originally Posted by CN84 View Post
okay next problem when i started the programm with admin...it show this error


thyx for your help ^^
I get that sometimes not often, mainly happens if I log off without turning the bot off first. Error codes will have to be looked at by the prophets or maybe interest.
asaky is offline  
Old 09/16/2010, 12:54   #478
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 575
There's something totally messed up with PW ph lol, apparently my bot won't work there either
Interest07 is offline  
Old 09/16/2010, 12:59   #479
 
asaky's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 259
Received Thanks: 22
Interest07 Could you give me a few tips for adding another 2 Automatic heals? For diffrent types of potions or healing skills? Not really sure how to make another tab in the "Options" drop down called "Spare Heals" Or something. Its a good idea for a barb because pots at higher levels become rather redundent and you need to rely on both your genie and pots.

Help me out here, but don't spoon feed me to much
asaky is offline  
Old 09/16/2010, 13:08   #480
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 575
Quote:
Originally Posted by asaky View Post
Oh, how can I add 1 more set of HP/MP pot options in the code? Do I just copy and past a certain section or do I have to edit the gui? I like having both pots and ToP incase of emergency like I am getting gang banged by 2 mag mobs :\ not a fun experience.

But please don't just give me the finished result, ^^ I want to do it myself so I learn.
Well, it handles the HP and MP pots in this piece of code:
Code:
Func HPMPAutoPotCheck()
	If IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_HP_FLAG_KEY, 0) = 1 Then
		If GUICtrlRead($PERC_HP) < Int(IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_HP_PERC_KEY, 1)) Then
			_SendMessage($HANDLE, 256, KEYCODE(IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_HP_KEY, 0)))
			$HPTimer = TimerInit()
		Endif
	EndIf
	If IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_MP_FLAG_KEY, 0) = 1 Then
		If GUICtrlRead($PERC_MP) < Int(IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_MP_PERC_KEY, 1)) Then
			_SendMessage($HANDLE, 256, KEYCODE(IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_MP_KEY, 0)))
			$MPTimer = TimerInit()
		Endif
	EndIf	
EndFunc

If you want it to use ToP as well as a potion, you'd have to add another line before or after the one where it uses the health potion (within the same if statement). Easiest would be to copy and paste this line for sending the button press for HP pots and editing it to send the button for ToP instead:

Code:
_SendMessage($HANDLE, 256, KEYCODE(IniRead($SOFTWARE_CONFIG, $CFG_HEAL_ROOT_KEY, $CFG_HEAL_AUTOPOT_HP_KEY, 0)))
As this reads the button to send for the HP potion from the ini file, you'd have to either write the keycode for your ToP skill directly into the code, or add the value for it in the ini file and read it from there. The first method being easier, but less convenient if you wish to share your method with others.

If you add the ToP button in the .ini, you can either manually write it there, or edit the part of the bot where you are asked to input the buttons to also ask for the button for ToP.

If you only want to use ToP in the case your HP is below a certain value, you would need to add an extra if-statement to the code in this function. Again, you can opt to do things neatly by adding stuff to the .ini and read it from there, or just hardcode the values into the bot code.

Dont worry about the Timer values, they don't appear to be functional yet.
Interest07 is offline  
Reply




All times are GMT +2. The time now is 00:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.