Guest User

Untitled

a guest
Aug 5th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. program StrategicReferalBot;
  2. const
  3. SVersion = '0.86';
  4. AutoUpdateScript = true;
  5. Beta = true;
  6. StratCCCFolder = 'C:\StrategicCCC\';
  7. LocalConfig = 'C:\Strategic\local.cfg';
  8. UseLocalSettings = true;
  9. BuyXPBoost = true;
  10. KillExplorer = true;
  11. //Global vars.
  12. var
  13. Bitmap: array [0..36] of Integer;
  14. CurrentStr, Done, InGameMethod, State:String;
  15. //Settings
  16. Region, VMID, YourName, RefID, Level, Method, TextFileName,RiotGamesFolder, ResourcesFolder, Username, Password, TimeRunning:String;
  17. AmountofReferrals, TargetAmountofReferrals:Integer;
  18. UseTextFileInstead, DisconnectFromChat, WriteDebugToFile :boolean;
  19. //WinApi Calls.
  20.  
  21. Function ShowWindow(Handle: HWND; nCmdShow: Integer): Boolean; external '[email protected] stdcall';
  22. Function MoveWindow(Handle: HWND; X, Y, Width, Height:Integer; Repaint:boolean): Boolean; external '[email protected] stdcall';
  23. Function TerminateProcess(Handle: LongInt; ExitCode: Cardinal):boolean; external '[email protected] stdcall';
  24. Function OpenProcess(dwDesiredAcces: Cardinal; Inherit: Boolean; dwProccessID: Cardinal): LongInt; external '[email protected] stdcall';
  25. Function CloseHandle(Handle: LongInt): Boolean; external '[email protected] stdcall';
  26. Function PostMessage(Handle:HWND; Msg, WParam, LParam:Integer):Boolean; external '[email protected] stdcall';
  27. Procedure ShellExecute(Handle: HWND; Operation, FileName, Parameters, Directory: String; Showcmd:Integer); external '[email protected] stdcall';
  28.  
  29. {
  30. @echo off
  31. taskkill /f /IM LolClient.exe
  32. taskkill /f /IM LoLLauncher.exe
  33. taskkill /f /IM rads_user_kernel.exe
  34. taskkill /f /IM "League of Legends.exe"
  35. exit
  36. }
  37.  
  38. function AddOnTerminate(const proc : string) : boolean;
  39. var
  40. OldProcs : TVariantArray;
  41. i : integer;
  42. begin
  43. result := false;
  44. GetScriptProp(SP_OnTerminate,OldProcs);
  45. for i := 0 to high(OldProcs) do
  46. if lowercase(OldProcs[i]) = lowercase(proc) then
  47. exit;
  48. setlength(OldProcs,Length(OldProcs)+1);
  49. OldProcs[high(OldProcs)] := proc;
  50. SetScriptProp(SP_OnTerminate,oldprocs);
  51. result := True;
  52. end;
  53.  
  54. procedure CMouse(X, Y, Z: integer);
  55. begin
  56. Wait(15);
  57. MoveMouse(X, Y);
  58. Wait(15);
  59. ClickMouse(X, Y, Z);
  60. end;
  61.  
  62. function OpenRReportFile(FileNameStr: string): integer;
  63. var
Advertisement
Add Comment
Please, Sign In to add comment