View difference between Paste ID: 2taXhBpK and veKGfP3S
SHOW: | | - or go back to the newest paste.
1
SRL Member Accounts Working
2
3-
Get your exclusive scripts now !
3+
program SoulWars;
4
5-
Srl Accounts you can find here:
5+
{$DEFINE SMART}
6-
http://q.gs/t3hf
6+
{$Define CrashSmart}
7
{$i SRL/srl.simba}
8-
For other hosts here:
8+
{$i sps/sps.simba}
9-
http://q.gs/t3hf
9+
{$i SRL/SRL/skill/fighting.simba}
10
{$i SRL/SRL/misc/paintsmart.simba}
11-
Accounts UPDATING EVERY DAY !!!
11+
12
Const
13-
You can also find more here: http://q.gs/t3hf
13+
//Team Red or Blue
14
Team = 'Blue';
15
16-
Enjoy
16+
//Special True or False
17
UseSpecial = False;
18-
TAGS: (Please Ignore it)
18+
19-
january, february, march, april, may , june , july, august, september, october, november, december,  SRL , Simba , Runescape, Bot, Nuke, Bot Nuke , SRL member, SRL Member account, srl members, simba member,simba members, fresh ,latest working srl member accounts,hack srl, hacked srl account, hack srl member account, free srl member, simba runescape script, simba script , scar scripts, simba scripts, srl member scripts, srl member script
19+
//Prayer True or False
20
UsePrayer = False;
21
22
//This is the world you want it to select.
23
WorldChoice = 97;
24
25
26
Var
27
WaitPath: TPointArray;
28
Dead:Variant;
29
aFound: Extended;
30
31
32
Procedure DeclarePlayers;
33
Begin
34
  HowManyPlayers := 1;
35
  NumberOfPlayers(HowManyPlayers);
36
  CurrentPlayer := 0;
37
38
  With Players[0] Do
39
  Begin
40
    Name        := 'USER';     //Player username.
41
    Pass        := 'PASS';     //Player password.
42
    Nick        := ''; //Player nickname - 3-4 letters of Player username.
43
    Active      := True;
44
  End;
45
46
End;
47
48
Procedure SetupChar;
49
50
  Begin
51
    SetupSRL();
52
    SetAngle(0);
53
    ClickNorth(0);
54
    Wait(250);
55
    Mouse(90,493,2,2,True);
56
    SPS_Setup(RUNESCAPE_SURFACE,['0_12','1_12','2_12','2_13','1_13','0_13']);
57
  end;
58
Procedure Proggy;
59
 begin
60
  ClearDebug;
61
  Writeln('============================================');
62
  Writeln('================Soul Wars XXX===============');
63
  Writeln('============================================');
64
  Writeln('Ive been playing for ' + TimeRunning + ' YW!');
65
  Writeln('============================================');
66
  Writeln('===============By shad0w ruler================');
67
  Writeln('============================================');
68
  end;
69
Procedure RandomWalk;
70
begin
71
  SPS_WalkPath(WaitPath);
72
end;
73
Procedure Waiting;
74
Begin
75
  writeln('Waiting for game to start.');
76
  writeln('Waiting for game to start..');
77
  writeln('Waiting for game to start...');
78
  writeln('Waiting for game to start....');
79
  writeln('Waiting for game to start.....');
80
  writeln('Waiting for game to start......');
81
  writeln('Waiting for game to start.......');
82
  writeln('Waiting for game to start........');
83
  case random(11) of
84
    0 : GameTab(27);
85
    1 : RandomWalk;
86
    2 : Wait(500 +Random(750));
87
    3 : RandomRClick;
88
    4 : BoredHuman;
89
    5 : HoverSkill(skill_strength,false);
90
    6 : HoverSkill(skill_hitpoints,false);
91
    7 : GameTab(23);
92
    8 : PickUpMouse;
93
    9 : Wait(randomrange(1000,2000));
94
    10: HoverSkill('attack',false);
95
  end;
96
Wait(randomrange(2500,5000));
97
end;
98
99
procedure CrashSMART;
100
begin
101
  Writeln('You are using CRASHSMART, so we are going to reload your client after the RS update!');
102
  SmartgetFieldObject(1488,'crash'); // will crash SMART (and Simba).
103
  // IF THIS DOES NOT CRASH YOUR SIMBA, YOU ARE NOT USING THE PROPER PLUGIN
104
  // AN ACCESS VIOLATION HERE IS NOT THE CRASH; MAKE SURE YOU MOVED THE EDITED PLUGIN
105
  Wait(5000);
106
  WriteLn('CRASHSMART Failed: Make sure you are using the proper plugin!');
107
  WriteLn('Read more about this feature at villavu.com/forum/showthread.php?t=67864');
108
  TerminateScript;
109
end;
110
111
Procedure Startup;
112
Begin
113
  Smart_Server := 27;
114
  Smart_Members:= true;
115
  Smart_Signed := true;
116
  SetupSRL;
117
  SRL_Procs[srl_OnRSUpdate] := @CrashSMART;
118
  DeclarePlayers;
119
  LoginPlayerToLob;
120
  SelectWorld(WorldChoice);
121
  LogInPlayer;
122
  MouseSpeed := 500;
123
//  OpenWebPage('http://www.youtube.com/watch?v=C3oi8ceCEMk');
124
//  OpenWebPage('http://www.sythe.org/showthread.php?t=1346484');
125
  wait(100+random(100));
126
end;
127
128
Function UInFight: Boolean;
129
begin
130
  Wait(100);
131
  Writeln('Pixel shift of '+IntToStr(averagePixelShift(IntToBox(234, 100, 289, 185), 100, 300)));
132
   if (averagePixelShift(IntToBox(234, 100, 289, 185), 120, 360) > 400) then
133
  Begin
134
    Result := True;
135
    Exit;
136
  end else
137
  if not InFight then
138
    Result :=False;
139
    Exit;
140
end;
141
142
Procedure ToRPortal;
143
Var
144
  myPath: TPointArray;
145
  Begin
146
    myPath := [Point(680, 5254), Point(681, 5260), Point(681, 5267), Point(680, 5271), Point(681, 5276), Point(681, 5284), Point(681, 5289), Point(681, 5295), Point(682, 5300), Point(688, 5304), Point(694, 5306), Point(697, 5306), Point(705, 5306), Point(711, 5309), Point(720, 5311)];
147
    SPS_WalkPath(myPath);
148
    MakeCompass('E');
149
    Wait(500);
150
  end;
151
152
Procedure ToBPortal;
153
Var
154
  myPath: TPointArray;
155
  Begin
156
  Writeln('Going to blue portal');
157
    myPath := [Point(680, 5247), Point(680, 5249), Point(680, 5254), Point(680, 5254), Point(680, 5255), Point(680, 5257), Point(680, 5260), Point(680, 5267), Point(680, 5269), Point(680, 5273), Point(680, 5276), Point(680, 5278), Point(680, 5280), Point(680, 5282), Point(680, 5285), Point(680, 5287), Point(680, 5289), Point(680, 5291), Point(680, 5294), Point(680, 5297), Point(678, 5300), Point(675, 5302), Point(668, 5304), Point(666, 5306), Point(661, 5306), Point(656, 5308), Point(650, 5308), Point(648, 5309), Point(645, 5309), Point(641, 5310)];
