AutoHotkey Community

It is currently May 26th, 2012, 10:41 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: August 15th, 2008, 4:22 am 
I have read the faq, and the tut. but having little programing exp, the tut and script samples are greek to me. If possible I would like a sample of a script that controls movement and speed of the curser, (yeah I know I can't spell)
movement from point y to point x. Basically what I want to do is mimic the natural movement during game play. I play RS and yes I am aware of the rules. I will attempt to create the best auto fisher I can, but I really need some guidance with it. I am disabled and my meds put me to sleep. So I hope you all understand and lend a helping hand.

Also I would like some descriptions of what things mean or do in the scripts. It would help me understand the functions of each command in the script.

Thank You for your time and consideration


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2008, 11:54 am 
Start off with this. It's what I use when fishing sharks, since they take so long.

It presses a directional arrow for a random period of time, and then afterward pressing a random F# button. This is to make it seem like you are playing. If it was a specific period of time, and a specific F# key, they'd catch on . :P.
Ctrl+Shift+S to start.
Ctrl+Shift+X to start.

Code:
RandomButton = 0
RandomFButton = 0
RandomSleep = 0
Started = 0

^+s::
Started = 1
Loop,
{
Random, RandomDelay, 3000, 6000
GoSub, Random
Sleep (RandomDelay)
If (Started == 0)
{
Break
}
}
Return

^+x::
Started = 0
Return

Random:
Random, RandomButton, 1, 4
Random, RandomSleep, 500, 2500
If (RandomButton == 1)
{
   Send, {Left Down}   
}
If (RandomButton == 2)
{
   Send, {Up Down}   
}
If (RandomButton == 3)
{
   Send, {Right Down}   
}
If (RandomButton == 4)
{
   Send, {Down Down}   
}
Sleep (RandomSleep)
Random, RandomFButton, 1, 8
Send, {F%RandomFButton%}
Send, {Left Up}
Send, {Up Up}
Send, {Right Up}
Send, {Down Up}
Return


From here use a Pixel or ImageSearch. Easy as pie. ;).


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2008, 11:58 am 
Sry for double post...

Also search:
MouseMove, X, Y [, Speed, R]

After using the Image or PixelSearch, use the MouseMove to click that location. But I don't think Jagex can actually moniter where your mouse moves and how fast... I've had auto-fletchers run all night and never had a problem... Never edited mouse speed.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2008, 6:21 pm 
Offline
User avatar

Joined: August 4th, 2008, 1:22 pm
Posts: 241
Location: UK
Hey Guys I Play RS Aswell And I Could Do With Lil Help Too, I Need A Yew Cutter As Ive Jus Created A Account That's A Pure.. I Got A Main Too... I Tried To Create The Wood Cutter But I'm Sorta New At This And Didn't Quiet Manage It...

I Used Pixelsearch, But I Didn't Manage To Get It Working As I'm Not Soo Good.. Lil Help? I Use A 1280 X 1024 REsolution And Use Firefox To Play It, If That Helps And I Normally Cut At Edgeville.. Could Do With Some Advice Or Coding...

I Would Say My RS Name Here But Then More Chance Of Getting Banned As Jagex Probably Searches The Whole Of The Net For Autoers...

Thanks


Last edited by Cephei1 on August 16th, 2008, 11:49 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2008, 6:30 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
Is it you that capitalizes every word, or do you have a program doing it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2008, 6:31 pm 
Offline

Joined: August 14th, 2008, 7:26 pm
Posts: 32
autohotkey is missing a lot of the really good stuff for macros that you will see in SCAR - the human-imitator behavior like making the mouse move in curves and so-on.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: August 19th, 2008, 8:27 pm 
After paying a lot of attention to the RuneScape environment. It occurred to me that Fishing for sharks is quite a complex project. Especially if I want my automation to be as human like as possible in order to avoid detection . I did my study in catherby and came to realize that unless the automation that I choose to use is virtually undetectable I would risk my membership. With this in mind. I am interested in how accounts are banned. Are just the accounts banned or do they ban the ip, computer. etc. If they do not ban ip's or computers then I can safely play with a newly created account and do some experiments. I apologize if I am being annoying, but I'll admit it I know little about running macros. I downloaded scar just for a look see. If anyone is interested in my notes on what I have observed while playing RS I will be happy to share them, perhaps they might be of use when trying to add functionality to AHK. Please be aware my notes are extensive and not complete at this time.

