Star Trek Online

Star Trek Online Group

Quick Overview

Category
Space Games
Total members
21
Total events
1
Total discussions
82
Total views
11K

Omega-Beta Script

Caveman

New member
Jan 8, 2015
12
0
Could you specify what pixel #2 should be? I've been trying to adapt this to a 768 screen and the game itself starts jumping the cursor all over the place.

Also, here's an expansion of the script. Includes:

1. Unselects pop-up window on login.

2. Scans omega particle

3. Starts game

4. Collects rewards

5. Checks you're logged in and haven't been disconnected

6. If you're not logged in, logs you in and logs into your last character (you need to open it in notepad and write your password where it says PASSWORD).

7. Loops back to 1.

View attachment 241
I looked over the script, and I may not be reading it clearly, but it doesn't look like it ever calls 'Loop' It has a trigger for the login loop, and the end calls up mainloop, but nothing mentions just the regular farming loop. Take a look at the FarmBot script and see if you think that and yours could be integrated. I do like the logon chunk, and the part to activate if the Cryptic Client is running. Those are nice touches

 

kain

New member
Oct 12, 2017
18
5
OH!

go into your game settings and find the one about auto collect all loot. I can't remember the exact wording, but I'd forgotten all about that
That seams to have fixed 1 of the bugs but it now seams to not click on the next omega particial buttion and it clicks on a toon in the backgrouns insted

was how ever able to get it to run 2 back to back whin it was working right :)

 

kain

New member
Oct 12, 2017
18
5
will after probly derping up the code i was able to get it to run 4 back to back on a string but it seams to stell both in the unedited and my atimpt to fix it vershions seams to have a hard time clicking the omega particial buttion to start the proces over for a new game

 

kain

New member
Oct 12, 2017
18
5
will i think after heavly tweeking and adding in rows of repeeting tasks for a cople of the parts derping out it seams to work compleetly now i ran threw about 20 games and it dident derp this time if u want i can send u a copy of the edited vershion i have 

 

kain

New member
Oct 12, 2017
18
5
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
^!NumPad5::
KeepLoop=1
CoordMode, pixel,screen
CoordMode, mouse,screen 
time := A_Now
time += 60, Seconds
Loop
{
if (KeepLoop=0)
Return
else
PixelSearch, Px, Py,    935, 483, 949, 720, 0x3497CB, 10, Fast RGB
if !ErrorLevel 
  {
    MouseMove, 1000, 501, 0
    Sleep, 10
    Send {Click}
  }
else
    Sleep, 0

PixelSearch, Px, Py,    935, 483, 949, 720, 0x323C9B, 10, Fast RGB
if !ErrorLevel 
  {
    MouseMove, 1000, 560, 0
    Sleep, 10
  }
else
    Sleep, 0

PixelSearch, Px, Py,    935, 483, 949, 720, 0x47E0D2, 10, Fast RGB
if !ErrorLevel 
  {
    MouseMove, 1000, 618, 0
    Sleep, 10
  }
else
    Sleep, 0

PixelSearch, Px, Py,    935, 483, 949, 720, 0x6C3FC1, 10, Fast RGB
if !ErrorLevel 
  {
    MouseMove, 1000, 681, 0
    Sleep, 10
  }
else
    Sleep, 0
    
if (A_Now = time)
    {
    MouseMove, 1015, 420, 0
    Sleep, 500
    MouseClick
    Sleep, 200
    MouseMove, 969, 624, 0
    Sleep, 500
    MouseClick
    Sleep, 200
    MouseMove, 836, 700, 0
    MouseMove, 845, 700, 5
    Sleep, 500
    Click, Down
    Sleep, 10
    Click, up
    Sleep, 100
    Click, Down
    Sleep, 10
    Click, up
    Sleep, 100
    Click, down
    Sleep, 10
    Click, up
    Sleep, 100
    MouseMove, 836, 700, 0
    MouseMove, 845, 700, 5
    Sleep, 500
    Click, Down
    Sleep, 10
    Click, up
    Sleep, 100
    Click, Down
    Sleep, 10
    Click, up
    Sleep, 100
    Click, down
    Sleep, 10
    Click, up
    Sleep, 100
    MouseMove, 836, 700, 0
    MouseMove, 845, 700, 5
    Sleep, 500
    Click, Down
    Sleep, 15
    Click, up
    Sleep, 100
    Click, Down
    Sleep, 15
    Click, up
    Sleep, 100
    Click, down
    Sleep, 15
    Click, up
    Sleep, 100
    MouseMove, 836, 700, 0
    MouseMove, 845, 700, 5
    Sleep, 500
    Click, Down
    Sleep, 15
    Click, up
    Sleep, 100
    Click, Down
    Sleep, 15
    Click, up
    Sleep, 100
    Click, down
    Sleep, 15
    Click, up
    Sleep, 100
    MouseMove, 1015, 420, 0
    Sleep, 500
    MouseClick
    Sleep, 500
    MouseMove, 975, 585, 0
    Sleep, 500
    MouseClick
    Click, down
    Sleep, 10
    Click, up
    MouseMove, 1015, 420
    Click
    Sleep, 10
    Click
    sleep, 10
    MouseMove, 1015, 420, 0
    Sleep, 500
    MouseClick
    Sleep, 500
    MouseMove, 975, 585, 0
    Sleep, 500
    MouseClick
    Click, down
    Sleep, 10
    Click, up
    MouseMove, 1015, 420
    Click
    Sleep, 10
    Click
    Send {Click}
    time := A_Now
    time += 60, Seconds
    }
}
return