158
    SPS_WalkPath(myPath);
159
    MakeCompass('W');
160
    Wait(500);
161
  end;
162
163
164
Function GetText3: String;
165
Begin
166
Result := GetTextAtExWrap(185, 15, 223, 33, 1, 7, 3, 2070783, 2, CharsNPc);
167
end;
168
169
Function GetText2: String;
170
Begin
171
Result := GetTextAtExWrap(454, 27, 495, 39, 0, 5, 2, 39423, 5, StatChars);
172
end;
173
174
Function GetText: String;
175
Begin
176
Result := GetTextAtExWrap(397, 47, 475, 59, 0, 5, 2, 39423, 5, StatChars);
177
end;
178
179
Function CGame:Variant;
180
Var
181
Lobby,Red,Blue: TBox;
182
Begin
183
Lobby:= PointToBox(Point(620, 5232), Point(734, 5342));
184
Red:= PointToBox(Point(653, 5256), Point(677, 5296));
185
Blue:= PointToBox(Point(684, 5256), Point(708, 5296));
186
     If PointInBox(SPS_GetMyPos, Lobby) or PointInBox(SPS_GetMyPos, Red) or PointInBox(SPS_GetMyPos, Blue) or (FindNPCChatText('partipication in this game.',nothing)) or (GetText3 = 'N5W') Then
187
Begin
188
Result := True;
189
Writeln('Game is Finished');
190
end else
191
begin
192
Result := false;
193
Writeln('Game is still going');
194
end;
195
End;
196
Function FindCol(Px,Py,Px2,Py2,Col,tol:Integer):Boolean;
197
Var
198
X,Y:Integer;
199
Begin
200
Result := FindColorTolerance(X,Y,Col,Px,Py,Px2,Py2,tol);
201
End;
202
Procedure Prayer;
203
Begin
204
If UsePrayer = True and FindCol(706,53,733,84,7287880,40) then
205
begin
206
Mouse(723,71,3,3,true);
207
end else if UsePrayer = False then Exit;
208
End;
209
Procedure Special;
210
Begin
211
If FindCol(567,410,711,432,2070783,3) then Exit;
212
If UseSpecial = True then
213
begin
214
Mouse(536,187,3,3,true);
215
Wait(500);
216
Mouse(639,426,3,3,true);
217
end else if UseSpecial = False then Exit;
218
End;
219
220
Function FindBarrier(Up,Option:Array of String;Color,Tolerance:Integer;MC2:Variant;Hmod,Smod:Extended): Boolean;
221
  var
222
  X,Y:Integer;
223
    CTS,I,J: Integer;
224
    TPA,OBox: TPointArray;
225
    Box:TBox;
226
    ATPA:T2DPointArray;
227
228
    begin
229
    MarkTime(J);
230
  repeat
231
    Result := False;
232
    CTS := GetColorToleranceSpeed;
233
    OBox := TPAFromBox(IntToBox(266, 18, 384, 82));
234
235
    ColorToleranceSpeed(2);
236
237
    SetColorSpeed2Modifiers(Hmod,Smod);
238
239
     FindColorsSpiralTolerance(MSCX, MSCY, TPA,(Color), MSX1, MSY1, MSX2, MSY2, Tolerance);
240
     ColorToleranceSpeed(CTS);
241
     TPA := ClearTPAFromTPA(TPA, OBox);
242
243
     ATPA := TPAtoATPAEx(TPA,25,25);
244
     SortATPAFrom(ATPA,Point(257,157));
245
246
For i := 0 to High(ATPA) do
247
begin
248
    if (Length(TPA) < 1) then
249
      Exit;
250
     Box := GetATPABounds(ATPA);
251
     SMART_DrawBoxEx(False,IntToBox(Box.X1,Box.Y1,Box.X2,Box.Y2),65320);
252
     SMART_DrawDotsEx(false, TPA, 65320);
253
     MiddleTPAEx(ATPA[i],X,Y);
254
     MMouse(X,Y,5,5);
255
     SMART_ClearCanvas;
256
     if WaitUpTextMulti(Up, 400) then
257
    begin
258
      GetMousePos(X, Y);
259
      ClickMouse2(MC2);
260
      ChooseOptionMulti(Option);
261
      Result := True;
262
      Exit;
263
    end;
264
    end;
265
    Until (TimeFromMark(J) > 2500);
266
    end;
267
268
Function FindObjOnScreen(Up,Option:Array of String;Color,Tolerance:Integer;MC2:Variant;Hmod,Smod:Extended): Boolean;
269
  var
270
  X,Y:Integer;
271
    CTS,I,J: Integer;
272
    TPA,Pbox: TPointArray;
273
    Box:TBox;
274
    ATPA:T2DPointArray;
275
276
    begin
277
  repeat
278
    Result := False;
279
    CTS := GetColorToleranceSpeed;
280
    PBox := TPAFromBox(IntToBox(245, 135, 280, 185));
281
282
    ColorToleranceSpeed(2);
283
284
    SetColorSpeed2Modifiers(Hmod,Smod);
285
286
     FindColorsSpiralTolerance(MSCX, MSCY, TPA,(Color), MSX1, MSY1, MSX2, MSY2, Tolerance);
287
    ColorToleranceSpeed(CTS);
288
     TPA := ClearTPAFromTPA(TPA, PBox);
289
290
     ATPA := TPAtoATPAEx(TPA,25,25);
291
     SortATPAFrom(ATPA,Point(257,157));
292
293
For i := 0 to High(ATPA) do
294
begin
295
    if (Length(TPA) < 1) then
296
      Exit;
297
     Box := GetATPABounds(ATPA);
298
     SMART_DrawBoxEx(False,IntToBox(Box.X1,Box.Y1,Box.X2,Box.Y2),65320);
299
     SMART_DrawDotsEx(false, TPA, 65320);
300
     MiddleTPAEx(ATPA[i],X,Y);
301
     MMouse(X,Y,5,5);
302
     SMART_ClearCanvas;
303
     if WaitUpTextMulti(Up, 400) then
304
    begin
305
      GetMousePos(X, Y);
306
      ClickMouse2(MC2);
307
      ChooseOptionMulti(Option);
308
      Result := True;
309
      Exit;
310
    end;
311
    end;
312
    Until (TimeFromMark(J) > 2500);
313
    end;
314
315
Function BlueDead: Variant;
316
317
Var
318
  Grave1,Grave2,Spawn: TBox;
319
320
  Begin
321
    Spawn  := PointToBox(Point(382, 5029), Point(415, 5076));
322
    Grave1 := PointToBox(Point(843, 4964), Point(861, 4979));
323
    Grave2 := PointToBox(Point(480, 5074), Point(505, 5092));
324
325
      If FindBlackChatMessage('can only exit this') then Exit;
