Jump to content
News Ticker
  • New Forum Theme!
  • New Forum Chatbox (on the way)
  • Chatbox Mods Soon Needed
  • Suggest Forum Rank Colors
  • Forum Updates

DreamBot is the only Deadman Mode supported bot on the market!

Download the DreamBot client today!





Bmc

Scripter
  • Content Count

    393
  • Joined

  • Last visited

About Bmc

  • Rank
    Super Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

1309 profile views
  1. theres a method you can call to handle this, its called something like setrunthreshold(), If you set that threshhold to 100, it should not turn back on after you turn it off. checkout the Walking class here: https://dreambot.org/javadocs/ edit: i am retarded, you already looked at run threshold -- did you set this in the onStart?
  2. here's my comments, some of them apply to the issues you'd asking about others are just general advice on code structure, etc: 1. make your doDialogue parameter a static variable, there's no reason to type the same thing 3 times. ("Decline the offer and report that player.", "Don"...) 2. in your travelTo method, you should not be using a while loop, as it blocks the main run method. instead, have a conditional there, and have your main state determine whether to run that method or now, so if it needs to run twice in a row, that method will run again instead of locking it in a while loop 3. for your custom nodes, check with the web node debugger tool to see if its already mapped, if so you can remove your custom nodes 4. in your onloop, if you're having trouble with timings in specific states, consider returning different values instead of sleeping and breaking. you can directly return different values for different case statements if I think of more, I'll add them
  3. couple of options: 1. import this library into a project, and use a csv parsing library to insert the data into an excel spreadsheet. 2. import this library to a project and serve it through a node server you're running locally, exposing an api. then, query that api through excel's built in json query features and have an actively refreshing spreadsheet.
  4. looks really interesting. I will use this if a use for it comes up in my scripts. thanks for making it available! I wish we could use external packages instead of directly including source code... I wonder if the admins would consider adding a repo of approved libraries that could be used in scripts.
  5. ok thank you, maybe this was updated in the last few months. I'll modify my code.
  6. @Nuclear Nezz @Articron @Pandemic
  7. I was updating my mcmonk script, and noticed that the code I'm using to select a dialogue option to gain access to the edgeville monestary was no longer working. I vaguely remeber there being 3 options in the second window, and now there's 2 (maybe there were always 2 i dont recall) either way, here is the use case: 1. click on the ladder 2. monk interrupts, space to continue to second dialogue pane. (this works with s.getDialogues().spaceToContinue()) 3. once on a screen where there are other options besides just continuing (second dialogue screen), I check s.getDialogues().canEnterInput() which incorrectly returns false, as the player is in a dialogue. I tried getDialogues().getOptions(), but am unable to loop through that array and log the options without getting an exception. here is the relevant code I'm using: if(s.getDialogues().canContinue()) { s.getDialogues().spaceToContinue(); }else if(s.getDialogues().canEnterInput()){ s.getDialogues().chooseOption("Well can I join your order?"); //or.... s.getDialogues().chooseOption(1); //doesnt matter cus this if statement never validates to true. } it should be noted that this dialogue doesn't get started by talking to an npc, rather by clicking on a ladder, which might effect things, idk.
  8. it's trying to set the screen to fixed and zoom to 0. do this manually and the issue will be resolved.
  9. Hey man, I'm back and the script is readded. It seems to work fine for me, can you try it again? I'll provide updates (free) if not. Haven't had much time to work on new features, but I did recently do some bug fixes - namely for that 24 hour rollover, and also updated world list. Please let me know if you still are having issues, thanks.
  10. Bmc

    Cleaning Up The SDN

    I understand the logic, but I'd argue that removing free scripts doesn't make much sense. I can see it for paid scripts, as there is an expectation for scripters to support them. Also, a lot of simple scripts (like the one that I wrote was removed, mcmonk) don't require any maintenance. All it did was run to the monastery and loot robes. Not much there that can break, and even if it did, it's a free script. I'll likely be resubmitting the script soon, I hope it will be re-accepted. Edit: also, I'm sad that my forum page was deleted - I put a decent amount of work into that. If I resubmit, is it archived anywhere?
  11. amazing proggies! I'm not sure if the timer can go past 24 hours, I'll check. It looks like in your second proggie it overflowed back to zero once it hit 24 hours - so it would be roughly a 27 hour proggie you have there. Added your longest proggie to the main thread. thanks for using the script!
  12. you bumped this thread and got me excited 😕
  13. Bmc

    SDN Working

    😍😍😍😍😍😍😍😍😍😍😍😍😍
  14. RELEASED ON SDN! thanks to @MrBananaMan for getting it processed! For the time being, I plan to keep the script open sourced. It will likely remain open sourced, but this may change in the future.
×