SRL Archive - OSR Thieving

[07Scape] Meth's SIMPLE Tea Stealer


Prometheus

2013-02-25 01:48:20

[AeroLib] Varrock Tea Stealer


Instructions:
Download the AeroLib Include
Start at the tea stall in south-east Varrock
Brightness at the highest
Find an empty world for teas
Start the script.



(Outdated video demonstation)
[YOUTUBE]e36oqCewE-U[/YOUTUBE]



To Do:

Better failsafes



Changelog:
V1: 2/25/2013: Script release
V2: 2/25/2013: Completely rewritten using 07Include
V3: 2/26/2013 : Added FindObjCustom to make it a little more accurate and slightly more human-like than the prev. version (Thanks rjj95 :D)
V3.5: 2/27/2013 : Several bug fixes. Can support multiple people now.
V4: 2/28/2013 : Added proggies + sample video
V5: 3/26/2013 : Added SMART + Login support
V7: 4/5/2013: Fixed the EoC thing hopefully
V8: 7/10/2015: Rewritten with AeroLib, added antiban, better progress reports and better color finding.




Post any bugs you encounter. I'll be adding new features to the script when I get the chance to.


Ian

2013-02-25 01:54:55

Congrats on the release meth :)

The Mayor

2013-02-25 01:57:46

Help me pl0x i cant sollvee de antileeech pl0x!



E: Seems I got negative rep for this comment. Someone can't take a joke!

Prometheus

2013-02-25 02:00:27

From: BMWxi
Congrats on the release meth :)

Thanks :)

From: The Mayor
Help me pl0x i cant sollvee de antileeech pl0x!


LOL is it that easy?

The Mayor

2013-02-25 02:04:30

From: [PRO]metheus
Thanks :)



LOL is it that easy?


My grandmother could decipher that in her sleep :)

Runehack123

2013-02-25 02:07:10

A nice release. Sorry, I can't test it out myself so no idea how it works, but I had a look at your code…. :)

Just something to improve…
AddOnTerminate('Freeing .. please.

If someone would stop your script now as it is none of your DTM/bitmap would be freed! :o
Seeing some memory management though for a change in one of these 07 scripts is great though. Good job on releasing the 'leading example 07 script' thus far in my opinion. :D

Prometheus

2013-02-25 02:08:25

From: The Mayor
My grandmother could decipher that in her sleep :)

Gotta change that then :p
Thanks for the heads up

E: Changed it. Also added something to check if you levelled up :)

From: Runehack123
A nice release. Sorry, I can't test it out myself so no idea how it works, but I had a look at your code…. :)

Just something to improve…
AddOnTerminate('Freeing .. please.

If someone would stop your script now as it is none of your DTM/bitmap would be freed! :o
Seeing some memory management though for a change in one of these 07 scripts is great though. Good job on releasing the 'leading example 07 script' thus far in my opinion. :D


Can you teach me how to do that please? Never thought about that :/

E: Nvm, added it to the script and it no longer says that it's not freed. Thanks for the tip!

Benny

2013-02-25 02:33:30

Well done on the release :)

Prometheus

2013-02-25 02:40:39

From: Benny
Well done on the release :)

thanks :D

teddyromz

2013-02-25 03:21:52

giving this a try later!

DannyRS

2013-02-25 03:37:10

Gz on release ;)

@Hobbit, I know you just killed yourself with the satellite theme code, but we could use some kind of 07 / EoC split for this forum section now?, maybe a subsection or a section for 07 limited to all 07 scripts, what you think? Either that or some kind of [07] tag?

The Mayor

2013-02-25 03:56:07

From: DannyRS
Gz on release ;)

@Hobbit, I know you just killed yourself with the satellite theme code, but we could use some kind of 07 / EoC split for this forum section now?, maybe a subsection or a section for 07 limited to all 07 scripts, what you think? Either that or some kind of [07] tag?


I was just thinking the same thing. Soon the public scripts section will be overrun with '07 material.

E:
From: [PRO]metheus
Gotta change that then :p

E: Changed it. Also added something to check if you levelled up :)


That's better. It might teach them a bit about the structure of a script ;)

Potatolord

2013-02-25 05:57:09

Steals a cup of tea once and then stands till doing nothing. :p

juunhoad

2013-02-25 07:30:58

That was a easy anti-leach lol :P

And I have the same problem as Potatolord

Hobbit

2013-02-25 09:30:23

From: DannyRS
Gz on release ;)

@Hobbit, I know you just killed yourself with the satellite theme code, but we could use some kind of 07 / EoC split for this forum section now?, maybe a subsection or a section for 07 limited to all 07 scripts, what you think? Either that or some kind of [07] tag?


Already in the pipes ;)

Prometheus

2013-02-25 09:38:18

From: Potatolord
Steals a cup of tea once and then stands till doing nothing. :p

Hmm, I'll check it before I go to school

From: juunhoad
That was a easy anti-leach lol :P

And I have the same problem as Potatolord


Time to fix it again

DannyRS

2013-02-25 09:55:15

From: Hobbit
Already in the pipes ;)


You the man Hob! :D

lorenzo

2013-02-25 11:27:49

what does anti leech mean? normalyl i press on play and it works.. what i need to do?? tell me plz just wanna bot

andryaze

2013-02-25 12:57:10

I start it and it does nothing. (I've followed all steps and the script compiles correctly after changing the pro…)

jowiet

2013-02-25 13:38:46

From: andryaze
I start it and it does nothing. (I've followed all steps and the script compiles correctly after changing the pro…)


having this problem to

countvidal

2013-02-25 16:48:09

From: jowiet
having this problem to


Same here did the anti-leach

Nthan

2013-02-25 17:19:03

It's been working on and off for me throughout today - seems really temperamental where it wants to start.

EDIT: Saying that, I have just tried it now with no luck, doesn't seem to work after successfully compiling.

Prometheus

2013-02-25 17:51:41

I'm fixing the script right now, going to rewrite the whole thing using Danny's 07scape Include. The script will be up sooner today, guys :)

Nthan

2013-02-25 17:56:09

From: [PRO]metheus
I'm fixing the script right now, going to rewrite the whole thing using Danny's 07scape Include. The script will be up sooner today, guys :)


Thanks [PRO]metheus, it's a really nice script by the way. :)

TheOpalfruit

2013-02-25 18:08:32

I believe i finished anti-leech but it doesn't seem to drop?

Prometheus

2013-02-25 18:50:22

From: Nthan
Thanks [PRO]metheus, it's a really nice script by the way. :)

Please, call me Meth. And thanks :)

From: TheOpalfruit
I believe i finished anti-leech but it doesn't seem to drop?

I'm currently rewriting the script right now. Going to be up in an hour or 2 at the most

pcap

2013-02-25 19:47:18

it wont work for me please someone help me

Prometheus

2013-02-25 20:32:01

From: pcap
it wont work for me please someone help me


Please read the other comments before posting. I'm uploading the most updated on atm, along with adding a few more information on the thread.

Prometheus

2013-02-25 20:41:07

Updated the script to V2. Should be less buggy than V1

poptarts

2013-02-25 20:51:33

V2 seems to be working great. At the moment I'm working on editing your code to have the mouse variate the clicking positions on the stall/teacup a bit. I haven't yet tested multiple people at the stall, however.

Prometheus

2013-02-25 20:54:44

From: poptarts
V2 seems to be working great. At the moment I'm working on editing your code to have the mouse variate the clicking positions on the stall/teacup a bit, but other than that it's superb.


Thanks, I need to work on that lol

pcap

2013-02-25 20:59:13

From: [PRO]metheus
Please read the other comments before posting. I'm uploading the most updated on atm, along with adding a few more information on the thread.


so i m guessing you cant help me with anti leech so i could use it ?

Prometheus

2013-02-25 21:02:04

From: pcap
so i m guessing you cant help me with anti leech so i could use it ?


Sorry, but you have to solve it like everyone else. I'm sure that watching Yohojo's guide will help:
https://www.youtube.com/watch?v=pMMejhyjGwI

rj

2013-02-25 21:06:59

HOLY HELL I'm not anti ban hero but please use this:

MMouse(RandomRange(X - 5, X + 5), RandomRange(y - 5, y + 5), 0, 0);

Mmouse(x,y,1,0) is going to get somebody banned!

Prometheus

2013-02-25 21:10:50

From: rjj95
HOLY HELL I'm not anti ban hero but please use this:

MMouse(RandomRange(X - 5, X + 5), RandomRange(y - 5, y + 5), 0, 0);

Mmouse(x,y,1,0) is going to get somebody banned!

oh, thought they didn't have their antibotting thing added yet. I'll add that when I get the chance to, thanks for telling me :)

poptarts

2013-02-25 21:17:39

From: [PRO]metheus
oh, thought they didn't have their antibotting thing added yet. I'll add that when I get the chance to, thanks for telling me :)


yeah- it was quite obvious that it was clicking in the same spot. I was hoping that'd any experienced (junior) SRL member would come along and assist in improving your script. :p

I'll look at your script and test it a bit further to get more feedback back to you.

Prometheus

2013-02-25 21:18:32

From: poptarts
yeah- it was quite obvious that it was clicking in the same spot. I was hoping that'd any experienced (junior) SRL member would come along and assist in improving your script. :p

I'll look at your script and test it a bit further to get more feedback back to you.


My first 07scape script so its not really good :p

Chappro

2013-02-25 22:08:43

You should add a Cake/Silk stealer from ardougne and bank it :)
You'd be a hero :)

Prometheus

2013-02-25 22:17:56

From: Chappro
You should add a Cake/Silk stealer from ardougne and bank it :)
You'd be a hero :)


If I do, it would most likely be dropping, so I don't think that would come to good use moneywise

Fresh fob

2013-02-25 22:19:50

Just started learning about scripting today, and i can't do the antileech, i know it's probably easy, but i just want someone to give me a hand, I've read through a couple of tutorials, but still can't see where the "antileech" is. could someone private message me and just give me a couple of hints, or teach me a little bit more about scripting and identifying "antileech's" . thanks looks like a good community as well, look forward to learning more about scripting in years to come.

Prometheus

2013-02-25 22:22:09

From: Fresh fob
Just started learning about scripting today, and i can't do the antileech, i know it's probably easy, but i just want someone to give me a hand, I've read through a couple of tutorials, but still can't see where the "antileech" is. could someone private message me and just give me a couple of hints, or teach me a little bit more about scripting and identifying "antileech's" . thanks looks like a good community as well, look forward to learning more about scripting in years to come.

Basically has Mainloop issues

rj

2013-02-25 23:01:24

Yea they always have their detection system in place, before I added tons of antiban to my miner I got a random every 10-15 minutes

Prometheus

2013-02-25 23:06:12

From: rjj95
Yea they always have their detection system in place, before I added tons of antiban to my miner I got a random every 10-15 minutes


Oh :/ I'll be sure to add that to the script soon

Destined2bGreat

2013-02-25 23:25:23

So it just hovers indefinitely over the tea stall. Is this part of the antileech?

Itankbots

2013-02-25 23:31:36

155 downloads in one day for a tea stealer o.O

Prometheus

2013-02-25 23:36:54

From: Destined2bGreat
So it just hovers indefinitely over the tea stall. Is this part of the antileech?

Fixing it soon on. GOing to use CTS instead of ColorSpiralTolerance

Destined2bGreat

2013-02-25 23:38:25

From: [PRO]metheus
Fixing it soon on. GOing to use CTS instead of ColorSpiralTolerance


Thanks, just making sure it's not me.

jczar

2013-02-26 00:05:25

Ran it for an Hour, worked great on getting 20 thieving.
Time I write a script for silk :D

Prometheus

2013-02-26 00:15:25

From: jczar
Ran it for an Hour, worked great on getting 20 thieving.
Time I write a script for silk :D


Nicee, I'm gonna add proggies next update hopefully

ajg0001991

2013-02-26 00:15:38

hey just started a new project that maybe useful to any1 that cant solve anti leech please read details in this thread http://villavu.com/forum/showthread.php?t=96936

Prometheus

2013-02-26 00:27:12

From: ajg0001991
hey just started a new project that maybe useful to any1 that cant solve anti leech please read details in this thread http://villavu.com/forum/showthread.php?t=96936


Please don't go around doing that. The reason anti-leech is added is so that everyone can learn how to do it by themselves.

ajg0001991

2013-02-26 00:36:08

From: [PRO]metheus
Please don't go around doing that. The reason anti-leech is added is so that everyone can learn how to do it by themselves.


i dont know what your problem is with me doing this service im aware of why the anti leech is there and i am not breaking any rule so i will continue to go around doing that unfortunatly for you

if u actually took the time to read my thread you probly wud understand dat im not handing these scripts to them on a plate i am HELPING them solve the anti leech themselfs hopefully resulting in them learning so if all your gna do is hate about my project and not even take the time to read it dont bother commenting

im trying to do a good thing for the community here and reduce spam flaming on scripts and maybe teach these noobies somthing new (i was always under the imression to encourage learning)[PRO]metheus please go read my thread thoroughly so u can get the bigger picture of what im actully offering and if u still dont agree leave a vote on the poll the ultimate outcome of this service is decided by the community

so im sorry to imform you that u will be seeing this message alot more often coz i intend to push this service

Prometheus

2013-02-26 00:40:20

From: ajg0001991
i dont know what your problem is with me doing this service im aware of why the anti leech is there and i am not breaking any rule so i will continue to go around doing that unfortunatly for you

if u actually took the time to read my thread you probly wud understand dat im not handing these scripts to them on a plate i am HELPING them solve the anti leech themselfs hopefully resulting in them learning so if all your gna do is hate about my project and not even take the time to read it dont bother commenting and tryin to the a good thing for the community and reduce spam flaming on scripts

so im sorry to imform you that u will be seeing this message alot more often coz i intend to push this service

Oh, sorry. If you're helping, then I don't see a problem in that. Gl on your service. Hope you help lots of people there.
Sorry again

ajg0001991

2013-02-26 00:46:53

From: [PRO]metheus
Oh, sorry. If you're helping, then I don't see a problem in that. Gl on your service. Hope you help lots of people there.
Sorry again


ok sir tyvm much for your support i wud like to get as many people behind this so if u do support please leave a vote on my thread and also to save me spamming the thread out any chance you could post a link to my thread on the first page so people are aware of this service ave already had 1 vouch and a happy customer just incase u want proof

this may reduce spam on your thread and place it on my thread what its designed for

Prometheus

2013-02-26 00:57:45

From: ajg0001991
ok sir tyvm much for your support i wud like to get as many people behind this so if u do support please leave a vote on my thread and also to save me spamming the thread out any chance you could post a link to my thread on the first page so people are aware of this service ave already had 1 vouch and a happy customer just incase u want proof

this may reduce spam on your thread and place it on my thread what its designed for


Added to the thread. Hope your service goes well

ajg0001991

2013-02-26 01:03:38

From: [PRO]metheus
Added to the thread. Hope your service goes well



thank you very much im tryin to get this applied across the board with all 07 scripts thats have anti leech so if you could reccomend my service to other fellow script writers that wud be brilliant and very helpful


ty agen for support

Sjoe

2013-02-26 01:18:56

You're just doing this for the anti-leech on other scripts right? …
So u can profit

