SRL Archive - First Scripts

Al Kharid Tanner, First Time Scripter


Ross

2014-08-06 19:02:10

Out of date, new thread here: https://villavu.com/forum/showthread.php?t=109900







Hi guys,

This is my first script in any type of language ever, so go easy on me! I'm extremely new to the community but can't wait to get involved! :D

I would love feedback, and any help making the script more efficient would be appreciated. right now it seems pretty poorly optimized.
(P.S. Ellis was a bitch to be able to find…).

I soon want to add anti-ban and better fail-safes.


How to Run:

    Place the map in the C:\Simba\Includes\SPS\img\runescape_other folder.
    Put the hide you want to use in the first slot of your bank.
    Start in Al Kharid bank in front of bankers.


Thanks guys! Can't wait to get started here!


P.S. MAJOR credit to The Mayor. Your guides helped immensely, and I was able to fix tons of problems via the search function and finding your fixes for others.

rj

2014-08-06 19:03:16

Gratz on release, a lot of people have requested this

Ross

2014-08-06 19:06:16

From: Robert
Gratz on release, a lot of people have requested this


Thanks! It embarrassingly took a long time to code. LOTS of trial and error and learning.

toxjq

2014-08-11 12:32:10

nice first release :) now try add some anti-ban features to it :) good luck

The Mayor

2014-08-11 16:55:59

Nice first script! Although, there is a couple of infinite loops, and you didn't free your DTM :p

lanadekat

2014-08-12 07:24:55

Is sps working fine?
Cus the map is pretty small at the top.
this is my map:
[ATTACH=CONFIG]23788[/ATTACH]

and you can change the tan procedure to this:

if productionScreen.isOpen(5000) then
begin
writeLn('Production screen is open - pressing tan');
productionScreen.clickStart(false);
end;


Adieux

2014-08-12 21:20:42

Awesome first script, you could add some anti ban and failsafes and its pretty easy to do these things.

Let me know if you're looking for help!

Ross

2014-08-15 20:49:45

From: lanadekat
Is sps working fine?
Cus the map is pretty small at the top.
this is my map:
[ATTACH=CONFIG]23788[/ATTACH]

and you can change the tan procedure to this:

if productionScreen.isOpen(5000) then
begin
writeLn('Production screen is open - pressing tan');
productionScreen.clickStart(false);
end;



Thank you! I'm going to make those changes right now.

Ross

2014-08-15 20:52:52

From: The Mayor
Nice first script! Although, there is a couple of infinite loops, and you didn't free your DTM :p


Got rid of the DTM procedure with the suggestion below, but mind helping me with the infinite loop? Sorry, I've never scripted before so this is all new! Thanks!


Edit: Got it I think, it was before the bank screen.