SRL Archive - RS3 Outdated / Broken Scripts

[07] [PreEOC] Man thief [incomplete!]


anony

2013-02-22 16:59:14

[07] [PreEOC] Pickpocket07 [work in progress]

Current: Version 0.2.2
————– Current problems ————–
  • This script only has the man NPC with the blue t-shit supported at the moment
  • ^ Simply use ACA and bitmap string conversion for another NPC
  • Doesn't eat
  • Doesn't watch the HP
  • Doesn't time out if it can't find 'man' NPC
  • No antiban (though that isn't the individual scripts responsiiblity)
—————————————————
Do not attempt to AFK with this script in its current state.

This script will allow you to sit back and watch at this point, but it does not do anything but pickpocket!

(I am new to pascal, SRL, Simba (just started this week) but I am working hard to learn as fast as I can.
If you can improve this script, please do. I will do what I can.)


Script only has the man with the blue t-shit supported at the moment
—————————————————
Version history

v0.1:
N/A

v0.2: (thank you nivek1989!)
looping with integer Inc(TimesRan);
started rotate screen procedure TypeByte(VK_RIGHT);
fixed wait(randomrange(#,#));

v0.2.2: (LATEST)
Uses new bitmap for right click
[ATTACH]19305[/ATTACH]
—————————————————
Upcoming updates:
* HAM follower
* Multiple 'man' NPC support (thanks to RS07)
* Rotate screen with 07Include (thanks to DannyRS)
* Eat (IDK what foods I should add? Shrimp, chicken, beef, and cake?
* Time out

Future updates:
* Stalls (when I find the time, as this will need a retreating procedure)
* Banking support (possible)


Make sure to download the latest version!

Kevin

2013-02-22 17:09:19

Just from an away from home glance, I can determine a few quick things at least.
In TempRepeat, instead of
TimesRan = TimesRan + 1;
you can do
Inc(TimesRan);

Your compilation issue *might* be because
wait(randomrange(7500, 1500));
If you look carefully, you see the second number is smaller than the first. You maybe meant "15000" instead of "1500"?

In FindManTpa you do:

SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.44, 0.42); //0.01 = Hue mod ... 0.60 = Sat mod
and you only reset the values to what they should be if the object is found. Instead you should move your reset to after the
  if FindColorsTolerance(ObjectTPA, 5916744, 8, 25, 518, 359, 2) then
begin // 5916744 = shirt color ... 2 = tolerance
.....
end;
block so it always resets the values. And as far as that goes, it appears your Writeln declaring the man wasn't found occurs even if he is found.

Just some tips from my glance that should hopefully help out.

Justin

2013-02-22 17:15:11

Really….

Neodymium

2013-02-22 17:21:47

From: Justin
Really….

If SRL Members don't want 2007 stuff in the public, I suggest someone make a thread about it.
People are going to share scripts if they aren't told otherwise.

Justin

2013-02-22 17:24:26

From: Neodymium
If SRL Members don't want 2007 stuff in the public, I suggest someone make a thread about it.
People are going to share scripts if they aren't told otherwise.


I don't think there will be a post. It's just sad that the servers have been released for under 12 hours and people are already thinking\scripting for it…

Neodymium

2013-02-22 17:27:35

From: Justin
I don't think there will be a post. It's just sad that the servers have been released for under 12 hours and people are already thinking\scripting for it…

I agree, I'm glad they brought the better game back :).
Honestly, I'm just going to be playing as much as I can since my EOC members ran out after I voted.
I was going to do Waterfall before I went the wrong way after reaching Ardy… I looked at the forums for a bit and died. ._.

Sjoe

2013-02-22 17:34:08

Don't use this script, it got me banned already :(

Gucci

2013-02-22 17:37:00

From: Sjoekeloe
Don't use this script, it got me banned already :(


Damn that's gotta be hard

Sjoe

2013-02-22 17:37:45

From: Gucci
Damn that's gotta be hard


Yeah Jagex is really tightening things up :s
My main on rs is gone too ffs

anony

2013-02-22 17:38:53

Thank you Nivek1989!

I will definitely try out your suggestions. I will try to clean this up and add features until someone writes a better script. In the event of this I will retire this one.


wait(randomrange(7500, 1500));

Thank you again, I meant 750 - 1500 for that delay.

—

You were banned already? How is that possible? How would they have been able to determine that you were a bot?

Sorry I just don't see how that it possible that you were banned in that time frame. Pics or didn't happen :/

Sjoe

2013-02-22 17:42:05

From: anony
Thank you Nivek1989!

I will definitely try out your suggestions. I will try to clean this up and add features until someone writes a better script. In the event of this I will retire this one.


wait(randomrange(7500, 1500));

Thank you again, I meant 750 - 1500 for that delay.

—

You were banned already? How is that possible? How would they have been able to determine that you were a bot?


I guess your script has some flaws ..

anony

2013-02-22 17:47:33

From: Sjoekeloe
I guess your script has some flaws ..


Lets think about this logically for a moment.

I used mmouse() so the mouse was not hopping around the screen. The only way they would see that it was a script could be from the set wait() intervals, though I doubt this.

Either you got caught by a jmod in the act(still how would he known), caught in a random or you were banned from something else. While its not impossible, the time frame makes it improbable.

I may be new to scripting, but ultimately if you were detected to be botting and banned this quick then we are all in for a bad time.

Kevin

2013-02-22 17:56:30

Looking at it some more, I do notice:
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
That will move the mouse to a slightly random location (1 pixel is pretty small as far as that goes), then the ClickMouse will move it to the Non-Random location anyway (constant and bot-like) and left-click there. Also, in general we avoid the ClickMouse() command as it's botlike on it's own. ClickMouse2() is the non-botlike way to go for that as well.

Once again, still a glance at it all away from home, but that could be a decent issue. Have you yourself had a decent progress report without ban using your script? (4+ hours)?

anony

2013-02-22 18:05:22

From: nivek1989
Looking at it some more, I do notice:
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
That will move the mouse to a slightly random location (1 pixel is pretty small as far as that goes), then the ClickMouse will move it to the Non-Random location anyway (constant and bot-like) and left-click there. Also, in general we avoid the ClickMouse() command as it's botlike on it's own. ClickMouse2() is the non-botlike way to go for that as well.

Once again, still a glance at it all away from home, but that could be a decent issue. Have you yourself had a decent progress report without ban using your script? (4+ hours)?



I see thank you for your help. I will implement clickmouse2() over the other one.
I have used it for maybe ~45 minutes of constant use + a few mins with it debugging.

RS07

2013-02-22 18:07:55

From: Sjoekeloe
I guess your script has some flaws ..


The more likely scenario is you're lying to discourage botting.

Sjoe

2013-02-22 18:12:29

From: RS07
The more likely scenario is you're lying to discourage botting.


Aren't you the bright one :)

EDIT: not discouraging botting, I was feeling like being a dick ;)

anony

2013-02-22 18:19:53

From: Sjoekeloe
Aren't you the bright one :)


This is what I assumed.

Stayon

2013-02-22 19:52:59

Joe I truly felt sympathy for a moment!

jdoggy

2013-02-23 07:10:16

Exception in Script: Unable to find file 'P06Include/P06Include.simba' used from 'C:\Users\Jdoggy\Desktop\Simba Scripts\Pickpocket07v0.2.simba' Getting this error on start? Any help, updated everything and just open the file then click green start button. Then the exception pops up?

DannyRS

2013-02-23 07:33:26

From: jdoggy
Exception in Script: Unable to find file 'P06Include/P06Include.simba' used from 'C:\Users\Jdoggy\Desktop\Simba Scripts\Pickpocket07v0.2.simba' Getting this error on start? Any help, updated everything and just open the file then click green start button. Then the exception pops up?


Seems to be using the private server include Myself and some of the other members developed a while ago, guess something in that works for 07 :/ link in my sig, I have a 07 version that I will release if it doesn't bother the other members ^^

anony

2013-02-23 12:03:00

From: DannyRS
Seems to be using the private server include Myself and some of the other members developed a while ago, guess something in that works for 07 :/ link in my sig, I have a 07 version that I will release if it doesn't bother the other members ^^


Sorry I forgot to mention that I added the pr06 include, though I didn't called anything from it. You could just comment that out ""//".

And TY for the 07include DannyRS! It should help out.

I also feel I should mention a lot of my source code is redone code from other scripts. I don't intend on taking any credit for others work. I merely want to use what works and re-release it to the community.

RS07

2013-02-23 12:45:44

I've fixed, cleaned, and added some features to your code.
This pickpockets in the area right of lumby castle entrance, near the battle axe shop.
It will find and pickpocket the purple, blue, and tan-brown man/women in the area. It will move the camera if no npc is found.
It opens the stats menu so you can see your health, but it seems SRLs OCR functions aren't working with rs7 (yet), so to implement an eating function would require some tedious bitmap finding and number conversion which isn't worth it, I'd rather wait for the OCR to work.

[ATTACH]19301[/ATTACH]

DannyRS

2013-02-23 13:04:21

From: RS07
I've fixed, cleaned, and added some features to your code.
This pickpockets in the area right of lumby castle entrance, near the battle axe shop.
It will find and pickpocket the purple, blue, and tan-brown man/women in the area. It will move the camera if no npc is found.
It opens the stats menu so you can see your health, but it seems SRLs OCR functions aren't working with rs7 (yet), so to implement an eating function would require some tedious bitmap finding and number conversion which isn't worth it, I'd rather wait for the OCR to work.


OCR works if you get the old fonts http://villavu.com/forum/showthread.php?t=96863

Matsetst

2013-02-23 13:09:12

thanks got me to 20 thieving:D

MJF94

2013-02-23 17:19:14

Works great! Getting to level 30 in 2.5 hours :D

jdoggy

2013-02-23 18:25:27

From: MJF94
Works great! Getting to level 30 in 2.5 hours :D

Hey how did you get this to work. I downloaded it and can't get the RS 2007 client to open? Can you leave a copy of your script? Cheers

Originality

2013-02-23 18:32:51

it clicks on man but doesnt pick pocket, then repeats finding a man

Guzlord

2013-02-23 18:39:11

I doesn't work for me it just say:
Found man
Found man
Found man
Found man
Found man
Found man

And he right clicks the NPC and does nothing.

jdoggy

2013-02-23 18:41:30

From: Guzlord
I doesn't work for me it just say:
Found man
Found man
Found man
Found man
Found man
Found man

And he right clicks the NPC and does nothing.


Guzlord how do you get this to open rs 2007 window? I can't even run this never mind get it to work? Do you have skype?

anony

2013-02-23 18:43:02

From: Guzlord
I doesn't work for me it just say:
Found man
Found man
Found man
Found man
Found man
Found man

And he right clicks the NPC and does nothing.


For some reason it isn't finding the bitmap for you. Are you level 3 combat? this may be the issue, the bitmap string I used was from a level 10 account. I first left the (level 2) text from the bitmap, but it wasn't working right. Sorry to the level 3 characters! If someone could send me a *.bmp screenshot of their right click I'll add it it for you!

jdoggy

2013-02-23 18:56:40

From: anony
For some reason it isn't finding the bitmap for you. Are you level 3 combat? this may be the issue, the bitmap string I used was from a level 10 account. I first left the (level 2) text from the bitmap, but it wasn't working right. Sorry to the level 3 characters! If someone could send me a *.bmp screenshot of their right click I'll add it it for you!


It's doing the same for me and im level 22. It just right clicks the man then does nothing?

Guzlord

2013-02-23 18:59:23

From: anony
For some reason it isn't finding the bitmap for you. Are you level 3 combat? this may be the issue, the bitmap string I used was from a level 10 account. I first left the (level 2) text from the bitmap, but it wasn't working right. Sorry to the level 3 characters! If someone could send me a *.bmp screenshot of their right click I'll add it it for you!




I am lvl 13, really strange.

anony

2013-02-23 19:04:53

Could you provide any detail of what NPC spawn?

Guzlord

2013-02-23 19:19:06

From: anony
Could you provide any detail of what NPC spawn?


PM me what you need to know sir.

anony

2013-02-23 19:35:03

From: Guzlord
PM me what you need to know sir.


We may not need to even get into this now. I have gotten the bitmap to work from just the 'Pickpocket' white text.

v0.2.2
[ATTACH]19305[/ATTACH]

Tell me how it works for you.


Also if an admin reads this, can you change the title of this thread? "[07] [PreEOC] Pickpocket07"


From: Originality
it clicks on man but doesnt pick pocket, then repeats finding a man


Hopefully fixed now, let me know.

jdoggy

2013-02-23 20:49:28

From: anony
We may not need to even get into this now. I have gotten the bitmap to work from just the 'Pickpocket' white text.

v0.2.2
[ATTACH]19305[/ATTACH]

Tell me how it works for you.


Also if an admin reads this, can you change the title of this thread? "[07] [PreEOC] Pickpocket07"




Hopefully fixed now, let me know.


This doesn't do anything at all?
Didnt seem to find Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.

What man are we ment to use this with?

anony

2013-02-23 21:01:21

From: jdoggy
This doesn't do anything at all?
Didnt seem to find Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.
Didnt seem to find man.
Else- rotating screen.

What man are we ment to use this with?



The ones with the blue T-shirts. To add the others all that would need to be done is adding the other colors. If you screenshot the others for me Ill add them in. (Save file as .png so it is lossless) <– also host the file on a website like depositfiles or attach it here so the web host (imgur, etc) doesn't try and compress it, etc.

jdoggy

2013-02-23 21:27:10

From: anony
The ones with the blue T-shirts. To add the others all that would need to be done is adding the other colors. If you screenshot the others for me Ill add them in. (Save file as .png so it is lossless) <– also host the file on a website like depositfiles or attach it here so the web host (imgur, etc) doesn't try and compress it, etc.


Doesn't work with blue guy anyway.

anony

2013-02-23 22:06:36

How are your settings? Vbright? Can you use ACA and input the values for your individual situation?

Guzlord

2013-02-23 22:24:22

From: anony
We may not need to even get into this now. I have gotten the bitmap to work from just the 'Pickpocket' white text.

v0.2.2
[ATTACH]19305[/ATTACH]

Tell me how it works for you.


Also if an admin reads this, can you change the title of this thread? "[07] [PreEOC] Pickpocket07"




Hopefully fixed now, let me know.



It now right clicks and clicks pickpocket or talk to.

anony

2013-02-23 22:47:16

From: Guzlord
It now right clicks and clicks pickpocket or talk to.


Hmm I wonder if thats a resolution issue. Its possible that this is the issue. What resolution are you playing at?

Try this

Change the tolerance here:

If FindBitmapToleranceIn(Pickpocket, X, Y, 1, 1, 514, 390, 3) then
The number 3 here is the tolerance, try higher (10) and test lower (0).

If this still doesn't work, this for sure should do it.

Generate your own custom bitmap string and insert it here:

Pickpocket := BitmapFromString(72, 16, 'meJztk0EOwCAIBP2dH+i1/3+GvR' +
'HidgWqJLVpw4EaXR1Y6nHW70ZT34ODeU9aIlJKiarJwSQupzJ7thY' +
'Job2KCzcjl5NxFy5JZI/OcQyZgdnA+tdDyh5ZBOkuko8d1L9MIU9Z' +
'd81cZ70eVIO5epzPK4f8ad7ewBWruFAZkZO4mCvmuTyOneQaT7ceR' +
'lZVc5BNZRTHVnYI3WSxdawV5qyqTMGvjDtv34YUS4J1f/f4ubaLVJ' +
'974gL8Jb8s');

To do this right click on the NPC, PrntScr button, mspaint (for Windows users), use the selection tool and narrow the image to just the word 'Pickpocket', copy it to your clipboard, and convert it to a string.

Gebapt

2013-02-24 04:05:39

I can 't get it to work ( got PO6include etc.. )
Problem is it right clicks the man ( kinda slow but it clicks )
Then it doesn 't pickpocket it, I can help you set it up if needed ( or wait could you help me to set it up? :)

Skype: xred3devilx

Gebapt

2013-02-24 04:22:06

Got it to work but isn 't that good so stoped using it.
You should try to make a silk stealer / seller since that is a decent 30k / h atm

MJF94

2013-02-24 12:08:59

From: RS07
I've fixed, cleaned, and added some features to your code.
This pickpockets in the area right of lumby castle entrance, near the battle axe shop.
It will find and pickpocket the purple, blue, and tan-brown man/women in the area. It will move the camera if no npc is found.
It opens the stats menu so you can see your health, but it seems SRLs OCR functions aren't working with rs7 (yet), so to implement an eating function would require some tedious bitmap finding and number conversion which isn't worth it, I'd rather wait for the OCR to work.

[ATTACH]19301[/ATTACH]


I used this persons to get lvl 30 in 2.5 hours.
Also went upstairs 1 time in lumby castle and thieved the men near the quest giver.
Ionno about the originally posters bot, but RS07s works.
And its good. Fast.

Exx

2013-02-24 16:45:43

I am getting this error?

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Gyamatt

2013-02-24 17:05:09

Exception in Script: Plugin(sps32) has not been found what does this mean? I don't understand how to open this im kinda of a noob coder

Guzlord

2013-02-24 19:38:33

From: anony
Hmm I wonder if thats a resolution issue. Its possible that this is the issue. What resolution are you playing at?

Try this

Change the tolerance here:

If FindBitmapToleranceIn(Pickpocket, X, Y, 1, 1, 514, 390, 3) then
The number 3 here is the tolerance, try higher (10) and test lower (0).

If this still doesn't work, this for sure should do it.

Generate your own custom bitmap string and insert it here:

Pickpocket := BitmapFromString(72, 16, 'meJztk0EOwCAIBP2dH+i1/3+GvR' +
'HidgWqJLVpw4EaXR1Y6nHW70ZT34ODeU9aIlJKiarJwSQupzJ7thY' +
'Job2KCzcjl5NxFy5JZI/OcQyZgdnA+tdDyh5ZBOkuko8d1L9MIU9Z' +
'd81cZ70eVIO5epzPK4f8ad7ewBWruFAZkZO4mCvmuTyOneQaT7ceR' +
'lZVc5BNZRTHVnYI3WSxdawV5qyqTMGvjDtv34YUS4J1f/f4ubaLVJ' +
'974gL8Jb8s');

To do this right click on the NPC, PrntScr button, mspaint (for Windows users), use the selection tool and narrow the image to just the word 'Pickpocket', copy it to your clipboard, and convert it to a string.



Thanks, i edited the bitmap and it works.
Is it ok to modify your script to make it work on farmers?
I think i could be able to do that.

edit:

I already edited it, and now it thieves Farmers.
If you need the color then send me a msg.
I think its pretty easy to understand simba, tomorrow i will watch some tuts and i might be able to write a auto cutter.

anony

2013-02-24 20:40:12

From: Guzlord
Thanks, i edited the bitmap and it works.
Is it ok to modify your script to make it work on farmers?
I think i could be able to do that.

edit:

I already edited it, and now it thieves Farmers.
If you need the color then send me a msg.
I think its pretty easy to understand simba, tomorrow i will watch some tuts and i might be able to write a auto cutter.


Good deal :)
yeah working with Pascal and Simba is fairly easy. You should upload the edited version for everyone else :). While this is all simple to do, I just don't have the time to run around in game debugging all of the NPCs.

