AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The greatest RS autofisher
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
areaman
Guest





PostPosted: Mon May 10, 2004 1:34 am    Post subject: The greatest RS autofisher Reply with quote

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





PostPosted: Mon May 10, 2004 1:38 am    Post subject: Reply with quote

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

PostPosted: Mon May 10, 2004 2:29 am    Post subject: Reply with quote

Well, if I run low on virtual fish, I know where to find more Smile
Back to top
View user's profile Send private message Send e-mail
jamestr



Joined: 05 Apr 2004
Posts: 98
Location: Connecticut USA

PostPosted: Mon May 10, 2004 9:58 pm    Post subject: Reply with quote

http://www.runescape.com/

There are currently 22886 people playing.
Back to top
View user's profile Send private message
voodoo
Guest





PostPosted: Sun Aug 15, 2004 6:00 am    Post subject: Reply with quote

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/

PostPosted: Sat Oct 02, 2004 7:27 pm    Post subject: Reply with quote

Cool, I have a few RS hacks. Nice to see that other ppl play RS here Very Happy
_________________

Back to top
View user's profile Send private message Send e-mail Visit poster's website
areaman
Guest





PostPosted: Sat Oct 02, 2004 10:46 pm    Post subject: Reply with quote

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/

PostPosted: Sat Oct 02, 2004 11:11 pm    Post subject: Reply with quote

I have made quite a few scripts already for RS2. Could you list the programs you made?
_________________

Back to top
View user's profile Send private message Send e-mail Visit poster's website
PurpleApple



Joined: 10 Sep 2004
Posts: 9

PostPosted: Wed Oct 20, 2004 4:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Thu Mar 09, 2006 7:24 am    Post subject: Reply with quote

i want a autofisher Embarassed were do i get one from Question
Back to top
CrackedNut
Guest





PostPosted: Thu Mar 09, 2006 4:51 pm    Post subject: Reply with quote

Titan, i play Runescape too. Can u show me some of ur scripts please? Smile
Back to top
Guest






PostPosted: Sun Apr 02, 2006 8:12 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 03, 2006 2:28 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Guest






PostPosted: Sun Jul 16, 2006 8:07 pm    Post subject: Reply with quote

Anyone have any scripts for macros (that work)?
Back to top
BOUC3W1TM3
Guest





PostPosted: Thu Jul 27, 2006 11:07 pm    Post subject: AUTO-FISHER! Reply with quote

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
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group