^!NumPad6::
KeepLoop=0
Return
 

i had to dlooplacate some of the oprashions inorder to make sure the clicks were registerd ingame but whin its running it seams to know whin i dosent need extra clicks and will some times skip oprashiions if there not needed atleast it dos this on my end lol may need refined a bet for outters espechly if thay have smaller screens / resulushions

 
Last edited by a moderator:

Tbar

ToW Club President
Dec 20, 2005
2,341
4
{
if (KeepLoop=0)
Return
else
PixelSearch, Px, Py, 935, 483, 949, 720, 0x3497CB, 10, Fast RGB
if !ErrorLevel
{
MouseMove, 1000, 501, 0
Sleep, 10
Send {Click}
}
else
Sleep, 0

PixelSearch, Px, Py, 935, 483, 949, 720, 0x323C9B, 10, Fast RGB
if !ErrorLevel


Kain.. above is how to do it... :)

 

Tbar

ToW Club President
Dec 20, 2005
2,341
4
NOTE .. this is for resolution 1680 x 1050

My script:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
^!NumPad5::
KeepLoop=1
CoordMode, pixel,screen
CoordMode, mouse,screen
Loop
{
if (KeepLoop=0)
Return
else
PixelSearch, Px, Py,    818, 464, 832, 701, 0x3497CB, 10, Fast RGB
if !ErrorLevel
  {
    MouseMove, 883, 489, 0
    Sleep, 10
  }
else
    Sleep, 0

PixelSearch, Px, Py,    818, 464, 832, 701, 0x323C9B, 10, Fast RGB
if !ErrorLevel
  {
    MouseMove, 883, 552, 0
    Sleep, 10
  }
else
    Sleep, 0

PixelSearch, Px, Py,    818, 464, 832, 701, 0x47E0D2, 10, Fast RGB
if !ErrorLevel
  {
    MouseMove, 883, 611, 0
    Sleep, 10
  }
else
    Sleep, 0

PixelSearch, Px, Py,    818, 464, 832, 701, 0x6C3FC1, 10, Fast RGB
if !ErrorLevel
  {
    MouseMove, 883, 668, 0
    Sleep, 10
  }
else
    Sleep, 0
}
return

^!NumPad6::KeepLoop=0
Return

 
Last edited by a moderator:
Top