326
      If PointInBox(SPS_GetMyPos, Spawn) or PointInBox(SPS_GetMyPos, Grave1) or PointInBox(SPS_GetMyPos, Grave2) then
327
         Begin
328
         Repeat
329
         WriteLN('You Have Died!');
330
            SPS_WalkToPos(Point(383, 5054));
331
            If CGame = true then Exit;
332
            MakeCompass(RandomRange(0,359));
333
             FindBarrier(['Pass Blue barrier','ass','lue','arier','rier','Blue'],['Blue barrier'],12287846,10,False,0.26,1.56);
334
            Wait(1850);
335
          Until SPS_PosOnMM(Point(489, 5070)) or  SPS_PosOnMM(Point(853, 4980)) or SPS_PosOnMM(Point(380, 5052)) or  SPS_PosOnMM(Point(853, 4981)) or CGame = True;
336
         Result := True;
337
         Dead := True;
338
         Prayer;
339
         Special;
340
         Exit;
341
       end else
342
       Result := False;
343
       Dead := False;
344
   end;
345
346
Function RedDead: Variant;
347
348
Var
349
  Grave1,Grave2,Spawn: TBox;
350
351
  Begin
352
    Spawn  := PointToBox(Point(927, 4977), Point(950, 5017));
353
    Grave1 := PointToBox(Point(844, 4965), Point(860, 4978));
354
    Grave2 := PointToBox(Point(481, 5075), Point(502, 5090));
355
356
      If PointInBox(SPS_GetMyPos, Spawn) or PointInBox(SPS_GetMyPos, Grave1) or PointInBox(SPS_GetMyPos, Grave2) or FindBlackChatMessage('15 seconds before') then
357
         Begin
358
         WriteLN('You Have Died!');
359
          Repeat
360
            FindBarrier(['Pass Red barrier','ass','ed','arier','rier','Red'],['Red barrier'],4277360,9,False,0.03,0.72);
361
            wait(1450);
362
          Until SPS_PosOnMM(Point(489, 5073)) or  SPS_PosOnMM(Point(381, 5054)) or  SPS_PosOnMM(Point(382, 5054)) or  SPS_PosOnMM(Point(381, 5055)) or  SPS_PosOnMM(Point(853, 4980)) or  SPS_PosOnMM(Point(853, 4981)) or CGame = True;
363
         Dead := True;
364
         Result := True;
365
         Prayer;
366
         Special;
367
         Exit;
368
       end else
369
       Dead := False;
370
       Result := False;
371
         end;
372
373
Procedure BO1;
374
Var
375
  myPath: TPointArray;
376
 begin
377
  myPath := [Point(489, 5074), Point(489, 5073), Point(491, 5070), Point(491, 5068), Point(491, 5066), Point(492, 5064), Point(492, 5063), Point(493, 5061), Point(494, 5059), Point(495, 5055), Point(497, 5053), Point(497, 5051), Point(498, 5049), Point(499, 5047), Point(501, 5046), Point(501, 5045), Point(502, 5044), Point(504, 5041), Point(504, 5041), Point(505, 5038), Point(506, 5038), Point(507, 5037), Point(508, 5037), Point(510, 5036), Point(511, 5034), Point(514, 5032), Point(515, 5031), Point(516, 5030)];
378
  SPS_WalkPath(myPath);
379
 end;
380
381
Procedure BO2;
382
Var
383
  myPath: TPointArray;
384
 begin
385
  myPath := [Point(519, 5027), Point(521, 5027), Point(524, 5025), Point(526, 5025), Point(529, 5023), Point(533, 5022), Point(537, 5022), Point(541, 5022), Point(545, 5022), Point(547, 5022), Point(550, 5022), Point(552, 5022), Point(555, 5022), Point(559, 5022), Point(560, 5022), Point(562, 5022), Point(565, 5022), Point(567, 5022), Point(569, 5022), Point(570, 5022), Point(572, 5022), Point(574, 5023), Point(580, 5023), Point(579, 5024), Point(585, 5024), Point(587, 5023), Point(592, 5023), Point(595, 5022), Point(597, 5021), Point(600, 5021), Point(601, 5021), Point(602, 5021), Point(608, 5021), Point(608, 5022), Point(612, 5022), Point(614, 5022)];
386
  SPS_WalkPath(myPath);
387
 end;
388
389
Procedure BO3;
390
Var
391
  myPath: TPointArray;
392
 begin
393
  myPath := [Point(751, 5032), Point(748, 5032), Point(747, 5032), Point(744, 5031), Point(738, 5029), Point(734, 5028), Point(727, 5028), Point(727, 5028), Point(721, 5029), Point(721, 5029), Point(716, 5029), Point(712, 5029), Point(710, 5027), Point(707, 5027), Point(703, 5028), Point(701, 5028), Point(698, 5028), Point(692, 5028), Point(691, 5027), Point(687, 5027), Point(687, 5029), Point(691, 5032), Point(696, 5032), Point(695, 5026), Point(690, 5023), Point(697, 5024), Point(696, 5022), Point(700, 5032), Point(697, 5032), Point(691, 5032), Point(685, 5029), Point(687, 5024), Point(697, 5022), Point(700, 5028)];
394
  SPS_WalkPath(myPath);
395
 end;
396
397
Procedure BO4;
398
Var
399
  myPath: TPointArray;
400
 begin
401
  myPath := [Point(613, 5023), Point(613, 5023), Point(616, 5023), Point(618, 5023), Point(620, 5023), Point(623, 5025), Point(626, 5027), Point(628, 5027), Point(634, 5032), Point(636, 5033), Point(638, 5034), Point(641, 5034), Point(643, 5036), Point(646, 5037), Point(650, 5038), Point(651, 5041), Point(655, 5040), Point(659, 5039), Point(661, 5039), Point(664, 5039), Point(668, 5039), Point(670, 5039), Point(673, 5039), Point(674, 5039), Point(678, 5038), Point(681, 5038), Point(682, 5038), Point(685, 5035), Point(689, 5033), Point(694, 5033), Point(695, 5033), Point(700, 5032)];
402
  SPS_WalkPath(myPath);
403
 end;
404
405
Procedure BH1;
406
Var
407
  myPath: TPointArray;
408
begin
409
  myPath := [Point(854, 4981), Point(853, 4985), Point(853, 4987), Point(855, 4990), Point(855, 4991), Point(856, 4993), Point(856, 4996), Point(858, 4998), Point(858, 5000), Point(859, 5001), Point(860, 5004), Point(860, 5006), Point(862, 5008), Point(863, 5010), Point(863, 5013), Point(864, 5018), Point(867, 5021), Point(869, 5025), Point(869, 5030), Point(871, 5033), Point(872, 5034)];
410
  SPS_WalkPath(myPath);
411
end;
412
413
Procedure BH2;
414
Var
415
  myPath: TPointArray;
