Register for your free account! | Forgot your password?

You last visited: Today at 23:26

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

Advertisement



Need Help

Discussion on Need Help within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2006
Posts: 5
Received Thanks: 0
So Im trying to make my own bot on my own for the sole purpose of learning and I thought I had it down with AutoIT but it always says script paused, can someone tell me where I went wrong?
heres the script

WinActivate("[Conquer2.0]")
Do
$count = 0
$count = $count + 1
ControlClick("", "??", 1 , "left", 1)
$ControlID = 1
$ControlID = $ControlID + 1
Do
ControlClick("", "??", $ControlID, "right", 2)
Until $ControlID = 1800
$ControlID2 = 1
$ControlID2 = $ControlID2 + 1
Do
ControlClick("", "???", $ControlID2, "Right", 2)
Until $ControlID2 = 1800
$ControlID3 = 1
$ControlID3 = $ControlID3 + 1
Do
ControlClick("", "????", $ControlID3, "right", 2)
Until $ControlID3 = 1800
Until $count = 100000
Exit

If Send("{Del}") Then
Exit
EndIf

I realize its pretty short for a bot but I couldnt understand how to make it click pixels so I tried to make it work by Control Clicking Incrementals so any tips or tricks as to make this work?
>>X is offline  
Old 09/27/2006, 07:04   #2
 
DM2000's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,919
Received Thanks: 178
Hi,

Thank you for visiting this forum.

Questions are NOT allowed at this section.
Questions are ONLY allowed at the main section.

Wish you have a nice day

DM
DM2000 is offline  
Old 09/27/2006, 13:05   #3
 
elite*gold: 0
Join Date: Apr 2006
Posts: 5
Received Thanks: 0
Sorry about that wasnt sure where to put it because its in the process of making a bot
>>X is offline  
Old 09/28/2006, 04:49   #4
 
elite*gold: 0
Join Date: Apr 2006
Posts: 397
Received Thanks: 17
try this:

Code:
HotKeySet("{Del}", "quit")


Opt("WinTitleMatchMode",2)
WinWaitActive("[Conquer2.0]")

Do
$count = 0
$count = $count + 1
ControlClick("", "??", 1 , "left", 1)
$ControlID = 1
$ControlID = $ControlID + 1

Do
ControlClick("", "??", $ControlID, "right", 2)
Until $ControlID = 1800
$ControlID2 = 1
$ControlID2 = $ControlID2 + 1

Do
ControlClick("", "???", $ControlID2, "Right", 2)
Until $ControlID2 = 1800
$ControlID3 = 1
$ControlID3 = $ControlID3 + 1

Do
ControlClick("", "????", $ControlID3, "right", 2)
Until $ControlID3 = 1800
Until $count = 100000
Exit


Func quit()
 * Exit
EndFunc
Try this, the important thing is the Opt("WinTitleMatchMode",2) part. Anyway, it also seems wierd the parth with the control click..y is the first part in quotes bloank and the 2nd part with question marks..there were no errors, but i dunt no wat it does so i culdnt test..shuld work...and wat is this supposed to do, pm me


Hope this helped ;P
bigassmuffin is offline  
Old 09/30/2006, 17:20   #5
 
elite*gold: 0
Join Date: Apr 2006
Posts: 397
Received Thanks: 17
so... does this work?
bigassmuffin is offline  
Old 09/30/2006, 19:11   #6
 
elite*gold: 0
Join Date: Apr 2006
Posts: 5
Received Thanks: 0
No it doesnt

I need to learn more advanced stuff
>>X is offline  
Old 09/30/2006, 21:16   #7
 
elite*gold: 0
Join Date: Apr 2006
Posts: 397
Received Thanks: 17
I dont think it works because I dont think it can be done in autoit, i culd be rong...this can def. be done in vb easily
bigassmuffin is offline  
Old 10/01/2006, 02:28   #8
 
elite*gold: 0
Join Date: Sep 2006
Posts: 199
Received Thanks: 26
Should look like:
ControlClick("[Conquer2.0]", "", "$ControlID","right", 2)

1) You are missing the Window name
2) The Windows Text is not "??", there is none !

The Do....Until part seems messed as well.

Btw: Wtf do you want to archive with this, you have set until = count = 100 000 <<<< this means your script will rund 100k times until it exits !

Even if it works, it most likley will hang for a looooong times (read: 100k click to each button eh ?)!

3) Use WinWait to wait until the window exists
4) Use WinActivate to open the window

5) You can wait with WinWaitActive until the windows exists and is active
Christoph_ is offline  
Old 10/03/2006, 03:56   #9
 
elite*gold: 0
Join Date: Apr 2006
Posts: 5
Received Thanks: 0
its meant to be a loop chris thats what the 100k repititions are and because the controlID for every monster is different I wanted to try this
>>X is offline  
Old 10/10/2006, 23:13   #10
 
elite*gold: 0
Join Date: Sep 2006
Posts: 199
Received Thanks: 26
Quote:
Originally posted by >>X@Oct 3 2006, 03:56
its meant to be a loop chris thats what the 100k repititions are and because the controlID for every monster is different I wanted to try this
ID them by their pixels instead I would say.

Instead you could get all active Control IDs as well.
Christoph_ is offline  
Old 06/28/2007, 17:25   #11
 
elite*gold: 0
Join Date: Mar 2007
Posts: 9
Received Thanks: 0
modereta u there man i need to speak to u
seahenar is offline  
Reply




All times are GMT +1. The time now is 23:27.


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