Jump to content
Sign in to follow this  
soemaal

Bot script {auto-miner}

Recommended Posts

soemaal

i totaly don't know were to start...

please help me. it's an auto miner for the gamee conquer online. maybe some of you know it :)


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
Jos

i totaly don't know were to start...

please help me. it's an auto miner for the gamee conquer online. maybe some of you know it :)

This is a support forum, not "build me a script" forum ....

Just search, learn , search more , learn more ........ :)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
poisonkiller

Look in Autoit help file and search for these functions: PixelSearch, PixelGetColor, MouseClick and MouseMove. These should get you started.

Share this post


Link to post
Share on other sites
soemaal

new issue :) , i'll be asking alot here :)

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.4.9
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

Sleep(60000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)

How can i let this script go continiously, and it only stops when i press a hotkey.

@posionkiller, thanks :) i'll look at it :P

Edited by soemaal

Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
soemaal

i mean like loop ore something, i now have hotkeys set.

Sleep(60000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)

the script above must run continuously, for example: that i can run it for a whole day.


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
soemaal

bump


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
soemaal

thanks :)


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
Sardith

Global $Paused = 0
HotKeySet("{INSERT}", "ORE");Toggles ore mining

;;;; Body of program would go here;;;;
While 1
    If $Paused = 1 Then
Sleep(60000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
Sleep(2000)
MouseClick("left" ,859,70)
MouseClick("left" ,651,327)
    EndIf

Sleep(10)
WEnd
;;;;;;;;

Func Ore()
    If $Paused = 0 Then
        $Paused = 1
    Else
        $Paused = 0
    EndIf
EndFunc

Well this does what you want. The ore mining is off, till you hit the INSERT key. Then it runs till you hit the INSERT key again, and so on.


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites
soemaal

thanks sardith :)

and Toady i'll look at it :)

EDIT:

it needs to disconnect at a certain item that i mine. is that pssible whit your macro Toady?

Edited by soemaal

Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
Erik.

Ok now in dutch, srry ppl for the dutch but i can explain better...

Je wil dus een auto minder voor dat nieuwe spel.

Speel je elke keer dezelfde map en elke keer dezelfde plek of wat?

Ik heb geen idee hoe je het wil maken of hoe je het uitgewerkt hebt?

Is er een sneltoets om zo;n wagen te selecteren die dat kan?

Je moet coördinaten maken en daar neer laten leggen.

Ik denk dat het ook niet erg makkelijk word maar je leert er veel van!

Ik had altijd als ik bezig was dat het goed ging dan stopte ik ook niet want als je de volgende dag weer verder gaat ben je veel kwijt..

Als je vragen zijn kan je me altijd mailen..

Succes ermee


I little problem, hard to find and fix

Share this post


Link to post
Share on other sites
Sardith

I can help you with AutoIt coding if you list some more specifics.


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites
soemaal

ok let me explain whit pictures i'll post it soon :)


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
soemaal

Posted Image

here is my idea :)


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
Generator

Posted Image

here is my idea :)

I. MouseMove()

II. MouseClick()

III MouseClickDrag()

IV. MouseClick again, PixelChecksum()

Share this post


Link to post
Share on other sites
soemaal

ok, any other ideas?


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
soemaal

anyone?> bump bump


Sorry i am only 14 years old, Dutch and new to scripting.Got any complainments? PM memy name is Bas :)

Share this post


Link to post
Share on other sites
Generator

anyone?> bump bump

Show us that you are trying and we can help you with your problems.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×