416
begin
417
  myPath := [Point(869, 5036), Point(870, 5039), Point(871, 5040), Point(872, 5042), Point(872, 5043), Point(875, 5046), Point(875, 5046), Point(878, 5049), Point(879, 5049), Point(880, 5051), Point(882, 5055), Point(883, 5055), Point(884, 5057), Point(885, 5058), Point(887, 5059), Point(889, 5062), Point(891, 5063), Point(891, 5063), Point(894, 5065), Point(895, 5065), Point(897, 5066), Point(899, 5067), Point(901, 5068), Point(902, 5069), Point(904, 5071), Point(905, 5072), Point(906, 5074), Point(908, 5074), Point(909, 5075), Point(911, 5078), Point(912, 5078), Point(915, 5079), Point(916, 5081), Point(919, 5081), Point(920, 5082)];
418
  SPS_WalkPath(myPath);
419
end;
420
421
Procedure BH3;
422
Var
423
  myPath: TPointArray;
424
begin
425
  myPath := [Point(922, 5084), Point(922, 5085), Point(924, 5086), Point(926, 5088), Point(926, 5088), Point(929, 5089), Point(931, 5092), Point(933, 5094), Point(936, 5095), Point(937, 5096), Point(940, 5098), Point(943, 5098), Point(946, 5099), Point(950, 5099), Point(953, 5099), Point(956, 5099), Point(958, 5099), Point(961, 5099), Point(966, 5099), Point(969, 5099), Point(971, 5099), Point(974, 5097), Point(975, 5096), Point(977, 5091), Point(978, 5087), Point(980, 5084), Point(981, 5083), Point(982, 5079), Point(982, 5077), Point(982, 5074), Point(984, 5068), Point(983, 5070), Point(983, 5063), Point(984, 5061), Point(984, 5058), Point(985, 5056), Point(985, 5053)];
426
  SPS_WalkPath(myPath);
427
end;
428
429
Procedure BH4;
430
Var
431
  myPath: TPointArray;
432
begin
433
  myPath := [Point(987, 5047), Point(987, 5045), Point(987, 5044), Point(988, 5040), Point(988, 5039), Point(988, 5035), Point(989, 5033), Point(988, 5032), Point(985, 5025), Point(985, 5020), Point(985, 5018), Point(985, 5014), Point(986, 5011), Point(986, 5008), Point(986, 5006), Point(986, 5003), Point(982, 5001), Point(982, 5001), Point(985, 4998), Point(987, 4999), Point(988, 5000), Point(988, 5001), Point(986, 5002), Point(985, 5002), Point(982, 5001), Point(982, 5000), Point(982, 4999), Point(983, 4999)];
434
  SPS_WalkPath(myPath);
435
end;
436
437
Procedure BG1;
438
Var
439
  myPath: TPointArray;
440
begin
441
  myPath := [Point(546, 5020), Point(547, 5019), Point(550, 5019), Point(551, 5019), Point(555, 5020), Point(557, 5020), Point(558, 5020), Point(561, 5021), Point(564, 5021), Point(566, 5021), Point(569, 5020), Point(572, 5019), Point(576, 5020), Point(580, 5019), Point(581, 5021), Point(587, 5020), Point(589, 5020), Point(592, 5020), Point(592, 5020), Point(594, 5020), Point(598, 5020), Point(601, 5020), Point(604, 5019), Point(610, 5019), Point(612, 5021), Point(616, 5021), Point(626, 5023), Point(631, 5024), Point(633, 5025), Point(634, 5026), Point(637, 5028), Point(639, 5028), Point(641, 5028), Point(643, 5028), Point(646, 5028), Point(650, 5029), Point(651, 5033), Point(653, 5035), Point(656, 5035), Point(660, 5035), Point(664, 5034), Point(667, 5034), Point(672, 5032), Point(674, 5030), Point(678, 5030), Point(684, 5030), Point(686, 5029), Point(690, 5028), Point(694, 5027), Point(696, 5027), Point(699, 5027), Point(702, 5026), Point(708, 5026), Point(710, 5028), Point(715, 5028), Point(720, 5028), Point(725, 5028), Point(730, 5027), Point(734, 5027), Point(738, 5028), Point(741, 5028), Point(745, 5028), Point(746, 5029), Point(750, 5029), Point(755, 5029), Point(759, 5028), Point(761, 5029), Point(766, 5029), Point(769, 5029), Point(772, 5028), Point(776, 5028), Point(779, 5028)];
442
  SPS_WalkPath(myPath);
443
end;
444
445
Procedure BG2;
446
Var
447
  myPath: TPointArray;
448
begin
449
  myPath := [Point(775, 5027), Point(777, 5027), Point(780, 5028), Point(783, 5028), Point(787, 5028), Point(793, 5029), Point(794, 5029), Point(801, 5028), Point(803, 5027), Point(807, 5025), Point(811, 5024), Point(815, 5022), Point(820, 5022), Point(826, 5021), Point(830, 5019), Point(834, 5016), Point(836, 5014), Point(838, 5009), Point(839, 5007), Point(839, 5005), Point(840, 5003), Point(842, 5001), Point(843, 4999)];
450
  SPS_WalkPath(myPath);
451
end;
452
453
Procedure BG3;
454
Var
455
  myPath: TPointArray;
456
begin
457
  myPath := [Point(845, 4997), Point(848, 4993), Point(851, 4989), Point(851, 4987), Point(852, 4983), Point(849, 4982), Point(857, 4981), Point(852, 4985), Point(849, 4985), Point(847, 4984), Point(845, 4982), Point(846, 4986), Point(849, 4986), Point(854, 4988), Point(854, 4987), Point(854, 4985)];
458
  SPS_WalkPath(myPath);
459
end;
460
461
Procedure BHG1;
462
Var
463
  myPath: TPointArray;
464
begin
465
  myPath := [Point(379, 5052), Point(378, 5052), Point(376, 5052), Point(374, 5052), Point(372, 5052), Point(370, 5052), Point(366, 5051), Point(365, 5051), Point(363, 5050), Point(362, 5048), Point(362, 5047), Point(361, 5045), Point(359, 5045), Point(358, 5044), Point(356, 5042), Point(355, 5042), Point(354, 5041), Point(350, 5035), Point(350, 5038), Point(349, 5033), Point(349, 5031), Point(349, 5028), Point(349, 5026), Point(349, 5024), Point(349, 5023), Point(349, 5020), Point(349, 5018), Point(349, 5015), Point(349, 5014), Point(349, 5013), Point(349, 5010), Point(349, 5008), Point(349, 5007), Point(349, 5005), Point(350, 5004), Point(351, 4999), Point(351, 4997), Point(352, 4994), Point(353, 4992), Point(354, 4991), Point(355, 4986), Point(356, 4983), Point(358, 4980), Point(359, 4976), Point(361, 4973), Point(364, 4970), Point(365, 4967), Point(369, 4962), Point(373, 4958), Point(376, 4958), Point(381, 4957), Point(384, 4957), Point(386, 4957)];
466
  SPS_WalkPath(myPath);
467
end;
468
469
Procedure BHG2;
470
Var
471
  myPath: TPointArray;
