Results 1 to 22 of 22

Thread: Goblin Killer

  1. #1
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default Goblin Killer

    Please See This Thread: http://villavu.com/forum/showthread....874#post850874

    Code:
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Do you think this is good enough for an application for SRL members? Please Comment Below.
    
    
    What does this script do?
    This script can be started anywhere in the whole of Runescape, it kills Goblins and even Walks back if you die, perfect for low levels.
    
    What have you included?
    
    • Auto Login
    • Version Checking so you are Always Up To Date
    • Support for SMART
    • Random Event Checking
    • Fail Safes - If it gets lost it Teleports To Lumbridge and walks back to Goblins
    • A Hell of a Lot of AntiBan
    How do I run it? You should set-up Simba following the instructions at the link above. copy and paste it from below into simba. You will need SPS installed for it to run. Can I run it on more than one account at the same time? Yes, just open more than one copy of Simba Does this use S.M.A.R.T.? Yes it does, but if you don't want to I am sure you know how to stop it I want to use your Script but I can't get it to work Please post the error below if you think it is to do with my script, if you think it is a client problem then post it in the client help section. I have an idea of how to make this better Please post it below and I will add it if I think it is good I am an experience dev, do you need any help? Not Currently, but if you can see a better way to achieve some of the things I am doing then feel free to mention them. :spongebob: If you wish to download this file for use see the bottom of this post, if you just want to see what this script contains please look here:
    Simba Code:
    //This script kills goblins in lumbridge, It will even walk back if you die. Give me feedback in the forms. program GoblinKiller;  {.include SRL/SRL/Misc/Smart.scar}  {.include SRL/SRL.scar}  {$i sps/sps.simba}  {$i SRL/SRL/Misc/stats.simba}  {$i SRL/SRL/misc/paintsmart.scar}  {.include SRL/SRL/Skill/Fighting.scar}VarDied, Location, x, y :Integer;Lumbridge, Goblins1, Goblins2, Goblins3: TPoint;WalkGoblins: TPointArray;Colours: TIntegerArray;Ver : String;ConstVersion = 1;NCPColour1 = 5658202;  //If the script won't fight the goblins then change theseNCPColour2 = 6335614;NCPColour3 = 4628377;WaitTime = 2000;       //Wait Time before attacking another NCPTolerance = 3;         //Colour TolerenceINeedHelp = False;     //Do you need help setting this script up?procedure DeclarePlayers;begin  HowManyPlayers := 1;  NumberOfPlayers(HowManyPlayers);  CurrentPlayer := 0;  Players[0].Name :='';   //use " if you are getting ~  Players[0].Pass :='';  Players[0].Nick :='';//3-4 phrase from your name Ex. "ownage" = "nag"  Players[0].Active := True;end;Procedure CheckVersion;Begin  Ver := GetPage('http://goblinkiller.webuda.com/Ver');  If Version = StrToInt(Ver) Then    Begin      WriteLn('You are using the most up to date version -Thank you');    end Else      begin        WriteLn('Please Update This Script, opening web page...');        OpenWebPage('http://goblinkiller.webuda.com/Redirect.php');        TerminateScript;    //Comment out this to use this version anyway      end;End;Procedure CheckRandoms;beginFindNormalRandoms;If Not(LoggedIn) Then  begin    WriteLn('I think we failed a randome - I will just Check');    LoginPlayer;    FindNormalRandoms;    If Not(LoggedIn) Then      begin        WriteLn('Client has Logged Out So Probably Failed a Random - Terminating Scrip');        TerminateScript;      end  end;end;Procedure CheckLocation;begin  Wait(4000+Random(2000))  Location := 2;  if (SPS_PosOnMM(Lumbridge)) then  Location := 0; //lumbridge  if (SPS_PosOnMM(Goblins1)) or (SPS_PosOnMM(Goblins2)) or (SPS_PosOnMM(Goblins3)) then  Location := 1; //Goblinsend;Procedure WalkToGoblins;begin  Writeln('Walking To goblins')  WalkGoblins := [Point(4708, 3767), Point(4733, 3767), Point(4753, 3761), Point(4759, 3743), Point(4748, 3723),                  Point(4731, 3707), Point(4717, 3693), Point(4710, 3676), Point(4698, 3677), Point(4675, 3674),                  Point(4648, 3678), Point(4625, 3675), Point(4598, 3677), Point(4580, 3676), Point(4565, 3676), Point(4565, 3650)]  If(SPS_WalkPath(WalkGoblins)) then  WriteLn('At Goblins');end;Procedure RectifyLocation;begin  Mouse(254, 309, 10, 5, true);  Wait(500+Random(500));  Mouse(544, 24,5,5,true);  Wait(1000+Random(200));  If (FindSymbol( x, y, 'fishing shop')) then  begin    x := x-43    y := y-5    Mouse(x, y,5,5,true);    Wait(2000+Random(2000));  end;  CheckLocation;  case location of      2:        begin          Writeln('Location Not Recognised - Lets Teleport Home')          Mouse(748, 187,5,5,true)          Wait(1000+Random(500))          Mouse(575, 230, 5, 5, true)          Wait(16000+Random(2000))        end;  endend;Procedure Attack;begin  If(srl_InFight) then  begin    //WriteLn('In Fight')    x := random(51)    case x of      0: HoverSkill('Attack', False);                   //Beautiful Antiban      1: HoverSkill('Strength', False);      2: HoverSkill('Defence', False);      3: HoverSkill('hitpoints', False);      4: HoverSkill('smithing', False);      5: HoverSkill('woodcutting', False);      6: HoverSkill('firemaking', False);      7: HoverSkill('magic', False);      8: HoverSkill('woodcutting', False);      9: HoverSkill('fishing', False);      10: HoverSkill('prayer', False);      11: HoverSkill('runecrafting', False);      12..15: PickUpMouse;      16..25: RandomMovement;      26..27: RandomRClick;      28..32: BoredHuman;      33: ExamineInv;      34: RandomAngle(True);      35..45: Wait(1000+random(1000));      46..50: Wait(1000+Random(20000));    end;    Wait(2000);  end else  begin    //WriteLn('Clicking Attack')    FightNPC(Colours, Tolerance, WaitTime)    //attack the goblin  end;//to doend;begin  If (IneedHelp) then    begin      WriteLn('Opening Help Page');      OpenWebPage('http://goblinkiller.webuda.com/Help');      TerminateScript;    end;  CheckVersion;  Died := 0  Lumbridge := Point(4706, 3767);  Goblins1 := Point(4570, 3650);  Goblins2 := Point(4570, 3650);  Goblins3 := Point(4570, 3650);  Colours := [NCPColour1,NCPColour2,NCPColour3]  Smart_Server := 11;  Smart_Members := False;  Smart_Signed := False;  Smart_SuperDetail := False;  SetupSRL;  cleardebug;  WriteLn('***************Goblin Killer by Putonajonny Version '+IntToStr(Version)+'***************');  CheckVersion;  DeclarePlayers;  LoginPlayer;  SPS_Areas := ['11_9'];  SPS_Setup(RUNESCAPE_SURFACE, SPS_Areas);//  WriteLn('Current Location:')//  WriteLn(SPS_GetMyPos);  Repeat    CheckRandoms;    CheckLocation;    case location of      0: WalkToGoblins;      1: Attack;      2: RectifyLocation;      3: WriteLn('oh');      else        RectifyLocation;    end;  until(false)end.
    Last edited by putonajonny; 11-28-2011 at 11:11 PM.

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    I suggest using something besides sps for location finding...like a ddtm or something. Look into ObjectDDTMs.

  3. #3
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    I suggest using something besides sps for location finding...like a ddtm or something. Look into ObjectDDTMs.
    Thanks for the suggestion - I'll look into it.
    Last edited by putonajonny; 11-28-2011 at 06:15 PM.

  4. #4
    Join Date
    Dec 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Isn't to bad, I ran it for about 30 minutes, and it kept teleporting home saying it was lost every 5-10 minutes.

  5. #5
    Join Date
    Nov 2011
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    This script is kinda bad , way too slow.

  6. #6
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    Quote Originally Posted by fearlesskiller View Post
    This script is kinda bad , way too slow.
    I. Disagree this script is not bad the code is ok
    And is still currently work in progress give him time as this is his first attempt or you could show him what he could do better your self.

  7. #7
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by fearlesskiller View Post
    This script is kinda bad , way too slow.
    no.. the script is pretty fast

    infight is slow, sure, but the script itself does good work
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  8. #8
    Join Date
    Nov 2011
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Yeah what i mean is in fight, takes an hour to click on an other goblin...

  9. #9
    Join Date
    Nov 2011
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Doesnt work anymore idk why -_-

  10. #10
    Join Date
    Dec 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] (10:3): Unknown identifier 'HowManyPlayers' at line 9
    Compiling failed.
    :| any help plz?

  11. #11
    Join Date
    Nov 2011
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is off topic but..r u on the eb forums? lol

  12. #12
    Join Date
    Jan 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it says that the-
    Exception in Script: Unable to find file 'SRL/SRL/Misc/Smart.scar' used from ''

  13. #13
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by shez210 View Post
    it says that the-
    Exception in Script: Unable to find file 'SRL/SRL/Misc/Smart.scar' used from ''
    Not updated to SRL 5 yet sorry, just swap .scar for .simba

  14. #14
    Join Date
    Feb 2012
    Location
    England
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    going to this overnight
    Lets Bot.

  15. #15
    Join Date
    Feb 2012
    Location
    England
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Doesnt compile
    Lets Bot.

  16. #16
    Join Date
    Feb 2012
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so anyway im getting this error

    Exception in Script: Unable to find file 'srl/srl.scar' used from

    please note its not srl.simba or smart.simba or whatever its

    Exception in Script: Unable to find file 'srl/srl.scar' used from

    please post help

    i have successfully got bots to run just got this error for some fighting ones

  17. #17
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    srl-5 uses .simba, srl-4 uses .scar

    i don't even know if srl-4 is still usable.
    Ciao
    NM

  18. #18
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by NickMystre View Post
    srl-5 uses .simba, srl-4 uses .scar

    i don't even know if srl-4 is still usable.
    I have not updated this as an antileach, if people want to use this they can update it themselves

  19. #19
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by NickMystre View Post
    i don't even know if srl-4 is still usable.
    That's one painful mistake I once made: keep SRL 4 installed and then complain that the script fails @ chooseoption
    I made a new script, check it out!.

  20. #20
    Join Date
    Feb 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Unable to find file 'SRL/SRL/Misc/Smart.scar

    I read your comment about swaping something but I didn't understand what you meant.

  21. #21
    Join Date
    May 2012
    Location
    VARROCK
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I hav etest, it is not bad. The code is ok.

  22. #22
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Chry View Post
    I hav etest, it is not bad. The code is ok.
    It's a long time since I touched this script, it was one of my first ever scripts, wouldn't be surprised if it sucks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •