SRL Archive - First Scripts

TC's VEB Yew Chop and Banker


TwoClover

2012-02-11 06:11:32

Hey I've been working on this script for the past few days. I work full time and only have time to work on it at night. Starting at Varrock East Bank it should do the following.

What It Does
—–Walks to the yew at the chapel north of the Museum
—–fills inventory full of Yew Logs
—–Banks
—–Has debugs of set locations+tells you where its at

I have implemented walking, banking,

Future updates include
—–Implement ObjDTM for failsafe walking
—–Add SRL Stats
—–Improve Anti-ban
—–Add Progress Report
—–Implement Fancy Start, for debug.

I went through and looked at my whole code over again and hopefully fixed what I did wrong. I'm starting extensive testing now.

I'm like 90% done with this script, I think, Login is working correctly now :) after it logs in, you have to start at Varrock East Bank. It just opens the bank closes it then logs out. Any help would be appreciated.

Nikoniko12

2012-02-11 09:24:38

doesnt log in :/

TwoClover

2012-02-11 19:14:47

From: Nikoniko12
doesnt log in :/


I know this. As I've said in my post it only starts up SMART and nothing else. I'm hoping for someone to help me with this.

laakerules

2012-02-11 20:26:38

Why do you call bank at line 266, thats the begining of the running of your script! :P

Iambubbleman

2012-02-11 20:29:33

I'd suggest just using Declare players

Procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Don't touch this
NumberOfPlayers(HowManyPlayers);// Don't touch this
CurrentPlayer := 0; // Don't touch this
Players[0].Name := '';// Username
Players[0].Pass := ''; // Password
Players[0].Active := True; // Don't touch this
Players[0].Pin := ''; // Bank Pin, Leave blank if you don't have one
Wait(randomrange(1500,5000));
end;

And then in your main loop have


begin
MouseSpeed := RandomRange(14,16);
smart_server := 91;
smart_members := false;
smart_signed := true;
smart_superDetail := false;
ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;

Otherwise very nice script, I like the use of SPS walking and if then else's, I'll test this soon and post a proggy

Striken

2012-02-11 22:16:34

What 'Iambubbleman' just said. Do that so people can put their info in for it to login.

TwoClover

2012-02-12 17:10:09

I already had a declare players setup. changed it anyway and changed part of my mainloop. but I still only get SMART to load and nothing else. I'm gonna switch banking to the top of the script so it starts there and deposits when you start it. I'm probably not gonna have time to work on it this upcoming week. I'm moving tomorrow if I can get my car running then i work thu-sun. This sucks. I'm sorry guys.

TwoClover

2012-02-14 22:50:52

From: Iambubbleman
I'd suggest just using Declare players

Procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Don't touch this
NumberOfPlayers(HowManyPlayers);// Don't touch this
CurrentPlayer := 0; // Don't touch this
Players[0].Name := '';// Username
Players[0].Pass := ''; // Password
Players[0].Active := True; // Don't touch this
Players[0].Pin := ''; // Bank Pin, Leave blank if you don't have one
Wait(randomrange(1500,5000));
end;

And then in your main loop have


begin
MouseSpeed := RandomRange(14,16);
smart_server := 91;
smart_members := false;
smart_signed := true;
smart_superDetail := false;
ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;

Otherwise very nice script, I like the use of SPS walking and if then else's, I'll test this soon and post a proggy


wait did you get it to login and actually run?

TwoClover

2012-02-14 22:59:18

I'm almost complete with this script. I want to move on with some others. I need help with a banking issue after it logs in.
The problem I have is after it logs in it opens the bank then closes it then logs out. please can someone look at my script and help me with this.

TwoClover

2012-03-01 01:59:07

I'm sorry guys but I haven't been working on this at all for like the past 2 weeks at least I just moved and getting everything situated. I work like all the time or I sleep all the time lol. I should be getting back to this in a few days.