jczar

2013-02-26 02:14:23

From: ajg0001991
hey just started a new project that maybe useful to any1 that cant solve anti leech please read details in this thread http://villavu.com/forum/showthread.php?t=96936


Why? You'd only end up helping those who have no desire to learn.

ClassyHacks

2013-02-26 02:23:13

Very nice start of a script, I see these 2007 scripts becoming easy to make! I give props for being one of the first.

ClassyHacks

2013-02-26 02:27:08

I like that you used the procedure "P07_IsUpTextMultiCustom" but I found a small bug that can help the script. Every once and a while the script will mess up because it has more than one item in the inv and it only drops the first item using "P07_DropInventorySlot(1);" what I did was I added up to 3 inv slots to be dropped or you could just drop all items in the inv. But overall very well thought out!

Prometheus

2013-02-26 02:30:34

From: ClassyHacks
I like that you used the procedure "P07_IsUpTextMultiCustom" but I found a small bug that can help the script. Every once and a while the script will mess up because it has more than one item in the inv and it only drops the first item using "P07_DropInventorySlot(1);" what I did was I added up to 3 inv slots to be dropped or you could just drop all items in the inv. But overall very well thought out!


Oh, going to have to add that for the next version. Thanks for pointing that out!

ClassyHacks

2013-02-26 02:33:46

From: [PRO]metheus
Oh, going to have to add that for the next version. Thanks for pointing that out!

No problem man, I think that once the UpText are created for the P07 it will be a whole lot easier to make this flawless!

DannyRS

2013-02-26 02:34:05

P07_DropAll; or P07_DropAllExcept([Slots,To,Not,Drop]); one of those probably what your after?

From: ClassyHacks
No problem man, I think that once the UpText are created for the P07 it will be a whole lot easier to make this flawless!


My uptext should work :/ works for me atleast, so if you copy my setup, it should work fine, but the official one will obviously be better

Prometheus

2013-02-26 02:35:19

From: DannyRS
P07_DropAll; or P07_DropAllExcept([Slots,To,Not,Drop]); one of those probably what your after?


Oh god, didn't read through enough of it :duh:
Thanks Danny for the help, going to add to the next version, too

ClassyHacks

2013-02-26 02:41:53

From: DannyRS

My uptext should work :/ works for me atleast, so if you copy my setup, it should work fine, but the official one will obviously be better


Your "P07_IsUpTextMultiCustom" does work I'm just curious to making it work with right clicking unless it does and I'm just confused?
PS: MAJOR props on this OldSchoolRS07 Include!

DannyRS

2013-02-26 02:47:03

From: ClassyHacks
Your "P07_IsUpTextMultiCustom" does work I'm just curious to making it work with right clicking unless it does and I'm just confused?
PS: MAJOR props on this OldSchoolRS07 Include!


Thanks :p

This is how to rightclick if the uptext is working correctly for you (god knows why its not for some people),


If P07_IsUpTextMultiCustom(['text']) Then
Begin
ClickMouse2(mouse_right);
P07_ChooseOptionMulti(['Option']);
End;

ClassyHacks

2013-02-26 02:55:00

From: DannyRS
Thanks :p

This is how to rightclick if the uptext is working correctly for you (god knows why its not for some people),



Alright thanks man! I'm gonna start making scripts tomorrow! But I realized that it was working for me, it's just that his script doesn't use the right click method to steal from the stall. Which you might want to do because of the lag sometimes it will misclick and it will make you character move from the spot.

lorenzo

2013-02-26 05:24:13

whats the point of anti leech and how u solve it ?? why i need to solve ????????????? dude just let me bot mate… why not???

lorenzo

2013-02-26 05:25:20

why u guys change things like shitty anti leech… this is like the eoc ruining for other people i just wanna bot

jczar

2013-02-26 05:34:59

From: lorenzo
why u guys change things like shitty anti leech… this is like the eoc ruining for other people i just wanna bot


Why not spend an hour reading tutorials, instead of crying like a little b….? You'll have MORE than enough knowledge to solve anti-leech in this script.

JOEGRAPHIC

2013-02-26 07:08:15

I need help…. :

Antileech not fixed
Executing in 3…
2…
1…
Successfully executed.

and then it stops the script…

Prometheus

2013-02-26 09:44:47

From: JOEGRAPHIC
I need help…. :

Antileech not fixed
Executing in 3…
2…
1…
Successfully executed.

and then it stops the script…

That's the antileech. Read a couple of tutorials and you'll eventually get it

From: lorenzo
why u guys change things like shitty anti leech… this is like the eoc ruining for other people i just wanna bot


I have a feeling you are new to this.
http://villavu.com/forum/showthread.php?t=67522

mrtruehybrid

2013-02-26 10:23:18

The script stops when you level your thieving.
How do I fix this?

nmka

2013-02-26 11:45:02

I like your antileech

Putti

2013-02-26 15:17:04

Well done on the release

Prometheus

2013-02-26 16:42:11

From: mrtruehybrid
The script stops when you level your thieving.
How do I fix this?


I didn't make it so it terminates when you level up… I'll try fixing the LevelCheck in today's update

Ian

2013-02-26 20:10:46

From: lpodtouch
fuck just let me bot!!!!!!! this is probably the only reason why simba isn't one of the bets botting sites, fucking anti-leech evrywhere, im not trying to learn im just trying to bot fuck…….

swear to god this is bs


We have a no swearing rule here, please respect it.

Anti-leech helps you learn, don't you want to learn?

Prometheus

2013-02-26 21:23:56

From: lpodtouch
fuck just let me bot!!!!!!! this is probably the only reason why simba isn't one of the bets botting sites, fucking anti-leech evrywhere, im not trying to learn im just trying to bot fuck…….

swear to god this is bs


You define the word "Leecher" around this website.

Prometheus

2013-02-27 01:48:30

Updated to V3. Should be more accurate than the previous versions.

sarmetto

2013-02-27 02:18:41

Dang I can't solve line 169. I'm not familiar with these functions. Any hints?

Prometheus

2013-02-27 02:24:28

From: sarmetto
Dang I can't solve line 169. I'm not familiar with these functions. Any hints?

Antileech is no longer in Line 169. All I can say is that it has something to do with the Mainloop.

sarmetto

2013-02-27 02:50:07

From: [PRO]metheus
Antileech is no longer in Line 169. All I can say is that it has something to do with the Mainloop.


Can't figure it out, always get same mismatch error on 169.

I guess ill try again later

Prometheus

2013-02-27 02:50:48

From: sarmetto
Can't figure it out, always get same mismatch error on 169.

I guess ill try again later


I updated the script. Have you downloaded the new version?

sarmetto

2013-02-27 02:53:54

Yeah, Version 3.

Prometheus

2013-02-27 02:55:03

From: sarmetto
Yeah, Version 3.


That's weird, I commented out that line… Make sure you have the RS07Include

Unsolidarity

2013-02-27 03:05:47

Thanks for the script.
Easy antileech :P
Works perf <3

juunhoad

2013-02-27 16:11:15

Dude, the anti-leech is to easy :P

Or I forgot something, you only need to delete something from the main loop right?

Prometheus

2013-02-27 16:16:52

From: juunhoad
Dude, the anti-leech is to easy :P

Or I forgot something, you only need to delete something from the main loop right?


it depends if it's running or not.

Prometheus

2013-02-27 16:40:31

Version 3.5 added. Can support multiple people stealing teas

poptarts

2013-02-27 22:12:04

If anybody's experiencing a problem with it failing to drop a teacup resulting in two teacups in the inventory, which results in stalling, you can add a double check (execute drop all twice) to make sure they're dropped. The problem is presumably with the drop function of the P07Include. I had this problem and I added another drop all along with a little change to the wait intervals.

