Sign in to follow this  
Followers 0
scriptnub

Needing help with a script

12 posts in this topic

#1 ·  Posted (edited)

I'm trying to make a very simple script out of another script that I have that involves clicking one button, waiting about a second and then clicking another button continuously. I've never made a script and know absolutlely nothing about coding. I'm hoping someone will help me fix this problem

Please add me to msn, l7ez_nuts@yahoo.com

Edited by scriptnub

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

For make something continously use :

While 1
;thing always repeat
WEnd

Then for click to button use mouse click and for have more information about it press F1 in SciTE editor

You can get id with au3info.exe in AutoIt3 dir and then use ControlClick

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Try using:

While 1;While "Forever" do the following
    Send("{H}");presses Ctrl+h
    Sleep(1000);pauses the script for 1 second
Wend;End of loop, go back to the start While.

Hiyoal :)

Share this post


Link to post
Share on other sites

Still needing some help, feel free to add me.

How do I get the script to click on the appropiate buttons?

Share this post


Link to post
Share on other sites

Still needing some help, feel free to add me.

How do I get the script to click on the appropiate buttons?

Look an ControlClick function in the help.

Share this post


Link to post
Share on other sites

Alright, I have the script made and it would work perfectly except for one thing.

The two buttons are different, one will show it being clicked and one doesnt, the one that doesnt is having problems clicking.

The game has had a history of scripters so they have made it as script proof as they can, but im sure theres a way to accomplish this, if you have some ideas PM me so i can send you the script, or add me to msn

Share this post


Link to post
Share on other sites

Why don't you post here your script? How can we help you if you don't post the script?

Share this post


Link to post
Share on other sites

@Scriptnub

If you dont know use au3info.exe for controlclick then if it doesnt work use mouseclick

MouseClick("left",x,y)

Check pixel coords for click and check nb of clicks :)

FireFox


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

I tried ControlClick and it also couldn't click the "script-proof" button

any other suggestion?

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

I tried ControlClick and it also couldn't click the "script-proof" button

any other suggestion?

First off, the only thing as posters we get from helping others, is a more respectable status based on post-count, and the warm fuzzy feeling knowing that we've helped someone... So I'm thinking that no-one is going to add you to messenger to discuss this... (lol... Didn't realize how mean this sounded until I re-read it...)

Secondly If your going to provide the script to people who add you, then you should be willing to supply it here as well...

If it uses "GameGuard" or "Warden" then forget it... You obviously don't have the knowledge of simple scripting, so Modification of Memory and removing partial root-kit anti-hacking utilities are out of your league. NO offense intended! So don't get mad.

Open up Scite, Create a NEW script, then save it... Then type something like "MouseClick" make sure your keyboard courser is set on it, and hit "F1" that will bring up detailed information regarding that specific Function. This script will allow you to grab coordinates...

While 1
     $pos = MouseGetPos()
     TrayTip("Mouse Coordinates:","X = " & $pos[0] & @CRLF & "Y = " & $pos[1],5)
WEnd
Edited by BinaryBrother

Share this post


Link to post
Share on other sites

Also another way to get the mouseclick coords is to use the autoit info window its probably start>all programs>autoitv3>autoitv3windowinfo or something like that.

Share this post


Link to post
Share on other sites

@IKilledBambi

Program Files\AutoIt3\au3info.exe :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

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  
Followers 0