 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
areaman Guest
|
Posted: Mon May 10, 2004 1:34 am Post subject: The greatest RS autofisher |
|
|
This is an autofisher for Runescape classic (now Runescape 2, I need to update for the new version of Runescape). Replace USERNAME with your name, and PASSWORD for your password which appear in multiple locations of the code. Start at the log in screen in 1024/768, no extra toolbars (i.e. google toolbar) and other instructions in my code. I was keeping all of my autos secret but I haven't used them in a while, tell me if you like them. RUNESCAPE CLASSIC REMEMBER...
I made this custom for myself, but if you follow my instructions you should be able to figure it out.
| Code: | ;Runescape Autofish/Autologon
;by Areaman
;START IN 1024 by 768 RESOLUTION, FULL WINDOWED MODE WITH THE
;GAME AT THE NOT LOGGED IN SCREEN
;Logs in to Runescape with the user/pass by clicking and typing
;Wait until after jagex window pops up to do anything, this
;will automatically close it
;TURN OFF CHAT AND BLOCK ALL TRADES, DUELS, AND PM's!!!!
Login:
Sleep, 5000
LeftClick, 559, 540
Sleep, 1000
LeftClick, 441, 509
Sleep, 250
Send, USERNAME
Sleep, 250
Send, {ENTER}
Sleep, 250
Send, Password
Sleep, 500
LeftClick, 695, 499
Sleep, 8000
LeftClick, 580, 483
Sleep, 1000
SetEnv, end, 0
SetEnv, logcount, 1
SetEnv, error1, 0
Goto, GetPos
;Move mouse to bottom left of fishing spot and rest there, then top right
;It will ghost directions in the chat type window
GetPos:
Send, 5 seconds to bottom left
Sleep, 5000
MouseGetPos, xpos1, ypos1
SetEnv, xpos2, %xpos1%
SetEnv, ypos2, %ypos1%
SetEnv, xmid, 0
SetEnv, ymid, 0
Send, {BACKSPACE 25}
Send, 5 seconds to top right
Sleep, 5000
MouseGetPos, xpos, ypos
SetEnv, xpos3, %xpos%
SetEnv, ypos3, %ypos%
Send, {BACKSPACE 25}
;tempx = 50
SetEnv, tempx, %xpos1%
;tempx2 = 150
SetEnv, tempx2, %xpos%
;tempx2 = 100, or difference between left x and right x
EnvSub, tempx2, %tempx%
;tempx2 is divided by 2 to get median
EnvDiv, tempx2, 2
;xmid was 0, now 50 as it is set to left x
EnvAdd, xmid, %xpos1%
;50 is added to 50 (left x) to get middle of 2, 100
EnvAdd, xmid, %tempx2%
;tempy = 50, or top y
SetEnv, tempy, %ypos%
;tempy2 = 150, or bottom y
SetEnv, tempy2, %ypos1%
;tempy2 = 100 as 150-50=100, or difference between y's
EnvSub, tempy2, %tempy%
;tempy2 divided by 2 to get median, or 50
EnvDiv, tempy2, 2
;50 added to top y, as adding moves it downward, to reach median, or 100
EnvAdd, tempy, %tempy2%
;ymid becomes 100, or median
SetEnv, ymid, %tempy%
Send, Starting in 2 seconds
Sleep, 2000
Send, {BS 21}
Goto, Start2
;Rightclicks and cages lobbies, then moves mouse a little to compensate
;the window shift that jagex uses to stop macros
;After a set amount of times it will stop, as the window shift will
;be too great to continue safely. Increase times if you want but be
;careful as to what might happen by itself. this automatically logs
;you out.
Logout:
Sleep, 250
MouseMove, 583, 269
Sleep, 250
LeftClick, 612, 532
IfGreaterOrEqual, logcount, 9, Exit
Goto, Login2
Login2:
Sleep, 5000
LeftClick, 559, 540
Sleep, 1000
LeftClick, 441, 509
Sleep, 250
Send, USERNAME
Sleep, 250
Send, {ENTER}
Sleep, 250
Send, PASSWORD
Sleep, 500
Send, {ENTER}
Sleep, 8000
LeftClick, 580, 483
Sleep, 1000
SetEnv, end, 0
Send, {BS 10}
Send, %logcount%................
EnvAdd, logcount, 1
SetEnv, error1, 0
SetEnv, xpos1, %xpos2%
SetEnv, ypos1, %ypos2%
SetEnv, xpos, %xpos3%
SetEnv, xpos, %xpos3%
Goto, Start2
Start2:
IfGreater, end, 25, Goto, Logout
Send, {BS 2}
Send, %end%
Goto, Start
Start:
MouseMove, %xpos1%, %ypos1%
PixelGetColor, color, 276, 261
IfEqual, color, 16776960, Goto, Clicking
IfGreater, error1, 50, GoSub, Restart
IfGreater, xpos1, %xpos%, GoSub, Xfix
IfLess, ypos1, %ypos%, GoSub, Yfix
EnvAdd, xpos1, 2
EnvSub, ypos1, 2
Goto, Start
Start1:
MouseMove, %xpos1%, %ypos1%
PixelGetColor, color, 276, 261
IfEqual, color, 16776960, Goto, Clicking
IfGreater, error1, 50, GoSub, Restart
IfLess, ypos1, %ypos%, GoSub, Yfix1
EnvSub, ypos1, 2
Goto, Start1
Start3:
MouseMove, %xpos1%, %ypos1%
PixelGetColor, color, 276, 261
IfEqual, color, 16776960, Goto, Clicking
IfGreater, error1, 50, GoSub, Restart
IfGreater, xpos1, %xpos%, GoSub, Xfix1
EnvAdd, xpos1, 2
Goto, Start3
Start4:
MouseMove, %xpos1%, %ypos1%
PixelGetColor, color, 276, 261
IfEqual, color, 16776960, Goto, Clicking
IfGreater, error1, 50, GoSub, Restart
IfGreater, xpos1, %xpos%, GoSub, Xfix2
IfGreater, ypos1, %ypos2%, GoSub, Yfix2
EnvAdd, xpos1, 2
EnvAdd, ypos1, 2
Goto, Start4
Clicking:
RightClick, %xpos1%, %ypos1%
EnvAdd, ypos1, 45
EnvSub, xpos1, 10
Random, output, 100, 200
Sleep, %output%
LeftClick, %xpos1%, %ypos1%
Random, output, 4000, 5500
Sleep, %output%
EnvSub, ypos1, 45
EnvAdd, xpos1, 10
EnvAdd, end, 1
Random, output, 1,4
IfLessOrEqual, output, 2, EnvAdd, xpos1, 1
Goto, Start2
Xfix:
SetEnv, xpos1, %xmid%
SetEnv, ypos1, %ypos2%
EnvAdd, error1, 1
Goto, Start1
Yfix:
SetEnv, ypos1, %ypos2%
SetEnv, xpos1, %xmid%
EnvAdd, error1, 1
Goto, Start1
Yfix1:
SetEnv, ypos1, %ymid%
SetEnv, xpos1, %xpos2%
EnvAdd, error1, 1
Goto, Start3
Xfix1:
SetEnv, ypos1, %ypos%
SetEnv, xpos1, %xpos2%
EnvAdd, error1, 1
Goto, Start4
Xfix2:
SetEnv, xpos1, %xpos2%
SetEnv, ypos1, %ypos2%
EnvAdd, error1, 1
Goto, Start
Yfix2:
SetEnv, ypos1, %ypos2%
SetEnv, xpos1, %xpos2%
EnvAdd, error1, 1
Goto, Start
Restart:
SetEnv, error1, 0
SetEnv, end, 26
SetEnv, xpos1, %xpos2%
Send, {BS 25}
Goto, Start2 |
|
|
| Back to top |
|
 |
