

feggit
Members-
Posts
35 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by feggit
-
[Mirror Mode v2.62.171] Banking Bug (placeholders)
feggit replied to ProjectPact's topic in Bug reports
I figured out that I had this problem just now, so it is still active. -
What you might do is, and also what @dreameo is suggesting: if (!myPlayer.isUnderAttack() { if (lootOption) { loot(); } else if (buryBonesOption) { buryBones(); } else if (goblin != null && goblin.exists() && goblin.getHealthPercent() > 0 && !myPlayer().isInteracting(goblin) && !goblin.isUnderAttack() && map.canReach(goblin) && goblinArea.contains(goblin)) { attackGoblin(goblin); } } This will solve your problem. This might, however, introduce a new problem. You'll have to test it.
-
I think what might happen is that it attacks a target. When your target is doing a dying animation, it looks for the next target to attack and attacks the next target when such a target is found. The previous target will drop loot after your next target is already chosen, and thus the goblinPosition variable is already overwritten by the new target's position, therefore the if-statement in your loot() method will not be satisfied. The first thing and (to me) most obvious thing to recommend is that you wait until your target has dropped the loot, but there are also other ways to make it work.
-
I need a quick 10M for $7,00 in total. Paying with Paypal.
-
hahaha indeed There is no such thing as an message typed in one instant and not letter by letter. However, you can change the speed between letters, making the waiting time between the letters negligible and then it will look like your message is in an instant.
-
Long enough to make profit out of my bots i.e. months
-
I bot 3x 2 hours every day, with a minimum of 2 hours break between every sessions
-
My experience is that I get banned immediately the next day if I use stealth injection. I don't have any problems with f2p and new accounts.
-
There are enough tutorials online for Java. and indeed, use IntelliJ.
-
What I meant was: List<RS2Widget> list = getWidgets().getAll(); for (RS2Widget widget : list) { String[] actions = widget.getInteractActions(); if (actions != null) { for (String action : widget.getInteractActions()) { if (action != null && action.toLowerCase().contains("tan")) { log(widget.getRootId() + ", " + widget.getSecondLevelId()); } } } } But this didn't work. So I followed your advice and tried this: for (int i = 0; i <= 999; i ++) { List<RS2Widget> list = getWidgets().containingActions(i, "Tan All"); if (list.size() > 0) { log(i); } } But this gives a ArrayIndexOutOfBoundsException (At 616) before outputting anything. I even tried to bruteforce with rootID, secondLevelID, thirdLevelID between 0 and 999 and it still returns nothing.
-
I'm trying to make a tanning script at Al-Kharid. However, I am trying find the widget for each of the hides you can tan. However, I cannot find them. When I get all widgets and I try to look at actions if there is one with "Tan" in it, but I also cannot find any. How can I find the widget?
-
Yes I am sure, because immediately the next line I am printing the boolean and it took a very look time. Don't know why but it works now without any delay. I tried after this suggestion but it didn't work. It turns out that it is WebWalkEvent instead of WebWalkingEvent XD But it worked after I used the correct class name, so thanks.
-
I guess that you are doing it the wrong way. I think that other people can also affirm this
-
I'm trying store a boolean whether webwalk can find a route. I'm doing this right now: boolean a = getWalking().webWalk(some area); But it gets stuck for a while, maybe 1 minute before the script continues, even though the console already said that no route is found the moment the line is read. Is there some way to fix this, or some other way to see if there is a route? EDIT: That would be: getMap().realDistance(some position/entity) == -1
-
I was refering to human-like playing. For actions like waiting for a rock to replenish its ore and then mine when the ore is available, your reaction time will be like a normal distribution. No humans react with reaction time that is evenly distributed. I don't see why it would matter if they can recreate your mean and standard deviation.
-
I've been botting for months on the same account, every day 6 hours, and 42 hours a week and I don't have any bans. I've been botting for months on the same account, every day 6 hours, and 42 hours a week and I don't have any bans. I've been botting for months on the same account, every day 6 hours, and 42 hours a week and I don't have any bans.
-
I'm botting on three account right now and I don't have any bans. All my bans from months ago was my own fault (agility bot 5 hours, being reported for not responding)
-
The fix has been made and everything should be working right now.
-
It is broken by the update until it is fixed. It has been fixed again so it probably works now.
-
They are fixed as of now You should consider looking at the logger and see what is wrong.
-
Ok, thanks for the feedback. I will change my post according to these bullet points.
-
I've been writing scripts for my own for a short time. I have a fair amount of knowledge in (Java) programming because I major in Computer Science. In the beginning, I didn't know how to write scripts for the OSBot and it took me a long time to understand it. I'll put useful links to other topics and I'll add my own knowledge to this topic. I hope veteran scripters can tell me if I am saying anything incorrect, so I can learn from it. This guide is not to teach you how to program, but it is targeted to people who already know how to program but just don't know how to start. If you want to learn how to program in Java, there are other tutorials for it like this one and that one. [1, 2] I'll be updating this thread when I discover something new or when mistakes have been made as I am a beginner myself. !!! IMPORTANT !!! Everything you need to know about the OSBot API can be found in the Javadocs of the OSBot API. Choosing IDE, importing libraries and compiling Skeleton code Method Provider class Logs Positions and Areas Walking Entities Dialogues ExperienceTracker (Conditional) Sleep and Random Number Generator GUI and Locks MouseListeners and KeyListeners Using resources Sources Edits
-
The reaction times looks like a normal distribution (you probably know this from a statistics couse). I have been using nextGaussian() for the random sleeping times, which gives a normal distributions on the numbers the method returns. You can use this website to see how your normal distribution looks like. Here is a small example on how to use it. Random random = new Random(); int stdev = 1; int mean = 2 sleep(random.nextGaussian() * stdev + mean); EDIT: I have been caught for botting because I left my Agility bot running for hours and I went outside celebrating the national holiday of my country. I wanted to stop the script remotely after an hour or two, but I totally forgot about it. I got a 2 day ban for that. Now I bot 3x 2 hours every day and have not been caught ever since. Just avoid being reported and it should be fine.