Results 1 to 16 of 16

Thread: Creating a script Vs Changing an already made script (first time)

  1. #1
    Join Date
    Sep 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default Creating a script Vs Changing an already made script (first time)

    Hello guys, Today im not so sure what i should do, some people have told me that its hard to mess with other people's scripts but for a new scripter, im not sure if its harder to change an already made script or just create a new one yourself.

    I know this probably has a lot to do with circumstance so ill list my problem here.

    I came to simba recently and was very happy to see there was a working script for red chins.

    The thing , the script is very oriented towards preventing massive goldfarming and such, to a point were you really have to be around the script every 30 minutes or so or the script pretty much ends itself.
    Now what the script will do is It starts you out with 3 traps, then as some time passes (10mins or so) the script does not pick up the 3rd trap, and continues with only 2 traps, Then it will do the same until its at 1 trap, eventually it doesnt pick up the 1 trap and logs out.

    Now The scripter has said that if you know a bit of scripting ( I dont) (yet), feel free to change the script to your needs.

    So, what i would do to this script is enable it to use 4 traps, Not loose any traps, And keep everything else the same.
    So my question, Would i have to fully understand how the script works to make these changes, Since this script is relatively complicated for a first script, would this take me a very long time to do, Am i better off just writing my own script?

  2. #2
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Imo you're best off starting from the basics and writing your own.

  3. #3
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by acow View Post
    Imo you're best off starting from the basics and writing your own.
    Not for OSRS when there are so few up to date tutorials (are there even any?)
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  4. #4
    Join Date
    Apr 2016
    Location
    New Zealand
    Posts
    76
    Mentioned
    0 Post(s)
    Quoted
    32 Post(s)

    Default

    It depends. If you try to modify a shit script, or some monster like an AIO, you're gonna quit real fast.

    Since it seems like you want to modify Aspects chin hunter, just have a look at the code. You understand the scripts logic of using less traps over time, so just look for that same logic in the code then change it.

  5. #5
    Join Date
    Sep 2016
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Dissimulo View Post
    It depends. If you try to modify a shit script, or some monster like an AIO, you're gonna quit real fast.

    Since it seems like you want to modify Aspects chin hunter, just have a look at the code. You understand the scripts logic of using less traps over time, so just look for that same logic in the code then change it.
    Hey Ive just read the whole script, and there is no place where it says to not pick up traps, as i see it, but I dont know the java script language so im not really sure, Could it be that I need to add something into the script to make it not miss the traps?

  6. #6
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Not for OSRS when there are so few up to date tutorials (are there even any?)
    Who should be nagged for getting more guides up, flight?

  7. #7
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    My suggestion to you would be learn the basics of DTMs, color finding and bitmaps, then focus on the lib you want to use (i believe the easiest is aerolib) and start tinkering with it, look at already made scripts and try to build your own based on stuff you see, its a great way to learn
    Formerly known as Undorak7

  8. #8
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by acow View Post
    Who should be nagged for getting more guides up, flight?
    Based on the fact he hasn't been on for nearly 2 months I'd say no. Currently I cannot think of anyone with decent programming and aerolib knowledge to release a tutorial compareable to the mayors AIO tutorials.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  9. #9
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Based on the fact he hasn't been on for nearly 2 months I'd say no. Currently I cannot think of anyone with decent programming and aerolib knowledge to release a tutorial compareable to the mayors AIO tutorials.
    You know what would be cool, for someone (you ) to write a basic srl/srl tutorial because aerolib will eventually die out with flight no longer around.

  10. #10
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by Laquisha View Post
    You know what would be cool, for someone (you ) to write a basic srl/srl tutorial because aerolib will eventually die out with flight no longer around.
    I've got a half-finished one but I need to find the motivation and time to finish it and for either the simba 1.2 builds to be updated or for simba 1.2 to be released. (Each part of my family arranged a job for me so currently I've got 3 jobs and a few interviews so I'm a bit stuck for time)
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  11. #11
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Based on the fact he hasn't been on for nearly 2 months I'd say no. Currently I cannot think of anyone with decent programming and aerolib knowledge to release a tutorial compareable to the mayors AIO tutorials.
    Oh he's inactive, that's too bad, but oh well.

    Even without him posting them, any even half-decent guides that're relevant to what's currently being used, would probably be very much appreciated by budding osrs scripters. I personally think a section that encouraged guides for specifically aerolib/reflection/rswalker/etc would be great atm, currently any guides posted in the OSR Beginner - OSR Advanced sections are right beside 100+ other threads from many years back. Overwhelming af, and not many people will want to go check out so many guides just to see if they're even relevant.

    Perhaps something like a 'OSR Other Include Tutorials' section that has mini-sections within it for the currently actively used includes would help. I'd personally love to check out whatever sexy guide(s) that might end up getting pinned in there. Though there's probably some solid reasons behind this isn't already being done, idk, just an idea

  12. #12
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by acow View Post
    Oh he's inactive, that's too bad, but oh well.

    Even without him posting them, any even half-decent guides that're relevant to what's currently being used, would probably be very much appreciated by budding osrs scripters. I personally think a section that encouraged guides for specifically aerolib/reflection/rswalker/etc would be great atm, currently any guides posted in the OSR Beginner - OSR Advanced sections are right beside 100+ other threads from many years back. Overwhelming af, and not many people will want to go check out so many guides just to see if they're even relevant.

    Perhaps something like a 'OSR Other Include Tutorials' section that has mini-sections within it for the currently actively used includes would help. I'd personally love to check out whatever sexy guide(s) that might end up getting pinned in there. Though there's probably some solid reasons behind this isn't already being done, idk, just an idea
    niels made me mod of the OSRS tut section so I when I get the chance I can read all the guides and archive any which need to be archived (Or if anyone wants to PM me with links to tuts which should be archived it would help a lot)
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  13. #13
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    I've got a half-finished one but I need to find the motivation and time to finish it and for either the simba 1.2 builds to be updated or for simba 1.2 to be released. (Each part of my family arranged a job for me so currently I've got 3 jobs and a few interviews so I'm a bit stuck for time)
    I feel you man.

    Quote Originally Posted by acow View Post
    Though there's probably some solid reasons behind this isn't already being done, idk, just an idea
    There isn't a reason. There used to be one tutorial section where it was easy to find stuff. When RS3 and OSR were released basically back to back (in 2013?) all the old SRL5 tutorials got dumped in the OSR section, and brand new ones were made for RS3 (SRL6). Nothing in the OSR section is relevant to current includes. Now there are entirely separate sections for reflection and OpenGL which add to the clutter and don't even get used.

    What is so great about SRL/SRL is that there is the same include design for both OSR and RS3. That means one tutorial fits all.

  14. #14
    Join Date
    Aug 2016
    Location
    Kentucky
    Posts
    254
    Mentioned
    3 Post(s)
    Quoted
    96 Post(s)

    Default

    Quote Originally Posted by SimbaOp View Post
    Hello guys, Today im not so sure what i should do, some people have told me that its hard to mess with other people's scripts but for a new scripter, im not sure if its harder to change an already made script or just create a new one yourself.

    I know this probably has a lot to do with circumstance so ill list my problem here.

    I came to simba recently and was very happy to see there was a working script for red chins.

    The thing , the script is very oriented towards preventing massive goldfarming and such, to a point were you really have to be around the script every 30 minutes or so or the script pretty much ends itself.
    Now what the script will do is It starts you out with 3 traps, then as some time passes (10mins or so) the script does not pick up the 3rd trap, and continues with only 2 traps, Then it will do the same until its at 1 trap, eventually it doesnt pick up the 1 trap and logs out.

    Now The scripter has said that if you know a bit of scripting ( I dont) (yet), feel free to change the script to your needs.

    So, what i would do to this script is enable it to use 4 traps, Not loose any traps, And keep everything else the same.
    So my question, Would i have to fully understand how the script works to make these changes, Since this script is relatively complicated for a first script, would this take me a very long time to do, Am i better off just writing my own script?
    To be honest, it loosing traps is a bug I was too lazy to fix. Anyways, pretty sure you're talking about my chin script. I would check out some tutorials. The only things you need to know for this script is reflection positioning, item interaction with reflection, and DTM's ( which should be changed to be more stable).

    Everything you need to know is here:
    https://villavu.com/forum/showthread.php?t=111555
    https://villavu.com/forum/showthread.php?t=77691
    https://villavu.com/forum/showthread.php?t=107698

    These are the majority of sources I looked to when creating the script. These are also the ones I used for all of my reflection scripts. It has the information you need. Once you look them over and give it a try, if you need help, PM me.
    Last edited by Aspect; 09-12-2016 at 12:33 AM.

  15. #15
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    You could make a few small guided tutorials.

    I personally learnt a lot from the Cutting your first tree down script, and built from there.

    An AIO tutorial would be great, but it would be better to roll out some beginner friendly tuts explaining the basics of building your first script, while you are making the AIO tut.

    Might have a crack if I feel confident enough.

  16. #16
    Join Date
    Aug 2016
    Location
    Kentucky
    Posts
    254
    Mentioned
    3 Post(s)
    Quoted
    96 Post(s)

    Default

    Also I went to make new tutorials, and saw I couldn't even post in the section at all.

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
  •