areaman Guest
|
Posted: Mon May 10, 2004 1:38 am Post subject: |
|
|
| LOL, oops. RS Classic apparantnly is not ready yet, and these will not work on RS2, so either admire my code or save it for when RS classic is released. If you guys want the upgraded code for RS2 tell me, when I have time I'll convert it. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10692
|
Posted: Mon May 10, 2004 2:29 am Post subject: |
|
|
Well, if I run low on virtual fish, I know where to find more  |
|
| Back to top |
|
 |
jamestr
Joined: 05 Apr 2004 Posts: 98 Location: Connecticut USA
|
|
| Back to top |
|
 |
voodoo Guest
|
Posted: Sun Aug 15, 2004 6:00 am Post subject: |
|
|
| Would like to see a RS2 version, things have changed quite a bit since RSC. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5438 Location: /b/
|
Posted: Sat Oct 02, 2004 7:27 pm Post subject: |
|
|
Cool, I have a few RS hacks. Nice to see that other ppl play RS here  _________________
 |
|
| Back to top |
|
 |
areaman Guest
|
Posted: Sat Oct 02, 2004 10:46 pm Post subject: |
|
|
| Yeah, RS Classic has changed so much since I posted that script, I doubt it works anymore. But I have tons of new scripts for RS2 and RSC that I wrote, but you're not going to get those. Sorry... |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5438 Location: /b/
|
Posted: Sat Oct 02, 2004 11:11 pm Post subject: |
|
|
I have made quite a few scripts already for RS2. Could you list the programs you made? _________________
 |
|
| Back to top |
|
 |
PurpleApple
Joined: 10 Sep 2004 Posts: 9
|
Posted: Wed Oct 20, 2004 4:29 am Post subject: |
|
|
i am wondering, does rs2 or rs1 uses nprotect? can this game be minimised? i am trying to do an auto right click for a game priston tale but i cant get it to work ingame. any advise? _________________ I've got a purple apple.
One of its kind.
First of its kind.
Do you want to see? |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 09, 2006 7:24 am Post subject: |
|
|
i want a autofisher were do i get one from  |
|
| Back to top |
|
 |
CrackedNut Guest
|
Posted: Thu Mar 09, 2006 4:51 pm Post subject: |
|
|
Titan, i play Runescape too. Can u show me some of ur scripts please?  |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Apr 02, 2006 8:12 pm Post subject: |
|
|
| voodoo wrote: | | Would like to see a RS2 version, things have changed quite a bit since RSC. | no!!!!!!!!!!!!!!!! |
|
| Back to top |
|
 |
Laughing Man
Joined: 29 Apr 2005 Posts: 84 Location: Maryland
|
Posted: Mon Apr 03, 2006 2:28 am Post subject: |
|
|
| PurpleApple wrote: | | i am wondering, does rs2 or rs1 uses nprotect? can this game be minimised? i am trying to do an auto right click for a game priston tale but i cant get it to work ingame. any advise? |
Neither (it's a java based game playable thru an internet browser). And you can't minimize it though you can minimize the internet browser containing it. _________________ "I thought what I'd do was I'd pretend I was one of those deaf-mutes" ~ Laughing Man - GITS:SAC |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jul 16, 2006 8:07 pm Post subject: |
|
|
| Anyone have any scripts for macros (that work)? |
|
| Back to top |
|
 |
BOUC3W1TM3 Guest
|
Posted: Thu Jul 27, 2006 11:07 pm Post subject: AUTO-FISHER! |
|
|
DUDE IM NOT MEMBER ON THIS BUT W/E
I REALLY NEED A AUTO FISHER HOW DO I GET ONE 4 FREE AND WHERE!!!!!!!!!!! |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|