Thank you for your time and assistance it is appreciated!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 19th, 2008, 8:32 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
Be a little easier to relate with you if you had a NickName as well.

Also, even if they banned IP's, use Release and Renew.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 19th, 2008, 11:11 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
hwo do you get past the random 50 pixel movement of teh compass when you login?

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 19th, 2008, 11:15 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
Scar...

Even if you posted ur username that would be stuppied. I know a bunch of people from this forum that like to hack and wright macros... "Wink Wink".

GJ on ripping of the RS macro scripters S.C.A.R.

And have you even tryed to write ur own scripts yet?

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: more RS
PostPosted: August 22nd, 2008, 7:18 pm 
Offline

Joined: August 22nd, 2008, 7:07 pm
Posts: 3
just to let you know I did register, so now we can continue with our efforts on scripting a auto for RS.
I was playing last night on my main and found some new random events. If anyone else plays I found these events while mining gems on shilo.
What was interesting was the rewards... 1200 exp points a pop for properly responding to the questions.

Ok, I will try to share as much as I can concerning things I discover along the way. A lot has changed since I last played over a year ago. AsI stated before I do not know anything about hacking, programing etc. Sp if anyone has the patients to teach me I would do my very best to learn, I do not want to just be a script kiddie.

Thank you for your time and responces


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2008, 9:17 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
If you want to know about hacking.

RS has a Java Encrypted Serversided values.

It is completly impossible to hack.

I have got in once for 12 seconds before the Pointer changed.

The data look slike this....

[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]/~09[][][][][][][][][]

Oh
AHK forums can't suport it lol.

Anyways. It IS UNHACKABLE. Don't try.


As Off macros use teh implemented F1 - F12 keys and clicks in inventorys prayers, magic ect.

The Compase has an offset of 20 pixels which makes it hard to write a Macro for.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Creating a macro for RS
PostPosted: September 3rd, 2008, 3:31 pm 
Offline

Joined: August 22nd, 2008, 7:07 pm
Posts: 3
So far this is what I have observed while playing RS. My Character is the center of the axis of the screen, from this point we can work on a tracking script that scans for a color at a given location (say the location of a cooking range). if not found at that location it moves to the next given location and repeats until the given location has been confirmed. Think in the terms of a peg in the center of a board with a string tied to it. The peg representing your Character, everything else is located along the string. As the screen shifts it is along a arch in relationship to the center of the axis. There is a limited number of shifts and distances of the shift. In other words it is basically a wash, rinse, repeat cycle. This would be easier if we just had a program that recorded every movement from courser movement an speed of that movement to actions preformed. I realize that's one hell of a challenge. Just to develop the ai would would boggle most programmers minds!

Recently there has been many changes to RS. The creation of the grand exchange is an interesting one. I have come to realize that jax is making every effort to limit how much gold a player makes a day. I am starting to play with the grand exchange to see if I can find a way to use it to make more gold. So far it seems that the exchange is not player driven, more like jax controlled.
More observations later.

With all due respect to programmers, hackers and general readers.
Noneyah


Report this post
Top
 Profile  
Reply with quote  
 Post subject: RS yada yada
PostPosted: September 3rd, 2008, 3:39 pm 
Offline

Joined: August 22nd, 2008, 7:07 pm
Posts: 3
MY goal is not to hack rs but to create one of the most comprehensive automation programs ever seen. I know there is some really intelligent and talented people that read these posts.

I salute you all. 07


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2008, 10:36 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
you might want to lower your standerds a bit.

No offence but really good RS macros are hard to make/find.

Not too many people will go out of there way to wright a script for that.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, BrandonHotkey, iBob35555VR, Tilter_of_Windmills, Yahoo [Bot] and 59 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group