Procedure Dropping;
begin
Wait(RandomRange(190, 260));
P07_DropAll;
Wait(RandomRange(90, 200));
P07_DropAll;
Wait(RandomRange(1, 60));
end;

Prometheus

2013-02-27 22:20:03

From: poptarts
If anybody's experiencing a problem with it failing to drop a teacup resulting in two teacups in the inventory, which results in stalling, you can add a double check (execute drop all twice) to make sure they're dropped. The problem is presumably with the drop function of the P07Include. I had this problem and I added another drop all along with a little change to the wait intervals.

Procedure Dropping;
begin
Wait(RandomRange(190, 260));
P07_DropAll;
Wait(RandomRange(90, 200));
P07_DropAll;
Wait(RandomRange(1, 60));
end;

Thanks for letting me know about that :)
I'll make it so it makes sure that the inventory is empty before it continues stealing soon.

cortex2006

2013-02-28 06:33:05

Exception in Script: Unable to find file 'P07Include.simba' used from 'C:\Users\Marvino\Downloads\07TeaStealer v3.5.simba'

getting this error with every script help please!

Hazard

2013-02-28 12:29:18

Where can I learn about fixing anti leaches?

Prometheus

2013-02-28 17:48:23

From: Hazard
Where can I learn about fixing anti leaches?


Yohojo's video tutorial teaches well for beginners. That's the very first tutorial I watched before scripting

Hazard

2013-02-28 18:07:56

Thanks, i'll look into it

Pew

2013-02-28 21:56:18

Mmmmm it works but everytime it tried to find the tea stall it goes to 4 places then clicks. It repeats the same mouse movement every single time, which results in VERY frequent random events.

Babysat and doing the randoms manually it's got me 5-17 so thanks so far. :)

Prometheus

2013-02-28 22:06:23

From: Pew
Mmmmm it works but everytime it tried to find the tea stall it goes to 4 places then clicks. It repeats the same mouse movement every single time, which results in VERY frequent random events.

Babysat and doing the randoms manually it's got me 5-17 so thanks so far. :)


Off topic, but are you Goobs from PB?
And I need to find a fix for that soon :)
Uploading v4 right now, along with a vid

Prometheus

2013-02-28 22:45:47

Added v4. Has proggies now, which you can post :D

Prometheus

2013-03-02 14:06:20

Need suggestions for v5. Definately going to add antiban

Craimforce

2013-03-03 07:54:32

well wtf i get this:
MAKE SURE YOU BANKED YOUR VALUABLES, LIKE YOUR ARMOR
Client doesnt open

Kuriamas

2013-03-03 10:22:55

"Antileech not fixed
Executing in 3…
2…
1…
Successfully executed.
"
Fixed it already… Why it doesnt work?

Prometheus

2013-03-03 11:33:12

From: Kuriamas
"Antileech not fixed
Executing in 3…
2…
1…
Successfully executed.
"
Fixed it already… Why it doesnt work?

If you get that, then that means you didn't fix it yet.

From: Craimforce
well wtf i get this:
MAKE SURE YOU BANKED YOUR VALUABLES, LIKE YOUR ARMOR
Client doesnt open


It doesn't use SMART. You have to use either a browser or the official Oldschool Runescape client as said in OP.

sharkyscape

2013-03-03 14:48:37

the bot LOVES to annoy me when i comment out 1 of the left click it doesnt work properly when i have both on it purposely sets itself to click the other side of the table every time then clicks twice making my guy walk all the way around the table! wtf is up with this code

Prometheus

2013-03-03 16:45:49

From: sharkyscape
the bot LOVES to annoy me when i comment out 1 of the left click it doesnt work properly when i have both on it purposely sets itself to click the other side of the table every time then clicks twice making my guy walk all the way around the table! wtf is up with this code


All you have to do is just fix the antileech, select the client window, and start the script.

alltimeslaya

2013-03-04 19:16:02

Could anyone help me? I got rid of the anti leech and im using smart8

When i start it just stands there. I disable smart after like 5 mins steal a tea and smart pops up again in a new client

anyone help me out in teamviewer?

Prometheus

2013-03-04 22:57:11

From: alltimeslaya
Could anyone help me? I got rid of the anti leech and im using smart8

When i start it just stands there. I disable smart after like 5 mins steal a tea and smart pops up again in a new client

anyone help me out in teamviewer?

This doesn't support smart. You have to select the oldschool client with the green crossheirs.

Pew

2013-03-06 07:40:58

Trying out the new tea stall bot and its heaps better than 3.5. The report is badass, my only problem is that it very rarely misclicks off the tea stall.

Coderboss

2013-03-06 09:29:00

Fixed anti leech but it just steals 1 tea, drops and sits there.

Kuriamas

2013-03-06 15:55:03

Easy anti-leech. Does it support smart8?

Prometheus

2013-03-06 18:23:39

From: Kuriamas
Easy anti-leech. Does it support smart8?


Haven't tried it with smart8 yet

elm

2013-03-06 19:43:32

Wonderfully simple anti-leech, no reason anyone shouldn't be able to "solve" it. Thanks for the script, will be using it until master farmers; it runs perfectly. Would love to see more options available in the future if you plan on extending the script that far?

Prometheus

2013-03-06 22:15:58

From: elm
Wonderfully simple anti-leech, no reason anyone shouldn't be able to "solve" it. Thanks for the script, will be using it until master farmers; it runs perfectly. Would love to see more options available in the future if you plan on extending the script that far?


Gonna keep it at dropping teas, but I might make more scripts soon when I feel like it :)

iTzxZac

2013-03-06 22:48:47

Great script. The anti-leech was fairly easy to get rid of. Would love to see support for smart8 in the future.

SNURD

2013-03-07 20:35:24

Praise the sun.

Prometheus

2013-03-07 21:19:25

From: SNURD
Praise the sun.


Wership*

theonlywayis

2013-03-08 18:43:22

I feel so stupid not knowing this but i don't get the antileach, ive managed to do antileach on every other script i've used but i can't do this one, maybe cause i'm tired but idk

EDIT: never mind, i'm looking for something thats hard to fix, didn't know it was that easy lol, thanks for the script

shanedog09

2013-03-09 14:21:47

clicks stall 40 fuckin times and doesnt stay in place, awesome script.

Prometheus

2013-03-09 15:44:52

From: shanedog09
clicks stall 40 fuckin times and doesnt stay in place, awesome script.


Make your own then. See how hard it is.

pigggy

2013-03-10 16:51:19

pretty decent script, just one problem. Most of the time it gets the tea and drops it, but after like 5 tea's it just sits there for like a min and doesnt steal anything, but then it starts again, steals some, then stops again.

pigggy

2013-03-10 17:07:05

pretty decent script, just one problem. Most of the time it gets the tea and drops it, but after like 5 tea's it just sits there for like a min and doesnt steal anything, but then it starts again, steals some, then stops again.

Prometheus

2013-03-13 18:55:35

Removed antileech.

Talis

2013-03-14 15:39:19

When I try and use this bot it starts fine. The within the first 20 or so teas it misclicks off the stall every other tea.

nickxpk22

2013-03-14 19:45:12

this script doesn't really work at all :/ at least not for me I have to restart it after each tea it steals.

adilh301

2013-03-25 20:17:57

Hey prometheus Could you help me implement the xp per hour function in a combat script?

Prometheus

2013-03-25 22:32:29

From: adilh301
Hey prometheus Could you help me implement the xp per hour function in a combat script?


I can try. PM me it :)

jdixon

2013-03-26 07:24:40

