ogustuce
2012-03-19 19:18:29
how can i make the script wait while the account character is moving? i mean not walking, i mean moving like swinging a pick or chopping. Whats the code for this? if theres one
thanks
thanks
2012-03-19 19:18:29
2012-03-19 19:19:56
2012-03-19 19:21:02
2012-03-19 19:23:04
From: masterBB
You could try pixelshift. But that is the hardest part of many bots.
2012-03-19 19:23:57
2012-03-19 19:24:27
2012-03-19 19:25:30
2012-03-19 19:25:47
2012-03-20 03:46:58
From: shstiger2009
Yep.
To me and probably many others, this is the hardest part of combat scripts. Hard to have the script "wait" or pause while your character is chopping, fighting, etc.
2012-03-20 07:53:44
2012-03-20 07:57:48
2012-03-20 08:13:37
2012-03-20 08:18:07
From: Jagex_Fagex
I use pixelshift >650 in my script for the mining, i have never had an issue with it, and i have been mining in multiple outfits. Check out Flight's tut, that's where i got it from.
2012-03-20 08:39:01
From: masterBB
650 doesn't says a lot if you don't add the time over which it happened.
Function Mining: Boolean;
var
PBox: TBox;
begin
if(not LoggedIn)then
Exit;
PBox := IntToBox(245, 130, 285, 195);
Result := (AveragePixelShift(PBox, 250, 500) > 650);
if(Result = False)then
begin
Debug('We are not mining');
end else
Debug('We are Mining');
end;
2012-03-20 10:15:28
From: Kyle Undefined
Shields add extra pixelshift and is very annoying to work around.
2012-03-20 11:01:43
From: Er1k
Yeah and if you wield something like a whip you will feel the pain soon enough lol
2012-03-20 11:04:59
While Flag do
Println( "We are moving");
LookForBank;
2012-03-20 11:05:49
2012-03-20 11:59:53
From: masterBB
Better not train for 120 dungeonering. Animating capes are very hard to get around.
2012-03-21 04:33:57
From: Nemesis3X
Ya, that what I discover when I was making my Ectofuntus Script. I had to add 2 different value depending on if people were wearing armor or not since the animation was way higher with gear on.
2012-03-21 14:01:19
repeat FindNormalRandoms until not ismoving; something like that?