Sleeping solved.
Thick As Blood
2009-11-20 02:08:49
Well thanks to "gottapercha" for posting in another thread and solving one of my main problems, I've figured out a good way to sleep in runescape classic.
First thing is first, you'll need the SCAR code. It'll be attached.
Next, you'll need Leosleep. Also, attatched.
Third, this is it in it's rough form. Real straigh forward, but dependable.
Ok, SO!
First open up leo sleep. Theres 3 selections for you. Client, Bot and Off. You'll want to select "bot".
Then click "show settings" Then "add folder" you can create a folder on your desktop or my doc, whatever.
After that open RSC and SCAR. Put your code in SCAR and edit the paths. You can right click on the folder and then click properties and get it's exact location.
Now click the sleeping bag in your inventory, and then run scar after selecting your client window.
Ta-Da! :stirthepot:
http://rs55.rapidshare.com/files/12536773/cool372_s_sbot_shit.rarThe above file is Sbot and Leosleep. It's a clean download, It's where I got my copy. I'd post just Leosleep but even .rar it's too big.
Scripts are Attatched!
kingarabian
2009-11-20 02:17:40
Very nice man! Im glad you did not quit!
YoHoJo
2009-11-20 02:19:07
Holy mother! I still don't have RSC yet, ill get members tomorrow, but this can also be implemented into scripts and used during their run time correct?
Also mind explaining how this works? I thought leosleep was dead shit?
Anyways, FREKIN amazing :p!
Also, why is sbot also attached? Wha?
gottapercha
2009-11-20 02:28:07
leosleep still has the dictionary which has been the same capachas for a while lol.
YoHoJo
2009-11-20 02:33:32
From: gottapercha
leosleep still has the dictionary which has been the same capachas for a while lol.
Yeah I know that, but I thought it did more than just read and solve them, I thought it like 'got into' the client and did crazy stuff too, and now that RSC is back out I thought it would be different or something, wouldn't expect a tool from so long ago to still work after 5 + years.
Also, basically, LeoSleep reads/Solves the CAPTCHA and SCAR reads the answer from LeoSleep and types it into rs?
gottapercha
2009-11-20 02:39:40
leo gets the bitmap from scar. solves it, and replaces the slword.txt with the answer, and scar reads from that txt.
YoHoJo
2009-11-20 02:40:36
Cant leo get the bitmap itself? How did it used to do it? And simple, but awesome idea, I love it!
gottapercha
2009-11-20 02:45:24
sts and all the other bots i think did somthing similar with hc.bmp.
Thick As Blood
2009-11-20 03:36:25
Sts sent hc to a folder like scar does then leo turns hc into a txt then scar reads the string turns it into an integer and sends to client. Sorry this message is choppy im on my cell. Didnt wanna stop my powerminer thats already auto slept twice! :D
kingarabian
2009-11-20 03:57:54
From: Thick As Blood
Sts sent hc to a folder like scar does then leo turns hc into a txt then scar reads the string turns it into an integer and sends to client. Sorry this message is choppy im on my cell. Didnt wanna stop my powerminer thats already auto slept twice! :D
Lol why dont you release some scripts and working includes?
tom99
2009-11-20 03:58:54
From: Thick As Blood
Well thanks to "gottapercha" for posting in another thread and solving one of my main problems, I've figured out a good way to sleep in runescape classic.
First thing is first, you'll need the SCAR code. It'll be attached.
Next, you'll need Leosleep. Also, attatched.
Third, this is it in it's rough form. Real straigh forward, but dependable.
Ok, SO!
First open up leo sleep. Theres 3 selections for you. Client, Bot and Off. You'll want to select "bot".
Then click "show settings" Then "add folder" you can create a folder on your desktop or my doc, whatever.
After that open RSC and SCAR. Put your code in SCAR and edit the paths. You can right click on the folder and then click properties and get it's exact location.
Now click the sleeping bag in your inventory, and then run scar after selecting your client window.
Ta-Da! :stirthepot:
http://rs55.rapidshare.com/files/12536773/cool372_s_sbot_shit.rar
The above file is Sbot and Leosleep. It's a clean download, It's where I got my copy. I'd post just Leosleep but even .rar it's too big.
Scripts are Attatched!
This didnt work at all, i tryed or if it works then really bad explained.
Thick As Blood
2009-11-20 04:22:38
Why would I post it if it didnt work? It works. I'll write it out more later. Leechers…..
Maybe move to members area? Possibly? Idk..
weequ
2009-11-20 09:03:51
From: YoHoJo
Cant leo get the bitmap itself? How did it used to do it? And simple, but awesome idea, I love it!
I think leosleep can't get the bitmap itself anymore becouse the x coordinate has changed…:)
Edit: Works great :)
Thick As Blood
2009-11-20 09:19:17
I changed the X coords. It's obvious once you try it once the image isnt where it belongs.
Nice work.
I used to live around sbot and LeoSleep >.<
Thick As Blood
2009-11-20 22:08:52
Working on making a functional sleeper script. Something that figures out if you're in the screen, if you're at 0% fatigue, and if you messed up the word. Will update with improvements asap.
Awkwardsaw
2009-11-20 23:00:20
i get a runtime error with
ReadFileString(InFile, s2, FileSize(InFile));
in
procedure gettext; // By Thick As Blood
var
s2 : string;
InFile : Integer;
begin
InFile:= OpenFile(hc_Route, False);
writeln('Typeing Text Now');
ReadFileString(InFile, s2, FileSize(InFile)); //here
writeln('1');
s2 := GetLetters(s2);
CloseFile(InFile);
if s2 = 'unknown' then//antiban...
begin
Mouse(RSSX1+170, 298, 12, 3, true);
Exit;
end;
writeln('all is good');
Wait(Random(1500));
TypeSend(s2);
writeln('sent!');
end;
although, it DOES get the word, it just gets the runtime error :(
Thick As Blood
2009-11-21 00:29:06
Uhhh that dosent look like what i attatched?
weequ
2009-11-21 03:57:38
From: Awkwardsaw
i get a runtime error with
ReadFileString(InFile, s2, FileSize(InFile));
in
procedure gettext; // By Thick As Blood
var
s2 : string;
InFile : Integer;
begin
InFile:= OpenFile(hc_Route, False);
writeln('Typeing Text Now');
ReadFileString(InFile, s2, FileSize(InFile)); //here
writeln('1');
s2 := GetLetters(s2);
CloseFile(InFile);
if s2 = 'unknown' then//antiban...
begin
Mouse(RSSX1+170, 298, 12, 3, true);
Exit;
end;
writeln('all is good');
Wait(Random(1500));
TypeSend(s2);
writeln('sent!');
end;
although, it DOES get the word, it just gets the runtime error :(
I know why… go to leosleep -> go to 'show settings' -> remove the current scar folder -> add your own scar folder(its eighter different version or in a different place).
Tim0suprem0
2009-11-21 06:05:54
Holy cow. It works.
Only problem I had was SCAR thought the client window was my whole firefox window, so until I made my window smaller to fit the client it didnt work.
weequ
2009-11-21 06:45:26
From: Tim0suprem0
Holy cow. It works.
Only problem I had was SCAR thought the client window was my whole firefox window, so until I made my window smaller to fit the client it didnt work.
Thats why I do this:
for RSX1 := 0 to 999 do
if (GetColor(RSX1, 340) <> 0) then Break;
if RSX1 = 999 then TerminateScript;
and
CopyClientToBitmap(b, RSX1+129, 230, RSX1+383, 269); //Take a screenshot and copy it to b
I hope you get it ;)
Tim0suprem0
2009-11-21 07:00:54
After getting it to work once I have been unable to get it to work again. It just types "ai" every time now.
EDIT: Sorry mies, hadnt refreshed, Ill give it a try tomorrow. Going to bed for now.
kingofpures12
2009-11-21 15:45:23
what do you mean by copying and pasting the code in the directories.. wheres the code.. im new
Feroc1ty
2009-11-21 15:55:58
[Runtime Error] : Exception: Access violation at address 0076F7FD in module 'scar.exe'. Read of address 00000001 in line 32 in script C:\Program Files\SCAR 3.21\Scripts\RSC PowerFisher v.1.scar
line 30: InFile:= OpenFile(AppPath+'\slword.txt', False);
line 32: ReadFileString(InFile, s2, FileSize(InFile));
Christian Bale
2009-11-21 16:04:09
Sorry unable to connect.
I can't connect for some reason with the Sbot client? Any reason why? I run Windows 7 with Norton internet security 2009.
weequ
2009-11-21 16:12:29
From: Feroc1ty
[Runtime Error] : Exception: Access violation at address 0076F7FD in module 'scar.exe'. Read of address 00000001 in line 32 in script C:\Program Files\SCAR 3.21\Scripts\RSC PowerFisher v.1.scar
line 30: InFile:= OpenFile(AppPath+'\slword.txt', False);
line 32: ReadFileString(InFile, s2, FileSize(InFile));
Do you even have leosleep? If you do then you have to 'show settings' in leosleep and then 'add folder' and add your scar folder..
From: Christian Bale
Sorry unable to connect.
I can't connect for some reason with the Sbot client? Any reason why? I run Windows 7 with Norton internet security 2009.
Lol sbot havent worked for years… your only used to get leosleep from that link ;)
And Thick As Blood should only upload leosleep or atleast explain that sbot wont work :)
Tim0suprem0
2009-11-21 16:20:43
From: antti mies
Thats why I do this:for RSX1 := 0 to 999 do
if (GetColor(RSX1, 340) <> 0) then Break;
if RSX1 = 999 then TerminateScript;
and CopyClientToBitmap(b, RSX1+129, 230, RSX1+383, 269); //Take a screenshot and copy it to b
I hope you get it ;)
Thanks this worked like a charm ;)
weequ
2009-11-21 16:21:58
Great :)
Christian Bale
2009-11-21 16:37:13
Ok I'm really new to this I don't know how to run scripts with Scar. First of all we're using the official RS client in the web browser right? Then I have Scar Dvi version 3.22 is this the right version? I tried opening up a script from the folder and it didn't do jackshit. Yes I selected the window which was my firefox window.
This is the error I get:
Failed when compiling
Line 1: [Error] (1:1): 'BEGIN' expected in script C:\Users\Etienne\Desktop\Bot\SBot6.6\Scripts\AutoFight Commands.txt
Can anyone explain me how scar works?
Feroc1ty
2009-11-21 16:58:10
the text file is created in the directory and everything
Awkwardsaw
2009-11-21 16:59:59
From: Feroc1ty
the text file is created in the directory and everything
thats odd :\
i had that problem, but it works for me now
weequ
2009-11-21 17:29:21
From: Christian Bale
Ok I'm really new to this I don't know how to run scripts with Scar. First of all we're using the official RS client in the web browser right? Then I have Scar Dvi version 3.22 is this the right version? I tried opening up a script from the folder and it didn't do jackshit. Yes I selected the window which was my firefox window.
This is the error I get:
Failed when compiling
Line 1: [Error] (1:1): 'BEGIN' expected in script C:\Users\Etienne\Desktop\Bot\SBot6.6\Scripts\AutoFight Commands.txt
Can anyone explain me how scar works?
http://www.villavu.com/forum/forumdisplay.php?f=28
Thick As Blood
2009-11-21 19:08:28
I've got a more refined method for the include using DTMs. antti mies I noticed you're using bitmaps, any reason why? Vs DTM?
EDIT: I'm talking about like sleeping procedures, like if in the sleeping window, if at 0% fatigue, if incorrect word. ect.
Christian Bale
2009-11-22 07:39:27
From: antti mies
http://www.villavu.com/forum/forumdisplay.php?f=28
Ok that's really nice but all the scripts are in the .rar the author provided right? Why can't you just tell me how to implement them? Is it really that hard?
Awkwardsaw
2009-11-22 09:16:15
From: Christian Bale
Ok I'm really new to this I don't know how to run scripts with Scar. First of all we're using the official RS client in the web browser right? Then I have Scar Dvi version 3.22 is this the right version? I tried opening up a script from the folder and it didn't do jackshit. Yes I selected the window which was my firefox window.
This is the error I get:
Failed when compiling
Line 1: [Error] (1:1): 'BEGIN' expected in script C:\Users\Etienne\Desktop\Bot\SBot6.6\Scripts\AutoFight Commands.txt
Can anyone explain me how scar works?
isnt that a .txt file? i think it has to be a .scar
also, if a "begin" is expected in the script, then you should add a "begin" in there :p
t a x x x
2009-11-22 12:29:09
what version of scar is recommended?
Thick As Blood
2009-11-22 15:27:28
3.22 works for me.
t a x x x
2009-11-22 18:21:23
i get this message.
when trying to run
Successfully compiled (2661 ms)
Got Image Sent to Leosleep!
File access error
Typeing Text Now
Successfully compiled (2733 ms)
[Runtime Error] : Exception: Cannot create file "C:\Documents and Settings\G\Desktop\tryfold". Access is denied in line 12 in script C:\Documents and Settings\G\Desktop\ggggggggggggggggg.scar
Aut03r
2009-11-22 23:26:52
thick can I get that powerminer script you got, I cant find one that works? :)
Tim0suprem0
2009-11-23 16:44:57
Stole 1K nats last night ;) thanks for this.
Anyone got any old scripts?
Awkwardsaw
2009-11-23 17:02:36
From: t a x x x
i get this message.
when trying to run
Successfully compiled (2661 ms)
Got Image Sent to Leosleep!
File access error
Typeing Text Now
Successfully compiled (2733 ms)
[Runtime Error] : Exception: Cannot create file "C:\Documents and Settings\G\Desktop\tryfold". Access is denied in line 12 in script C:\Documents and Settings\G\Desktop\ggggggggggggggggg.scar
allow API calls. go to tools (i think) and then options (i think again) and set allow API calls :)
noidea
2009-11-23 17:03:16
From: Awkwardsaw
isnt that a .txt file? i think it has to be a .scar
also, if a "begin" is expected in the script, then you should add a "begin" in there :p
SCAR runs pefectly fine on a txt file. Most of the old includes came in a txt file.
weequ
2009-11-23 17:05:43
From: Thick As Blood
I've got a more refined method for the include using DTMs. antti mies I noticed you're using bitmaps, any reason why? Vs DTM?
EDIT: I'm talking about like sleeping procedures, like if in the sleeping window, if at 0% fatigue, if incorrect word. ect.
I heard that bitmaps are faster :)
Thick As Blood
2009-11-23 23:33:51
Oh really? The DTM's are as quick as they need to be, I think. I wonder if the bitmaps are noticably faster. I dont notice any lack of speed with the DTMs.
mormonman
2009-11-24 00:23:45
If you set up bitmaps the right way, as in making them small, then they can be incredibly faster.
Thick As Blood
2009-11-24 23:44:07
The DTM's i'm using go as fast as they need too, I dont thing bitmaps would make a difference really.
morttt
2009-11-25 14:29:19
From: Christian Bale
Ok I'm really new to this I don't know how to run scripts with Scar. First of all we're using the official RS client in the web browser right? Then I have Scar Dvi version 3.22 is this the right version? I tried opening up a script from the folder and it didn't do jackshit. Yes I selected the window which was my firefox window.
This is the error I get:
Failed when compiling
Line 1: [Error] (1:1): 'BEGIN' expected in script C:\Users\Etienne\Desktop\Bot\SBot6.6\Scripts\AutoFight Commands.txt
Can anyone explain me how scar works?
Those are Sbot scripts. Not scar scripts
Sbot doesn't work anymore.
Also the file you have selected is just a list of commands to type into Sbot in order to fight different monsters and change attack styles…:duh:
Stephy
2009-11-26 11:10:08
For someone with no experience like me, this was virtually impossible. I have no idea what the paths are etc.
divinity
2009-11-26 15:26:27
How do i fix this error?:
Line 28: [Error] (20658:1): Unknown identifier 'TypeKeys' in script C:\Documents and Settings\mark\Desktop\scar\saveimage.scar
weequ
2009-11-26 17:56:55
From: divinity
How do i fix this error?:
Line 28: [Error] (20658:1): Unknown identifier 'TypeKeys' in script C:\Documents and Settings\mark\Desktop\scar\saveimage.scar
Download srl
Camaro'
2009-11-27 23:00:34
I had an error with an missing file. If you do to
Run this / Download
this It installs + registers it… Its safe i used it.
uncfan1119
2009-11-28 20:20:46
It's always off center for me, even if I change the cords. :/
Ok nvm I've got everything working perfectly, except for the auto sleeper it keeps typing in "bless" and for the image on the progam is bless, but it switches over to the real word on rsc then switches back to bless and types bless why is this?
and in my leo folder theres a bitmap called temp that has the word bless
Why is there a LeoSleep & LeoSleep-comp….
Both have different file sizes…. yet appear to be clean…. ugghhh… zZz..
medtner
2010-02-10 17:18:11
Ty so much for posting this;
nubcake questions; how do you incorporate this within another script? Also when it does this once it writes script finished, until I press Play again. If it gets it wrong it still pats itself on the back and writes script finished! How can I loop it, if that makes sense?
Thank you so much and best wishes - keep it up
Thanks in advance for your answer
greg the xeno
2010-06-06 14:42:54
I have 2500 bitmaps in my hcs folder, i botted rsc for 6 months straight with sts. It would save alot of trouble to just compile a huge dictionary of bitmaps imo
weequ
2010-06-08 08:41:09
From: greg the xeno
I have 2500 bitmaps in my hcs folder, i botted rsc for 6 months straight with sts. It would save alot of trouble to just compile a huge dictionary of bitmaps imo
Lol I think that same word can show up in many different ways… So it wouldn't help at all. And only 1 bitmap is recuired for leosleep..
3Garrett3
2010-06-08 11:15:53
Such huge gravedigs..
Tim0suprem0
2010-06-08 22:37:30
From: 3Garrett3
Such huge gravedigs..
Not really, since Classic just re-opened again.