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
  • Try asking for help in the chatbox
  • Firemaking - detecting if fire is underneath/tile is able to have fire lit on it.


    Recommended Posts

    Hi all, I am in process of making my first WC/FM script and just finished up the firemaking section. One issue I foresee occurring (I haven't actually ran/tested any code yet) is attempting to light a fire on top of another fire or even a tile with a plant that prevents you from lighting a fire here. It's bed time unfortunately but if anyone has pointers on how to handle this it would be appreciated. 


    My current thought since I'm already designating an area is to designate a specific tile/area where I'm guaranteed to be able to light X fires in a row. Pretty sure that'll work but I am completely new to all this and would like to learn some alternatives.


    Additional questions for those interested in sharing their knowledge:

    1. Good resources on implementing anti-ban or what's the general census on this?

    2. Is there a "preferred" coding implementation (if-then vs switch, something different?)?

    3. Ties into question #2 - I'm planning on googling this but is there a way to write like a stored procedure and simply call on that opposed to writing 20 lines of code and having everything be a mess?

    4. Are any of the scripts open-source and if so, is there an easy means of accessing this? It helps to learn by being able to look at others code and see how they might handle things differently.

    5. Any other insights on best practices and avoiding bans?


    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • 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.