472
begin
473
  myPath := [Point(386, 4954), Point(388, 4955), Point(390, 4957), Point(392, 4958), Point(393, 4958), Point(395, 4959), Point(396, 4959), Point(398, 4960), Point(400, 4960), Point(403, 4961), Point(404, 4963), Point(406, 4964), Point(409, 4967), Point(412, 4970), Point(412, 4970), Point(413, 4971), Point(415, 4973), Point(417, 4974), Point(419, 4977), Point(419, 4978), Point(423, 4979), Point(424, 4980), Point(425, 4981), Point(428, 4983), Point(429, 4983), Point(431, 4985), Point(432, 4986), Point(434, 4988), Point(435, 4989), Point(438, 4994), Point(439, 4995), Point(440, 4996), Point(443, 4998), Point(444, 5000), Point(446, 5002), Point(446, 5003)];
474
  SPS_WalkPath(myPath);
475
end;
476
477
Procedure BHG3;
478
Var
479
  myPath: TPointArray;
480
begin
481
  myPath := [Point(446, 5006), Point(448, 5008), Point(450, 5009), Point(452, 5012), Point(458, 5015), Point(460, 5017), Point(457, 5015), Point(462, 5018), Point(464, 5020), Point(465, 5022), Point(467, 5023), Point(468, 5024), Point(471, 5027), Point(472, 5028), Point(472, 5029), Point(474, 5031), Point(475, 5033), Point(475, 5036), Point(477, 5037), Point(477, 5039), Point(479, 5041), Point(481, 5046), Point(481, 5046), Point(481, 5048), Point(483, 5048), Point(483, 5051), Point(485, 5053), Point(485, 5054), Point(485, 5055), Point(487, 5059), Point(487, 5059), Point(487, 5064), Point(487, 5065), Point(487, 5068), Point(487, 5068), Point(487, 5068), Point(487, 5068), Point(487, 5068), Point(488, 5068), Point(488, 5068), Point(488, 5068), Point(489, 5067), Point(489, 5066), Point(487, 5066), Point(487, 5066), Point(486, 5066)];
482
  SPS_WalkPath(myPath);
483
end;
484
485
Procedure RO1;
486
Var
487
  myPath: TPointArray;
488
 begin
489
  myPath := [Point(852, 4982), Point(852, 4982), Point(852, 4984), Point(852, 4985), Point(852, 4987), Point(852, 4988), Point(852, 4990), Point(852, 4992), Point(851, 4994), Point(851, 4996), Point(850, 4997), Point(849, 5000), Point(847, 5001), Point(846, 5003), Point(845, 5003), Point(844, 5005), Point(843, 5006), Point(841, 5008), Point(837, 5012), Point(838, 5012), Point(838, 5011), Point(835, 5014), Point(829, 5016), Point(830, 5016), Point(825, 5020), Point(824, 5020), Point(824, 5023), Point(822, 5025), Point(820, 5026)];
490
  SPS_WalkPath(myPath);
491
 end;
492
493
Procedure RO2;
494
Var
495
  myPath: TPointArray;
496
 begin
497
  myPath := [Point(816, 5027), Point(816, 5028), Point(813, 5028), Point(811, 5028), Point(810, 5028), Point(807, 5028), Point(807, 5028), Point(801, 5028), Point(799, 5028), Point(798, 5028), Point(795, 5028), Point(788, 5028), Point(789, 5028), Point(786, 5028), Point(784, 5028), Point(782, 5028), Point(779, 5029), Point(775, 5029), Point(772, 5029), Point(772, 5029), Point(766, 5029), Point(763, 5029), Point(759, 5029), Point(758, 5029), Point(757, 5029), Point(755, 5029), Point(753, 5029), Point(752, 5029), Point(750, 5029), Point(748, 5029), Point(746, 5029), Point(745, 5028), Point(741, 5028)];
498
  SPS_WalkPath(myPath);
499
 end;
500
501
Procedure RO3;
502
Var
503
  myPath: TPointArray;
504
 begin
505
  myPath := [Point(738, 5031), Point(735, 5031), Point(731, 5029), Point(729, 5029), Point(727, 5029), Point(725, 5029), Point(722, 5030), Point(716, 5030), Point(715, 5030), Point(713, 5029), Point(711, 5029), Point(709, 5029), Point(706, 5028), Point(704, 5028), Point(703, 5028), Point(701, 5028), Point(699, 5026), Point(697, 5026), Point(696, 5026), Point(694, 5026), Point(693, 5026), Point(692, 5026), Point(689, 5027), Point(688, 5027), Point(685, 5027), Point(685, 5027), Point(681, 5027), Point(679, 5027), Point(676, 5029), Point(675, 5029), Point(672, 5029), Point(667, 5030), Point(665, 5030), Point(664, 5030), Point(664, 5028), Point(663, 5024), Point(667, 5023), Point(669, 5023), Point(670, 5025), Point(670, 5025), Point(670, 5027), Point(668, 5027), Point(668, 5027), Point(664, 5024), Point(670, 5024)];
506
  SPS_WalkPath(myPath);
507
 end;
508
509
Procedure RH1;
510
Var
511
  myPath: TPointArray;
512
begin
513
  myPath := [Point(443, 4996), Point(442, 4993), Point(440, 4992), Point(435, 4990), Point(432, 4987), Point(429, 4985), Point(426, 4984), Point(425, 4982), Point(421, 4977), Point(419, 4976), Point(417, 4975), Point(415, 4973), Point(413, 4972), Point(410, 4970), Point(408, 4968), Point(406, 4966), Point(403, 4965), Point(400, 4964), Point(395, 4962), Point(390, 4962), Point(389, 4962), Point(384, 4962), Point(382, 4962), Point(379, 4962), Point(375, 4962), Point(372, 4962), Point(369, 4963), Point(366, 4965), Point(364, 4966), Point(363, 4969), Point(362, 4971), Point(360, 4973), Point(356, 4975), Point(356, 4978), Point(355, 4981), Point(355, 4985), Point(354, 4986), Point(353, 4989), Point(353, 4991), Point(352, 4993)];
514
  SPS_WalkPath(myPath);
515
end;
516
517
Procedure RH2;
518
Var
519
  myPath: TPointArray;
520
begin
521
  myPath := [Point(869, 5036), Point(870, 5039), Point(871, 5040), Point(872, 5042), Point(872, 5043), Point(875, 5046), Point(875, 5046), Point(878, 5049), Point(879, 5049), Point(880, 5051), Point(882, 5055), Point(883, 5055), Point(884, 5057), Point(885, 5058), Point(887, 5059), Point(889, 5062), Point(891, 5063), Point(891, 5063), Point(894, 5065), Point(895, 5065), Point(897, 5066), Point(899, 5067), Point(901, 5068), Point(902, 5069), Point(904, 5071), Point(905, 5072), Point(906, 5074), Point(908, 5074), Point(909, 5075), Point(911, 5078), Point(912, 5078), Point(915, 5079), Point(916, 5081), Point(919, 5081), Point(920, 5082)];
522
  SPS_WalkPath(myPath);
523
end;
524
525
Procedure RH3;
526
Var
527
  myPath: TPointArray;
