This now takes control of my mouse... :( How to make it stahp
EDIT: and now it doesn't .... interesting
Printable View
This now takes control of my mouse... :( How to make it stahp
EDIT: and now it doesn't .... interesting
http://puu.sh/c9ghH/6e815dc9b5.png
Keep getting this after a couple of minutes, at firegiants, and I kill them at a fast rate (near max melee).
Can't have the script running for more then 10 minutes.
Other then that the update seems to be decent, haven't had to need for food yet though, but SGS healing works.
*EDIT*
http://puu.sh/c9grj/8600ecd9c4.jpg
Script says it is fighting, while I'm not in combat. I think it just recently engaged on a dieing fire giant.
Perhaps you could add a short sleep before attacking the next NPC to prevent this?
If it takes more than 3 minutes for a fight, bump this up and let me know.
SIMBADIR\includes\bonsai\blCombat.simba:
Simba Code:1043: combatMgr.maxFightSeconds := 180;
If it thinks you're in a fight and you're not, it must have missed the '0' in the enemy health. I don't see your target popup in that snap, you do have the popups enabled, right?
The script will check all of mainscreen, but I recommend getting that thing in the top left corner so it doesn't confuse other queries.
There are tolerances at the top of blCombat for the '0' DTM. If it's not flashing the red at the end of fight, maybe bump these tolerances (gently).
Simba Code:REDDISH = 1447227;
REDDISHTOL = 7;
GOLDISH = 439012;
GOLDISHTOL = 3;
If it misses the '0', it might think the fight is active until your adrenaline wears down, then it continues along.
Sounds like maybe for you, it never decided the fight is over.
I updated the second post with a description of the fight detectors.
Other than improper setups, I think the majority of the issues are fine tuning these.
Please check it out, and if your npc isn't working well, maybe you can tell me, "hey, its detecting the gold lock when it's not there".
Thanks for everyone's patience on the re-write. It's getting close to good enough you 99 hogs can go do your thing :spot:
If anyone is hot for prayer support, help me define it better. It's not just turning on and off the quick prayer. I'll need to look for potions and watch the chatbox or something for when to drink some? I'm not much on the game mechanics, so if someone really wants it take a little time to write up a step by step for a dumb old man they are a lot more likely to get what they want.
The bot does not attack 2 mobs simultaneously anymore, great job on the update. I started using the charming imp/bonecrusher, and now charms/bones don't drop anymore, so it could be possible to loot some of the more valuable things like dragon helms/rune arrows @firegiants or smth similar just by seeing the color on the ground.
You can make one if you go through those mayor tutorials :)
Simba Code:program mantaGiants;
{$DEFINE SMART}
{$include_once srl-6/srl.simba}
{$include_once bonsai/blCombat.simba}
var
giant: Tnpc;
i: integer;
begin
SetupSRL();
giant.init('fire-giant', true);
while (iFeelLikeFighting) do
begin
combatMgr.attack(giant, true {wait until dead},
nil {use default foodhandler}, MOUSE_RIGHT);
// do some looting and banking
end;
end.
Think i've found the problem.
The bot thanks the red on the walls in the chaos tunnels is the target reticule..
The reticule detection is acting rather wonky, even at a fire giants room that doesnt have red in the walls.
This can also be seen in the screen I posted.
I really love this script, I use it for low level accounts on goblins and it's great!
---- Setting up SRL...
---- HINT: You are not using SMART, be sure to use Simba's crosshairs to select the RS client
Got it working. trying out different mobs.
it has difficulty with obtaining the colors of:
Grotworms
Cave Slimes
Ankous
isn't there way to use our colors like in old versions? i kinda dont like autodetect coloring, its much more accurate set it up with ACA :()
Code:<name>DRS</name>
<xp>399</xp>
<constXp>131.6</constXp>
<color1>3164087</color1>
<tolerance1>13</tolerance1>
<hue1>0.15</hue1>
<sat1>1.26</sat1>
Roughly how long should the color testing to determine npc colors be at the start of the script? I feel as if its lasting significantly longer than it should.
Got from 70-99 range and various other combat stats into 90's from under a months usage (including slayer).
Thanks a bunch bonsai! :D
i can help you with prayer, about refreshing prayer points with potions, why not simply use another quickslot for potions and use that slot if prayer points is under x points?, and when icon on action bar for prayer potions is grayed out and prayer poionts <X stop using prayer at all until player get new potions or stop bot here...
also detecting if prayers are on or off should be easy if we can check for green color around prayer buffs icons on buff bar, like while prayer >X points and green color(border for buffs) is not detected on x,y position then turn quick prayers on?
1-4 minutes? It depends a little on luck. Once it finds a good color or two it improves since it can look for similar colors to try.
It starts fighting after 10 good colors are identified but it still tests them in between fights. Once it gets 20 colors it will only test occasionally.
What do you guys recommend to kill with the following stats:
-40 attack
-40 strength
-30 def
Want to get 99,s
For the berserk ability; should just add a Health percentage when it is allowed to use it.
For example use berserk if over 80 hp and use sgs if under 75 hp.
And perhaps always use sgs spec if 100% adren and not over berserk treshold?
Seems like the most optimal method to implement berserk
function TBoxArray.pixelShift(time: integer = 200): TIntegerArray;
Haha always around to check scripts and test :)
Now since this last update I get this
Error: Unknown declaration "append" at line 926
Compiling failed.
and it highlights this in blMisc,
result.append(atpa[i].getBounds());