Perfect World Bot PWI-Prophet Bot Recoded

07/21/2010 03:20 chakjii#16
oh sorry for my newbness i didnt know i had to set that resolution =D
another bug i saw, was that meditating didnt work... i didnt have any pots and wanted to try it, but the character didnt stop attacking even when the MP was empty.
except of these things it worked fine with my venomancer =)
07/21/2010 03:36 PW-Prophets#17
Quote:
Originally Posted by chakjii View Post
oh sorry for my newbness i didnt know i had to set that resolution =D
another bug i saw, was that meditating didnt work... i didnt have any pots and wanted to try it, but the character didnt stop attacking even when the MP was empty.
except of these things it worked fine with my venomancer =)
Thanks EVERYONE for all the input, I prophet 1 would like to apologize for all of the bugs that were released in this version. First off to fix the Restore issues you can add "HPMPRestoreCheck()" to line 541 . And do not appologize "for your newbness" it was OUR fault to not make that clear. I will be honest and say that I had gotten so excited sunday about the full release that on all my buttoning up I screwed up and reverted to a previous version and then save the previous version over the new version thinking that I was making changes to the new version.

The Good news out of ALL of this fiasco though is that I do plan to FULLY rewrite this entire beta, "looks back and thanks god for releasing this as a beta :)" and the next release due to everyones input suggestions and constructive criticism, especially about the crysis remark THANKS! :pimp: That was good LOL, but in any case because of all the input we are seriously planning on rereleasing with all of the current options and then some, with no more bugs and MUCH MUCH MUCH more processor friendly.
07/21/2010 03:38 PW-Prophets#18
Quote:
Originally Posted by chuckleeyahoo.com View Post
DUDE I LUV THIS THING
I WOULD HAVE YER BABIES IF I HAD OVARIES
Well instead what you might consider doing is going to down to your local sperm bank making a deposit, and clicking that little button in the lower right and forwarding the prophits to the prophets :D LOL TYVVM we truely appreciate comments like this :handsdown:
07/21/2010 14:12 dakk.fool#19
hey its dakkfool on my nub account *other one i cant getinto atm*
But im having issues with this bot it seems everything is correct but it will not auto kill mobs i have the resolution set to 800x600 and i have followed everything to the T im sure of it...

its just when i set mob id and everything i hit start but he wont auto attack... help would be greatly thankyou'd lol <3 +1bill on ur bot btw i will donate if i can get it working
07/21/2010 15:56 PW-Prophets#20
Quote:
Originally Posted by dakk.fool View Post
hey its dakkfool on my nub account *other one i cant getinto atm*
But im having issues with this bot it seems everything is correct but it will not auto kill mobs i have the resolution set to 800x600 and i have followed everything to the T im sure of it...

its just when i set mob id and everything i hit start but he wont auto attack... help would be greatly thankyou'd lol <3 +1bill on ur bot btw i will donate if i can get it working

Do you use tab button for autoselect monster in game? Do you play on
PW International?
07/21/2010 22:41 dakk.fool#21
Quote:
Originally Posted by PW-Prophets View Post
Do you use tab button for autoselect monster in game? Do you play on
PW International?
yes im playing pwi and its technically working...but......... its extremely slow once i target my mobs it will kill 1 then it takes almost 5 minutes to target a second 1 and walk to it so i am confused maybe i should select more mob addresses or lol use a speed hack for it idk but help would be thankyoued
07/22/2010 00:35 PW-Prophets#22
Quote:
Originally Posted by dakk.fool View Post
yes im playing pwi and its technically working...but......... its extremely slow once i target my mobs it will kill 1 then it takes almost 5 minutes to target a second 1 and walk to it so i am confused maybe i should select more mob addresses or lol use a speed hack for it idk but help would be thankyoued
Do you have a dual core prossessor and atleast 2 gigs of ram? Does not seem to work on lower end computers we will fix this in next release.
07/22/2010 03:26 dakk.fool#23
yea i got 4 gigs ddr2 and a quad core *2.5 gigs* so there shouldnt be an issue cpu related i mean the bot is working dont get me wrong but it just takes for ever to switch from mob to mob like example:

1minute: set up bot -press start
2-3 minutes- kills 1 mob
2-3 minutes- walks to another mob and kills
2-3 mins - pause
2 mins - walks to another mob
07/22/2010 05:01 kulas2k2#24
hi prophets, what command did you use for sending keys to a minimized client. Controlsend doesn't seems to work now..
07/22/2010 05:27 PW-Prophets#25
Quote:
Originally Posted by kulas2k2 View Post
hi prophets, what command did you use for sending keys to a minimized client. Controlsend doesn't seems to work now..

It has a few subs to it. But if you look at the source you can see a message such as _SendMessage($HANDLE, 256, KEYCODE("{TAB}")) that is the combination of commands that we use. The keycode function is the output converter for the text...
07/22/2010 06:32 Paco420#26
Works Fine great bot. Thank you.
07/22/2010 10:26 chakjii#27
Quote:
Originally Posted by kulas2k2 View Post
hi prophets, what command did you use for sending keys to a minimized client. Controlsend doesn't seems to work now..
controlsend is working very fine, but you have to unfreeeze the client if its minimized or hidden =)
07/22/2010 15:40 PW-Prophets#28
Quote:
Originally Posted by chakjii View Post
controlsend is working very fine, but you have to unfreeeze the client if its minimized or hidden =)
If you type while using control send it locks the key tho :/ we want a bot that you can use your computer normally while running it
07/23/2010 17:56 thomas_mk#29
I need some help here: It didnt work for me. I open client, then Bot, but it doesnt work, at hp=0, mp=0, exp=-1#IND

mus i to do something to make it work??

Pleace give a guideance

Edit: I play PWI in Colombia
07/23/2010 21:10 lolkop#30
well i've checked ur tool.

first of all its done extremely inefficient. in state of doing nothing but reading the game infos it allready consumes more cpu than the game lolz.

i've written a small tool doing allmost the same job just for you to see that its easily possible to get all that data, without having that much cpu usage.
[Only registered and activated users can see links. Click Here To Register...]
beside that fact the gui oscillating like hell :o to prevent that you should ad timers or compare current value with the last set one, and update the gui only if the value have changed.

well as you can see there's something wrong with ur distance formula. you should recheck it. (just easy maths :P d(P1,P2) = |sqrt( (P1x-P2x)^2 + (P1y-P2y)^2 + (P1z-P2z)^2 )| )

now to get to the functions. a farm radius would be usefull. using a target radius is absolutely useless, cuz the bot should auto detect and select the closest mob.

well beside those things it looks not bad =)


maybe a small tip how to fix the problem with the cpu usage. the problem is the UpdateTarInfo() function.

u're looping through the complete moblist, each time.
once u've found the selected mob (u're not even leaving the loop! you keep looping through the rest), u're collecting the data you need to display.

why don't you set the mob_base as a global variable?
once u've selected a mob you set the mob base and now to get the data, there's no need to loop through the moblist again.

well [Only registered and activated users can see links. Click Here To Register...]'s my example code.

before coding a tool you should start thinking about the most efficient way to handle everything. well simply start coding would be way faster, but u'll notice that its way harder to fix stuff or even add stuff, if there's no planed structure.

a bot should always work like this:
if target selected then kill it and pot and display info else check for mobs around you; select the closest

thats all. as you can see listing mobs around you is only needed once every few seconds. since thats the hardest work of all you should try to reduce the number of actions.

your bot is even listing the mobs, while its potting or using skills :o
and it even doubles that, with listing the mobs again while getting selected mobs info.