ClassyHacks

2013-02-25 00:40:16

Major props man, I'm looking forward to your upcoming scripts and learning more for myself along the way.

Runehack123

2013-02-25 01:21:04

Just one of many things…Call on DTMs/Bitmaps at the beginning of the script then free them at the very end with AddOnTerminate.
You are looping through your bitmap over and over..that's poor memory management and can easily be avoided with what I just told you.

I hate to be a downer or offend you in any way, but why didn't you post this in the help section? Honestly, I don't see any of these RS07 scripts belonging in the public section right now.

I see you're trying hard though and at least you didn't put an anti-leech *Thank you*.
…IRC and Skype are also great places to look for help. :)

Hakuna

2013-02-25 10:19:09

It just right clicks the man. :)

anony

2013-02-25 12:22:08

I am fixing the right click issue for people. I have already typed out what fixes it. Besides, if you can't do it then you don't deserve to be botting TBH.

Hakuna

2013-02-26 02:10:22

From: anony
I am fixing the right click issue for people. I have already typed out what fixes it. Besides, if you can't do it then you don't deserve to be botting TBH.


I just tried the fixes, generating my own BitmapFromString, but it still doesn't click pickpocket. I'll keep trying.

EDIT:
Fixed it :). Thank you.

perpfection

2013-02-26 21:30:12

Exception in Script: Unable to find file 'P06Include/P06Include.simba' used from 'C:\Users\Caleb\Downloads\Pickpocket07v0.2.2.simba'

any suggestions?

YoHoJo

2013-06-17 21:49:04

Moved to outdated.
If it becomes updated report it so mods can handle it.