Everything posted by Twin
-
Do I need to implement every random solver?
Just realized none of my scripts manage randoms, I thought it was a default thing for the client to take over them.
-
My script is working differently for me
- TwinMiner(Supports granite)
Tried moving the code into on start and it diidn't work, just gonna leave it where it is for now lol.- Taking request
I can probably do something like that! Is it only crude chairs/larders or is their more than that for 1-50- Taking request
What should it include? I haven't done construction since 2009 lol. The most efficient things to level it up or AIO? I feel like it would apply to a niche since most people don't not that skill. So I could do most efficient exp, or most cost efficient.- Taking request
Hmm I guess they're not on the SDN anymore. I remember some script called king of the dragons though.- Taking request
Could have sworn there was a script called king of the dragons and some AIO fighter that supported green drag killing/banking.- Taking request
I could, but since there's 2? In the SDN I'm not sure If it would be allowed. I'll look into it though!- Taking request
Girlfriend is busy with school this weekend so I have nothing to do. Need a goal. Was thinking about making a blast furnace script, but will be open to request!- TwinMiner(Supports granite)
Lol I knew I put that in the wrong place, i'll fix it later lol. It worked for me when I ran it for an hour or so last night. Thanks for verifying it btw.- TwinMiner(Supports granite)
Was having issues with the free scripts on the store, where it would either mess up and have me stand there, only mine one of the iron ores after a while, slow down after a while, ect ect. So I just made my own and thought i'd share it. It has a basic gui, supports mining anywhere, and will mine Tin, Copper, Granite, and Iron. I figured no one really powermines anything else so why add it. Basically to use the script have a top x coordinate, top y coordinate, bottom x coordinate, bottom y coordinate, and the IDs for the rocks you want to use. If you use this in the desert though, check it after a bit because this will only not drop water skins that have water in them, it won't get you more. If you have any issues with it let me know, or any questions. VirusTotal for the jar updated for 1.1 https://www.virustotal.com/en/file/77478d65de0a61ba0d1a20d501e41e5fbc9cd9b0be1ff38d069d3c1604e2a07c/analysis/1425621488/ Download link for the jar http://www.mediafire.com/download/7dwh1c65401xf2h/TwinMine+1.3.zip Stable version + an issue fixed with the GUI To do Planning on adding banking for waterskins in the future, maybe i'll do it over the weekend, but with how open ended this script is, it might be a little hard. Updates Fixed a few issues with me forgetting to change the area code, made it sleep a bit longer so it wont spam click rocks, and made it so it will now walk back to the proper mining area. Currently using this script on an account right now, will post a proggie when im done using it. Proggies: ^^^^^^^^^^^^^^ That is the break timer I use for all proggies. Known issues -It will take off running somewhere that is not within the mining area, and not do anything. Only happens when ores of the same ID are close by.- Storing ints with user input?
I was thinking about doing that but I can't remember my reasoning for not lol. Will try this, thanks! Worked! Thank you!- Storing ints with user input?
Right now I have JOptionPane.showInputDialog burt that's yelling at me telling me I can't use a string for it. Is there something similar but with ints?- FireMaking
Is there one specific log you need burned? I could maybe write one for you if you only need one type of log, other than that it'll be a paint to do.- OSBot 2.3.38 - Mirror Client BETA + more
Really curious to see if this will help ban rates.- getting position
mouse.getPosition() unless that's not what you wanted. Unless this gets the x/y of where the mouse is on the osbot client and not what's under the mouse, but I was under the impression that this gets the in game cords.- CSGO players
Naw not at all, I'm down to play with anyone.- CSGO players
Currently SEM, bouncing around here and nova 1. Wouldn't say im awful at the game but i'm not that good. if anyone is down to play comment your steam id here and what not. I put effort in games but don't get mad unless its at myself for doing something really dumb, so im not going to be going 0 and 12 flaming the guy who's carrying the team (I wouldn't go zero and twelve just an example).- A Beginners Guide to Writing OSBot Scripts (where to get started!) by Apaec
if(cow.getHealth()<8)//im assuming you named the npc variable for cow cow. //basically this will check the cows health, and if its under 8 it won't attack it. { cow.interact("Attack"); } you can add an extra check as well like if(cow.getHealth()<8&&!cow.isUnderAttack) that way you can have 2 checks to see, if the cow doesn't have damage and if the cow is not underattack. if you want to add a third check, you can use a message listenter to get the phrase in the chatbox "NPC is already under attack" or whatever by doing @Override public void onMessage(Message message) throws InterruptedException { if(message.getMessage().toString().contains("Already under attack."))//make sure this has the exact phrase, case sensetive and all { log("This cow is already under attack!"); //then have your character move somewhere else or have it do another action after it gets this. } } I'm not the best with the osbot api/java in general but this should help a bit, apaec will probably be able to give you more advice though. I misread your question my bad, gonna leave that there though incase anyone else is curious. What you can do is make an area of the cowpen you're killing the cows in, and then you can do something like Area COWPEN = new Area(top right x, top right y, bottom left x, bottom left y); if(cow.isUnderAttack) { localWalker.walk(COWPEN.getRandomPosition(0));//will get a random area in the cow pen to run off to, then will kill cows that aren't under attack, or keep doing this until it finds one. } Defiantly better ways, but this is something that will work.- buying 83-85 mining account
Only want the mining, will not pay extra for other things on it. 07 gp willbe payment- How to take use input decide what cordiantes to use for an area?
Sorry went afk for a bit. Eclipse is yelling at me to change final Area to final int, and just underlines with red all the numbers I have after the =. final Area COAL = 1,2,3,4; //is that setup right?- How to take use input decide what cordiantes to use for an area?
oh im a dumbass Area is a final lol, that might be why. You always help my aass I feel like I owe you. Anyway, so basically this has a final set for area, and a final set for iron, and it stores it into the area mine which has nothing in it?- How to take use input decide what cordiantes to use for an area?
So basically, I'm running into an issue with an or statement breaking my script, so I figured i'd try instead of having 2 areas, to get rid of the or statement and make it so only 1 area exist. basically I have at the onStart() String ironOrCoal = JOptionPane.showInputDialog("What area should we be at? c = coal, iron = i"); and then somewhere along the code i'll have if(ironOrCoal.contains©) { Area MINEAREA = new Area(x,y,b,c); } else Area MINEAREA = new Area(d,e,q,r); this isn't the exact code, just an example of what I had. So I thought this should work, but it would tell me all around the code that it didn't know what MINEAREA is, and that it was unused. So on the onStart area I added a private Area MINEAREA; but that did nothing either, still wouldnt let me use it anywhere. So I messed around with it and Still couldn't figure it out. Is it getting deleted once it leaves the if statement? like do I need to make a MINEAREA and have all its cordinates be 0, then in the if statement change it so it equals the cordinates based on user input? So confused with this issue.- Move mouse one or two blocks then click?
I lied about it being an issue with my logic i just didnt get your code lol. Thanks a bunch man- Buying Account
I feel like someone who has 6700 post on here and scripts on the SDN isn't going to ruin that for 11 dollars lol - TwinMiner(Supports granite)