Results 1 to 5 of 5

Thread: OSRS - Beginner planing to script

  1. #1
    Join Date
    Feb 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Red face OSRS - Beginner planing to script

    A little introduction to the rest of this post.

    I'm a new member of this community, I've always wanted to make my own script, but didn't bother with it until recently after too many bans to count. I've read some of the basics of basic, so there are tons of stuff left for me to learn and attempt.

    I have little to no time due to work, and I still struggle with a stupid java path error that I've had for two weeks now. So while I'm searching for a solution and while at work, I'm brainstorming ideas for my very first script.

    It will be something simple so that I can direct most of my attention to custom anti-ban (making the bot have same play pattern as I have.

    So my idea so far is this: A simple onion picker. Not a helpful script, but it will help me getting started with understading scripts, functions like map walking, banking etc.

    I will list most of my ideas here and ask for you veteran scripters to enlight and guide me through this process. I have a lot of questions that might sound stupidbas well so please bear with me.

    Questions

    1. Lape vs Pascal - I've read that Lape is faster, but most scripts I've tried here utilize Pascal, why?
    2. What do you recommend using between Lape and Pascal?
    3. The guides I see around are from 2 - 8 years ago, are they still relevant?
    4. How advanced can a script written in Pascal/Lape be?
    5. If I use webclient instead of SMART, will it take control of my mouse cusor?

    General idea what the script should do

    1. Log in user and able to remember details for breaking purposes.
    2. Perform inventory check for amount of items.
    3. Determine what to do next depending on result of 2. (bank if full, continue picking if not)
    4. Open gate in case there is one.
    5. Human (me) -like play style.

    Idea for custom anti-ban (play style/pattern)

    1. Random camera rotate out of boredom.
    2. Misclick while clicking simulating user watching video.
    3. Spam click while picking.
    4. Afk every arrival (bank/field) simulating afk.
    5. Random "afk" simulating watching video etc while picking.
    6. Every 30-90min, run a RNG for afk simulation (too good vid, logged off, shit!/WC break, longer afk).
    7. Get distracted while walking (right clicking npc/players/objects)

    That's it for now, I'll edit this thread when I get new ideas.

    Thanks for your time

  2. #2
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Yeah looks really nice idea.

    I think pascal is good. When I used to code there was color detection only, now it has some kind of reflection which I don't know how to use.

    I used to make my own scrips which got me like 99 att,str and def.

    You can try experimenting and stuff. Don't think you will be pro in a few days. I made a simple combat script with looting and it took me like 1 month to make it perfect. And anti-ban stuff looks amazing.
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

  3. #3
    Join Date
    Feb 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by begginer View Post
    Yeah looks really nice idea.

    I think pascal is good. When I used to code there was color detection only, now it has some kind of reflection which I don't know how to use.

    I used to make my own scrips which got me like 99 att,str and def.

    You can try experimenting and stuff. Don't think you will be pro in a few days. I made a simple combat script with looting and it took me like 1 month to make it perfect. And anti-ban stuff looks amazing.
    Thank you for the advice I'll try bit by bit, day by day, hopefully I can get to where it actually runs in a month ^^

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    First off, here's some answers to your questions. I don't typically bot OSRS so I'm not the most knowledgeable but I've been at SRL since back when OSRS was the only RS, so here's the ol' college try.

    1. Lape vs Pascal - I've read that Lape is faster, but most scripts I've tried here utilize Pascal, why? A lot of OSRS scripts use Pascal because it was very recently (relatively) that includes for OSRS were developed in Lape. Ever since Simba's existence, OSRS scripts were in Pascal. So the bulk of older scripts are Pascal, but the trend seems to be moving towards Lape (with Flight's Aerolib include).

    2. What do you recommend using between Lape and Pascal? For long term, I see Lape being the language everything migrates to. There isn't any missing functionality in Lape compared to Pascal, and switching between OSRS and RS3 scripting would be easier that way too.

    3. The guides I see around are from 2 - 8 years ago, are they still relevant? Those guides are all for old versions of SRL most likely. If you're interested in learning RS3 scripting, there's only a few tutorials - mostly by The Mayor. Aerolib has fewer guides for it that I can find, so you're probably best trying to figure out what's going on by reading other scripts after you learn the basics from The Mayor's tutorials.

    4. How advanced can a script written in Pascal/Lape be? They can be as advanced as you'd like. A lot of my scripts start off as 300 lines and then I'll add features, failsafes, antiban, etc. and all of a sudden it's 1000 lines. I currently have been running a script for 2 days (RS3) and it's still going. I have also made a merchanting script that has some crazy difficult logic, which is why it isn't complete yet. In any case, the limitation won't be on Simba, it will probably be your problem solving/logic skills. The exception to this is that because Simba is color (except for OSRS Reflection) you will not easily find some items as well as with other programs. The GE in RS3 is a good example, grey on grey on grey is very difficult to determine what is going on for a color script.

    5. If I use webclient instead of SMART, will it take control of my mouse cusor? Yes.

    Next, I really like that you've made a list of tasks and logically presented what you're going to do. I find it really important to do that the more complex your scripts are. I worked in circles trying to figure out the logic for my last script, and I finally got out of a rut when I wrote down exactly what needed to happen. I actually ended up making a flow chart for exactly what would happen with the script I'm currently working on. So far no silly mistakes in the logic either.

    Edit:

    At the above posts - regarding time for scripting etc. I wrote my MerchantAid script and it took me 2 months to release an alpha stage script. I still haven't figured out how to make it automatic yet so it's on the back burner while I work on a private script to freshen up my mind a bit. That's taken about 2-3 weeks now and I'd say it's 40% complete maybe. There are a lot of people who can pop a script out in 2 hours and have it run 24/7, but I'm not that intense. Don't worry about setting time lines, it's a hobby and it should be fun, no need to worry about deadlines when you're away from work.
    Last edited by 3Garrett3; 03-18-2015 at 02:20 PM.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  5. #5
    Join Date
    Feb 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by 3Garrett3 View Post
    First off, here's some answers to your questions. I don't typically bot OSRS so I'm not the most knowledgeable but I've been at SRL since back when OSRS was the only RS, so here's the ol' college try.

    1. Lape vs Pascal - I've read that Lape is faster, but most scripts I've tried here utilize Pascal, why? A lot of OSRS scripts use Pascal because it was very recently (relatively) that includes for OSRS were developed in Lape. Ever since Simba's existence, OSRS scripts were in Pascal. So the bulk of older scripts are Pascal, but the trend seems to be moving towards Lape (with Flight's Aerolib include).

    2. What do you recommend using between Lape and Pascal? For long term, I see Lape being the language everything migrates to. There isn't any missing functionality in Lape compared to Pascal, and switching between OSRS and RS3 scripting would be easier that way too.

    3. The guides I see around are from 2 - 8 years ago, are they still relevant? Those guides are all for old versions of SRL most likely. If you're interested in learning RS3 scripting, there's only a few tutorials - mostly by The Mayor. Aerolib has fewer guides for it that I can find, so you're probably best trying to figure out what's going on by reading other scripts after you learn the basics from The Mayor's tutorials.

    4. How advanced can a script written in Pascal/Lape be? They can be as advanced as you'd like. A lot of my scripts start off as 300 lines and then I'll add features, failsafes, antiban, etc. and all of a sudden it's 1000 lines. I currently have been running a script for 2 days (RS3) and it's still going. I have also made a merchanting script that has some crazy difficult logic, which is why it isn't complete yet. In any case, the limitation won't be on Simba, it will probably be your problem solving/logic skills. The exception to this is that because Simba is color (except for OSRS Reflection) you will not easily find some items as well as with other programs. The GE in RS3 is a good example, grey on grey on grey is very difficult to determine what is going on for a color script.

    5. If I use webclient instead of SMART, will it take control of my mouse cusor? Yes.

    Next, I really like that you've made a list of tasks and logically presented what you're going to do. I find it really important to do that the more complex your scripts are. I worked in circles trying to figure out the logic for my last script, and I finally got out of a rut when I wrote down exactly what needed to happen. I actually ended up making a flow chart for exactly what would happen with the script I'm currently working on. So far no silly mistakes in the logic either.

    Edit:

    At the above posts - regarding time for scripting etc. I wrote my MerchantAid script and it took me 2 months to release an alpha stage script. I still haven't figured out how to make it automatic yet so it's on the back burner while I work on a private script to freshen up my mind a bit. That's taken about 2-3 weeks now and I'd say it's 40% complete maybe. There are a lot of people who can pop a script out in 2 hours and have it run 24/7, but I'm not that intense. Don't worry about setting time lines, it's a hobby and it should be fun, no need to worry about deadlines when you're away from work.
    Thank you SO MUCH for the answers and your personal advice! I learned some basic from programming PLC when I went to school, so I already made my flow chart, which I'm sure will help me greatly. As the time I "set" was just an assumption for how long it will take me to create my perfect script, as I estimated a month on just writing the skeleton.

    About Lape, I think I will move over to that once I've created one script on Pascal just to refresh some memories and fishing in more experience while I'm looking for the tutorials I need.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •