Register for your free account! | Forgot your password?

You last visited: Today at 04:40

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

Advertisement



Autoit script HELP

Discussion on Autoit script HELP within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 17
Received Thanks: 1
Autoit script HELP

hi, i just made a Autoit Script, its not working properly, can anyone pls help me, this is my first time to make an autoit script, my goal is,

after i log-in my toon, it should auto sign-in my daily attendance if i click my autoit script, but its not doing it right, kindly correct me pls.

here is my script:

HotKeySet ("{F1}", "myExit")

$x = WinActivate("Perfect World International: Eclipse")

while(1)

LC(1205,206)
LC(677,98)
Exit
WEnd

Func LC($x, $y)
MouseClick("left", $x, $y, 1, 1)
EndFunc


Func myExit()
MsgBox(0,"Exiting", "Bot is Quitting")
Exit
EndFunc
nozomiozama is offline  
Old 02/19/2016, 20:42   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 145
Received Thanks: 97
It looks like it will do 2 clicks and then exit the script. How far does it get?
jasty is offline  
Old 02/20/2016, 01:22   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 17
Received Thanks: 1
yeah, it must first click the calendar then click the sign in attendance, but nothing happens when I start it, is there any problem in my script? thank you
nozomiozama is offline  
Old 02/20/2016, 04:07   #4
 
elite*gold: 0
Join Date: Dec 2009
Posts: 70
Received Thanks: 15
You probably miss some sleep times between your Leftclicks. Another thing would be to use WinWait("Perfect World International: Eclipse") after WinActivate. That way you're waiting till the window is actually activated.

If you want to use the method of sending packages then i put a test code together which does your DailySign here:

With this you can do your Sign in via F1 and close the program again with the delete key

A completely different way would be to use ImageSearch to find the buttons, that way it would work basically always.
sasukezero is offline  
Old 02/25/2016, 07:37   #5
 
elite*gold: 0
Join Date: Aug 2013
Posts: 17
Received Thanks: 1
Quote:
Originally Posted by sasukezero View Post
You probably miss some sleep times between your Leftclicks. Another thing would be to use WinWait("Perfect World International: Eclipse") after WinActivate. That way you're waiting till the window is actually activated.

If you want to use the method of sending packages then i put a test code together which does your DailySign here:

With this you can do your Sign in via F1 and close the program again with the delete key

A completely different way would be to use ImageSearch to find the buttons, that way it would work basically always.
wow, I never though someone will help me this far, this is not a simple coding and it worked thank you very much, thank you so much
now I would like to add this on your code, but I don't know how since this coding is very complicated for me, I would like to add: when press "F3" it must double click Jolly Old Jones (257,689 city of the lost) then "quest related" then "daily bounty orders" then "not bad. and you?" then "i would be willing to help if you share the rewards with me" then "that's what I like to hear! we have a deal" then "sounds good" to auto daily get may jolly old jones reward. of course I am beside the NPC jolly old jones b4 I press "F3". thank you, I hope you can help me with this. thank you very much. I love your work. tytyty
nozomiozama is offline  
Old 02/25/2016, 18:30   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 70
Received Thanks: 15
Never checked Jones but its just another interaction with a NPC. The DailySign i made was just a kickstart, the rest for whatever you'd like to do is on you. For informations you can check the Forum, also a lot is found here
Other than that others including me are glad to help when you encounter a Problem after trying it first on your own
sasukezero is offline  
Old 02/26/2016, 11:02   #7
 
elite*gold: 0
Join Date: Aug 2013
Posts: 17
Received Thanks: 1
ok, i will do it, i will post my first project here thank you very much for your help
nozomiozama is offline  
Reply




All times are GMT +1. The time now is 04:42.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.