528
begin
529
  myPath := [Point(350, 4995), Point(350, 4997), Point(350, 4999), Point(349, 5000), Point(349, 5003), Point(349, 5004), Point(349, 5006), Point(349, 5008), Point(349, 5009), Point(349, 5011), Point(349, 5014), Point(349, 5016), Point(348, 5018), Point(348, 5022), Point(347, 5024), Point(348, 5027), Point(349, 5028), Point(349, 5031), Point(348, 5033), Point(348, 5035), Point(348, 5039), Point(349, 5045), Point(349, 5046), Point(349, 5048), Point(349, 5052), Point(348, 5055), Point(348, 5057), Point(348, 5059), Point(347, 5063), Point(347, 5067), Point(347, 5068), Point(346, 5071), Point(346, 5074), Point(346, 5079), Point(346, 5081), Point(347, 5084), Point(347, 5088), Point(347, 5095), Point(348, 5094), Point(348, 5092), Point(348, 5091), Point(348, 5091), Point(347, 5085), Point(347, 5083), Point(347, 5096), Point(347, 5096), Point(345, 5092), Point(345, 5092), Point(345, 5092), Point(344, 5092)];
530
  SPS_WalkPath(myPath);
531
end;
532
533
Procedure RG1;
534
Var
535
  myPath: TPointArray;
536
begin
537
  myPath := [Point(774, 5031), Point(769, 5032), Point(766, 5030), Point(763, 5028), Point(757, 5029), Point(753, 5028), Point(747, 5028), Point(744, 5031), Point(739, 5031), Point(736, 5030), Point(732, 5029), Point(723, 5029), Point(715, 5029), Point(710, 5029), Point(704, 5030), Point(700, 5030), Point(692, 5033), Point(687, 5034), Point(683, 5037), Point(675, 5038), Point(668, 5039), Point(650, 5033), Point(646, 5029), Point(630, 5022), Point(619, 5023), Point(603, 5021), Point(598, 5021), Point(595, 5020), Point(592, 5020), Point(587, 5020), Point(583, 5021), Point(580, 5021), Point(574, 5021), Point(570, 5020), Point(568, 5021), Point(565, 5021), Point(563, 5021), Point(560, 5021), Point(558, 5022), Point(555, 5023), Point(554, 5024), Point(551, 5024), Point(547, 5024)];
538
  SPS_WalkPath(myPath);
539
end;
540
541
Procedure RG2;
542
Var
543
  myPath: TPointArray;
544
begin
545
  myPath := [Point(539, 5020), Point(536, 5020), Point(535, 5021), Point(528, 5023), Point(530, 5023), Point(524, 5024), Point(520, 5026), Point(517, 5027), Point(514, 5030), Point(511, 5031), Point(508, 5033), Point(504, 5035), Point(503, 5037), Point(500, 5038), Point(499, 5040), Point(497, 5041), Point(494, 5044)];
546
  SPS_WalkPath(myPath);
547
end;
548
549
Procedure RG3;
550
Var
551
  myPath: TPointArray;
552
begin
553
  myPath := [Point(492, 5042), Point(490, 5044), Point(489, 5045), Point(488, 5048), Point(487, 5050), Point(487, 5052), Point(487, 5054), Point(487, 5056), Point(487, 5058), Point(486, 5061), Point(486, 5062), Point(486, 5063), Point(486, 5064), Point(487, 5066), Point(487, 5066), Point(487, 5067), Point(487, 5068), Point(487, 5070), Point(488, 5070), Point(492, 5071), Point(490, 5071), Point(488, 5069), Point(488, 5069), Point(490, 5068), Point(490, 5067), Point(486, 5067), Point(487, 5068), Point(491, 5071), Point(491, 5071)];
554
  SPS_WalkPath(myPath);
555
end;
556
557
Procedure RHG1;
558
Var
559
  myPath: TPointArray;
560
begin
561
  myPath := [Point(958, 4994), Point(962, 4995), Point(967, 4995), Point(971, 4996), Point(973, 4996), Point(974, 4997), Point(975, 4999), Point(976, 4999), Point(978, 5002), Point(978, 5003), Point(981, 5005), Point(981, 5006), Point(984, 5011), Point(985, 5013), Point(985, 5013), Point(987, 5015), Point(986, 5020), Point(987, 5022), Point(988, 5025), Point(988, 5028), Point(988, 5030), Point(989, 5033), Point(989, 5034), Point(989, 5036), Point(989, 5039), Point(989, 5041), Point(989, 5042), Point(989, 5044), Point(989, 5046), Point(987, 5049), Point(986, 5050), Point(986, 5052), Point(985, 5056), Point(984, 5060), Point(984, 5061), Point(984, 5063), Point(984, 5065), Point(984, 5067), Point(983, 5069), Point(983, 5071), Point(982, 5072), Point(982, 5076), Point(981, 5079), Point(980, 5081), Point(979, 5083), Point(979, 5085), Point(977, 5088), Point(975, 5088), Point(974, 5090), Point(972, 5091), Point(970, 5094), Point(968, 5095), Point(967, 5095), Point(965, 5097), Point(964, 5098), Point(961, 5098), Point(960, 5099), Point(958, 5099), Point(957, 5099), Point(954, 5099)];
562
  SPS_WalkPath(myPath);
563
end;
564
565
Procedure RHG2;
566
Var
567
  myPath: TPointArray;
568
begin
569
  myPath := [Point(952, 5102), Point(947, 5102), Point(945, 5101), Point(943, 5099), Point(939, 5096), Point(938, 5095), Point(936, 5094), Point(934, 5092), Point(933, 5092), Point(932, 5090), Point(929, 5088), Point(928, 5087), Point(926, 5085), Point(925, 5084), Point(922, 5083), Point(921, 5081), Point(918, 5080), Point(914, 5078), Point(913, 5077), Point(910, 5076), Point(907, 5074), Point(904, 5072), Point(897, 5067), Point(903, 5070), Point(898, 5066), Point(895, 5063), Point(893, 5061), Point(890, 5060), Point(887, 5058), Point(885, 5057), Point(883, 5055), Point(880, 5053), Point(877, 5051), Point(876, 5051), Point(873, 5048), Point(872, 5046), Point(870, 5044), Point(868, 5042)];
570
  SPS_WalkPath(myPath);
571
end;
572
573
Procedure RHG3;
574
Var
575
  myPath: TPointArray;
576
begin
577
  myPath := [Point(864, 5039), Point(863, 5037), Point(860, 5034), Point(860, 5034), Point(858, 5029), Point(857, 5028), Point(856, 5026), Point(856, 5024), Point(856, 5023), Point(856, 5022), Point(855, 5015), Point(854, 5013), Point(854, 5013), Point(852, 5006), Point(854, 5011), Point(852, 5003), Point(851, 5001), Point(851, 4999), Point(851, 4994), Point(850, 4994), Point(850, 4990), Point(851, 4989), Point(851, 4987), Point(852, 4984), Point(852, 4984)];
578
  SPS_WalkPath(myPath);
579
end;
580
581
Function AtLGrave: Variant;
582
583
var
584
  LG: TBox;
585
586
   Begin
587
     LG := PointToBox(Point(463, 5011), Point(511, 5105));
588
        If PointInBox(SPS_GetMyPos, LG) then
589
        Begin
590
          Result := True;
591
          Exit;
592
        end else
593
        Result := False;
594
   end;
595
596
Function AtRGrave: Variant;
597
598
var
599
  RG: TBox;
600
601
   Begin
602
     RG := PointToBox(Point(822, 4946), Point(879, 4997));
603
        If PointInBox(SPS_GetMyPos, RG) then
604
        Begin
605
          Result := True;
606
          Exit;
607
        end else
608
        Result := False;
609
   end;
610
611
Function AtLHome: Variant;
612
613
var
614
  LH: TBox;
615
616
   Begin
617
     LH := PointToBox(Point(308, 4971), Point(381, 5145));
618
        If PointInBox(SPS_GetMyPos, LH) then
619
        Begin
620
          Result := True;
621
          Exit;
622
        end else
623
        Result := False;
624
   end;
625
626
Function AtObe: Variant;
627
628
var
629
  OBE: TBox;
630
631
   Begin
632
     OBE := PointToBox(Point(528, 4975), Point(784, 5083));
633
        If PointInBox(SPS_GetMyPos, OBE) then
634
        Begin
635
          Result := True;
636
          Exit;
637
        end else
638
        Result := False;
639
   end;
640
641
Function AtRHome: Variant;
642
643
var
644
  OBE: TBox;
645
646
   Begin
647
     OBE := PointToBox(Point(928, 4911), Point(1034, 5119));
648
        If PointInBox(SPS_GetMyPos, OBE) then
649
        Begin
650
          Result := True;
651
          Exit;
652
        end else
653
        Result := False;
654
   end;
655
656
657
{Function ToWhitedots: Variant;
658
  Begin
659
    If GetMinimapDots('White') then
660
      Begin
661
      Result := True;
662
      Exit;
663
      end;
664
    If (Not GetMinimapDots('White')) then
665
      Begin
666
      Result := False;
667
      Exit;
668
      end;
669
  end;}
670
671
672
673
Procedure BlueWalk;
674
Var
675
  MyPath : TPointArray;
676
  A,B,C,D:TPoint;
677
Begin
678
Proggy;
679
  If AtLGrave = True then
680
    Begin
681
      Wait(500);
682
      A := Sps_GetMyPos;
683
      WriteLN('Going to Obelisk!');
684
      If CGame = True then Exit;
685
      SPS_WalkToPos(Point(502, 5035));
686
      If InFight or BlueDead = True then exit;
687
      B := Sps_GetMyPos;
688
      if (Distance(A.X, A.Y, B.X, B.Y) < 6) then Exit;
689
      BO1;
690
      If CGame = True then Exit;
691
      If InFight or BlueDead = True then exit;
692
      BO2;
693
      If CGame = True then Exit;
694
      If InFight then exit;
695
      BO3;
696
      If CGame = True then Exit;
697
      If InFight then exit;
698
      BO4;
699
      If CGame = True then Exit;
700
      If InFight then exit;
701
      Exit;
702
      end;
703
  If AtObe = True then
704
      Begin
705
      Wait(500);
706
      WriteLN('Going to Grave!');
707
      If CGame = True then Exit;
708
      If InFight then exit;
709
      BG1;
710
      If CGame = True then Exit;
711
      If InFight then exit;
712
      BG2;
713
      If CGame = True then Exit;
714
      If InFight or BlueDead = True then exit;
715
      BG3;
716
      If CGame = True then Exit;
717
      If InFight then exit;
718
      Exit;
719
      end;
720
  If AtRGrave = True then
721
      Begin
722
      Wait(500);
723
      WriteLN('Going to Home!');
724
      C := Sps_GetMyPos;
725
      If CGame = True then Exit;
726
      SPS_WalkToPos(Point(869, 5030));
727
      If InFight or BlueDead = True then exit;
728
      D := Sps_GetMyPos;
729
      If (Distance(C.X, C.Y, D.X, D.Y) < 6) then Exit;
730
      If CGame = True then Exit;
731
      If InFight or BlueDead = True then exit;
732
      BH1;
733
      If CGame = True then Exit;
734
      If InFight or BlueDead = True then exit;
735
      BH2;
736
      If CGame = True then Exit;
737
      If InFight then exit;
738
      BH3;
739
      If CGame = True then Exit;
740
      If InFight or BlueDead = True then exit;
741
      BH4;
742
      If CGame = True then Exit;
743
      If InFight then exit;
744
      Exit;
745
      end;
746
  If AtLHome = True then
747
      Begin
748
      Wait(500);
749
      WriteLN('Going to home Grave!');
750
      If CGame = True then Exit;
751
      If InFight or BlueDead = True then exit;
752
      SPS_WalkToPos(Point(350, 5043));
753
      If CGame = True then Exit;
754
      If InFight or BlueDead = True then exit;
755
      BHG1;
756
      SPS_WalkToPos(Point(401, 4969));
757
      If CGame = True then Exit;
758
      If InFight or BlueDead = True then exit;
759
      BHG2;
760
      If CGame = True then Exit;
761
      If InFight or BlueDead = True then exit;
762
      BHG3;
763
      If CGame = True then Exit;
764
      If InFight or BlueDead = True then exit;
765
      Exit;
766
      end;
767
  If AtRHome = True then
768
      Begin
769
      If CGame = True then Exit;
770
      If InFight or BlueDead = True then exit;
771
      SPS_WalkToPos(Point(988, 5036));
772
      If CGame = True then Exit;
773
      If InFight or BlueDead = True then exit;
774
      SPS_WalkToPos(Point(988, 5002));
775
      If CGame = True then Exit;
776
      If InFight or BlueDead = True then exit;
777
      SPS_WalkToPos(Point(989, 4968));
778
      end;
779
      If BlueDead = True then exit;
780
      If CGame = True then exit;
781
      Writeln('Dont know where we are, going to home Grave');
782
      myPath := [Point(353, 4969), Point(386, 4957), Point(403, 4968), Point(418, 4980), Point(437, 4992), Point(457, 5018), Point(483, 5051), Point(494, 5063), Point(521, 5023), Point(541, 5023), Point(570, 5021), Point(597, 5023), Point(635, 5024), Point(653, 5028), Point(669, 5024), Point(691, 5031), Point(701, 5032), Point(714, 5031), Point(730, 5030), Point(745, 5030), Point(763, 5034), Point(781, 5032), Point(803, 5039), Point(818, 5053), Point(842, 5060), Point(871, 5062), Point(879, 5057), Point(875, 5039), Point(866, 5029), Point(855, 5000), Point(854, 4989)];
783
      SPS_WalkPath(myPath);
784
  End;
785
786
Procedure AttackRed;
787
  Begin
788
  Repeat
789
    If (Not FindObjOnScreen(['Walk here','(level','laa','ker','ules','evel','vel','level'],['Attack'],1183790,2,false,0.21,3.83)) then Exit;
790
      Repeat
791
Proggy;
792
        Wait(250 + Random(5000));
793
        FindObjOnScreen(['Walk here','(level','laa','ker','ules','evel','vel','level'],['Attack'],1183790,2,false,0.21,3.83);
794
            If CGame = true then Exit;
795
      Until InFight or (Not FindObjOnScreen(['Walk here','(level','laa','ker','ules','evel','vel','level'],['Attack'],1183790,2,false,0.21,3.83)) or BlueDead = True;
796
    If InFight then
797
Proggy;
798
      Repeat
799
      WriteLN('Killing');
800
      Wait(5);
801
      Until (Not InFight);
802
            If CGame = true then Exit;
803
      Until  (Not FindObjOnScreen(['Walk here','(level','laa','ker','ules','evel','vel','level'],['Attack'],1183790,2,false,0.21,3.83)) or BlueDead = True;
804
end;
805
806
Procedure AttackBlue;
807
Begin
808
Repeat
809
    If (Not FindObjOnScreen(['Walk here','(level','evel','laa','ker','ules','vel','level'],['Attack'],3547923,5,false,0.14,1.87)) then Exit;
810
      Repeat
811
        Wait(250 + Random(5000));
812
        FindObjOnScreen(['Walk here','(level','evel','laa','ker','ules','vel','level'],['Attack'],3547923,5,false,0.14,1.87);
813
      Until UInFight or InFight or (Not FindObjOnScreen(['Walk here','(level','evel','laa','ker','ules','vel','level'],['Attack'],3547923,5,false,0.14,1.87)) or RedDead = True;
814
    If UInFight or InFight then
815
Proggy;
816
      Repeat
817
      WriteLN('Killing');
818
      Wait(5);
819
      Until (Not UInFight) or (Not InFight) or (Not OthersInFight);
820
      Until (Not FindObjOnScreen(['Walk here','(level','evel','laa','ker','ules','vel','level'],['Attack'],3547923,5,false,0.14,1.87)) or (BlueDead = True);
821
end;
822
823
Procedure BluePlayers;
824
Var
825
K:integer;
826
  Begin
827
  Repeat
828
Proggy;
829
            Writeln('Doing the walking procedure!');
830
  BlueWalk;
831
832
            Writeln('Checking if dead!');
833
  BlueDead;
834
             Writeln('Going to kill!');
835
  AttackRed;
836
  Until (CGame = True);
837
  end;
838
839
Procedure RedPlayers;
840
  Begin
841
  Repeat
842
  AttackBlue;
843
  If CGame = True then Exit;
844
  Until (Dead = True);
845
  end;
846
847
Procedure MainRed;
848
var
849
  i,x,y: integer;
850
  P:TPoint;
851
  Angle: extended;
852
  MyPath: TPointArray;
853
Begin
854
  WaitPath := [Point(733, 5316), Point(728, 5319), Point(741, 5322), Point(748, 5309), Point(726, 5306), Point(737, 5314), Point(738, 5304), Point(748, 5299), Point(746, 5315), Point(741, 5317), Point(730, 5314), Point(727, 5304), Point(732, 5298), Point(737, 5307), Point(734, 5308), Point(742, 5305), Point(742, 5312), Point(738, 5299)];
855
Repeat
856
Wait(750);
857
  ToRPortal;
858
  Repeat
859
  FindBarrier(['Pass Red barrier','ass','ed','arier','rier','Red'],['Red barrier'],4277360,9,False,0.03,0.72);
860
  Wait(1750);
861
  Mouse(260,470,2,2,True);
862
  Wait(1000);
863
  Mouse(260,405,2,2,True);
864
  Wait(1000);
865
  Until (GetText2 = 'in game') or (GetText2 = 'needed');
866
  Repeat
867
  Waiting;
868
  Writeln('Havent Gotten in game yet!');
869
  Until (GetText = 'Avatar deaths');
870
  Wait(RandomRange(747,1000));
871
  myPath := [Point(932, 4983), Point(931, 4993), Point(930, 5000), Point(932, 5008), Point(937, 5012), Point(945, 5011), Point(936, 5005), Point(934, 4998), Point(934, 4994), Point(936, 4989), Point(937, 4983), Point(943, 4983), Point(943, 4990), Point(941, 4995), Point(945, 5004), Point(942, 5000), Point(946, 4997), Point(950, 4997)];
872
  SPS_WalkPath(myPath);
873
  SetAngle(100);
874
  MakeCompass('E');
875
  Repeat
876
  Wait(500);
877
  FindBarrier(['Pass Red barrier','ass','ed','arier','rier','Red'],['Red barrier'],4277360,9,false,0.03,0.72);
878
  Until DidRedClick;
879
  MakeCompass('N');
880
  Repeat
881
  RedPlayers;
882
  Until CGame = True;
883
  Until (Not LoggedIn);
884
end;
885
886
Procedure MainBlue;
887
var
888
  i,x,y: integer;
889
  P:Tpoint;
890
  Angle: extended;
891
  myPath: TPointArray;
892
Begin
893
  WaitPath := [Point(618, 5311), Point(622, 5308), Point(615, 5304), Point(612, 5312), Point(616, 5314), Point(621, 5313), Point(616, 5307), Point(618, 5301), Point(614, 5312), Point(623, 5312), Point(623, 5306), Point(620, 5306)];
894
Repeat
895
  Repeat
896
  ToBPortal;
897
  FindBarrier(['Pass Blue barrier','ass','lue','arier','rier','Blue'],['Blue barrier'],9464669,3,False,0.33,1.35);
898
  Wait(1750);
899
  Mouse(260,470,2,2,True);
900
  Wait(1000);
901
  Mouse(260,405,2,2,True);
902
  Wait(1000);
903
  Until (GetText2 = 'in game') or (GetText2 = 'needed');
904
  Repeat
905
  Waiting;
906
  Writeln('Havent Gotten in game yet!');
907
  Until (GetText = 'Avatar deaths');
908
  Wait(RandomRange(747,1000));
909
  myPath := [Point(403, 5045), Point(403, 5058), Point(401, 5070), Point(404, 5065), Point(403, 5056), Point(403, 5052), Point(395, 5043), Point(395, 5043), Point(391, 5038), Point(398, 5039), Point(397, 5045), Point(395, 5047), Point(390, 5049), Point(392, 5058), Point(396, 5067), Point(398, 5059), Point(391, 5054), Point(384, 5054)];
910
  SPS_WalkPath(myPath);
911
  MakeCompass('W');
912
  SetAngle(100);
913
  Repeat
914
  Wait(750);
915
  FindBarrier(['Pass Blue barrier','ass','lue','arier','rier','Blue'],['Blue barrier'],12287846,10,False,0.26,1.56);
916
  Until DidRedClick or CGame = True;
917
  MakeCompass('N');
918
  Repeat
919
  Dead := False;
920
  BluePlayers;
921
  Until CGame = True;
922
  Until (Not LoggedIn);
923
end;
924
925
Begin
926
  Startup;
927
  SetupChar;
928
  Repeat
929
  If Team = 'Blue' then MainBlue;
930
  If Team = 'Red' then MainRed;
931
  Until Not(LoggedIn);
932
end.