Jump to content

meganide97

Members
  • Posts

    14
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

meganide97's Achievements

Newbie

Newbie (1/10)

3

Reputation

  1. Script is now finished, appreciate feedback on latest updated code
  2. Oh ok, thanks for notifying me, will update this in my script as well
  3. Not really to be honest, just takes quite a bit of time to learn, but once you got the basics down it gets much easier. Thanks man! So far it seems to run flawlessly Will update it further.
  4. Old accounts I created before, I tried running several clients at once but didn't work and I didn't know it was against the rules to have several accounts, however this is the only account I use now that I'm better informed. You can go ahead and remove those accounts, thanks. Thanks for the feedback, have cleaned up the code a little will update soon
  5. Thanks for the feedback! Cleaned the code up a little, but what I don't understand is why I should get rid of the call to getBank().open(), if I remove this line it won't open up the bank. Edit: Just tried what you said and it opened up the bank anyway, does the deposit function also open the bank? I'm kinda confused here as to what command decided to open the bank.
  6. Thanks! Removed that line from the code, also as Chris pointed out I did this command before even nullchecking which was a mistake
  7. Thanks man! I watched some youtube videos and read tutorials here on the forums as well as read snippets of scripts to get an idea how to type the code. Chris has a discord as well where he teaches you the basics of coding. Here are some links that were very helpful to me: there is a link to the discord ^ up there. Also I've just started watching these youtube guides which are very helpful: Gl man
  8. Hey just wrote my first ever OSbot script after having studied Java for 2 days with no prior experience whatsoever, just wanted to ask for some feedback. It's a very basic mining script that mines Copper ore and then banks, so far it seems to work. What I want to add next is a GUI that lets the user input what kind of ore & location they want to mine in and bank, and also add paint. However I have no idea whatsoever how to this so I will have to study more before doing this. I also read about dividing the script in multiple classes and using the switch command to make it look cleaner so that I wouldn't have to use so many if statements. Will update you guys on the script as I add new stuff. Edit 1: - Cleaned up the code a little bit after reading the feedback. - Added paint (Total runtime, xp gained, lvls gained, total gp made, gp/hour, ore mined, xp/hr. - Added some antiban (it now randomly hovers the mining skillicon). - Changed it to mine iron ore instead. Picture of the bot running: https://i.gyazo.com/87b8d4cf40e87cb4f054b9825d4eae38.png Updated code: Future updates: - Will add a GUI that will let you choose whether you want to powermine or bank, and also lets you choose which ore to mine that supports more locations and not just the Al-Kharid mine. - Will have to implement some kind of method that gets the GE prices for different ores to calculate the gp/hour. - For the powermining part, I want it to use shift-click to drop if possible. Appreciate further feedback, thanks! Edit 2: - Script now remembers starting position so you can start it from any mine and it will automatically walk to the closest bank. - Filtered deposit item to bank everything that ends with ore so skillers can have pickaxe in inventory. Edit 3: - Added a GUI that lets you choose which ores you want to mine (based on color). - Cleaned up the code a little bit. Thanks @Vilius for the help! Edit 4: - Added a powermining checkbox in GUI that supports shift dropping. - Script is now finished!!! :-) Code:
×
×
  • Create New...