Results 1 to 10 of 10

Thread: Cow Killer ~ For Jordan

  1. #1
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default Cow Killer ~ For Jordan

    Hey, guys. My friend Jordan was needing a script to train his pure, so I made this simple script. I hope you guys like it!


    E: [MUST READ!!] It kills goblins, not cows, I couldn't get it to kill cows, their color was to close to the fence post, so I made it kill goblins. I'm going to make more killing scripts as I can!



    Cheers!

    ~Troll


    P.S. For SRL Members, Let me know when you would say yes to my scripts, so that I know when to post A thread to apply, and not make useless threads like I have.
    Last edited by Vinyl Scratch; 05-23-2012 at 03:52 AM.

  2. #2
    Join Date
    Mar 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think you forgot to attach it..

  3. #3
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

  4. #4
    Join Date
    May 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Unable to download. Said incorrect address.

  5. #5
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

  6. #6
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Sorry for the Double posting, But, UPDATED!! IT'S FLAWLESS!!!

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

    Default

    Quote Originally Posted by xXTrollXx View Post
    Sorry for the Double posting, But, UPDATED!! IT'S FLAWLESS!!!
    NICE! You gonna upload it though?
    Current Project: Retired

  8. #8
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Quote Originally Posted by Gucci View Post
    NICE! You gonna upload it though?
    Uploaded!! Also, Can't make it kill cows, so Goblins were the next best thing! Right next to the cows!!

  9. #9
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Hey, Tell me of anything you guys want added, and I'll see what I can do!

  10. #10
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    DeclarePlayers;
     Startup;
     repeat
      KillGoblin;
      AntiBan;
     until(false);

    This is a bad main loop and the infinite loop is a big no-no. Many people tend to instant-no vote when they see this. The correct way of doing this is generally

    Simba Code:
    repeat
      //something here
    until not LoggedIn;

    Simba Code:
    procedure KillGoblin;
    var
     X, y : Integer;
    begin
     if FindObjCustom(X, y, ['ttack', 'oblin'], [7514770, 8233358, 3702387, 7969929], 10) then
     begin
      GetMousePos(X, y);
      MMouse(X, y, 5, 5);
      if IsUpText('Attack') then
      ClickMouse2(true);
      Wait(20000);
      AntiBan;
     end;
    end;

    Again, this will not get you anywhere. FindObjCustom is fine, but people again want to see more, usually some custom TPA finding.

    IsUptext isn't used a lot nowadays when there WaitUptext or WaitUpTextMulti functions. Always use the WaitSomething series functions when they're available, like WaitOption for choosing an option, and so on. They're in the include for a reason.

    And this is not to mention how simplistic the fighting procedure is. No detection of whether player is in fight, no failsafes, not even FindNormalRandoms.

    Simba Code:
    procedure AntiBan;
    begin
     case Random(250) of
      0: begin GameTab(tab_stats) HoverSkill ('Mining', false) GameTab(28); end;
      1: begin SleepAndMoveMouse (9000+random(600)); end;
      2: begin GameTab(tab_inv) ExamineInv; GameTab(28); end;
      3: begin RandomAngle(1); end;
      4: begin GameTab(tab_stats) HoverSkill ('Attack', false) GameTab(28); end;
      5: begin SleepAndMoveMouse (4000+random(250)); end;
      6: begin RandomAngle(2); end;
     end;
    end;

    Your antiban has also shown bad standards in my opinion. Don't do one liner in general, unless you're doing one thing and the meaning is very straightforward. Your missing semicolons here are also bugging me. It compiles, but it just isn't good standard anyway.

    I heard you have a fletcher too, and I looked at it. The main loop has the same infinite loop problem, as with some indenting are incorrect. You didn't even free your DTMs when the script terminates. And the list goes on.

    I might be sounding harsh here, but I don't think you're ready for becoming a SRL member, if these are what you're capable of. In fact what you have shown here is far from members material. I am aware you're working on a SW script. My only hope is that you do something significantly better than what you have done with these scripts, or else I am sure others will just give you cold hard No-s for your appliance, for the very same reasons.

    You might as well want to look at others' scripts to see how they approach the same problems and what the level of sophistication is expected. You might be able to pickup something from them.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

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
  •