PDA

View Full Version : [Thieving] the awkward theiver



Awkwardsaw
11-21-2009, 09:47 PM
Awkward Theiver

Version: 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:
http://akwardsaw.hostoi.com/Create_Sig_RSC.php

Awkwardsaw
11-21-2009, 10:18 PM
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
11-21-2009, 10:24 PM
Cool, is this multiplayer? :D

Awkwardsaw
11-21-2009, 10:26 PM
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
11-21-2009, 10:42 PM
nope, but i probably should add this, just in case the man runs away, or you die and some fagot is killing all the menNo i think that no one would have use for it.. :P

Awkwardsaw
11-22-2009, 12:34 AM
No i think that no one would have use for it.. :P

lol :p still. you never know

morttt
11-22-2009, 02:34 PM
Nice:D

I'll be looking forward to the day you add pallys to it :P

Awkwardsaw
11-22-2009, 03:17 PM
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
11-22-2009, 03:34 PM
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
11-22-2009, 03:39 PM
How can you play singleplayer rsc?

Awkwardsaw
11-22-2009, 03:40 PM
How can you play singleplayer rsc?

they havnt released the private servers yet :p

zionz
11-22-2009, 03:48 PM
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
11-24-2009, 05:02 PM
Add paladin and Guards if u can :D good work

h4x4phun
11-24-2009, 08:19 PM
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
11-24-2009, 10:01 PM
nice

Awkwardsaw
11-24-2009, 10:03 PM
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
11-24-2009, 10:54 PM
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
11-25-2009, 12:04 AM
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
11-25-2009, 12:46 AM
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
11-25-2009, 01:00 AM
What does progs mean? :redface:

Awkwardsaw
11-25-2009, 01:14 AM
What does progs mean? :redface:

progress report, its what tells you how many things youve done, how many fights you got into ect

Aut03r
11-25-2009, 01:26 AM
awkward, could you tell me how to set it up, i still get that error :(

Awkwardsaw
11-25-2009, 01:38 AM
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
11-25-2009, 03:59 AM
i tried 2 previous versions of scar and moved the plugins folder and im still getting the same error :(

manjax
11-25-2009, 01:05 PM
Include file C:\Programfiler\SCAR 3.22\includes\SRL-rsc\SRL_rsc.scar does not exist.
Failed when compiling

Could someone help me :)?

Awkwardsaw
11-25-2009, 01:21 PM
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
11-25-2009, 01:27 PM
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=52903

Tho I can't download anything from there.

manjax
11-25-2009, 01:48 PM
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
11-25-2009, 02:18 PM
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
11-25-2009, 05:39 PM
Manjax, what do you need to type in to get it to work on paladins?

manjax
11-25-2009, 06:00 PM
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
11-25-2009, 07:20 PM
Works great on pallys :D

Is it possible to make it eat when you get low hitpoints?

weequ
11-25-2009, 07:27 PM
How much money/hr you make at paladins?

morttt
11-25-2009, 07:30 PM
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
11-25-2009, 07:45 PM
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
11-25-2009, 08:05 PM
Quick Progress from picking Guards:

LeoSleep Failed :(
[================================================== ==========================]
[ Nick | Active | Times slept | Got into fights | Total pick pockets ]
[================================================== ==========================]
[ ******** | True | 11 | 42 | 129 ]
[================================================== ==========================]

Awkwardsaw
11-25-2009, 08:13 PM
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
11-25-2009, 08:19 PM
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
11-25-2009, 09:24 PM
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
11-26-2009, 12:06 AM
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
11-26-2009, 01:15 AM
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
11-26-2009, 01:40 AM
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
11-26-2009, 01:54 AM
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
11-26-2009, 02:08 AM
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
11-26-2009, 02:53 AM
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
11-26-2009, 02:55 AM
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
11-26-2009, 02:58 AM
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
11-26-2009, 03:14 AM
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
11-26-2009, 05:53 AM
honestly, i dont know why that happens.. can you post the line that has RSC_Guard in it? lin 155 on my script :pIf 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
11-26-2009, 12:21 PM
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;)

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
11-26-2009, 03:54 PM
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 arrayOk thanks for the info :D

morttt
11-26-2009, 07:58 PM
version 1.5 solves this :P

Awkwardsaw
11-26-2009, 07:58 PM
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 :(

Heh
11-26-2009, 08:40 PM
[================================================== ==================]
[ 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('78DA639467646098C58002FEFF87D08C503 E2' +
'31B116AF48850A30C644D25A0460CC89A8B5F0D00DC170D92 ');

Knight:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503 EA' +
'31A903593801A36206B060135D240D67CDC6A984034C83D53 F1AB' +
'0100D48B0D7A');

Hero:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503 EA' +
'33C90359B801A3622CC1103B2E612502304644DC7AD861988 01D0' +
'260D6E');

r4it
11-26-2009, 11:07 PM
Rev 2? What is that?

morttt
11-26-2009, 11:58 PM
Rev 2? What is that?

http://www.villavu.com/repositories/srl-rsc/

Awkwardsaw
11-27-2009, 12:20 AM
[================================================== ==================]
[ 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('78DA639467646098C58002FEFF87D08C503 E2' +
'31B116AF48850A30C644D25A0460CC89A8B5F0D00DC170D92 ');

Knight:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503 EA' +
'31A903593801A36206B060135D240D67CDC6A984034C83D53 F1AB' +
'0100D48B0D7A');

Hero:
DTM := DTMFromString('78DA631465646098C58002FEFF87D08C503 EA' +
'33C90359B801A3622CC1103B2E612502304644DC7AD861988 01D0' +
'260D6E');

500 pickpocket attempts?? damn :)

