Results 1 to 16 of 16

Thread: My first script GoblinKiller

  1. #1
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My first script GoblinKiller

    Ok so this is my first script

    It eats tuna only
    It will walk from lummy lodestone
    It Kills goblins
    Banks in varrock
    And thats it for now.


    Soon to be added:
    RadialWalk Instead of SPS
    Walking back if you die(If you happen to die from goblins lol)
    Resting when low hp if no food
    Looting and burying bones


    Put food in first slot of bank



    I only accept only constructive criticism and positive comments, any negitive comments will be ignored (I have yet to run into a rude person here but i had to say that)



    I hope you enjoy even though its not perfect(Yet!)




    V1.5 Update:
    Fixed eating
    Doesnt get lost as much
    Banks in varrock
    Last edited by jkrules22; 03-31-2012 at 06:45 AM.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    You could have it check your HP level for eating, so it stops eating above a certain HP level.

  3. #3
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have it to repeat until (HPPercent > 90), and its still eating my whole inv


    Simba Code:
    Procedure EatTuna;
    Var
      I:Integer;
    Begin
      GameTab(tab_Inv);
      Repeat
      for I := 1 to 26 do
        Begin
          InvMouse(I, 3);
          if IsUpText('Tuna') then
          Begin
            ClickMouse2(True);
            Wait(RandomRange(1500, 2000));
        End;
       End;
        until (HPPercent > 90);
     End;

  4. #4
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    First, why above 90...? Do 25.
    Second, do less then, not above... Above is always true... LOl

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Post the whole eating proc, or PM it to me.

    I'll see if I can find the problem.

  6. #6
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok so I fixed the part where its eating my entire inv, but now Im trying to make it run my Tobank, Bank, and ToGoblin procs but its saying (77:9): Unknown identifier 'ToTheBank'



    Simba Code:
    Procedure EatTuna;
    Var
      I:Integer;
      test: boolean;
    Begin
      GameTab(tab_Inv);
      for I := 1 to 26 do
        Begin
        test := (HPPercent < 75) and (LoggedIn);
           If(not(test)) then
              Exit;
          if test then
          If InvEmpty then
          Begin;
            ToTheBank;//
            Bankit;///////The Procedures Im trying to run but its saying Unknown identifier
            ToGobs;/////
          End;
          Begin;
            InvMouse(I, 3);
            if IsUpText('Tuna') then
            Begin
              Repeat
                ClickMouse2(True);
                Wait(RandomRange(1500, 2000));
              until (HPPercent > 90);
           End;
       End;
     End;
    End;
    Last edited by jkrules22; 03-31-2012 at 05:22 AM.

  7. #7
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    You need to put those procedures above that one, or it can't find them.

  8. #8
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Okay are you declaring those procedures before that one? Also would be useful if you would post walking
    Current Project: Retired

  9. #9
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    TYvm guys, I had the eat proc before the others, I moved it and now it eats right and banks(In varrock though lol)

  10. #10
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Why not bank in Lumby?
    If you're using RadialWalk, it's easy.
    Set the stairs to a TPA, and then click em.

  11. #11
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I haven't tried radialwalk yet, Ill have to learn it, then put it in here..Ill get that down in a day or 2. Ive seen a few tuts on radialwalk

  12. #12
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow lol, I didn't realize radialwalk was so simple, Ill have the script using that soon.

  13. #13
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    walking from lumbridge to varrock its waste of time man
    I will try your script later. looks nice

  14. #14
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK so I have my radialwalk getting me right infront of the stairs, Now Im not sure on how to approach Clicking them to get up them, If somebody could get me a proc to do so Id appreciate it, Im not asking you to do it for me, I just need to see one and i can get it filled in from there

  15. #15
    Join Date
    Jun 2007
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ive been using this script. You have to start right at the lode stone and it seems like it just wants to stay in that one building the whole time to fight goblins. It works well though and i like it

  16. #16
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks man! , as soon as I get this radialwalk going right and it banking in lummy Ill work on the fighting area..

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
  •