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
  • Gui not starting with script


    hitsuu

    Recommended Posts

    You're trying to use those list models before you set them.

     

    Move those last two lines to before the initComponents call.

    Thanks. Did it have to be before initComponents or just before the other 2 lines of code?

    So I'm using the method in the first picture to pull the rocks as game objects and use them in the method in the second picture to set a list of gameobjects when the refresh button is pressed and nothing is happening. The pull method getnearbyrocks looks sound, it must be an issue with the lists and converting to models.  

    pic1.jpg

    pic2.jpg

    Link to comment
    Share on other sites

    Archived

    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.