Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-12-2007, 05:17 AM   PM User | #1
T.A.Scott
New to the CF scene

 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
T.A.Scott is an unknown quantity at this point
Javascript Help

[Project specifics]
Name=AQ BOT
[Event73]
FunctionType=Pause
Time=2000
EventText=Pause for 2 second(s)
[Event74]
FunctionType=MoveMouse
MoveMouse=616,515
Random=2
Speed=10
EventText=Move the mouse to X:616 Y:515 (2 pixels² randomized) at speed: 90
[Event75]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
[Event76]
FunctionType=Pause
Time=5000
EventText=Pause for 5 second(s)
[Event77]
FunctionType=MoveMouse
MoveMouse=919,665
Random=2
Speed=10
EventText=Move the mouse to X:919 Y:665 (2 pixels² randomized) at speed: 90
[Event78]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
[Event79]
FunctionType=Pause
Time=500
EventText=Pause for 0.5 second(s)
[Event80]
FunctionType=MoveMouse
MoveMouse=890,577
Random=2
Speed=10
EventText=Move the mouse to X:890 Y:577 (2 pixels² randomized) at speed: 90
[Event81]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
[Event82]
FunctionType=Pause
Time=10000
EventText=Pause for 10 second(s)
[Event83]
FunctionType=GetPixel
Location=851,638
ColorVarName=Variable1
EventText=Read color of pixel at X:851 Y:638, add color to: Variable1
ColorEvent83=F20000
[Event84]
FunctionType=If...Then
Variable=Variable1
Operator==
Result=F20000
Function=Move mouse
EventText=If Variable1 = F20000 then:
[Event85]
Statement=If
FunctionType=MoveMouse
MoveMouse=619,361
Random=2
Speed=10
EventText=Move the mouse to X:619 Y:361 (2 pixels² randomized) at speed: 90
[Event86]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
[Event87]
FunctionType=MoveMouse
MoveMouse=644,308
Random=2
Speed=10
EventText=Move the mouse to X:644 Y:308 (2 pixels² randomized) at speed: 90
[Event88]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
[Event89]
FunctionType=Pause
Time=15000
EventText=Pause for 15 second(s)
[Event90]
FunctionType=If...Then
Variable=Variable1
Operator==
Result=181818
Function=Move mouse
EventText=If Variable1 = 181818 then:
[Event91]
Statement=If
FunctionType=MoveMouse
MoveMouse=627,507
Random=2
Speed=98
EventText=Move the mouse to X:627 Y:507 (2 pixels² randomized) at speed: 2
[Event92]
FunctionType=MouseClickLeft
EventText=Click left mousebutton



Thats the script so far now what I want it to do is,, Repeat from

[Event83]
FunctionType=GetPixel ,,

all the way down,, until the script below this kicks in,, than I want it to repeat itsself from the beggining,, Any Ideas???

EventText=If Variable1 = 181818 then:
[Event91]
Statement=If
FunctionType=MoveMouse
MoveMouse=627,507
Random=2
Speed=98
EventText=Move the mouse to X:627 Y:507 (2 pixels² randomized) at speed: 2
[Event92]
FunctionType=MouseClickLeft
EventText=Click left mousebutton
T.A.Scott is offline   Reply With Quote
Old 12-12-2007, 05:36 AM   PM User | #2
T.A.Scott
New to the CF scene

 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
T.A.Scott is an unknown quantity at this point
Sorry

I appologize for how retarded that was,, heres the script minus the bull****,,

Name=AQ BOT
FunctionType=Pause
Time=2000
FunctionType=MoveMouse
MoveMouse=616,515
Random=2
Speed=10
FunctionType=MouseClickLeft
FunctionType=Pause
Time=5000
FunctionType=MoveMouse
MoveMouse=919,665
Random=2
Speed=10
FunctionType=MouseClickLeft
FunctionType=Pause
Time=500
FunctionType=MoveMouse
MoveMouse=890,577
Random=2
Speed=10
FunctionType=MouseClickLeft
FunctionType=Pause
Time=10000
FunctionType=GetPixel
Location=851,638
ColorVarName=Variable1
FunctionType=If...Then
Variable=Variable1
Operator==
Result=F20000
Function=Move mouse
Statement=If
FunctionType=MoveMouse
MoveMouse=619,361
Random=2
Speed=10
FunctionType=MouseClickLeft
FunctionType=MoveMouse
MoveMouse=644,308
Random=2
Speed=10
FunctionType=MouseClickLeft
FunctionType=Pause
Time=15000
FunctionType=If...Then
Variable=Variable1
Operator==
Result=181818
Function=Move mouse
Statement=If
FunctionType=MoveMouse
MoveMouse=627,507
Random=2
Speed=98
FunctionType=MouseClickLeft

I still need the repeat at the same time,, and i need to know,, is there any other way to run this script other than Trickster(Which is the program that automated it)?,, im a noob ,, I am sorry,, Dont flame me to much
T.A.Scott is offline   Reply With Quote
Old 12-12-2007, 05:40 AM   PM User | #3
T.A.Scott
New to the CF scene

 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
T.A.Scott is an unknown quantity at this point
and if thats not even possible to do is there anyone that could write a javascript for me that could complete that task?,, im a noob,, tell me if it is IMPOSSIBLE or not,, i need to learn..
T.A.Scott is offline   Reply With Quote
Old 12-12-2007, 06:23 AM   PM User | #4
Trinithis
Regular Coder

 
Join Date: Jun 2007
Location: USA
Posts: 527
Thanks: 26
Thanked 74 Times in 72 Posts
Trinithis will become famous soon enough
The code you posted is . . . I have no idea. I do know that it is definitely NOT javascript. It looks like output.
Trinithis is offline   Reply With Quote
Old 12-12-2007, 06:28 AM   PM User | #5
T.A.Scott
New to the CF scene

 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
T.A.Scott is an unknown quantity at this point
awwww mannn im sorry,, im super new,, what language is best for coding bots?
T.A.Scott is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:32 PM.


Advertisement
Log in to turn off these ads.