New Idea - PWI Heavenfall

11/27/2015 16:21 haikiri#1
Hi everyone.
I just wanna give you guys an idea for the new Instance and maybe you guys will share it.
As you may know, the new instance stack points that you can use for buffs inside the tower.
Therefore, many people run lower levels many times until the buffs are maxed x20.
The idea is that you guys who have more experience with bot programming to the point of making entire World Quests on bot most likely can do a bot that select an easier Floor of the tower and do it... Like the Monk boss or the totems, kill and repeat. ;)
12/01/2015 06:11 Stark77#2
Code:
room := 1
revHex(rev_room,room)
SendPacket("25006100000004000000" . rev_room)
this is how u start a room... walking to the mid, selecting and killing a single mob should be easy
12/10/2015 01:39 haikiri#3
Alright!
So, I've decided to learn how to use autoit/autohotkey and make me a bot and things are going well so I decided to share the working script I made and works.
I know I could elaborate it like a GUI with inbox for the coordinates for the clicks and time for walking and buttons start/pause save and exit.
Also it is not a "real" bot with get process id ream memory send packs etc
but basic as and fugly as it is with simple clicks, it is working and for the first time I had full points for x20 buffs :)

*not an exe for download. A very beginner type of bot so if you already know how to program then this is trash and if you don't, you can't use it =/
Code:
WinActivate("Perfect World International")
Sleep (100)
Global $until = 1
Do
   MouseClick("left",131,224,1) ;Opens the menu of floors
   Sleep (250) ;glitch preventive pause
   MouseClick("left",720,569,2);Select the floor (with double click for glitch prevent purposes)
   Sleep (250) ;glitch preventive pause
   MouseClick("left",639,507,2);Enter selected floor (with double click for glitch prevent purposes)
   Sleep (4000) ;longer wait because of teleportation + random connection lag
   MouseClick("left",1246,97,1) ;Click on the center of mini map in order to walk to the floor starter.
   Sleep (16000) ;time needed to walk to the center
   ;MouseClick("left",1201,82,1) ;extra walk In case of doing Corrupted Monk floor, to get closer to the buff mobs before start auto-culti. 
   ;sleep (3000) ;time needed to walk to closer to buff mobs.
   Send("{F12}") ;start the auto-culti (game's self bot) config according to your character. (I use triple spark as heal).
   Sleep (63000) ;average time required to clear the floor.
   MouseClick("left",794,565,2) ;the main purpose of this click on the ground is to stop the auto-culti before trying to restart the floor.
   Sleep (250) ;glitch preventive pause
   $until += 1
Until $until = 250 ;instance resets in 4hrs and so if each run were a minute long 240 would be max runs.
;Obs. The MouseClicks coordinates set here are specific to my screen size/position, Will not work properly on others, requiring personalization.
12/10/2015 03:41 jasty#4
Congrats! Pretty cool how far you can go with mouse clicks and keyboard presses. As a bonus you'll never need to update it when they do patches.
A UI change will break it but those aren't as common as updates to the exe.

I'd share my version but it's trivial code built on top of a large unwieldy framework of support code that's ugly and doesn't deserve to be shared.
12/15/2015 13:58 n05f3247u#5
i was just about to open a thread and there you go there is already one open

i would be really interested in a bot able to autocomplete 108 tower rooms since i dont have enough free time to spend 3+ hours into the instance to complete it

i would even pay a subscription fee for such a bot since this instance is and will stay a main thing to do weekly
12/15/2015 15:15 Stark77#6
the main issue with a bot for all stages is, that the way u do rooms depends alot on your class, genie and gear
12/15/2015 19:43 n05f3247u#7
what about dev a bot for each class starting with the most played ones like assassin for example

or bots that would use in game macros when attacks are necessary
12/15/2015 22:18 jasty#8
Well there are 8 rooms and 6 bosses so that's 14 rooms total. The later rooms can be pretty challenging though so you'd probably want it to spend a couple hours farming full buffs at some point. The room 9/18 boss is probably the hardest to bot due to all the craziness that is happening in there, I have trouble clearing that legitly. I really have no idea how to bot that in a generic way due to the large variety of attacks coming from different directions.

Besides that one it is kinda doable but it's a lot of work.
10/25/2017 14:59 4ny0ne#9
Quote:
Originally Posted by haikiri View Post
Alright!
So, I've decided to learn how to use autoit/autohotkey and make me a bot and things are going well so I decided to share the working script I made and works.
I know I could elaborate it like a GUI with inbox for the coordinates for the clicks and time for walking and buttons start/pause save and exit.
Also it is not a "real" bot with get process id ream memory send packs etc
but basic as and fugly as it is with simple clicks, it is working and for the first time I had full points for x20 buffs :)

*not an exe for download. A very beginner type of bot so if you already know how to program then this is trash and if you don't, you can't use it =/
Code:
WinActivate("Perfect World International")
Sleep (100)
Global $until = 1
Do
   MouseClick("left",131,224,1) ;Opens the menu of floors
   Sleep (250) ;glitch preventive pause
   MouseClick("left",720,569,2);Select the floor (with double click for glitch prevent purposes)
   Sleep (250) ;glitch preventive pause
   MouseClick("left",639,507,2);Enter selected floor (with double click for glitch prevent purposes)
   Sleep (4000) ;longer wait because of teleportation + random connection lag
   MouseClick("left",1246,97,1) ;Click on the center of mini map in order to walk to the floor starter.
   Sleep (16000) ;time needed to walk to the center
   ;MouseClick("left",1201,82,1) ;extra walk In case of doing Corrupted Monk floor, to get closer to the buff mobs before start auto-culti. 
   ;sleep (3000) ;time needed to walk to closer to buff mobs.
   Send("{F12}") ;start the auto-culti (game's self bot) config according to your character. (I use triple spark as heal).
   Sleep (63000) ;average time required to clear the floor.
   MouseClick("left",794,565,2) ;the main purpose of this click on the ground is to stop the auto-culti before trying to restart the floor.
   Sleep (250) ;glitch preventive pause
   $until += 1
Until $until = 250 ;instance resets in 4hrs and so if each run were a minute long 240 would be max runs.
;Obs. The MouseClicks coordinates set here are specific to my screen size/position, Will not work properly on others, requiring personalization.
thanks i use it, and it work smoothly...
but can i bot 2 client in one time with this script?
10/25/2017 15:21 haikiri#10
It is possible.
For two bots add an alt tab at the end of each round and change the time of 63000 to 31500.
10/27/2017 11:55 4ny0ne#11
Quote:
Originally Posted by haikiri View Post
It is possible.
For two bots add an alt tab at the end of each round and change the time of 63000 to 31500.
thanks for reply but i asking about 2 client in 1 time...
if it possible to run this script in minimazed windows?
11/10/2017 23:16 mickcarterus#12
Can you get banned for using AHK script in PWI?

And how do I find the mouseclick coordinate? trial and error?
11/12/2017 20:32 mickcarterus#13
Quote:
Originally Posted by haikiri View Post
It is possible.
For two bots add an alt tab at the end of each round and change the time of 63000 to 31500.
Can you get banned for using AHK?
11/13/2017 17:42 No0oB#14
yes and no, you can't get banned for using AHK but you can get banned if they detect you are botting, doesn't matter what it is, you can have your cat play for all they care
10/12/2024 18:35 nezz1#15
So, I've heard from someone that there is a 3rd party program that runs HFT for you? Can't find it anywhere on the net..