Log in

View Full Version : help compiling antiban



botter5214
02-07-2012, 10:39 PM
0: BeginStatsGuise ('AntiBan') GameTab (Tab_Stats) Hoverskill ('Attack', False); GameTab (28); End;

1: BeginStatsGuise ('AntiBan') GameTab (Tab_Stats) Hoverskill ('Random', False); GameTab (28); End;

2: BeginStatsGuise ('AntiBan') GameTab (Tab_Stats) ;Wait (2000 + Random (1000)); GameTab (28); End;

3: BeginStatsGuise ('AntiBan') SleepandMoveMouse (2000 + Random (1000)); End;

4: BeginStatsGuise ('AntiBan') GameTab (Tab_Inv) Examine Inv; GameTab (28);

5: BeginStatsGuise ('AntiBan') RandomAngle (1);


trying to compile this but receiving error [Error] (81:8): Unknown identifier 'BeginStatsGuise' at line 80


Wanting this to compile trying to create my first script

kevin33
02-07-2012, 10:43 PM
space out the begin from the Statsguise. Begin is a seperate string that starts the statsguise antiban case hence why there is also an end

botter5214
02-07-2012, 11:02 PM
space out the begin from the Statsguise. Begin is a seperate string that starts the statsguise antiban case hence why there is also an end

omg lol ty

kevin33
02-07-2012, 11:03 PM
Not a problem. Happy to help.

botter5214
02-07-2012, 11:19 PM
Function AttackCow ; Boolean;

Var
SS, BB, EE: Integer;



Begin
//FindObjCustom(x, y, ['att', 'ack'], [1189161, 3292994, 2369583, 8101049, 2501170, 6257040], 25);

If FindObjCustom (SS, BB, EE ['attack cow', 'tack cow', 'ack cow'], [1189161, 3292994, 2369583, 8101049, 2501170, 6257040], 25) Then
WriteIn ('O yeah found a cow!');

End;


would you happen to know what im doing wrong here? i was able to get colors an put uptext but im receiving error in my function for some reason

begginer
02-07-2012, 11:21 PM
Possibly post the full function or procedure.

Begin
//FindObjCustom(x, y, ['att', 'ack'], [1189161, 3292994, 2369583, 8101049, 2501170, 6257040], 25);

Remove those // at the beginning

botter5214
02-07-2012, 11:24 PM
Possibly post the full function or procedure.

Begin
//FindObjCustom(x, y, ['att', 'ack'], [1189161, 3292994, 2369583, 8101049, 2501170, 6257040], 25);

Remove those // at the beginning

na thats not it because thats just a skeleton to remind me of what info to put in doesnt effect compiling

begginer
02-07-2012, 11:25 PM
So post the error you get sir. :)

Kyle Undefined
02-07-2012, 11:27 PM
FindObjCustom takes two parameters in, x/y. You're passing in three with

FindObjCustom (SS, BB, EE

Try removing the EE and see what happens :)

botter5214
02-07-2012, 11:33 PM
FindObjCustom takes two parameters in, x/y. You're passing in three with

FindObjCustom (SS, BB, EE

Try removing the EE and see what happens :)

put an extra variable in there got confused thought u need one for each uptext or somethin i misunderstood that part thanks