Once started does nothing :(

jdixon

2013-03-26 07:27:08

ahh doesnt support smart :(

Prometheus

2013-03-26 09:56:17

From: jdixon
ahh doesnt support smart :(


My bad, I'll try adding smart support when I get home

xdragon23

2013-03-26 17:45:37

yea can you please add smart lol.

Prometheus

2013-03-26 18:10:32

Added v5

drics07

2013-03-26 22:44:03

it opens eoc client instead of osr. other scripts i run on smart work just fine

Prometheus

2013-03-26 23:25:49

From: drics07
it opens eoc client instead of osr. other scripts i run on smart work just fine


Has nothing to do with my script. Maybe you did something wrong while making smart compatible with the oldschool client.

drics07

2013-03-27 00:30:03

It should because every other script run on osr just fine

Anzi

2013-03-27 05:43:20

Script does nothing. I'm using smart 8…

EDIT: nvm working again. I had to the steps provided here again because of a SRL update: http://villavu.com/forum/showthread.php?t=97599

poopa

2013-03-27 18:55:04

Had to lower the X Y range on the Stall as he kept missing clicking and walking around it.
But now I've got it all running, it's working wicked!
Thanks for the up dude, much appreciated!

melkoo

2013-03-27 22:51:56

Nvm, got it working!

melkoo

2013-03-27 23:28:23

It's miss clicking a lot, and when it does it just stops

Prometheus

2013-03-28 01:23:01

From: melkoo
It's miss clicking a lot, and when it does it just stops


I'll check it soon

Pkingd3vil

2013-03-28 03:25:02

Works for about 10 steals then moves on top of the stall and cant steal from stall anymore.

Runehack123

2013-03-28 03:31:29

This hasnt really to do anything wit h script but I think it'sfunny that you can steal somebody's tea in Runescape
tea is nice but why would I steal a cup of tea

hurr hurr hurr :o

nice script but I think I already said earlier

Prometheus

2013-03-28 10:00:39

From: Runehack123
This hasnt really to do anything wit h script but I think it'sfunny that you can steal somebody's tea in Runescape
tea is nice but why would I steal a cup of tea

hurr hurr hurr :o

nice script but I think I already said earlier


Runehack123

2013-03-28 10:38:33

^ haha lol'd so hard nice meme XD

lemonz54

2013-03-28 16:29:22

Yeah it seems to randomly misclick and it won't correct itself resulting into me having to restart the script. Otherwise, it is very good and does what it needs to do nicely. Well done!

Mister Snow

2013-03-30 13:48:42

Something tells me the missclicking is a bit purposeful by the OP :P

Go into the script and fix it. There are many simple ways to remedy it. Look around the upper 40's lines.

Prometheus

2013-03-30 14:46:05

From: Mister Snow
Something tells me the missclicking is a bit purposeful by the OP :P

Go into the script and fix it. There are many simple ways to remedy it. Look around the upper 40's lines.


No it's not on purpose, I just don't have the time to test it on my account

E: I'll try my best to fix it right now

EE: Updated to v6. More accurate than before

sith kid

2013-03-31 13:36:24

I don't believe I came across an XP rate while looking through the thread. Do you have a ballpark on that?

Prometheus

2013-03-31 14:07:50

From: sith kid
I don't believe I came across an XP rate while looking through the thread. Do you have a ballpark on that?


I don't understand what you're trying to say lol :P

If you're wondering what the exp/hr is, it's around 8-10k, but that's if you don't encounter any randoms

sith kid

2013-03-31 14:26:41

Yeah, that's it, thanks haha :D

thomasmacey

2013-03-31 18:42:27

it seems to just run on the eoc client and im unsure how to get it to run on the 07 scape is it in the code on the bot or is there something i have to do ?

Prometheus

2013-03-31 18:48:02

From: thomasmacey
it seems to just run on the eoc client and im unsure how to get it to run on the 07 scape is it in the code on the bot or is there something i have to do ?


Check the FAQ

Carlos1624

2013-04-01 21:11:05

Loads up EoC for me, Any other script that i load seems to load 07 fine so :/

Prometheus

2013-04-01 23:57:16

From: Carlos1624
Loads up EoC for me, Any other script that i load seems to load 07 fine so :/


I don't know what the problem is. Do you only have SRL-OSR downloaded? Or did you edit the SRL files?

JeSahSah

2013-04-02 01:45:26

From: Mister Snow
Go into the script and fix it. There are many simple ways to remedy it. Look around the upper 40's lines.


Would love to know how you changed it. I've tried but I seem to only be able to screw it up more.

This script is one of the only working thieving scripts that I can find, but it has to be massivelyyy babysat due to the bot's mouse going slightly off the stall.

Prometheus

2013-04-02 01:58:41

From: JeSahSah
Would love to know how you changed it. I've tried but I seem to only be able to screw it up more.

This script is one of the only working thieving scripts that I can find, but it has to be massivelyyy babysat due to the bot's mouse going slightly off the stall.


Did you try the new version?

JeSahSah

2013-04-02 02:04:23

Yep, using v6. Seems to happen every 1-15 mins at random. I can sometimes turn the screen and it will adjust itself, but more often than not I have to restart it. When I click on randoms and then click back on the script it doesn't work and I have to restart as well.

Prometheus

2013-04-02 02:08:49

From: JeSahSah
Yep, using v6. Seems to happen every 1-15 mins at random. I can sometimes turn the screen and it will adjust itself, but more often than not I have to restart it. When I click on randoms and then click back on the script it doesn't work and I have to restart as well.


I'll try fixing that in v7. It'll work on SRL-OSR instead of P07Include

JeSahSah

2013-04-02 02:18:58

Pro. Looking forward to it.

Tarkit

2013-04-05 13:21:34

stars EOC for me, don't know why!

Prometheus

2013-04-05 14:00:20

From: Tarkit
stars EOC for me, don't know why!


try the new one

matthew1993

2013-04-05 14:40:29

Version 7 just clicks once and it is done then. Doesn't do anything else after the first click.

Prometheus

2013-04-05 14:41:07

From: matthew1993
Version 7 just clicks once and it is done then. Doesn't do anything else after the first click.


Was working for me when I tested it
Are you in the same spot as the video?

matthew1993

2013-04-05 14:53:12

From: [PRO]metheus
Was working for me when I tested it
Are you in the same spot as the video?


I am. I debugged it, it doesn't go further then this:

Repeat Wait(150) until InvCount = + 1;

Line 66. It is stuck there.

Edit: it works, just needed to start with an empty inventory.

matthew1993

2013-04-05 15:19:11

I didn't like the fact that it sometimes was hovering out of the tea stall and the part it was hovering on was smaller then the full tea stall. If someone would check your screen and log the clicks it would all be in the left-bottom part of the tea stall. I changed that, also added a little box that shows where you can click, makes it easier for debugging!

New Stealing procedure:
Procedure Stealing;
var
PBox: TBox;
begin
MouseBoxHover(310, 131, 333, 175);
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
//
PBox := IntToBox(310, 131, 333, 175);;
SMART_DrawBox(PBox);
//
If IsUpTextMultiCustom(['alk h', 'more']) then
repeat
FindNormalRandoms;
Wait(150) until IsUpTextMultiCustom(['teal', 'rom']);

And just add this:
{$I SRL-OSR/srl/misc/SmartGraphics.simba}

In the top of the script to make the box work.

Script seems to work fine and do its job perfect, only thing is that antirandoms aren't inplemented in almost no script or in SRL, but that's not really you to blame for ;)
Great script overall thanks!

Edit: oh and please comment your script out and use tabs to make it more readable :D
Edit2: not working need to debug for a second, wasn't thinking of bringing the camera up high!
Edit3: Now with working screen coordinates and brings the vision back up to 'High' and 'North' if you do a random for the script and don't want to loose your proggie.
Edit4: I keep getting the coordinates wrong, on the original script and my adapted versions, sometimes the random box the script can click on is not 100% in the tea stall, no idea how that happens.
Edit5: After some testing: each login has different 0,0 middle of screen coordinates, the ones implemented now will always be on the Tea Stall and will make the script more continues.

pinheadmatt8

2013-04-05 15:34:17

"Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Users\new user\Downloads\07TeaStealer v7.simba'"
what do I do?

matthew1993

2013-04-05 15:54:03

Read and watch tutorials, and implement the files needed to run certain scripts:

http://villavu.com/forum/showthread.php?t=47714

Beadmen

2013-04-05 20:38:24

Why doesn't it do anything when I start it up. It just stands there in the correct spot and does nothing.
Is this script broken or does it still have anti-leech?

Prometheus

2013-04-06 02:16:15

From: Beadmen
Why doesn't it do anything when I start it up. It just stands there in the correct spot and does nothing.
Is this script broken or does it still have anti-leech?


Try starting without anything in your inventory.

JeSahSah

2013-04-06 03:20:41

From: matthew1993
I didn't like the fact that it sometimes was hovering out of the tea stall and the part it was hovering on was smaller then the full tea stall. If someone would check your screen and log the clicks it would all be in the left-bottom part of the tea stall. I changed that, also added a little box that shows where you can click, makes it easier for debugging!

New Stealing procedure:
Procedure Stealing;
var
PBox: TBox;
begin
MouseBoxHover(310, 131, 333, 175);
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
//
PBox := IntToBox(310, 131, 333, 175);;
SMART_DrawBox(PBox);
//
If IsUpTextMultiCustom(['alk h', 'more']) then
repeat
FindNormalRandoms;
Wait(150) until IsUpTextMultiCustom(['teal', 'rom']);

And just add this:
{$I SRL-OSR/srl/misc/SmartGraphics.simba}

In the top of the script to make the box work.

Script seems to work fine and do its job perfect, only thing is that antirandoms aren't inplemented in almost no script or in SRL, but that's not really you to blame for ;)
Great script overall thanks!

Edit: oh and please comment your script out and use tabs to make it more readable :D
Edit2: not working need to debug for a second, wasn't thinking of bringing the camera up high!
Edit3: Now with working screen coordinates and brings the vision back up to 'High' and 'North' if you do a random for the script and don't want to loose your proggie.
Edit4: I keep getting the coordinates wrong, on the original script and my adapted versions, sometimes the random box the script can click on is not 100% in the tea stall, no idea how that happens.
Edit5: After some testing: each login has different 0,0 middle of screen coordinates, the ones implemented now will always be on the Tea Stall and will make the script more continues.


THIS. Helped so much. I had to make a couple changes though for it to work. I had to emit {$I SRL-OSR/srl/misc/SmartGraphics.simba} and just leave it like it was, and I had to take out
SMART_DrawBox(PBox);

Working flawlessly other than randoms of course.

Edit: about every 30 mins or so the curser will fall off of the stall, but you can just move the map slightly to get everything going again.

matthew1993

2013-04-06 11:13:01

From: JeSahSah
THIS. Helped so much. I had to make a couple changes though for it to work. I had to emit {$I SRL-OSR/srl/misc/SmartGraphics.simba} and just leave it like it was, and I had to take out
SMART_DrawBox(PBox);

Working flawlessly other than randoms of course.

Edit: about every 30 mins or so the curser will fall off of the stall, but you can just move the map slightly to get everything going again.


Ah that just means you don't have those files, you don't really need it to run my version, mine just is a little bit more useful when debugging.

ps. metheus I'm not taking over the thread, but the clicking could use some work in my opinion so I just made my own ;) and thought, why not share it ;)

Nashua

2013-04-08 08:13:49

Still missclicks alot, can't run it for long at all :\

I'm running the original script.

anxious

2013-04-22 20:53:48

terrible script nub

Prometheus

2013-04-22 22:47:18

From: anxious
terrible script nub


k make your own and see how hard it is with lots of priorities on your hands. Nub.

alexalex1

2013-04-29 00:17:16

From: anxious
terrible script nub



From: [PRO]metheus
k make your own and see how hard it is with lots of priorities on your hands. Nub.


Its a mad script, wtf is this dick on about?

Dont worry man, some people are just pathetic and expect to click 1 button and have their character leveled to 99… They dont realise the effort that it takes.. Cheers for the script man, so far running smooth.. sitting on about an hour run time now

Pocket

2013-04-30 13:11:45

Just a quick question, occasionally the bot will move the mouse off of the stall and hover just next to it. Sometimes I can just rotate the camera slightly and it will pick it back up again but other times it will be just out of reach of the stall and I have to stop and restart the script. I wouldn't be so bothered if it only did it every hour or so as I babysit my bots anyway but it literally happens every 5-10 minutes. I was just wondering if there was any way I could edit the script myself in order to make the click-box smaller? I've had a little look through the code but i'm more than useless when it comes to coding so I couldn't see anything obvious I could change to get this to work.

Any help you or the community could offer would be greatly appreciated :)

