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

    Recommended Posts

    Posted

    Hundreds of errors, also, why use wiki prices. Rather use GE-tracker or something. Wiki prices are wrong half the time.

    Posted (edited)

    .

    Edited by elmayo
    Posted

    If you don't know how to code ChatGPT will not write the script for you. It is a great tool, but it makes ton of errors and misinterpretations. First of all you need to know what will be happen on the code level of your script and then it can help you writing small snippets.

    Also be careful calling Wiki API like you do. There is high chance they will IP ban you if you get caught inside a ddos attack.

    Posted (edited)

    .

    Edited by elmayo
    Posted (edited)

    .

    Edited by elmayo
    Posted (edited)

    .

    Edited by elmayo
    Posted
    On 3/24/2025 at 3:14 AM, elmayo said:




    Try it now

    The thing is that the script still doesn't make any sense. ChatGPT can't write you a full script since it doesn't know what it is doing it just tries to write something that makes sense. Example:

     GrandExchange.cancel(offer);

    DreamBot doesn't have GrandExchange.cancel method, but it has GrandExchange.cancelOffer()

    Also stuff like:

    GrandExchange.offer(OfferType.SELL, itemName, quantity, price);

    Most of the methods that ChatGPT tries to use doesn't not exist in Dreambot and simply won't work.

    Posted (edited)

    This is clearly full of errors that would show in your IDE if you actually checked . despite you saying otherwise

    these imports arent correct at all.
     

    import org.dreambot.api.methods.container.impl.shop.GrandExchange;
    import org.dreambot.api.methods.container.impl.shop.Offer;
    import org.dreambot.api.methods.container.impl.shop.OfferState;
    import org.dreambot.api.methods.container.impl.shop.OfferType;
    import org.dreambot.api.methods.walking.Walking;
    import org.dreambot.api.methods.walking.pathfinding.Area;
    import org.dreambot.api.methods.walking.pathfinding.Position;
    import org.dreambot.api.methods.input.Mouse;
    import org.dreambot.api.utilities.Calculations;



    these are the correct imports

    import org.dreambot.api.input.Mouse;
    import org.dreambot.api.methods.Calculations;
    import org.dreambot.api.methods.container.impl.Inventory;
    import org.dreambot.api.methods.grandexchange.GrandExchange;
    import org.dreambot.api.methods.map.Area;
    import org.dreambot.api.methods.walking.impl.Walking;
    import org.dreambot.api.script.AbstractScript;
    import org.dreambot.api.script.ScriptManifest;

    besides that 90% of the code is incorrect or reference non existent api methods much like @kramnik pointed out . 

    Edited by Gimpy Gold
    Posted (edited)

    .

    Edited by elmayo

    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.