SRL Archive - Help

help compiling antiban


botter5214

2012-02-07 17:39:37

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

2012-02-07 17:43:37

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

2012-02-07 18:02:31

From: kevin33
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

2012-02-07 18:03:08

Not a problem. Happy to help.

botter5214

2012-02-07 18:19:32

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

2012-02-07 18:21:57

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

2012-02-07 18:24:10

From: begginer
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

2012-02-07 18:25:49

So post the error you get sir. :)

Kyle Undefined

2012-02-07 18:27:55

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

2012-02-07 18:33:51

From: Kyle Undefined
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