Toofstah

2013-04-30 15:09:24

My god how do I hop worlds rofl using the client, this guys been on my server for agggess doing the same thing I'm doing.

Prometheus

2013-05-01 01:25:20

From: Pocket
Just a quick question, occasionally the bot will move the mouse off of the stall and hover just next to it. Sometimes I can just rotate the camera slightly and it will pick it back up again but other times it will be just out of reach of the stall and I have to stop and restart the script. I wouldn't be so bothered if it only did it every hour or so as I babysit my bots anyway but it literally happens every 5-10 minutes. I was just wondering if there was any way I could edit the script myself in order to make the click-box smaller? I've had a little look through the code but i'm more than useless when it comes to coding so I couldn't see anything obvious I could change to get this to work.

Any help you or the community could offer would be greatly appreciated :)


On line 52, try changing "(291, 125, 325, 170);" to something smaller.
Basically what MouseBoxHover is doing is hovering the mouse randomly inside the box that the X and Y coordinates make.

Lets use a graph for example. Say we have the coordinates of (-5, 5) and (3, -3).


(X1 = -5, X2 = 3, Y1 = 5, Y2 = -3)

If we were to use that in MouseBoxHover, we would have to put "MouseBoxHover(-5, 3, 5, -3);" Our result would create a box with the coordinates, shown below:


Now the mouse will hover over one of the coordinates in the box randomly, so it would look less bot-like as opposed to clicking the same coordinate over and over again for an hour+ :p (Blue dots representing the coordinates it would click)



After that brief lesson on the function, I guess you would understand better of what the function does :)
What you should do is to get the coordinates of the center of the tea stall. You can find this by hovering your mouse over the stall, and the coordinates will be displayed on the bottom of Simba. Example:


Try to make the coordinates as small apart as possible, Example: (291, 125, 325, 170) would be (291, 125, 301, 180), at least 10 coordinates apart.

I tried explaining this as thoroughly as I can get, as I don't have enough time to change the coordinates :(
Hope this helped you!

narutardo

2013-05-01 04:23:50

im having a problem help me ?
Compiling failed.
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:6): Unknown identifier 'Smart_World' at line 34
Compiling failed.

Pocket

2013-05-01 06:01:58

From: [PRO]metheus
I tried explaining this as thoroughly as I can get, as I don't have enough time to change the coordinates :(
Hope this helped you!



That was more than helpful, it was broful. Working like a charm, good day and thanks again to you sir! :D

Toofstah

2013-05-01 17:24:59

Clicks on the Teastall once, commences AFK.

Prometheus

2013-05-01 17:53:48

From: Toofstah
Clicks on the Teastall once, commences AFK.


