View Full Version : I keep getting banned after a few hours.
lanadekat
12-20-2014, 08:36 PM
Fresh acc ( I use another bot to lvl runecrafting and GAO for some combat lvl's ) and still I keep getting banned.
I edited the script a few times, added random things, but still got banned.
anyone know anything I can do?
It messes up sometimes ( like walking to the altar with empty inventory) , but not to mutch. Most my scripts mess up like that when they're not finished but none of them had any bans yet ...
Do breaks help a lot? Since I never used breaks but never had any frequent bans like this.
here's my script:
program Nats;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
{$I SPS/lib/SPS-RS3.Simba}
const
MY_LOGINNAME = '';
MY_PASSWORD = '';
WORLD = 1;
RUINS_COLOR = 5044644;
RUINS_TOL = 15;
RUINS_SAT = 2.96;
RUINS_HUE = 0.10;
ALTAR_COLOR = 5656147;
ALTAR_TOL = 1;
ALTAR_SAT = 1.19;
ALTAR_HUE = 2.09;
//290 67
var
PBANK := [Point(188, 125), Point(194, 143), Point(206, 165), Point(201, 178), Point(195, 200), Point(195, 218), Point(182, 230), Point(164, 228)];
PALTAR := [Point(137, 107), Point(148, 118), Point(163, 134), Point(177, 148), Point(195, 174), Point(212, 192), Point(225, 207), Point(248, 227), Point(263, 244), Point(280, 260), Point(283, 274), Point(284, 295), Point(284, 321), Point(292, 338), Point(311, 358), Point(333, 382), Point(354, 401), Point(366, 412), Point(382, 424), Point(396, 438), Point(411, 454), Point(427, 468), Point(441, 500)];
PALTAR2 := [Point(135, 109), Point(152, 123), Point(183, 148), Point(208, 172), Point(239, 214), Point(286, 246), Point(324, 268), Point(339, 288), Point(358, 319), Point(380, 367), Point(411, 418), Point(429, 460), Point(442, 498)];
NATMAP, BANKMAP: TSPSArea;
procedure declarePlayers;
begin
WriteLn('Declaring players');
setLength(players, 1);
with players[0] do
begin
loginName := MY_LOGINNAME;
password := MY_PASSWORD;
bankPin := '';
world := WORLD;
isActive := true;
isMember := true;
end
currentPlayer := 0;
end;
procedure logUsIn;
begin
WriteLn('Logging in');
if not isLoggedIn then
begin
players[currentPlayer].login();
exitTreasure();
minimap.clickCompass();
mainscreen.setangle(MS_ANGLE_HIGH);
mainscreen.setZoom(true);
TabBackpack.open();
exitTreasure();
end;
end;
procedure TeleAntiban;
var
i: integer;
begin
i := random(120);
if i < 60 then
begin
case i of
1..4: boredHuman(false);
19..21: mouseMovingObject();
22..34: sleepAndMoveMouse(randomRange(100,6000));
35..45: begin
mouseOffClient(Random(4));
Wait(RandomRange(2000,2100));
end;
46..53: Wait(RandomRange(1500,1600));
54..60: pickUpMouse();
end;
end;
wait(12000);
wait(randomRange(250, 2000));
end;
procedure TeleAltar;
begin
lodestoneScreen.teleportTo(LOCATION_KARAMJA);
wait(randomRange(750, 1000));
if lodestonescreen.isopen() then TeleAltar();
end;
procedure TeleBank;
begin
lodestoneScreen.teleportTo(LOCATION_TAVERLEY);
wait(randomRange(500, 750));
if lodestonescreen.isopen() then TeleBank();
end;
procedure WalkAltar;
var
I : integer;
begin
WriteLn('walking to the nature altar');
I := Random(1);
Case i of
0:
begin
if NATMAP.walkPath(PALTAR) then
end;
1:
begin
if NATMAP.walkPath(PALTAR2) then
end;
end;
minimap.waitPlayerMoving()
end;
procedure WalkBank;
begin
WriteLn('walking to the nature altar');
if BANKMAP.walkPath(PBANK) then
minimap.waitPlayerMoving()
end;
procedure Bank();
var
I : integer;
begin
bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
bankScreen.withdraw(1, WITHDRAW_AMOUNT_ALL, ['']);
bankScreen.close;
tabBackpack.waitWhileLocked;
end;
procedure OpenBank;
begin
bankScreen.open(BANK_NPC_BLUE);
wait(randomRange(500, 1000));
if bankScreen.isOpen then
Bank()
else
WriteLn('bank not opened')
end;
procedure EnterAltar;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
wait(1500);
findColorsSpiralTolerance(x, y, TPA, RUINS_COLOR, mainScreen.getBounds(), 20, colorSetting(RUINS_TOL, RUINS_SAT, RUINS_HUE));
ATPA := TPA.toATPA(50, 50);
ATPA.filterBetween(9, 10);
ATPA.sortFromMidPoint(mainscreen.playerPoint);
for i := 0 to high(ATPA) do
mouse(middleTPA(ATPA[i]).x+random(-10,10),middleTPA(ATPA[i]).y+random(-10,10), MOUSE_MOVE);
if isMouseOverText(['Enter','nter'], 500) then
fastClick(MOUSE_LEFT);
wait(randomRange(3000, 4000));
end;
procedure MakeRunes;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
wait(3000);
ClickMouse(292+random(-40,40), 21+random(-10,10), mouse_LEFT); // just a normal click here till I fix the findcolorspiraltolerance
wait(randomRange(4000, 6000));
end;
begin
addOnTerminate('scriptTerminate');
ClearDebug();
smartPlugins := ['d3d9.dll'];
smartEnableDrawing := false;
SetupSRL();
DisableSRLDebug := True;
NATMAP.Setup('Natmap', 'Runescape_Surface\', 8, 900.0, 0.40);
BANKMAP.setup('Bankmap', 'Runescape_Surface\');
repeat
if (not isLoggedIn()) then
begin
declarePlayers;
logUsIn;
end
TeleAltar;
TeleAntiban;
WalkAltar;
EnterAltar;
MakeRunes;
TeleBank;
TeleAntiban;
WalkBank;
OpenBank;
Bank;
Until(false);
End;
Brandon
12-20-2014, 08:49 PM
lanadekat; remove your username and password.
Clarity
12-20-2014, 08:50 PM
Also using ClickMouse without any mouse movement is pretty botlike.
lanadekat
12-20-2014, 08:52 PM
lanadekat; remove your username and password.
banned acc :p
I really think I have some attention problems since I can do something and a few second later don't know what I was doing ... And sometimes it's something important I should remember ...
lanadekat
12-20-2014, 08:53 PM
Also using ClickMouse without any mouse movement is pretty botlike.
I'll try to replace that with some color detection since that's more stable. and probably also less bot like.
Camel
12-20-2014, 08:54 PM
Just on a scroll through, I found this.
I := Random(1);
You use this for the path deciding. Random(1) will always return 0. Do Random(2);
As for the bans, try adding in some mouse movement. Maybe shake the mouse around while its walking or waiting for the lodestone stuff.
Also, as Clarity said, if ClickMouse just teleports your mouse to the location, that would be the cause. (at least I think)
lanadekat
12-20-2014, 08:58 PM
Just on a scroll through, I found this.
I := Random(1);
You use this for the path deciding. Random(1) will always return 0. Do Random(2);
As for the bans, try adding in some mouse movement. Maybe shake the mouse around while its walking or waiting for the lodestone stuff.
The second path is currently broken I need to make the map bigger for that so I made it 1 instead of removing the code and adding it again later.
How do I let it do something while walking? Or do I have to let sps first walk to coordinate x,x then random mouse then coordinate x,x random mouse , ... ?
ineedbot
12-20-2014, 09:04 PM
Also, it could be possible that your Jagex Cache is flagged or IP...Try deleting/changing these.
However I am botting just fine with a VPN on a VMWare using iKaramjaFisher on one account that farmed about 50m worth of fish with no ban so far.
lanadekat
12-20-2014, 09:06 PM
Also, it could be possible that your Jagex Cache is flagged or IP...Try deleting/changing these.
I doubt that since running another reflection bot for 6 hours doesn't get me banned. But running simba does. But i'll try that. Thanks for your help!
lanadekat
12-20-2014, 09:11 PM
Also, it could be possible that your Jagex Cache is flagged or IP...Try deleting/changing these.
However I am botting just fine with a VPN on a VMWare using iKaramjaFisher on one account that farmed about 50m worth of fish with no ban so far.
yea for me other scripts are also running fine but just not this one seems like they're watching nature runecrafting. Since prices are also rising.
Lipcot
12-20-2014, 09:24 PM
yea for me other scripts are also running fine but just not this one seems like they're watching nature runecrafting. Since prices are also rising.
try to avoid double posting please :p
OT: first, why dont you bank in edgeville? bank is closer to the lodestone. Second, are you taking breaks? how often does your antiban get called? i've found that the most effective antiban is getting your mouse offscreen, and maybe sleepandmove. Try doing your antiban in moments a human would, while waiting lodestone teleport, while entering the altar, while running.
i have a nature graahk runnner that's doing around 8-10 hours a day and have experienced 0 bans. I've seen your bots running around i believe, and they look really bot like, you are not even dressing them (if the ones i've seen are yours :p). try levelling their combat up, putting some clothes, maybe a staff.
lanadekat
12-20-2014, 09:33 PM
try to avoid double posting please :p
OT: first, why dont you bank in edgeville? bank is closer to the lodestone. Second, are you taking breaks? how often does your antiban get called? i've found that the most effective antiban is getting your mouse offscreen, and maybe sleepandmove. Try doing your antiban in moments a human would, while waiting lodestone teleport, while entering the altar, while running.
i have a nature graahk runnner that's doing around 8-10 hours a day and have experienced 0 bans. I've seen your bots running around i believe, and they look really bot like, you are not even dressing them (if the ones i've seen are yours :p). try levelling their combat up, putting some clothes, maybe a staff.
indeed they could be mine lol, But I only ran a few acc's so far for +-6 hours each. I'll try to look into that. You're post gave me hope since it's the first time I'm having problems with bans and I wasn't sure if I was able to do it. I'm currently learning Dtm's to make sure it's in the altar when trying to create runes since sometimes it doesn't enter the altar.
About the bank: I thought taverley was the closest lol, but it doesn't matter that mutch I can change it later.
Justin
12-20-2014, 09:41 PM
"I use another bot to lvl runecrafting"
Maybe that bot is flagging you?
Lipcot
12-20-2014, 11:43 PM
indeed they could be mine lol, But I only ran a few acc's so far for +-6 hours each. I'll try to look into that. You're post gave me hope since it's the first time I'm having problems with bans and I wasn't sure if I was able to do it. I'm currently learning Dtm's to make sure it's in the altar when trying to create runes since sometimes it doesn't enter the altar.
About the bank: I thought taverley was the closest lol, but it doesn't matter that mutch I can change it later.
"I use another bot to lvl runecrafting"
Maybe that bot is flagging you?
what justin says is a pretty good possibillity, specially if you are using powerban or epic**it , or any of those bad injections/reflection bots!
lanadekat
12-21-2014, 12:52 AM
what justin says is a pretty good possibillity, specially if you are using powerban or epic**it , or any of those bad injections/reflection bots!
@justin:
Yes indeed that's why I posted it.
I'm gonna try to lvl it myself on a new acc and look what's the outcome.
@undorak7
But yea I used 2 different bots a very popular one ( not to mention the name ) and one that only has like 50 users online most of the time( and uses reflection ). So I doubt that it's the problem but I will still try it though.
oftopic: our brain is great at "assuming" things if you think that square in the distance ( that you don't see clearly ) is a cirkel you're brain will make it a cirkel. It's just amazing how our brain fills in missing information by information is assumes to be real. just the same with the blind spot in our eyes
Camel
12-21-2014, 01:03 AM
How do I let it do something while walking?
You would have to OverRide the WalkPath function. (or walktoPos/blindwalk/whatever you're using). Then modify the overloaded function to move the mouse or check skills while walking.
I do this in my Air crafting script, if you're interested in doing this.
Justin
12-21-2014, 04:54 AM
@justin:
Yes indeed that's why I posted it.
I'm gonna try to lvl it myself on a new acc and look what's the outcome.
@undorak7
But yea I used 2 different bots a very popular one ( not to mention the name ) and one that only has like 50 users online most of the time( and uses reflection ). So I doubt that it's the problem but I will still try it though.
oftopic: our brain is great at "assuming" things if you think that square in the distance ( that you don't see clearly ) is a cirkel you're brain will make it a cirkel. It's just amazing how our brain fills in missing information by information is assumes to be real. just the same with the blind spot in our eyes
If you used PowerBot\RSBot for runecrafting, Jagex said they have "100% detection rate" for that bot
Lipcot
12-21-2014, 04:56 AM
...
just to let you know, to mention someone you must do the following.
1. place this: @
2. Username
3. place this: ";"
so it would be undorak7;
akarigar
12-21-2014, 05:14 AM
You would have to OverRide the WalkPath function. (or walktoPos/blindwalk/whatever you're using). Then modify the overloaded function to move the mouse or check skills while walking.
I do this in my Air crafting script, if you're interested in doing this.
This isn't necessary. Since SPS' functions call TRSMinimap.waitPlayerMoving which calls SRL_Events[EVENT_ANTIBAN](), all you need to do is:
procedure myAntiBan();
begin
...
end;
begin
SRL_Events[EVENT_ANTIBAN] = @myAntiBan;
end.
cosmasjdz
12-21-2014, 09:00 AM
Fresh acc ( I use another bot to lvl runecrafting and GAO for some combat lvl's ) and still I keep getting banned.
I edited the script a few times, added random things, but still got banned.
anyone know anything I can do?
It messes up sometimes ( like walking to the altar with empty inventory) , but not to mutch. Most my scripts mess up like that when they're not finished but none of them had any bans yet ...
Do breaks help a lot? Since I never used breaks but never had any frequent bans like this.
here's my script:
program Nats;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
{$I SPS/lib/SPS-RS3.Simba}
const
MY_LOGINNAME = '';
MY_PASSWORD = '';
WORLD = 1;
RUINS_COLOR = 5044644;
RUINS_TOL = 15;
RUINS_SAT = 2.96;
RUINS_HUE = 0.10;
ALTAR_COLOR = 5656147;
ALTAR_TOL = 1;
ALTAR_SAT = 1.19;
ALTAR_HUE = 2.09;
//290 67
var
PBANK := [Point(188, 125), Point(194, 143), Point(206, 165), Point(201, 178), Point(195, 200), Point(195, 218), Point(182, 230), Point(164, 228)];
PALTAR := [Point(137, 107), Point(148, 118), Point(163, 134), Point(177, 148), Point(195, 174), Point(212, 192), Point(225, 207), Point(248, 227), Point(263, 244), Point(280, 260), Point(283, 274), Point(284, 295), Point(284, 321), Point(292, 338), Point(311, 358), Point(333, 382), Point(354, 401), Point(366, 412), Point(382, 424), Point(396, 438), Point(411, 454), Point(427, 468), Point(441, 500)];
PALTAR2 := [Point(135, 109), Point(152, 123), Point(183, 148), Point(208, 172), Point(239, 214), Point(286, 246), Point(324, 268), Point(339, 288), Point(358, 319), Point(380, 367), Point(411, 418), Point(429, 460), Point(442, 498)];
NATMAP, BANKMAP: TSPSArea;
procedure declarePlayers;
begin
WriteLn('Declaring players');
setLength(players, 1);
with players[0] do
begin
loginName := MY_LOGINNAME;
password := MY_PASSWORD;
bankPin := '';
world := WORLD;
isActive := true;
isMember := true;
end
currentPlayer := 0;
end;
procedure logUsIn;
begin
WriteLn('Logging in');
if not isLoggedIn then
begin
players[currentPlayer].login();
exitTreasure();
minimap.clickCompass();
mainscreen.setangle(MS_ANGLE_HIGH);
mainscreen.setZoom(true);
TabBackpack.open();
exitTreasure();
end;
end;
procedure TeleAntiban;
var
i: integer;
begin
i := random(120);
if i < 60 then
begin
case i of
1..4: boredHuman(false);
19..21: mouseMovingObject();
22..34: sleepAndMoveMouse(randomRange(100,6000));
35..45: begin
mouseOffClient(Random(4));
Wait(RandomRange(2000,2100));
end;
46..53: Wait(RandomRange(1500,1600));
54..60: pickUpMouse();
end;
end;
wait(12000);
wait(randomRange(250, 2000));
end;
procedure TeleAltar;
begin
lodestoneScreen.teleportTo(LOCATION_KARAMJA);
wait(randomRange(750, 1000));
if lodestonescreen.isopen() then TeleAltar();
end;
procedure TeleBank;
begin
lodestoneScreen.teleportTo(LOCATION_TAVERLEY);
wait(randomRange(500, 750));
if lodestonescreen.isopen() then TeleBank();
end;
procedure WalkAltar;
var
I : integer;
begin
WriteLn('walking to the nature altar');
I := Random(1);
Case i of
0:
begin
if NATMAP.walkPath(PALTAR) then
end;
1:
begin
if NATMAP.walkPath(PALTAR2) then
end;
end;
minimap.waitPlayerMoving()
end;
procedure WalkBank;
begin
WriteLn('walking to the nature altar');
if BANKMAP.walkPath(PBANK) then
minimap.waitPlayerMoving()
end;
procedure Bank();
var
I : integer;
begin
bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
bankScreen.withdraw(1, WITHDRAW_AMOUNT_ALL, ['']);
bankScreen.close;
tabBackpack.waitWhileLocked;
end;
procedure OpenBank;
begin
bankScreen.open(BANK_NPC_BLUE);
wait(randomRange(500, 1000));
if bankScreen.isOpen then
Bank()
else
WriteLn('bank not opened')
end;
procedure EnterAltar;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
wait(1500);
findColorsSpiralTolerance(x, y, TPA, RUINS_COLOR, mainScreen.getBounds(), 20, colorSetting(RUINS_TOL, RUINS_SAT, RUINS_HUE));
ATPA := TPA.toATPA(50, 50);
ATPA.filterBetween(9, 10);
ATPA.sortFromMidPoint(mainscreen.playerPoint);
for i := 0 to high(ATPA) do
mouse(middleTPA(ATPA[i]).x+random(-10,10),middleTPA(ATPA[i]).y+random(-10,10), MOUSE_MOVE);
if isMouseOverText(['Enter','nter'], 500) then
fastClick(MOUSE_LEFT);
wait(randomRange(3000, 4000));
end;
procedure MakeRunes;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
wait(3000);
ClickMouse(292+random(-40,40), 21+random(-10,10), mouse_LEFT); // just a normal click here till I fix the findcolorspiraltolerance
wait(randomRange(4000, 6000));
end;
begin
addOnTerminate('scriptTerminate');
ClearDebug();
smartPlugins := ['d3d9.dll'];
smartEnableDrawing := false;
SetupSRL();
DisableSRLDebug := True;
NATMAP.Setup('Natmap', 'Runescape_Surface\', 8, 900.0, 0.40);
BANKMAP.setup('Bankmap', 'Runescape_Surface\');
repeat
if (not isLoggedIn()) then
begin
declarePlayers;
logUsIn;
end
TeleAltar;
TeleAntiban;
WalkAltar;
EnterAltar;
MakeRunes;
TeleBank;
TeleAntiban;
WalkBank;
OpenBank;
Bank;
Until(false);
End;
Waits.......oh my... wait(3000), wait random(4000,6000). Its nothing more bot like they just use most simple statistical tools to get you banned. They compare average deviation diferences between waits and since random will be like very i mean very extremely even distributed its automatic ban. I can giv you research paper i done for school abour random waits. i mean 100 times is more than enough to say for sure you botted. human doesnt do that, their distribution diferences arent even. Use like gaussrangeint() or something. They way better. Also 1 walkpath doesnt help either.
http://i.imgur.com/tBop2iM.png
Actually this paper was i needed to do 100 measurements on some part using different tools. But what? 100? i am more clever than that, i just used random() :D And it Didnt passed because of step histrogram haha.....Teacher said its obvious use of random() :D
Harrier
12-21-2014, 10:12 AM
just to let you know, to mention someone you must do the following.
1. place this: @
2. Username
3. place this: ";"
so it would be undorak7;
Only SRL mems can do that lol For us peasants we do [Mention.][./mention]
Solar
12-21-2014, 12:19 PM
Only SRL mems can do that lol For us peasants we do [Mention.][./mention]
Pretty sure we can do that too Harrier;
Harrier
12-21-2014, 12:23 PM
Pretty sure we can do that too Harrier;
Hmmm, I swear I read that somewhere that it was SRL mem only for that O.o Guess I'm thinking about another forum
fastler
12-21-2014, 02:06 PM
http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html#clickmouse
Yeah, I'd highly recommend changing ClickMouse. It is sufficient for flash games, but for rs that's a big red flag afaik.
lanadekat
12-21-2014, 02:57 PM
This isn't necessary. Since SPS' functions call TRSMinimap.waitPlayerMoving which calls SRL_Events[EVENT_ANTIBAN](), all you need to do is:
procedure myAntiBan();
begin
...
end;
begin
SRL_Events[EVENT_ANTIBAN] = @myAntiBan;
end.
thanks that looks a lot easier!
If you used PowerBot\RSBot for runecrafting, Jagex said they have "100% detection rate" for that bot
yup, some people even got a "you used rsbot" somewhere I don't really know where.
Powerbot's answer to this was that they just call rsbot cus 90% of botters use it.
http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html#clickmouse
Yeah, I'd highly recommend changing ClickMouse. It is sufficient for flash games, but for rs that's a big red flag afaik.
That wasn't a permanent solution but I'll change that asap since it really seems botlike
Camel; sry wasn't able to add the quote anymore:
I got that I think, latest version is called aircrafter v4.4 right? And the walking is pretty confusing xD
Waits.......oh my... wait(3000), wait random(4000,6000). Its nothing more bot like they just use most simple statistical tools to get you banned. They compare average deviation diferences between waits and since random will be like very i mean very extremely even distributed its automatic ban. I can giv you research paper i done for school abour random waits. i mean 100 times is more than enough to say for sure you botted. human doesnt do that, their distribution diferences arent even. Use like gaussrangeint() or something. They way better. Also 1 walkpath doesnt help either.
Actually this paper was i needed to do 100 measurements on some part using different tools. But what? 100? i am more clever than that, i just used random() :D And it Didnt passed because of step histrogram haha.....Teacher said its obvious use of random() :D
what's the real difference between gaussrangeint() and randomrange()?
I have seen been used in other scripts but I don't get the difference.
cosmasjdz
12-21-2014, 05:13 PM
thanks that looks a lot easier!
yup, some people even got a "you used rsbot" somewhere I don't really know where.
Powerbot's answer to this was that they just call rsbot cus 90% of botters use it.
That wasn't a permanent solution but I'll change that asap since it really seems botlike
Camel; sry wasn't able to add the quote anymore:
I got that I think, latest version is called aircrafter v4.4 right? And the walking is pretty confusing xD
what's the real difference between gaussrangeint() and randomrange()?
I have seen been used in other scripts but I don't get the difference.
Gaus range will give you big human like cluster like for example random between 1 and 2 would be distributed evenly but gauss range would be like 80 percent in the range of 1,3 to 1,5 so no botlike even distribution.
Lipcot
12-21-2014, 07:06 PM
Hmmm, I swear I read that somewhere that it was SRL mem only for that O.o Guess I'm thinking about another forum
:p everyone can do it! its free!
http://fotomontajeonline.net/wp-content/uploads/2014/06/free.png
lanadekat
12-22-2014, 12:58 PM
This isn't necessary. Since SPS' functions call TRSMinimap.waitPlayerMoving which calls SRL_Events[EVENT_ANTIBAN](), all you need to do is:
procedure myAntiBan();
begin
...
end;
begin
SRL_Events[EVENT_ANTIBAN] = @myAntiBan;
end.
I tried this and I get an error:
Error: Operator "cmp_Equal" not compatible with types "Unknown" and "procedure()" at line 223
Compiling failed.
it's setup like this:
procedure WalkingAntiban; // still working on this
var
i: integer;
begin
i := random (1000);
begin
case i of
1..50: hoverSkill(SKILL_RUNECRAFTING);
50..100: smallRandomMouse();
100..200: pickUpMouse();
200..500: sleepAndMoveMouse(500 + gaussrangeint(2000)); // not sure if gassrangeint works here cus it probably needs 2 numbers ...
end;
end;
end;
begin
//basic stuff like setupSRL(); and stuff like that here
SRL_Events[EVENT_ANTIBAN] = @WalkingAntiban; // this is the error line
// repeat mainloop
end;
bonsai
12-22-2014, 02:14 PM
SRL_Events[EVENT_ANTIBAN] = @WalkingAntiban; // this is the error line
It's missing the ':' in the assignment...
SRL_Events[EVENT_ANTIBAN] := @WalkingAntiban; // this is the error line
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.