Jump to content

osbotter6969

Members
  • Posts

    5
  • 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.

osbotter6969's Achievements

Newbie

Newbie (1/10)

3

Reputation

  1. Hey Proto thanks for the response, So are you suggesting that the thing I need to change is the return statement in the conditional sleep? What would I change it to in order to make it work best? I've tried myPLayer().isAnimating() but that hasn't seemed to work either. Or are you suggesting to put a sleep before the conditional sleep? Thanks again.
  2. Hey everyone, I'm generally new to Java and scripting and I seem to be unable to figure out ConditionalSleep. For my first script I'm creating a simple Cow Killer, but it seems I am too retarded to figure it the F out. Here is my code, I'll explain what's happening after. import java.awt.Graphics2D; import org.osbot.rs07.utility.ConditionalSleep; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Joey", info = "My first script", name = "Cow Killa", version = 0, logo = "") public final class CowKilla extends Script { @Override public void onStart() { log("ayooooooooooo?"); } @Override public int onLoop() throws InterruptedException { NPC cow = npcs.closest("Cow"); if(cow != null) { if (cow.isVisible()) { if (!myPlayer().isUnderAttack() && !myPlayer().isAnimating() && cow.getHealthPercent()>0 && !cow.isUnderAttack()) { cow.interact("Attack"); new ConditionalSleep(8000) { @Override public boolean condition() throws InterruptedException { return !myPlayer().isUnderAttack(); } }.sleep(); } } else { camera.toEntity(cow); } } return(random(100, 300)); } @Override public void onExit() { log("Thanks for running Cow Killa!"); } @Override public void onPaint(Graphics2D g) { } public void eat() { } } My issue is that it seems to ignore not only the ConditionalSleep, but also all of the arguments in the long If statement, specifically : if (!myPlayer().isUnderAttack() && !myPlayer().isAnimating() && cow.getHealthPercent()>0 && !cow.isUnderAttack()) The bot spam clicks cows, and it continues to click them when they are dead. Also, it will randomly start clicking other cows when I am already fighting one. Would these issues not be covered with the code that I have entered? In addition, it just seems like the sleep doesn't even exist when I run the bot even though it is in my code. Sorry if this is a stupid question, like I said I'm super new to this and don't know anyone who codes, let alone makes scripts so I don't have the ability to get much input privately. I've tried placing the sleep below the camera.toEntity, as well as different lengths of time within the sleep itself - (10000) , (6000, 100), etc. I've also tried a variety of if statements being that the bot seems to ignore my entire statement as mentioned before. Nothing seems to work for me Thanks in advance for your time and help.
  3. Yo Wdb, I've recently started using JitBit and am getting stuck with some stuff. Anyway I could get your discord or contact info to ask you a few questions? Thanks.
  4. Hey Czar, Thanks for the response. I'm looking forward to the update. On a side note, I've been doing some tests with this bot (I made around 15 accounts to try different set ups, locations, etc. ALL F2P) using four different computers, mirror mode, and different VPN locations for each account. I've noticed some things. These spots include just about every f2p mining spot including Falador, Al Kharid, Al Kharid far east, etc and each account was put through Tutorial Island manually. The accounts also had random variations of noob stats and quests completed, all done manually. I also let most of the accounts sit for a day or two at a time between creation and botting, or just botting sessions. --- My results were that around 80% of the bots have been banned before reaching level 50, with the other 20% still being in the 30s and 40s. My sessions were around 60 minutes plus/minus 1-5 minutes with a 120 minute plus/minus 1-5 minute break never exceeding more than 3 hours a day, so I don't think the issue is over-botting. However, I noticed that there are some issues with the hovering mechanism which are separate from the three rock issue I mentioned earlier which I think results in the hovering being pretty detectable (in this case I was using two rocks as three rocks was getting me banned every time). There is a delay that is a bit more than slight after the ores arrive (about a second) and it always reacts after the same exact time period. The issue persists regardless of what ms I was using. Additionally, when it hovers to the next rock, it stays perfectly still which, in mining, isn't very human like. Another thing is that when it goes to click the ore to actually mine it, the mouse does a small hook like motion which I think is designed as antiban as it theoretically would make the mouse movement seem more flicky and natural. However the movement seems to be exactly the same every time resulting in a consistent hook motion that I imagine would be very detectable with pattern recognition. I think this idea is really good but could be worked on a little bit to be much more effective. Lastly, the bot will idle if the inventory is full and I'm not on the inventory tab. I know I can start the bot on the inventory tab and not have a problem, but I just wanted to make sure u were aware of that incase you didn't intend for that. I'm aware f2p has higher ban rates but it seems not very practical to have to buy a bond for every account that I want to bot mining on. Based on everything above and a significant amount of mining I've done manually, these are my suggestions if they even matter: 1. Three rock hovering really needs to be fixed so that it hovers correctly and in order. 2. There needs be the same dropping options as your fishing script 3. Is it possible to, when the mouse is moved to the ore and is waiting for it to appear, appear that my hand is still on the mouse by imitating tiny random micro movements instead of sitting perfectly still? Mining especially at low levels is very non afk so it wouldn't make much sense to have the mouse be completely still. 4. Could you make it so the ore is clicked slightly faster? I understand that a delay helps make it seem natural but too much of a delay with a reaction that is at the same time every time kind of gives it away. Even better, is there anyway to randomly generate how fast the ore will be clicked? Sometimes in mining a person is active going as fast as they can and other times a person might have slight delays for any variety of reasons (such as texting or whatever). I think it would be very powerful to randomly mix slight delays and very active non delayed mining if possible so nothing remains too consistent. 5. It would also help to make the sudden motion that occurs when the bot actually clicks the ore to 1. not be the same every time and 2. be a bit more natural 6. An AFK option that sacrifices xp for decreased ban rates. Maybe at random times it idles (like afk) and logs out after a certain number of minutes and then logs back in. Or at randomly assigned times it will idle or stand there and resume mining 5-15 seconds later. Sorry for the long message, just figured I would let you know my observations and suggestions. I also just started learning java about a week ago so I'm not too sure how unrealistic some of these requests are in terms of code difficulty. Regardless, thanks again for your time and your bots!
  5. Hey Czar, Love your scripts, thanks for the many hours of saved time you have provided me. It seems that the bot still hovers out of order when there are three rocks selected, specifically at Al Kharid. It still usually mines in order, but it definitely will hover over a rock that was most recently mined and then it will jump to the correct rock. I've tried it with all of the setting variations and it still seems to persist. Also, was wondering if it was possible for the mining script to have the same drop options as your fishing script? Feel like that would be really good for ban rates. Thanks!
×
×
  • Create New...