Is your inventory empty?

lordasukuu

2013-05-02 00:01:50

From: [PRO]metheus
On line 52, try changing "(291, 125, 325, 170);" to something smaller.
Basically what MouseBoxHover is doing is hovering the mouse randomly inside the box that the X and Y coordinates make.

Lets use a graph for example. Say we have the coordinates of (-5, 5) and (3, -3).


(X1 = -5, X2 = 3, Y1 = 5, Y2 = -3)

If we were to use that in MouseBoxHover, we would have to put "MouseBoxHover(-5, 3, 5, -3);" Our result would create a box with the coordinates, shown below:


Now the mouse will hover over one of the coordinates in the box randomly, so it would look less bot-like as opposed to clicking the same coordinate over and over again for an hour+ :p (Blue dots representing the coordinates it would click)



After that brief lesson on the function, I guess you would understand better of what the function does :)
What you should do is to get the coordinates of the center of the tea stall. You can find this by hovering your mouse over the stall, and the coordinates will be displayed on the bottom of Simba. Example:


Try to make the coordinates as small apart as possible, Example: (291, 125, 325, 170) would be (291, 125, 301, 180), at least 10 coordinates apart.

I tried explaining this as thoroughly as I can get, as I don't have enough time to change the coordinates :(
Hope this helped you!



hey ive tried your method but it still misses after a few clicks, ive tried messing around with it my self (without saving it) just to see if i could get it, and even though i changed it, its still clicking sort of the same spots and still ends up missing which leads it to getting stuck, any more help you could give on how to fix this would be awesome. thanks :)

Edit: i went back to the original co-ordinates and it loaded me to world 322, and its working perfectly, im assuming by that, is that for each world there are different co-ordinations for the tea stall(you probs already knew that) im not 100% sure but the only way i see how to fix it is by setting co's for each world that it loads, or use colour? o.0 :P

Toofstah

2013-05-02 14:35:28

This is so annoying - it'll move to the left of the stall and basically will just halt completely -.- this is after a few steals…

slyte33

2013-05-08 12:23:32

From: Toofstah
This is so annoying - it'll move to the left of the stall and basically will just halt completely -.- this is after a few steals…


Easy fix :P
Look for:

MouseBoxHover(291, 125, 325, 170);
change to
MouseBoxHover(330, 125, 325, 170);
it wont click off the tea stall now.

maxitaxi

2013-05-09 18:13:11

it wont drop the teas, simple hoover over it, repeating. never dropping.

Prometheus

2013-05-14 23:37:12

Changed the coordinates for the mousebox thingy. Hopefully it won't go off that much anymore.

vello1234

2013-06-07 09:02:22

why the fuck does it stand still after every 5 or 10 minutes? doesnt steal anything just stands there.
i have to close simba n reopen it for it 2 work again.
?!?!?!

Prometheus

2013-06-07 18:50:11

From: vello1234
why the fuck does it stand still after every 5 or 10 minutes? doesnt steal anything just stands there.
i have to close simba n reopen it for it 2 work again.
?!?!?!

Watch your language, and be more specific. Did you read the instructions? Try taking a video of it.

vello1234

2013-06-09 18:38:07

From: [PRO]metheus
Watch your language, and be more specific. Did you read the instructions? Try taking a video of it.


sorry man
it just steals about 10-20 tea's and then stops stealing tea's and stands there, can't vid it sorry.
and yes i read the intstructions

You stole: 64 teas
You are getting: 424 teas an hour!
You have gotten: 1024 thieving experience
You are getting: 6788 thieving experience per hour
Running for: 543 seconds
That is: 9 minute(s)
Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]
[Error] C:\Simba\Includes\SRL-OSR\SRL\core\antirandoms\common.simba(59:15): Unknown identifier 'returnTPAExceptColors' at line 58
Compiling failed.


line 777 in antirandoms

this is what its gicving me

LaPanthere

2013-07-24 08:49:20

I'm having the same issue as Vello. The same error appears.

I hope a fix comes out soon :)

Ashaman88

2013-07-24 09:32:03

From: LaPanthere
I'm having the same issue as Vello. The same error appears.

I hope a fix comes out soon :)


It means you didn't put anything in for your nickname. You need to fill out that.

LaPanthere

2013-07-24 10:20:45

From: Ashaman88
It means you didn't put anything in for your nickname. You need to fill out that.


I put the last 4 letters of my rs name… Thats what you're supposed to do right?

Ashaman88

2013-07-24 10:25:24

From: LaPanthere
I put the last 4 letters of my rs name… Thats what you're supposed to do right?


Then you need to move declareplayers before setupsrl

LaPanthere

2013-07-26 06:14:38

I've redesigned some of the project made an antiban and some-what of a leveling tracker.
I have also improved the stealing of tea and used ACA for this, feel free to look at the code and compile it yourself;


{
***07Scape Tea Stealer made by Prometheus | Heavily edited by LaPanthere***
======Be sure to bank your armor======

}
program TeaStealer;
{$DEFINE SMART8} //Remove the 8 if you dont have SMART8
{$i srl-osr/srl.simba}
{$i srl-osr/srl/misc/trade.simba}
var
x, y: Integer;
XPGain, TeasStolen, TotalTime: Integer;
XPPerHour, TeasPerHour, RealEXP, Minutes: Integer;
BasePlayerLevel, CurrentPlayerLevel, DifferencePlayerLevel, i: Integer;
LatestAnti: String;



Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //username
Players[0].Pass := ''; //password
Players[0].Nick := ''; //last 4 letters of name
Players[0].Active := True;
End;

Procedure TradingCheck;
begin
If SomeoneTrades then
HandleTrade;
end;

Procedure RandomAnti;
begin
FindNormalRandoms;
FindNonInventoryRandoms;
FindTalk;
end;

{* Failsafe thanks to YoHoJo *}
Procedure FailSafe(Reason:String);
Begin
Players[CurrentPlayer].Loc:=Reason;
Logout;
Stats_Commit;
Writeln(Reason);
TerminateScript;
End;

{* Antiban thanks to LaPanthere *}
procedure AntiBan;
begin;
TradingCheck;
RandomAnti;
case Random(50) of

0: //
begin
Writeln('AntiBan: Taking a break for 60 seconds')
RandomMovement;
wait(RandomRange(54000, 66000))
RandomMovement;
LatestAnti := 'Break for ~60s';
end;

1: //
begin
Writeln('AntiBan: Taking a break for 20 seconds')
RandomMovement;
wait (RandomRange(16000, 24000))
RandomMovement;
LatestAnti := 'Break for ~20s';
end;

2: //
begin
Writeln('AntiBan: Checking Thieving XP')
HoverSkill(skill_Thieving, false);
wait(1000 + random(3900));
LatestAnti := 'Checked Thieving XP';
end;

3: //
begin
Writeln('AntiBan: Checking random skill')
HoverSkill('random', false);
wait(1000 + random(3500));
LatestAnti := 'Checked random skill';
end;

4: //
begin
Writeln('AntiBan: Waiting a random amount of time - between 1 and 3 seconds.')
wait(1000 + random(3000));
LatestAnti := 'Waiting for 1-3s';
end;

5: //
begin
Writeln('AntiBan: Acting like a bored Human.')
BoredHuman;
LatestAnti := 'Acting bored human';
end;

6: //
begin
Writeln('AntiBan: Simulated the dropping of your mouse')
PickUpMouse;
wait(1000 + random(4000));
LatestAnti := 'Mouse Dropped';
end;

7: //
begin
Writeln('AntiBan: Randomly moving mouse')
RandomMovement;
LatestAnti := 'Random Mouse Movement';
end;

8: //
begin
Writeln('AntiBan: Randomly adjusting angle')
RandomAngle(1);
LatestAnti := 'Adjusted Camera Angle';
end;

