Advertisement
Guest User

Essence bot\James legood

a guest
Mar 10th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.04 KB | None | 0 0
  1. {$DEFINE SMART8}
  2. {$i srl/srl.simba}
  3. {$I P07Include.Simba}
  4.  
  5. //***********************************************************\\
  6. // 2007 EssenceHarvester \\
  7. // Released by wthomas 3/3/13 \\
  8. // Coming Soon: \\
  9. // AntiBan \\
  10. // more AntiRandoms(golem next) \\
  11. // \\
  12. // \\
  13. // Version 1.07 \\
  14. // Fixed Use Essence -> Banker issue \\
  15. // Changed DTM's \\
  16. // changed Bank detection method \\
  17. // Added Anti Leech \\
  18. // \\
  19. // version 1.06 \\
  20. // fixedBug ismoving \\
  21. // Bixed other small bugs \\
  22. // \\
  23. // \\
  24. // Version 1.05 \\
  25. // Bug fixes \\
  26. // Abiss dection and solving \\
  27. // Paint Proggy \\
  28. // \\
  29. // Version 1.04 \\
  30. // Using findSymbol, colors and DTMs \\
  31. // Fixed Banking issues \\
  32. // Updated Essence finding- less bot like \\
  33. // \\
  34. // Version 1.03 \\
  35. // updated DTM's and demoved old unused color \\
  36. // \\
  37. // Version 1.02Qfx \\
  38. // using DTM's and bruting paths \\
  39. // \\
  40. // Version 1.02 \\
  41. // Added in a Proggy \\
  42. // \\
  43. // Version 1.01 \\
  44. // Fixed a few minor issues with getstate() \\
  45. // Added nice debug notices. \\
  46. // \\
  47. //***********************************************************\\
  48.  
  49. const
  50. DEBUG = true;
  51. PicInInvent = 0;
  52. CostPerEssence = 26;
  53. WALKBANK = 1;
  54. BANK = 2;
  55. WALKESS = 3;
  56. MINEESS = 4;
  57. AUBURY = 5;
  58. PORTAL = 6;
  59. Version = 1.07;
  60.  
  61. type
  62. tStatus = record
  63. ID: Integer;
  64. Name: string;
  65. end;
  66. tPointerSet = record
  67. proc:
  68. procedure; name: string;
  69. end;
  70. var
  71. RuneShopDTM, BankDTM, TreeDTM, PortalDTM: integer;
  72. BankSymbolColor, BankTreesColor, RuneShopSymbolColor, PortalColor, BankSymbolTolerance, BankTreeTolerance, RuneShopTolerance, PortalTolerance, banked, StartTime, LastProg: integer;
  73. Pointers: tPointerSet;
  74. logTime: integer;
  75.  
  76. procedure SetupDTMs;
  77. begin
  78. P07_PlayerName := '';
  79. P07_PlayerPass := '';
  80. BankSymbolColor := 4965868;
  81. BankSymbolTolerance := 5;
  82. BankTreesColor := 1586544;
  83. BankTreeTolerance := 10;
  84. RuneShopSymbolColor := 2265855;
  85. RuneShopTolerance := 50;
  86. PortalColor := 1792734;
  87. PortalTolerance := 100;
  88. RuneShopDTM := DTMFromString('mWAAAAHicY2FgYChkQuA8IG4AilUDcTMDhP1/khLDDxkVhkOMLGBaAyiGjBnRMAgAAP+kCVo=');
  89. BankDTM := DTMFromString('mlwAAAHicY2dgYGhgYmDoAuJ2IG4C4nogrgbiMiDWA8qbQ7EZFJtC8aVLlxj+/GFiePuWAU5//QrB/4HyGjgwIx4MBQA71hTz');
  90. TreeDTM := DTMFromString('mwQAAAHic42RgYGBhYmD4xcjAwA+k2YFYFIi/A/mfGRHifEBaiBFCswKxABCLAjEbEMsCsRgQe4abMbz7/AKC371jCHbUBmO4GBBzAe3DhbmhNCMRGA4AkCoYPQ==');
  91. PortalDTM := DTMFromString('mQwAAAHicY2ZgYChhYmDIBeJyIDZlgGBLILb29WK4FyUNxm5APgwzImEgAAD34wZS');
  92. SetupSRLStats(1324, 'EssenceHarvester', 'EssenceHarvester');
  93. SRL_SixHourFix := True;
  94. SMART_FixSpeed := True;
  95. AddonTerminate('freeMyDTMs');
  96. MarkTime(LastProg);
  97. MarkTime(StartTime);
  98. MarkTime(logTime);
  99. banked := 0;
  100. SetUpSRL;
  101. SetupP07Include;
  102. end;
  103.  
  104. function P07_IsMoving: boolean;
  105. begin
  106. Result := Animating(IntToBox(P07_MMCX - 30, P07_MMCY - 30, P07_MMCX + 30, P07_MMCY + 30), 50, 100);
  107. end;
  108.  
  109. function P07_NotMoving: boolean;
  110. begin
  111. Result := not P07_IsMoving;
  112. end;
  113.  
  114. function P07_PercentColorMMEx(Color, Tol, StartRadial, EndRadial, StartRadius, EndRadius: Integer): integer;
  115. var
  116. TPA: TPointArray;
  117. begin
  118. FindColorsTolerance(TPA, Color, P07_MMX1, P07_MMY1, P07_MMX2, P07_MMY2, Tol);
  119. FilterPointsPie(TPA, StartRadial, EndRadial, StartRadius, EndRadius, P07_MMCX, P07_MMCY);
  120. Result := ceil((Length(TPA) * 100) / ((Pi * (EndRadius * EndRadius)) * ((EndRadial - StartRadial) / 360.0) - ((Pi * (StartRadius * StartRadius)) * ((EndRadial - StartRadial) / 360.0))));
  121. end;
  122.  
  123. function P07_PercentColorMM(Color, Tol: Integer): Integer;
  124. begin
  125. Result := P07_PercentColorMMEx(Color, Tol, 0, 360, 0, 76);
  126. end;
  127.  
  128. function P07_PercentBlackMM: Integer;
  129. begin
  130. Result := P07_PercentColorMM(0, 5);
  131. end;
  132.  
  133. procedure P07_SetRun(Run: Boolean);
  134. begin
  135. if not P07_TabInventoryTab(12) then
  136. Writeln('cannot set run');
  137. if CountColorTolerance(1711220, 626, 414, 656, 445, 5) < 10 then
  138. MouseBox(626, 414, 656, 445, MOUSE_LEFT);
  139. P07_TabInventoryTab(4)
  140. end;
  141.  
  142. procedure DebugStr(Str: string);
  143. begin
  144. if Debug then
  145. Writeln(MSToTime(TimeFromMark(StartTime), Time_Bare) + Str);
  146. end;
  147.  
  148. function InEssMine: boolean;
  149. begin
  150. Result := (P07_PercentBlackMM > 25);
  151. end;
  152.  
  153. function seeMMSymbol(var x: integer; var y: integer; DTM, color, tolerance: integer; name: string): boolean;
  154. var
  155. angle: extended;
  156. begin
  157. SymbolAccuracy := 0.7;
  158. if findsymbol(x, y, name) then
  159. begin
  160.  
  161. debugstr(' [INFO] symbol found: ' + name);
  162. result := true;
  163. exit;
  164. end;
  165. if findDTMRotatedSE(DTM, x, y, P07_MMX1, P07_MMY1, P07_MMX2, P07_MMY2, - pi() / 4, pi() / 4, pi() / 64, angle) then
  166. begin
  167. result := true;
  168.  
  169. debugstr(' [INFO] DTM found: ' + name);
  170. exit;
  171. end
  172. else
  173. begin
  174. if FindColorTolerance(x, y, color, P07_MMX1, P07_MMY1, P07_MMX2, P07_MMY2, tolerance) then
  175. begin
  176. result := true;
  177.  
  178. debugstr(' [INFO] Color found: ' + name);
  179. end
  180. else
  181. begin
  182. result := false;
  183. end;
  184. end;
  185. end;
  186.  
  187. function FindColorMinimap(color: integer; tolerance: integer): TpointArray;
  188. var
  189. TPA: TpointArray;
  190. begin
  191. if FindColorsTolerance(TPA, Color, P07_MMX1, P07_MMY1, P07_MMX2, P07_MMY2, Tolerance) then
  192. Result := TPA;
  193. end;
  194.  
  195. function InRuneShop: Boolean;
  196. var
  197. j: TPoint;
  198. x, y: integer;
  199. begin
  200. if not seeMMSymbol(x, y, RuneShopDTM, RuneShopSymbolColor, RuneShopTolerance, 'magic shop') then
  201. result := false;
  202. j := IntToPoint(P07_MMCX, P07_MMCY);
  203. Result := (Abs(x - j.x) < 20) and (Abs(y - j.y) < 10);
  204. end;
  205.  
  206. function InBank: Boolean;
  207. var
  208. j: TPoint;
  209. x, y: integer;
  210. begin
  211. if not seeMMSymbol(x, y, BankDTM, BankSymbolColor, BankSymboltolerance, 'bank') then
  212. result := false;
  213. j := IntToPoint(P07_MMCX, P07_MMCY);
  214. Result := (Abs(x - j.x) < 20) and (Abs(y - j.y) < 20);
  215. end;
  216.  
  217. function AtPortal: boolean;
  218. var
  219. j: TPoint;
  220. x, y: integer;
  221. begin
  222. if not seeMMSymbol(x, y, PortalDTM, PortalColor, PortalTolerance, 'underground') then
  223. result := false;
  224. j := IntToPoint(P07_MMCX, P07_MMCY);
  225. Result := (Abs(x - j.x) < 20) and (Abs(y - j.y) < 20);
  226. end;
  227.  
  228. procedure WalktoAubury;
  229. var
  230. x, y: integer;
  231. angle: extended;
  232. begin
  233. P07_makeCompassNorth;
  234. if seeMMSymbol(x, y, RuneshopDTM, RuneShopSymbolColor, RuneShopTolerance, 'magic shop') then
  235. begin
  236. debugstr(' [INFO] Found shop ');
  237. Mouse(x + 4, y, 2, 2, mouse_left);
  238. wait(4000);
  239. P07_setRun(TRUE);
  240. P07_FFlag;
  241. waitfunc(@ inRuneShop, 1000, 20000);
  242. P07_FFlag;
  243. DebugStr(' [INFO] Should be in the shop now');
  244. end
  245. else
  246. begin
  247. if FindDTMRotatedSE(TreeDTM, x, y, MMX1, MMY1, MMX2, MMY2, - pi() / 8, pi() / 8, pi() / 16, angle) then
  248. begin
  249. debugstr(' [INFO] Found tree DTM');
  250. Mouse(x, y, 2, 2, mouse_left);
  251. P07_FFlag;
  252. waitfunc(@ P07_NotMoving, 100, 20000);
  253. P07_FFlag;
  254. debugstr(' [INFO] Should be south of the bank');
  255. end
  256. else
  257. begin
  258. writeln('***[WARINING]*** cant see shop or trees walking anyway');
  259. Mouse(P07_MMCX + 15, P07_MMCY + 30, 2, 2, mouse_left);
  260. P07_FFlag;
  261. waitfunc(@ P07_NotMoving, 100, 20000);
  262. P07_FFlag;
  263. debugstr(' [INFO] Should be south of the bank');
  264. end;
  265. end;
  266. end;
  267.  
  268. procedure BankEssence;
  269. var
  270. CTS, I, x, y: Integer;
  271. TPA: TPointArray;
  272. ATPA: array of TPointArray;
  273. begin
  274. if P07_BankScreen then
  275. begin
  276. P07_Deposit(2, 28, TRUE);
  277. exit;
  278. end;
  279. P07_MakeCompassNorth;
  280. P07_MakeCameraAngleHigh;
  281. begin
  282. CTS := GetColorToleranceSpeed;
  283. ColorToleranceSpeed(2);
  284. SetColorSpeed2Modifiers(0.06, 0.91);
  285. FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6188918, MSX1, MSY1, MSX2, MSY2, 5);
  286. ColorToleranceSpeed(CTS);
  287. wait(100);
  288.  
  289. ATPA := SplitTPA(TPA, 3);
  290. for I := 0 to High(ATPA) do
  291. begin
  292. MiddleTPAEx(ATPA[i], x, y);
  293.  
  294. MMouse(x, y, 2, 2);
  295. wait(50);
  296. if (P07_IsUpTextMultiCustom(['sence'])) then
  297. begin
  298. MouseBox(7, 350, 500, 470, mouse_left);
  299. exit;
  300. end;
  301. if (P07_IsUpTextMultiCustom(['se', 'ooth'])) then
  302. begin
  303. clickMouse2(MOUSE_RIGHT);
  304. wait(700);
  305. if P07_ChooseOptionMulti(['uickly']) then
  306. begin
  307. writeln('bank is open');
  308. wait(1000);
  309. P07_Deposit(2, 28, TRUE);
  310. banked := banked + 28 - PicInInvent;
  311. Stats_IncVariable('Pure Essence (Mined)', 28 - PicInInvent);
  312. debugstr(' [INFO] updated banked ess log');
  313. end;
  314. Break;
  315. end;
  316. wait(100);
  317. end;
  318. Mouse(P07_MMCX, P07_MMCY + 10, 2, 2, mouse_left);
  319. wait(300);
  320. end;
  321. end;
  322.  
  323. procedure WalktoBank;
  324. var
  325. x, y: integer;
  326. angle: extended;
  327. begin
  328. P07_makeCompassdegree(randomrange( - 20, 20));
  329. if seeMMSymbol(x, y, BankDTM, BankSymbolColor, BankSymboltolerance, 'bank') then
  330. begin
  331. debugstr(' [INFO] Found bank');
  332. Mouse(x, y, 2, 2, mouse_left);
  333. P07_setRun(TRUE);
  334. waitfunc(@ P07_NotMoving, 100, 20000);
  335. P07_FFlag;
  336. end
  337. else
  338. begin
  339. if FindDTMRotatedSE(TreeDTM, x, y, MMX1, MMY1, MMX2, MMY2, - pi() / 8, pi() / 8, pi() / 64, angle) then
  340. begin
  341. debugstr(' [INFO] Found tree colors');
  342. Mouse(x, y, 2, 2, mouse_left);
  343. waitfunc(@ P07_NotMoving, 100, 20000);
  344. P07_FFlag;
  345. debugstr(' [INFO] Should be south of the bank');
  346. end
  347. else
  348. begin
  349. debugstr(' [INFO] cant see bank or trees walking north');
  350. Mouse(P07_MMCX + 15, P07_MMCY - 30, 2, 2, mouse_left);
  351. waitfunc(@ P07_NotMoving, 100, 20000);
  352. P07_FFlag;
  353. debugstr(' [INFO] Should be south of the bank');
  354. end;
  355. end;
  356. end;
  357.  
  358. procedure teleportAubury;
  359. var
  360. CTS, I, x, y: Integer;
  361. TPA: TPointArray;
  362. ATPA: array of TPointArray;
  363. begin
  364. P07_MakeCompassNorth;
  365. P07_MakeCameraAngleHigh;
  366. begin
  367. if CountColorTolerance(5923683, MSX1, MSY1, MSX2, MSY2, 20) > 20000 then
  368. begin
  369. debugstr(' [INFO] Outside ess shop trying to re-enter');
  370. if seeMMSymbol(x, y, RuneshopDTM, RuneShopSymbolColor, RuneShopTolerance, 'magic shop') then
  371. Mouse(x, y + 15, 5, 10, mouse_left);
  372. P07_FFlag;
  373. end;
  374. CTS := GetColorToleranceSpeed;
  375. ColorToleranceSpeed(2);
  376. SetColorSpeed2Modifiers(0.19, 0.92);
  377. FindColorsSpiralTolerance(MSCX, MSCY, TPA, 1226735, MSX1, MSY1, MSX2, MSY2, 10);
  378. ColorToleranceSpeed(CTS);
  379.  
  380. ATPA := SplitTPA(TPA, 5);
  381. for I := 0 to High(ATPA) do
  382. begin
  383. if length(ATPA[i]) < 5 then
  384. continue;
  385. MiddleTPAEx(ATPA[i], x, y);
  386. MMouse(x, y, 2, 2);
  387. wait(50);
  388.  
  389. if (P07_IsUpTextMultiCustom(['alk-to', 'bury'])) then
  390. begin
  391. clickMouse2(mouse_right);
  392. wait(300);
  393. if P07_ChooseOptionMulti(['Teleport']) then
  394. debugstr(' [INFO] Chose Option Teleport');
  395. wait(2000);
  396. P07_FFlag;
  397. Break;
  398. end;
  399. wait(100);
  400. end;
  401. debugstr(' [INFO] Couldnt See Aubury, checking under us');
  402. MMouse(P07_MSCX, P07_MSCY, 5, 5);
  403. wait(50);
  404. if (P07_IsUpTextMultiCustom(['alk-to', 'bury'])) then
  405. begin
  406. clickMouse2(mouse_right);
  407. wait(300);
  408. if P07_ChooseOptionMulti(['Teleport']) then
  409. debugstr(' [INFO] Chose Option Teleport');
  410. end;
  411. end;
  412. end;
  413.  
  414. procedure startMining;
  415. var
  416. i, c, x, y: integer;
  417. begin
  418. if P07_Containstext(GetBlackChatMessage, ['rock', 'ine', 'axe', 'pic']) and not P07_InvFull then
  419. exit;
  420. P07_makeCompassdegree(60);
  421. c := 0;
  422. if seeMMSymbol(x, y, PortalDTM, PortalColor, PortalTolerance, 'underground') then
  423. begin
  424. debugstr(' [INFO] Found portal on MM');
  425. Mouse(round((x + P07_MMCX) / 2), round((y + P07_MMCY) / 2), 2, 2, MOUSE_LEFT);
  426. P07_FFlag;
  427. debugstr(' [INFO] Correcting position');
  428. MiddleTPAEx(FindColorMinimap(11513529, 200), x, y);
  429. Mouse(x, y, 2, 2, MOUSE_LEFT);
  430. P07_FFlag;
  431. P07_MakeCameraAngleLow;
  432. MMouse(MSCX + randomrange( - 100, 100), MSCY + randomrange( - 150, 0), 0, 0);
  433. repeat
  434. inc(c);
  435. P07_makeCompassdegree(P07_getcompassangle + 30);
  436. wait(50);
  437. if P07_Containstext(P07_getUptext, ['Mine', 'Rune', 'Essence']) then
  438. begin
  439. clickmouse2(mouse_left);
  440. debugstr(' [INFO] Mining Essence');
  441. wait(500);
  442. break;
  443. end;
  444. until (C > 12);
  445. end
  446. else
  447. begin
  448. debugstr(' [INFO] We are not at an ess node, trying to find one');
  449. c := 45 + 90 * randomrange(0, 3);
  450. for i := 0 to 2 do
  451. begin
  452. Mouse(MMCX + round(50 * cos(c)), MMCY - round(50 * sin(c)), 5, 5, mouse_left);
  453. P07_FFlag;
  454. if seeMMSymbol(x, y, PortalDTM, PortalColor, PortalTolerance, 'underground') then
  455. begin
  456. debugstr(' [INFO] We are almost at an ess node');
  457. exit;
  458. end;
  459. end;
  460. end;
  461. end;
  462.  
  463. procedure findPortal;
  464. var
  465. MTPA: TpointArray;
  466. CTS, I, x, y: Integer;
  467. TPA: TPointArray;
  468. begin
  469. if seeMMSymbol(x, y, PortalDTM, PortalColor, PortalTolerance, 'underground') then
  470. begin
  471. debugstr(' [INFO] Found portal color on MM');
  472. if not atportal then
  473. Mouse(x, y, 5, 5, mouse_left);
  474. P07_FFlag;
  475. debugstr(' [INFO] Standing by portal');
  476. P07_makeCameraAngleHigh;
  477. P07_makeCompassDegree(P07_getCompassAngle + randomrange( - 40, 40));
  478. CTS := GetColorToleranceSpeed;
  479. ColorToleranceSpeed(2);
  480. SetColorSpeed2Modifiers(0.20, 3.19);
  481. FindColorsSpiralTolerance(MSCX, MSCY, TPA, 10868705, MSX1, MSY1, MSX2, MSY2, 11);
  482. ColorToleranceSpeed(CTS);
  483.  
  484. wait(100);
  485. x := MiddleTPA(TPA).x;
  486. y := MiddleTPA(TPA).y;
  487. MMouse(x, y, 2, 2);
  488. if (P07_IsUpTextMultiCustom(['use', 'ortal'])) then
  489. begin
  490.  
  491. wait(100);
  492. clickMouse2(MOUSE_LEFT);
  493. wait(200);
  494. if not InessMine then
  495. debugstr(' [INFO] Teleported to Varrock');
  496. exit;
  497. end;
  498. wait(100);
  499. end
  500. else
  501. begin
  502. end;
  503. end;
  504.  
  505. procedure Random_Abiss;
  506. var
  507. c, d: integer;
  508. begin
  509. c := 0;
  510. d := 0;
  511. if P07_PercentBlackMM < 75 then
  512. exit;
  513. writeln('[WARNING] Random Found: Abiss Attempting to Solve');
  514. P07_makeCompassNorth;
  515. P07_MakeCameraAngleLow;
  516. MMouse(250, 106, 5, 5);
  517. P07_makeCompassdegree(P07_getcompassangle + 10);
  518. wait(50);
  519. if P07_Containstext(P07_getUptext, ['Operate', 'Appendage']) then
  520. begin
  521. repeat
  522. inc(d);
  523. if P07_Containstext(P07_getUptext, ['Operate', 'Appendage']) then
  524. clickmouse2(mouse_left);
  525. wait(700);
  526. until (P07_PercentBlackMM < 75) or (d > 15);
  527. end;
  528. end;
  529.  
  530. function getState(): Integer;
  531. var
  532. angle: extended;
  533. x, y: integer;
  534. begin
  535. P07_TabInventoryTab(4);
  536. Random_abiss;
  537. if not InEssMine then
  538. if not (seeMMSymbol(x, y, BankDTM, BankSymbolColor, BankSymboltolerance, 'bank') or seeMMSymbol(x, y, RuneShopDTM, RuneShopSymbolColor, RuneShopTolerance, 'magic shop')) then
  539. if not FindDTMRotatedSE(TreeDTM, x, y, MMX1, MMY1, MMX2, MMY2, - 180, 180, 1, angle) then
  540. if not InEssMine then
  541. begin
  542. writeln('[FATAL] terminal error, cant see bank or rune shop ending script now');
  543. terminatescript;
  544. end;
  545. if P07_invFull then
  546. begin
  547. if InEssMine then
  548. begin
  549. result := PORTAL;
  550. exit;
  551. end
  552. else if not inbank then
  553. begin
  554. result := WALKBANK;
  555. exit;
  556. end
  557. else
  558. begin
  559. result := BANK;
  560. exit;
  561. end;
  562. end;
  563. if not InEssMine then
  564. begin
  565. if not inruneshop then
  566. begin
  567. result := WALKESS;
  568. exit;
  569. end
  570. else
  571. begin
  572. result := AUBURY;
  573. exit;
  574. end;
  575. end
  576. else
  577. begin
  578. result := MINEESS;
  579. exit;
  580. end;
  581. end;
  582.  
  583. procedure Loop();
  584. begin
  585. with Pointers do
  586. begin
  587. case getState() of
  588. WALKBANK:
  589. begin
  590. name := 'Walk:Bank';
  591. Proc := @ WalktoBank;
  592. end;
  593. BANK:
  594. begin
  595. name := 'Bank Essence';
  596. Proc := @ BankEssence;
  597. end;
  598. WALKESS:
  599. begin
  600. name := 'Walk:Aubury';
  601. Proc := @ walktoAubury;
  602. end;
  603. MINEESS:
  604. begin
  605. name := 'Mine essence';
  606. Proc := @ startMining;
  607. end;
  608. AUBURY:
  609. begin
  610. name := 'Teleport:Essence';
  611. Proc := @ teleportAubury;
  612. end;
  613. PORTAL:
  614. begin
  615. name := 'Teleport:Varrock';
  616. Proc := @ findPortal;
  617. end;
  618. end;
  619. end;
  620. end;
  621.  
  622. procedure proggy;
  623. var
  624. t: integer;
  625. timestr: string;
  626. begin
  627. wait(10);
  628. t := banked + P07_invCount - PicInInvent;
  629.  
  630.  
  631.  
  632.  
  633. begin
  634. marktime(LogTime);
  635. Stats_Commit;
  636. end;
  637. end;
  638.  
  639. procedure freeMyDTMs;
  640. begin
  641. freeDTM(RuneShopDTM);
  642. freeDTM(BankDTM);
  643. freeDTM(TreeDTM);
  644. freeDTM(PortalDTM);
  645. end;
  646.  
  647. begin
  648. SetupDTMs;
  649. writeln('script Version ' + floattostr(Version) + ' Starting');
  650. P07_loginPlayer;
  651. wait(1000);
  652. while P07_LoggedIN do
  653. begin
  654. proggy;
  655. Loop();
  656. with Pointers do
  657. begin
  658. Proc() wait(1000);
  659. end;
  660. end;
  661. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement