Tails, I'm trying to edit your script atm to power cut oaks, how do I get it to drop all the oaks once my inv is full? Rather than selling them. Help plz ;)
Printable View
Tails, I'm trying to edit your script atm to power cut oaks, how do I get it to drop all the oaks once my inv is full? Rather than selling them. Help plz ;)
why would you drop them? instead of sell? Anyways that is coming in the next update. (way to give away my secrets)
:p I still want to try and do it, incase I make a powerminer or chopper later. I want to know how to drop inv of logs/ores/whatever. Pm me how atleast? I can't find any tuts on it.
Edit: I gtg work outside for like 2 or 3 hrs then I can get back on.
Sorry about not being around, I went out to buy a World of Warcraft GameCard... But I will be typing up the procedure, and i will make a little side tutorial
Ok, Thanks :D. I'm still going to try & change it though, I have to edit alot of things >_<.
[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 0:15:27
|Chopped : 81 Oaks
|Made : 162 Gold!!
[] =~=~=~=~=~=~=~=~=~=~=~=[]
It kept stopping inside the store, I had to click trade with general store, then it would continue.
Ok, did you set the colors correct? I have seen this bug when I didn't put the colors right.
shopground:
should be the brown color.
Shopkeep + Assistant:
There hair, the Shop will be a grayish color starting with 7-9
and the Assistant should be greenish around color starting with 1-3;
grass:
The green you want should be just outside the white line on the west side of the general store.
These colors usually work pretty good for the Keeper & Assistant:
SCAR Code:Const ShopKeep = 8224392; ShopAssist = 2175538;
3.20 Is out!! It contains a Powerchopping Option!!
Gah... Tails... I'll do yours instead of Hbryan's I guess since your's will log stats ;).
Edit: Woot, first download.
Edit2: TAILS!! I found a bug in your dropping procedure!!
You had it as:
When it needs to be:SCAR Code:procedure DropOakLogs;
begin
WriteLn('Dropping all Oak Logs');
If(FindDTM(OakLog, tx, ty, 684, 430, 727, 462)) Then
begin
SCAR Code:procedure DropOakLogs;
begin
If(Players[CurrentPlayer].Booleans[0] = True)Then //Woot. I helped :p
WriteLn('Dropping all Oak Logs');
If(FindDTM(OakLog, tx, ty, 684, 430, 727, 462)) Then
begin
I'd also have to suggest you change the wait time to the following, or it will try to drop each log twice:
SCAR Code:begin
Mouse(tx, ty, 5, 5, False);
ChooseOption('rop');
wait(350+Random(250));
Why would you want to drop instead of sell. Your autoing. Get exp and then get a little cash to go along with it. What in the hell would make you wanna drop them?
Im assuming for scripting exp, soif you ever wanted to make a powerchopper to cut when there aren't auto nubs 24/7 it'd be alot easier if you know what your doin... its not always bout makin the script good for leechers...Quote:
Why would you want to drop instead of sell. Your autoing. Get exp and then get a little cash to go along with it. What in the hell would make you wanna drop them?
Well... seeing as how I am looking for fast exp rather than making $... this would suit me best.
i use SCAR 3.11 Divi with srl 4.0 beta and it works perfectly after i changed the color of shop keep and shop assist :D
Yep, I found another bug I had, I am fixing it and uploading, and [-jesus-] you were almost right but, I took care of it in the CheckInv; place. :P
SCAR Code:procedure CheckInv;
begin
If (Players[CurrentPlayer].Booleans[0] = True) Then
begin
Status('Checking Inventory');
If(FindDTM(OakLog, tx, ty, 684, 430, 727, 462))Then
Begin
ShopWalk;
end;
end;
If (Players[CurrentPlayer].Booleans[0] = False) Then
begin
Status('Checking Inventory');
If(FindDTM(OakLog, tx, ty, 684, 430, 727, 462))Then
begin
DropOakLogs;
end;
end;
end;
And Yes I know about the double drop and all that, but it all depends on your internet connection and comp, I used this at 2 diff houses and it wasw around wait(250+Random(250)) worked best.
Well everything is working great ! thumbs up! but its not solving any randoms though.. and the tree finding is quite slow :(
Alright ;). & can you set the angle to anything other than HighestAngle & LowestAngle?
Edit: I have all my players set to False(False to drop the logs), but it will still try to find the shop keep. & i'm not near a farming store atm so it just goes there & loops my acc's, logging them in and out.
The angle doesn't really matter for this, just because it isn't like fishing spots, sometimes finding trees a lower angle is better.
I found the fix, it was since you weren't near the Shop, there was a thing in the script that would move you to the shop if your inventory was full instead of going to the Oaks to then check, I took it out as it was slightly buggy.
Download the new version, 3.20
Woot. Ty. First Download :p
But... spelling errors sure are ftl XD:
SCAR Code:end;
If Players[CurrentPlayedr].loc='Shop' Then
Begin
Line 693.
Fixed that & looks great now. I was wcing yews on my main, & tested it. It clicked on an oak that was like allll the way to the left of me & partially covered ;)
Edit: It still attempts to find the shop keeper & assistant... I had to change the CheckInv procedure to drop it when set both true & false. & for a future update, can you add it so it will drop things like gems, frog tokens, security books ect.?
holy god, i will get my army to get right in tonight. post a poggie when done.
I can do all that, I think, well, I will ahve to try out some stuff because I don't use the SRL Drop procedure =/
nice script..works for me. only problem i can find is sometimes has trouble finding the tree. maybe add more colours.
[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 0:49:49
|Chopped : 216 Oaks
|Made : 432 Gold!!
[] =~=~=~=~=~=~=~=~=~=~=~=[]
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 3 |
| Talks : 1 |
| Lamps Solved : 2 |
| Ents Found : 1 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Is this updated to SRL4?
If not I'll have to do it myself lol.
I've been looking for a script like this, nice job.
Yes it is updated... I actually started making it right after the RS Update trying to use as little SRL as possible, for my own learning, but yes it is updated for SRL 4, a few bugs to workout but I haven't had time =/
[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 0:48:58
|Chopped : 108 Oaks
|Made : 216 Gold!!
[] =~=~=~=~=~=~=~=~=~=~=~=[]
one box, 3 ents and any of those ents wasnt mine
so, i runned script like hour, then it clicked on shops logo when got full bag and logo wasnt right on the shop, so he walked just one square outside of the shop in east. i had set my script to "Oaks" and only one character, just for test and it logged out, tryed to find oak so hovered mouse on tree, didnt change camera angle(i think it could see oak by doing this, get full inv message and new try) but it didnt :( but maybe my colors just were bad or something.
However, very nice script!
edit: okay, changed color of shop.
SCAR Code:[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 2:54:9
|Chopped : 621 Oaks
|Made : 1242 Gold!!
[] =~=~=~=~=~=~=~=~=~=~=~=[]
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| [url]www.srl-forums.com[/url] |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 13 |
| Fights : 2 |
| Talks : 7 |
| Ricks : 1 |
| Old Men : 4 |
| Sandwiches : 1 |
| Capn Hand[s] : 1 |
| Boxes Solved : 5 |
| Ents Found : 6 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Love to see people still using this rickety old thing :P. I am aware of the miss clicking out side of the shop and I had begun working on something to fix it but, I started and never got around to it.
huh?
User specified a new RS window
Failed when compiling
Line 690: [Error] (12921:12): Unknown identifier 'CurrentPlayedr' in script C:\Documents and Settings\sid.SANJAY.000\Desktop\ChopYSell V 3.20.scar
it is the anti leach :P just get rid of the d, so that like should say CurrentPlayer instead of CurrentPlayedr
SCAR Code:program SRLCorrect;
{.include SRL/SRL.scar}
var I, ScarVersionNumber:Integer;
var SRLCurrent: String;
procedure TypeWrite(Line: string; Between: integer);
begin
for I := 1 to length(Line) do
begin
cleardebug;
WriteLn(copy(Line, 0, I));
wait(Between);
end;
end;
procedure WhatIsThis;
Begin
TypeWrite('This has been created to help you check your SCAR and SRL', 100);
TypeWrite('Versions, After you Run this post this along with you problem', 100);
TypeWrite('If you think it is SRL or SCAR internally related', 100);
end;
procedure PostSRLVer;
begin
ScarVersionNumber := GetSCARVersion;
WriteLn('You have SRL : ' + (SRLVersionNumber));
wait(1000);
WriteLn('You have Scar : ' + IntToStr(ScarVersionNumber));
wait(1000);
WriteLn('');
SRLCurrent := (SRLVersionNumber);
end;
procedure CorrectSRLVer;
begin
If Not (SRLCurrent = '4.00') Then
Begin
WriteLn('You do not have SRL 4.00. Copy the link into your address bar and');
WriteLn('Follow instructions to download SRL 4.');
WriteLn('http://www.villavu.com/forum/showthread.php?t=15536?t=17095');
WriteLn('');
end;
If (SRLCurrent = '4.00') Then
Begin
WriteLn('You are up-to-date with SRL.');
WriteLn('');
end;
end;
procedure CorrectSCARVer;
begin
if not ScarVersionNumber = 311 then
begin
WriteLn('You need SCAR 3.11, look on the SRL Forums for a download Link.');
end else
begin
WriteLn('You are up-to-date with SCAR');
end;
end;
begin
WhatIsThis;
PostSRLVer;
CorrectSRLVer;
CorrectSCARVer;
end.
Run that
Got that error when I installed the new scar update... :(
Line 31: [Error] (56:1): Duplicate identifier '' in script C:\Program Files\SCAR 3.11\includes\SRL/SRL/Core/Globals.scar
EDIT: Nvm got it already :)
I have to download the new SRL 4! :)
thanks, only thing, it doesn't sell / drops
Dumpin, make sure the colors are set correctly, I haven't tested/updated for 3.12 yet.
ude thats an amazing scipt riht there.. but there are some problems. im suing srl4 an divi 3.12 but i fund that once i chaged the colors of the so ppl it fine but sometims getting from theshop back to the oaks aka oak walkin proceur can make u walk off past the oaks. however i manage to run it for 2hrs yay
[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 02:3:50
|Chopped : 527 Oaks
|Made : 867 Gold!!
[]=~=~=~=~=~=~=~=~=~=~=~=[]
nice one dude
I haven't figured a good way to walk over yet, I am thinking about just using a coord with a high random to walk over there.
YOu will always need to set the shopkeeper's head, I haven't figured out how to auto color it yet.
:cartman:SCAR Code:[]=~=~=~=~=~=~=~=~=~=~=~=[]
|ChopYSell by Tails111 -
|Worked For : 0:36:11
|Chopped : 189 Oaks
|Made : 378 Gold!!
[] =~=~=~=~=~=~=~=~=~=~=~=[]
Nice script!
edit: wrong thread
alright, it seems like a good script, not working as good as it looks well for me that is, just got raped by an ent, when i got lamp it stoped working aswell :( sometimes dsnt find trees 2good unless camera is facing a certain way and when it tired 2 selling it froze ... sorry for neg feedback
i'll keep testing it out, im sure i can give you some postives as its a good looking script =)
nice work