9: //
begin
Writeln('AntiBan: Randomly moved and reset compass position')
CompassMovement(random(500), random(1700), true);
wait(1000 + random(4000));
LatestAnti := 'Compass movement';
end;

10: //
begin
Writeln('AntiBan: Randomly examined an item in the inventory')
If not (InvCount = 0) Then
ExamineInv;

wait(1000 + random(4000));
LatestAnti := 'Examined item in inventory';
end;

11: //
begin
Writeln('AntiBan: Randomly changed Tab')
RandomTab(True);
wait(1000 + random(2000));
LatestAnti := 'Changed active tab';
end;

12: //
begin
Writeln('AntiBan: Randomly hovered over online friend')
HoverOnlineFriend;
LatestAnti := 'Hover online friend';
end;

13: //
begin
Writeln('AntiBan: Randomly moved off client')
MMouseOffClient('rand');
wait(1000 + random(5000));
LatestAnti := 'Moved off client';
end;

14: //
begin
Writeln('AntiBan: Randomly Moving Player')

case Random(3) of
0: RunAway('n', False, 1, randomrange(3000, 10000));
1: RunAway('s', False, 1, randomrange(3000, 10000));
2: RunAway('e', False, 1, randomrange(3000, 10000));
3: RunAway('w', False, 1, randomrange(3000, 10000));
end; //end case
LatestAnti := 'Moved player';
end;

15..18: //
begin
Writeln('AntiBan: Randomly moved camera')
MakeCompass(randomRange(120, 190));
wait(1000 + random(5000));
LatestAnti := 'Moved camera';
end;
Else
Begin
Writeln('AntiBan: None')
LatestAnti := 'No antiban method has been performed';
end;
end; //end case
end; //end procedure

function CanvasColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.05, 0.36);

if not (FindColorsTolerance(arP, 7441307, MSX1, MSY1, MSX2, MSY2, 7)) then
begin
Writeln('Failed to find the color, no result. Are you at the tea stall?');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
//FailSafe('Failed to find the color');
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
//Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('AutoColor failed in finding the color. Are you at the tea stall?');
//FailSafe('Failed to find the color');
end;

Procedure StartingOff;
begin
If not LoggedIn then
LoginPlayer;
WriteLn('MAKE SURE YOU BANKED YOUR VALUABLES, LIKE YOUR ARMOR');
Wait(randomRange(300, 500));
MakeCompass(randomRange(120, 190));
SetAngle(SRL_ANGLE_HIGH);
end;

Procedure Stealing;
Var
obX, obY: Integer;
Begin
wait(RandomRange(1300, 2000));
obX := MSCX;
obY := MSCY;
If (FindObjTPA(obX, obY, CanvasColor, 5, 1, 15, 80, 1, ['teal', 'rom']))
Then
Begin
GetMousePos(obX, obY);
Case Random(2) Of
0: Mouse(obX, obY, RandomRange(10, 15), RandomRange(10, 15), True);
1: //
Begin
Mouse(obX, obY, RandomRange(10, 15), RandomRange(10, 15), False);
wait(100 + random(300));
WaitOption('teal', 500);
LevelUp;
End;
End;
AntiBan;
Inc(TeasStolen);
RealEXP := 0 + XPGain;
XPGain := RealEXP + 16
Exit;
End
Else
Begin
WriteLn('Failed to find a teacup, antiban triggered, restarting stealing process');
AntiBan;
Stealing;
End;

End;

Procedure Dropping;
Var
x, y: Integer;
Begin
Repeat
Wait(150)
until InvCount = + 1;
Wait(RandomRange(250, 300));
Case Random(2) of
0: DropAll;
1: //
Begin
DropAll;
GetMousePos(x, y);
MMouse(Random(MSX2), Random(MSY2), 0, 0);
End;
End;
Wait(RandomRange(70, 100));
End;

Procedure Proggy;
begin
TotalTime := (GetTimeRunning/1000);
Minutes := TotalTime/60;

XPPerHour := 3600*(XPGain)/(TotalTime);
TeasPerHour := 3600*(TeasStolen)/(TotalTime);

If (i = 5) or (i = 0) Then
Begin
CurrentPlayerLevel := GetSkillLevel(skill_Thieving);
i := 1;
End
Else
Begin
i := + 1;
End;
DifferencePlayerLevel := CurrentPlayerLevel - BasePlayerLevel;

If (DifferencePlayerLevel < 0) Then
DifferencePlayerLevel := 0;

ClearDebug;
WriteLn('You stole: ' + IntToStr(TeasStolen) + ' teas');
WriteLn('You are getting: ' + IntToStr(TeasPerHour) + ' teas an hour!');
WriteLn('You have gotten: ' + IntToStr(XpGain) + ' thieving experience');
WriteLn('You are getting: ' + IntToStr(XPPerHour) + ' thieving experience per hour');
WriteLn('');
WriteLn('Your thieving level is ' + IntToStr(CurrentPlayerLevel));
WriteLn('You have gained ' + IntToStr(DifferencePlayerLevel) + ' level(s)');
WriteLn('');
WriteLn('Running for: ' + IntToStr(TotalTime) + ' seconds');
WriteLn('That is: ' + IntToStr(Minutes) + ' minute(s)');
WriteLn('');
WriteLn('Latest Antiban: ' + LatestAnti);
end;

begin
DeclarePlayers;
SetupSRL;
ClearDebug;
ActivateClient;
MouseSpeed := RandomRange(10, 15);

repeat
StartingOff;
BasePlayerLevel := GetSkillLevel(skill_Thieving);

repeat
Stealing;
RandomAnti;
Dropping;
RandomAnti;
Proggy;
RandomAnti;
until not LoggedIn;

until false;

end.

Nilsie

2013-08-20 12:16:31

Doesn't work.
Doesn't pick thea, antiban doesn't does it's job.

Bearzs

2014-01-22 17:47:13

The script just stops stealing after a couple mins? tried editing but couldn't fix. Anyone got a solution?

Thanks! :)

iownyou23

2015-04-24 01:16:46

You stole: 406 teas
You are getting: 535 teas an hour!
You have gotten: 6496 thieving experience
You are getting: 8569 thieving experience per hour
Running for: 2729 seconds
That is: 45 minute(s)

iownyou23

2015-04-24 17:07:29

2nd run

You stole: 445 teas
You are getting: 532 teas an hour!
You have gotten: 7120 thieving experience
You are getting: 8512 thieving experience per hour
Running for: 3011 seconds
That is: 50 minute(s)

iownyou23

2015-04-24 18:13:42

3rd run

You stole: 515 teas
You are getting: 541 teas an hour!
You have gotten: 8240 thieving experience
You are getting: 8666 thieving experience per hour
Running for: 3423 seconds
That is: 57 minute(s)

4th run - longest

You stole: 577 teas
You are getting: 529 teas an hour!
You have gotten: 9232 thieving experience
You are getting: 8471 thieving experience per hour
Running for: 3923 seconds
That is: 65 minute(s)

Prometheus

2015-05-09 23:16:26

From: iownyou23
3rd run

You stole: 515 teas
You are getting: 541 teas an hour!
You have gotten: 8240 thieving experience
You are getting: 8666 thieving experience per hour
Running for: 3423 seconds
That is: 57 minute(s)

4th run - longest

You stole: 577 teas
You are getting: 529 teas an hour!
You have gotten: 9232 thieving experience
You are getting: 8471 thieving experience per hour
Running for: 3923 seconds
That is: 65 minute(s)


Nice progress reports :D
I'll have to update this soon since I learned about how the camera angles changed randomly. I'll have to change the MouseBox function, and add an AeroLib version.