the awkward theiver
Awkwardsaw
2009-11-21 16:47:05
Awkward TheiverVersion: 1.5
rev needed: 2
features:
sleeping
new includes? :D
detects fights, and runs away
proggy :D
it can pickpocket from man, and guards. but it CAN be edited to pick pocket other things, just add the dtm to the Guptext procedure
instructions:
fill out the consts, especially the file paths, its for leosleep :)
fill out DeclarePlayers
it would be best to be in a room with a closed door
proggy:
Awkwardsaw
2009-11-21 17:18:03
posted by: Chewar
[================================================== ==========================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[================================================== ==========================]
[ ******| True | 0 | 188 | 755 ]
[================================================== ==========================]
heh:
[================================================== ==================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[================================================== ==================]
[ | True | 3 | 161 | 500 ]
[================================================== ==================]
morttt:
[================================================== ==================================]
[ Nick | Active | Worked | Times slept | Got into fights | Total pick pockets ]
[================================================== ==================================]
[ ********* | True | 00:00:00 | 80 | 898 | 7235 ]
[================================================== ==================================]
weequ
2009-11-21 17:24:11
Cool, is this multiplayer? :D
Awkwardsaw
2009-11-21 17:26:49
From: antti mies
Cool, is this multiplayer? :D
nope, but i probably should add this, just in case the man runs away, or you die and some fagot is killing all the men
weequ
2009-11-21 17:42:30
From: Awkwardsaw
nope, but i probably should add this, just in case the man runs away, or you die and some fagot is killing all the men
No i think that no one would have use for it.. :P
Awkwardsaw
2009-11-21 19:34:36
From: antti mies
No i think that no one would have use for it.. :P
lol :p still. you never know
morttt
2009-11-22 09:34:58
Nice:D
I'll be looking forward to the day you add pallys to it :P
Awkwardsaw
2009-11-22 10:17:50
From: morttt
Nice:D
I'll be looking forward to the day you add pallys to it :P
i can add pallys :p im just way to lazy to walk ALL THE WAY over to ardy :p
Floor66
2009-11-22 10:34:44
Just walk to the wildy lever (if you aren't high enough to survive going through white wolf mtn.) and voila, teleport and you're in ardy.
zionz
2009-11-22 10:39:36
How can you play singleplayer rsc?
Awkwardsaw
2009-11-22 10:40:43
From: zionz
How can you play singleplayer rsc?
they havnt released the private servers yet :p
zionz
2009-11-22 10:48:17
From: Awkwardsaw
they havnt released the private servers yet :p
ugh, I'm tired btw 2 18am, my brain went to bed 4 hours ago, i've been mindlessly chopping mage logs for cash.
Chewar
2009-11-24 12:02:09
Add paladin and Guards if u can :D good work
h4x4phun
2009-11-24 15:19:56
Line 51: [Error] (51:12): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files (x86)\SCAR 3.22\includes\SRL im getting that error for some reason
Demonghost76
2009-11-24 17:01:30
nice
Awkwardsaw
2009-11-24 17:03:32
From: h4x4phun
Line 51: [Error] (51:12): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files (x86)\SCAR 3.22\includes\SRL im getting that error for some reason
hmm, either move your plugins, update your srl, or get SCAR 3.21(as a last resort)
also, 16+ veiws, and no progs/ feedback on how to make it better? :(
Aut03r
2009-11-24 17:54:33
Include file C:\Program Files\SCAR 3.22\includes\SRL-rsc\SRL_rsc.scar does not exist.
when I change it to SRL\SRL.scar is still doesnt work
Line 37: [Error] (21146:23): Unknown identifier 'RSSX1' in script C:\Documents and Settings\Desktop\RSC_Theiver.scar
Chewar
2009-11-24 19:04:32
From: Awkwardsaw
hmm, either move your plugins, update your srl, or get SCAR 3.21(as a last resort)
also, 16+ veiws, and no progs/ feedback on how to make it better? :(
Yo, first add Paladins and Guards, second could you add fightmode selector? I'll use and show some progs.. Nice work
Awkwardsaw
2009-11-24 19:46:37
From: Chewar
Yo, first add Paladins and Guards, second could you add fightmode selector? I'll use and show some progs.. Nice work
mkay :p when i update, i cant test guards and pallys, i'm just adding the colors + dtm's, so it will be up to you guys to help me :D
morttt
2009-11-24 20:00:44
What does progs mean? :redface:
Awkwardsaw
2009-11-24 20:14:13
From: morttt
What does progs mean? :redface:
progress report, its what tells you how many things youve done, how many fights you got into ect
Aut03r
2009-11-24 20:26:20
awkward, could you tell me how to set it up, i still get that error :(
Awkwardsaw
2009-11-24 20:38:35
From: Aut03r
awkward, could you tell me how to set it up, i still get that error :(
you dont have the rsc includes in your scar 3.22, check out the include using subversion/ tortoisesvn, sorry i cant explain it very well :(
if you need it, the link of the includes svn in in the rev #1 release thread
h4x4phun
2009-11-24 22:59:41
i tried 2 previous versions of scar and moved the plugins folder and im still getting the same error :(
manjax
2009-11-25 08:05:43
Include file C:\Programfiler\SCAR 3.22\includes\SRL-rsc\SRL_rsc.scar does not exist.
Failed when compiling
Could someone help me :)?
Awkwardsaw
2009-11-25 08:21:09
From: h4x4phun
i tried 2 previous versions of scar and moved the plugins folder and im still getting the same error :(
then idk, :(
and manjax, did you download the SRL-RSC includes, and not just the normal ones?
manjax
2009-11-25 08:27:41
Not sure where I download them, I did download SRL includes, tho not the RSC ones, can't find them.
All I see is this thread:
http://www.villavu.com/forum/showthread.php?t=52903Tho I can't download anything from there.
manjax
2009-11-25 08:48:19
It works now, great script :)
man_col = 65536; //color of the man, HAS to be a "man"
It doesn't work to put the color on a paladin? as I do have 99 thieving, so it kinda sucks to thieve mans ;b
manjax
2009-11-25 09:18:20
Been messing around a bit now, and got it to work on Paladins, and I must say that this script is really good. Good job with it.
After I ran it for some time (5 minutes'ish) I got this:
[Runtime Error] : Exception: Can't allocate the DIB handle in line 79 in script C:\Documents and Settings\Thomas\Mine dokumenter\Nedlastinger\RSC_Theiver.scar
Line 79 is the following:
if FindColoredAreaTolerance(x, y, 3036283, RSSX1+267, 37, RSSX1+508, 237, 5, 0) then Mouse(x, y, 3, 3, true)
It doesn't bother me too much, as I do watch my screen while running it, tho I wanna help making ur script flawless.
I try it again now, and see if I get the same error
–
Manjax
edit:
It was the sleepingbag not beeing in inventory that caused this error :)
morttt
2009-11-25 12:39:47
Manjax, what do you need to type in to get it to work on paladins?
manjax
2009-11-25 13:00:25
From: morttt
Manjax, what do you need to type in to get it to work on paladins?
I just changed the color to the "yellow" cape of paladins. Worked fine.
morttt
2009-11-25 14:20:15
Works great on pallys :D
Is it possible to make it eat when you get low hitpoints?
weequ
2009-11-25 14:27:54
How much money/hr you make at paladins?
morttt
2009-11-25 14:30:48
I can't remember, give me 10 mins and I'll estimate it:p
Well in 10 minutes I got 44 chaos runes and 3520gp.
So in an hour, roughly 264 chaos runes and 21120gp.
This is at level 83 thieving.
Awkwardsaw
2009-11-25 14:45:25
thanks for the feed back :)
and wait… how does it work on pallys when it only checks the uptext for man?
also, there is no need to post 3 times in a row, can you just edit your origional post next time?
Chewar
2009-11-25 15:05:25
Quick Progress from picking Guards:
LeoSleep Failed :(
[============================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[============================================================================]
[ ******** | True | 11 | 42 | 129 ]
[============================================================================]
Awkwardsaw
2009-11-25 15:13:40
From: Chewar
Quick Progress from picking Guards:
LeoSleep Failed :(
[============================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[============================================================================]
[ ******** | True | 11 | 42 | 129 ]
[============================================================================]
nice :D
thanks
morttt
2009-11-25 15:19:15
Here's one from Paladins
[=========================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[=========================================================================]
[ ************ | True | 2 | 42 | 92 ]
[=========================================================================]
Stopped voluntarily, haven't had any problems with script. (apart from needing to eat a few times :P)
Awkwardsaw
2009-11-25 16:24:59
From: morttt
Here's one from Paladins
[=========================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[=========================================================================]
[ ************ | True | 2 | 42 | 92 ]
[=========================================================================]
Stopped voluntarily, haven't had any problems with script. (apart from needing to eat a few times :P)
nice :)
i was trying to make an eater, but it had trouble detecting the HP :(
Aut03r
2009-11-25 19:06:15
how do you dl that srl-rsc folder thing in that link, i wanna try this script :(
manjax i have the same error you had can you tell me what you did?
edit:it works now,but not very good
Chewar
2009-11-25 20:15:45
I used this script for more then one hour, stopped it my self, works really good!
Sometimes I get this error:
[Runtime Error] : Out Of Range in line 155 in script RSC_GUARD Theiver.scar
But maybe it's because sometimes I move the mouse while still running the Script?
Awkwardsaw
2009-11-25 20:40:03
From: Chewar
I used this script for more then one hour, stopped it my self, works really good!
Sometimes I get this error:
[Runtime Error] : Out Of Range in line 155 in script RSC_GUARD Theiver.scar
But maybe it's because sometimes I move the mouse while still running the Script?
honestly, i dont know why that happens.. can you post the line that has RSC_Guard in it? lin 155 on my script :p
Chewar
2009-11-25 20:54:53
From: Awkwardsaw
honestly, i dont know why that happens.. can you post the line that has RSC_Guard in it? lin 155 on my script :p
mmouse(tpa[a].x, tpa[a].y, 0, 0);
And maybe tweak it up a little bit, it's a 1-2 sek wait between the picks, just a tip :) or will it be to detectable?
Awkwardsaw
2009-11-25 21:08:29
From: Chewar
mmouse(tpa[a].x, tpa[a].y, 0, 0);
And maybe tweak it up a little bit, it's a 1-2 sek wait between the picks, just a tip :) or will it be to detectable?
hmm, i dont see why it should give a run time error, especially that runtime error :p
i can reduce the picking time i guess :p i left it so high just incase the npc moves around to much, you need time to walk over there..
Chewar
2009-11-25 21:53:42
Yea or people can change wait time by themself :) Now its been on like one hour, no errors yet.. went from 55 thieving to 60 thanks to this script, ill add more progs and stuff. GL
Awkwardsaw
2009-11-25 21:55:57
From: Chewar
Yea or people can change wait time by themself :) Now its been on like one hour, no errors yet.. went from 55 thieving to 60 thanks to this script, ill add more progs and stuff. GL
:o nice!
once i fix my php script thing, i will have a global proggy, on how many times its slept, and pick pocketed ect :D
Chewar
2009-11-25 21:58:47
Cool man, heres another prog on Guards:
[============================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[============================================================================]
[ ******| True | 0 | 188 | 755 ]
[============================================================================]
I changed edit the sleeping a bit, thats why it's 0 in Times slept
Awkwardsaw
2009-11-25 22:14:01
even better proggy :)
here, replace the current scriptterminate procedure with:
procedure scriptterminate;
var
Client : integer;
begin
SRLPlayerReport(
ResultDebugBox, 0, false,
[false, False, false, False, False, false],
['Times slept', 'Got into fights', 'Total pick pockets'],
[], [1, 2, 3], [], []);
Client := InitializeHTTPClient(True, True);
AddPostVariable(Client, 'sleep', players[currentplayer].integers[1]);
AddPostVariable(Client, 'attack', players[currentplayer].integers[2]);
AddPostVariable(Client, 'attempt', players[currentplayer].integers[3]);
PostHTTPPageEx(Client, 'http://akwardsaw.hostoi.com/Awk_theiver.php');
FreeHTTPClient(Client);
end;
pl0x :)
edit: sorry, i forgot to change the name. switch prog with scriptterminate
weequ
2009-11-26 00:53:02
From: Awkwardsaw
honestly, i dont know why that happens.. can you post the line that has RSC_Guard in it? lin 155 on my script :p
If you are doing something like
for I := 0 to high(RSC_Guard)
then you should do like this
for I := 0 to high(RSC_Guard) - 1
;)
Awkwardsaw
2009-11-26 07:21:39
From: antti mies
If you are doing something likefor I := 0 to high(RSC_Guard)
then you should do like thisfor I := 0 to high(RSC_Guard) - 1
;)
i thought that only accured when your using length, instead of high.
since high(tpa) = the highest element in the array, when length = the amount of elememts in the array
weequ
2009-11-26 10:54:12
From: Awkwardsaw
i thought that only accured when your using length, instead of high.
since high(tpa) = the highest element in the array, when length = the amount of elememts in the array
Ok thanks for the info :D
morttt
2009-11-26 14:58:03
version 1.5 solves this :P
Awkwardsaw
2009-11-26 14:58:53
updated to version 1.5 :) added global proggy, and added "official" guard support. im having troubles getting to ardy, so i cant get the pally uptext :(
[====================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[====================================================================]
[ | True | 3 | 161 | 500 ]
[====================================================================]
I'll post DTMs for Paladin, Knight and Hero, maybe you'll find these helpful.
Paladin:
DTM := DTMFromString('78DA639467646098C58002FEFF87D08C503E2' +
'31B116AF48850A30C644D25A0460CC89A8B5F0D00DC170D92');
Knight:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503EA' +
'31A903593801A36206B060135D240D67CDC6A984034C83D53F1AB' +
'0100D48B0D7A');
Hero:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503EA' +
'33C90359B801A3622CC1103B2E612502304644DC7AD86198801D0' +
'260D6E');
morttt
2009-11-26 18:58:10
Awkwardsaw
2009-11-26 19:20:17
From: Heh
[====================================================================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[====================================================================]
[ | True | 3 | 161 | 500 ]
[====================================================================]
I'll post DTMs for Paladin, Knight and Hero, maybe you'll find these helpful.
Paladin:
DTM := DTMFromString('78DA639467646098C58002FEFF87D08C503E2' +
'31B116AF48850A30C644D25A0460CC89A8B5F0D00DC170D92');
Knight:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503EA' +
'31A903593801A36206B060135D240D67CDC6A984034C83D53F1AB' +
'0100D48B0D7A');
Hero:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503EA' +
'33C90359B801A3622CC1103B2E612502304644DC7AD86198801D0' +
'260D6E');
500 pickpocket attempts?? damn :)
also, thanks for the DTM's :D
morttt
2009-11-27 11:32:42
Sometimes the actual game itself comes up with an error screen saying the game has crashed etc, don't remember that happening before.
This is from guards on version 1.5:
[====================================================================================]
[ Nick | Active | Worked | Times slept | Got into fights | Total pick pockets ]
[====================================================================================]
[ ********* | True | 00:00:00 | 80 | 898 | 7235 ]
[====================================================================================]
Awkwardsaw
2009-11-27 11:51:27
From: morttt
Sometimes the actual game itself comes up with an error screen saying the game has crashed etc, don't remember that happening before.
This is from guards on version 1.5:
[====================================================================================]
[ Nick | Active | Worked | Times slept | Got into fights | Total pick pockets ]
[====================================================================================]
[ ********* | True | 00:00:00 | 80 | 898 | 7235 ]
[====================================================================================]
holy crap :D thats a LOT of pick pockets. how long did that take you?
morttt
2009-11-27 12:03:59
Started script at 8am and when I came back at 4.15pm the rsc client had crashed, so some time between 0 and 8 hours:p
(I increased the pickpocket speed quite a bit)
Awkwardsaw
2009-11-27 12:04:45
From: morttt
Started script at 8am and when I came back at 4.15pm the rsc client had crashed, so some time between 0 and 8 hours:p
nice :p
manjax
2009-11-27 16:39:35
[===========================================================================]
[ Nick——| Active | Times slept | Got into fights | Total pick pockets ]
[===========================================================================]
[ *****—| True–| 0———–| 562———–| 10784————]
[===========================================================================]
absolutely no errors, and I removed the sleeping part. I'm 99 thieving so it's kinda "care".
Thanks for a flawless script.
Awkwardsaw
2009-11-27 17:12:17
From: manjax
[===========================================================================]
[ Nick——| Active | Times slept | Got into fights | Total pick pockets ]
[===========================================================================]
[ *****—| True–| 0———–| 562———–| 10784————]
[===========================================================================]
absolutely no errors, and I removed the sleeping part. I'm 99 thieving so it's kinda "care".
Thanks for a flawless script.
10k pick pockets? :o lol.
it didnt show up on the global proggy though :(
manjax
2009-11-27 18:18:09
From: Awkwardsaw
10k pick pockets? :o lol.
it didnt show up on the global proggy though :(
Might be 'cause I'm using your first script, and edited it a bit to remove sleeping. With the first script I can thieve what I want, but with 1.5 I can only do guards/man/paladin :)
Awkwardsaw
2009-11-27 18:32:27
From: manjax
Might be 'cause I'm using your first script, and edited it a bit to remove sleeping. With the first script I can thieve what I want, but with 1.5 I can only do guards/man/paladin :)
if you edit it right, you can theive what ever you want in ver 1.5 :D
but can you atleast add in the prog from 1.5 to the first one, so it makes my global prog look nice :)
morttt
2009-11-28 09:50:11
I keep getting this after about 10 minutes using the script…

Is there a way to get the script to click 'back' on the browser when this happens so the game reloads?
Awkwardsaw
2009-11-28 10:07:24
you can, but it would be different for each user. so i cant add it into the script :(
morttt
2009-11-28 12:38:58
I found out from other people why the error happens.
If you do an action on either an npc or a player that has died/logged, the game crashes.
So whenever I pickpocket a guard that has just died, that happens.
Awkwardsaw
2009-11-28 16:10:10
From: morttt
I found out from other people why the error happens.
If you do an action on either an npc or a player that has died/logged, the game crashes.
So whenever I pickpocket a guard that has just died, that happens.
that sucks :(
mkmk4
2009-11-29 15:06:12
works quite well besides the minor changes i had 2 make for it to sleep here is what i had 2 change.
i had 2 change the hc_route and the txt_route obviosly.
also i changed the openfile with this
InFile:= OpenFile(AppPath+'\slword.txt', False);
now all you gotta do is put the script in the same folder as leosleep and there you go perfect:).
also change the save bitmap to.
SaveBitmap(b,AppPath+'\hc.bmp' );
^your way should work fine on paper i couldnt find any problems with it just change the paths but this way is simpler and works for everyone without edditing so thats always good:).
heres my proggy:
[=========================================================
[ Nick | Active | Worked | Times slept | Got into fights | Total pickpockets ]
[=========================================================
[ | True | 00:00:00 | 2 | 55 | 349 ]
[=========================================================
thanks man you got me 21 thieving lvls in total and 10 str lvls.
also would you mind if i eddited this to make it a auto-fighter?
edit– can someone post the dtm for "attack"
morttt
2009-11-29 15:13:33
I was looking around the forum and saw that SMART thing, just wondering if it works on classic?
Probably obvious, but I'm clueless:redface:
Awkwardsaw
2009-11-29 19:28:44
From: morttt
I was looking around the forum and saw that SMART thing, just wondering if it works on classic?
Probably obvious, but I'm clueless:redface:
it probobly can, but BenLand would have to make it :p since hes the only one smart(pun intended :D) to make it work
morttt
2009-11-30 21:07:15
1 million gp made from guards using this script now:D
Aut03r
2009-11-30 22:47:57
damn brah, i cant get the script to work right :(
the mouse just goes hay wire and keeps going back and forth.
Awkwardsaw
2009-11-30 23:02:44
From: Aut03r
damn brah, i cant get the script to work right :(
the mouse just goes hay wire and keeps going back and forth.
can you be more specific? like, what npc your pick pocketing, ect
Christian Bale
2009-12-01 06:50:45
What exacly do I have to fill up in the scripts?
Awkwardsaw
2009-12-01 08:17:32
you need to edit the paths to the s.txt, and bmp thingy in the const. you also need to pick a color from the monster your theiving, along with the name. in declareplayers just fill in your name, pass, nick ect
IgXot
2009-12-01 15:16:15
More RSC scripts!
Just started playing a bit in there again, it's just as good as I remember. =)
One Love
Chewar
2009-12-03 04:26:17
[Runtime Error] : Out Of Range in line 156 in script C:\Documents and Settings\Downloads\RSC_Theiver 1.5.scar
156:mmouse(tpa[a].x, tpa[a].y, 0, 0);
annoying
Awkwardsaw
2009-12-03 08:15:08
From: Chewar
[Runtime Error] : Out Of Range in line 156 in script C:\Documents and Settings\Downloads\RSC_Theiver 1.5.scar
156:mmouse(tpa[a].x, tpa[a].y, 0, 0);
annoying
idk :( i'll fix it tonight, i cant atm :(
Awkwardsaw
2009-12-31 22:33:59
sorry for a possible gravedig, but how the hell did my global stats get that high? :o
wesleyxD
2010-01-01 12:34:44
From: Awkwardsaw
sorry for a possible gravedig, but how the hell did my global stats get that high? :o
maybe someone is uploading false details
fantoom
2010-02-16 09:45:53
Someone help me please :)
I made all things:
changed this: {.Include SRL\SRL.scar}
and: name = 'man'
and:downloaded all includes
but still gets error: Line 37: [Error] (21607:23): Unknown identifier 'RSSX1' in script C:\Documents and Settings\Kasutaja\Desktop\RSC_Theiver 1.5.scar
http://img19.imageshack.us/img19/5035/errordk.png
nosmoking
2010-03-07 12:58:16
hello! i have this error after using script for a while.
[Runtime Error] : Out Of Range in line 138 in script C:\Users\''''''\Desktop\RSC_Theiver 1.5
cursor jumps on window taskbar.
i think that it have to do something with crosshair, because it captures full window now only rsc window. maybe i can set it up manually somehow. im playing rsc private server what have java client not web one. thank you in advance,
Awkwardsaw
2010-03-07 13:14:01
it only works on the actual rs client, not a private server :)
nosmoking
2010-03-07 13:33:47
sorry about last post. i've found my own way to fix this problem. but now i have next question. why cursor waste time "scanning" items whats dropped by man, who i use as thieving unit.
Thats my last stats: GJ author!
[===============================================================================]
[ Nick | Active | Worked | Times slept | Got into fights | Total pick pockets ]
[===============================================================================]
[ | True | 00:00:00 | 0 | 19 | 198 ]
[===============================================================================]
new result, what wasnt full auto. needed to eat.
[===============================================================================]
[ Nick | Active | Worked | Times slept | Got into fights | Total pick pockets ]
[===============================================================================]
[ | True | 00:00:00 | 0 | 71 | 500 ]
[===============================================================================]