Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Decent programming background, want to look at getting started scripting


    Recommended Posts

    Hi guys,


    I'll start off by saying although I work in IT at a fairly senior level my job doesn't involve programming (unless you count writing lots of Powershell scripts as programming!). That being said, I've got a relatively decent background programming in C/C++, Java, C#/Vb.net and Python so think I should be able to pick up on this relatively quickly. The problem I'm having is finding any documentation to do this properly.


    For example, if we look at the following I've seen in someone elses project:

    NPC chicken = getNpcs().getClosest("Chicken");


    It's obvious what's going on, it's setting the variable chicken to the closest NPC named "Chicken". What I don't understand is how I could have been aware of the function getNpcs() or its subfunction getClosest(). Is there some documentation somewhere?


    I understand I could go through other projects and just adapt code based on what I see but it'd be better to have a library of functions I can search through. Does anyone have a link for me please?



    Link to comment
    Share on other sites


    This topic is now archived and is closed to further replies.

    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.