also, thanks for the DTM's :D

morttt
11-27-2009, 04:32 PM
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
11-27-2009, 04:51 PM
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
11-27-2009, 05:03 PM
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
11-27-2009, 05:04 PM
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
11-27-2009, 09:39 PM
[================================================== =========================]
[ 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
11-27-2009, 10:12 PM
[================================================== =========================]
[ 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
11-27-2009, 11:18 PM
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
11-27-2009, 11:32 PM
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
11-28-2009, 02:50 PM
I keep getting this after about 10 minutes using the script...

http://img204.imageshack.us/img204/7349/screenshot001vf.png

Is there a way to get the script to click 'back' on the browser when this happens so the game reloads?

Awkwardsaw
11-28-2009, 03:07 PM
you can, but it would be different for each user. so i cant add it into the script :(

morttt
11-28-2009, 05:38 PM
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
11-28-2009, 09:10 PM
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
11-29-2009, 08:06 PM
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
11-29-2009, 08:13 PM
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
11-30-2009, 12:28 AM
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
12-01-2009, 02:07 AM
1 million gp made from guards using this script now:D

Aut03r
12-01-2009, 03:47 AM
damn brah, i cant get the script to work right :(

the mouse just goes hay wire and keeps going back and forth.

Awkwardsaw
12-01-2009, 04:02 AM
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
12-01-2009, 11:50 AM
What exacly do I have to fill up in the scripts?

Awkwardsaw
12-01-2009, 01:17 PM
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
12-01-2009, 08:16 PM
More RSC scripts!
Just started playing a bit in there again, it's just as good as I remember. =)

One Love

Chewar
12-03-2009, 09:26 AM
[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
12-03-2009, 01:15 PM
[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
01-01-2010, 03:33 AM
sorry for a possible gravedig, but how the hell did my global stats get that high? :o

wesleyxD
01-01-2010, 05:34 PM
sorry for a possible gravedig, but how the hell did my global stats get that high? :o

maybe someone is uploading false details

fantoom
02-16-2010, 02:45 PM
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
03-07-2010, 05:58 PM
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
03-07-2010, 06:14 PM
it only works on the actual rs client, not a private server :)

nosmoking
03-07-2010, 06:33 PM
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 ]
[================================================== =============================]