Page 18 of 19 FirstFirst ... 816171819 LastLast
Results 426 to 450 of 467

Thread: RangeGuilder by Riyyi

  1. #426
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by furion_pwnage View Post
    Okay, just a quick question. What is the keyboard command to find out exactly what a procedure does in Simba? I've never seen StatsGuise, and was just wondering what it was.

    Due to the Great proggies, and this anti leech I started looking into this script and going through a couple tutorials. Curse you Riyyi, you've made me interested in scripting! I still have to find out how to make it repeat the main loop, but I'm getting there!

    Edit: What are you guys doing to fix the "sometimes not equipping arrows" deal?
    StatsGuise is like Writeln... Except it doesn't type in at the debug box.
    Try it out and see.

    You can type functions into the window on the left hand side and see what the functions do though there isn't anything for statsguise..

    Just equip 500+ bronze arrows to your character. problem solved.

  2. #427
    Join Date
    Jul 2007
    Location
    USA
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks Peanuts!

    Edit: Finally figured it out. Thanks to reading some posts from Riyyi in this thread. Looking forward to posting a phat proggy soon. Thanks!

    Also, for anyone running this script, I found this on rune Wiki, which might be of help (it was to me)

    "Where you click on the target does not affect where the arrow hits the target, but your accuracy (and thus your score) is affected by the quality of your equipment, whether you are wearing armour, and your ranged level.

    The quality of your hits are also depending on the combat style you are using with your bow. Accurate is of course the best choice to use. "

    [~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
    Time Running : 2 Hours, 6 Minutes and 26 Seconds
    XP Gained : 0
    XP Per Hour : 0
    Courses Done : 229
    Tickets Gained : 14951
    Time Until Logout : 3 Hours, 39 Minutes and 37 Seconds
    So, make sure to be set to accurate.
    Last edited by furion_pwnage; 08-10-2012 at 07:30 PM.

  3. #428
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default

    few tweaks and it runs amazing.

    [~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
    Time Running : 5 Hours 30 minutes
    XP Gained : 215325
    XP Per Hour : 39150
    Courses Done : -4543
    Tickets Gained : -14000
    Time Until Logout : 34 Minutes and 16 Seconds
    [~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

    Don't mind the - ones.. i was just messing with script.. forgot i didn't put it back 0.o

  4. #429
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    Is this script really that safe? In the MainLoop there are Mouse commands, which I thought were easily detectable. And is this really random enough?
    Simba Code:
    KeyDown(49);
        Wait(20+random(20));
        KeyUp(49);
        Wait(1500);
        KeyDown(49);
        Wait(20+random(20));
        KeyUp(49);
    Is this what the OP meant by saying check the main loop?

  5. #430
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default

    The main loop has antileech..

    The mouse commands are just clicks..

    It's more moving mouse to a location with mouse commands that is the killer?
    Right?

    I did mess with those waits.. I also thought they weren't that random

  6. #431
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    I haven't actually tried running it yet.
    And I just looked at the mouse include, the Mouse command isn't what I though, but it does move the move and click, not just click.
    I just like checking for anti-leech and trying to correct it to see if I can. Will try to actually make a good script in the near future hopefully.

  7. #432
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I modded most of the script. Might release it in the SRL members forum if its okay with Riyyi or i'll just make my own and release.
    Oldgen.

  8. #433
    Join Date
    Apr 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Script is still flawless without any modifications other than the anti leech. Good job Riyyi!


    Also FYI if you look at the previous posts he tells you exactly how to do the anti leech!

    XD

  9. #434
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i get this tho?????
    [Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(46:19): Invalid number of parameters at line 45
    Compiling failed.

  10. #435
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You need to update the script. Google your error, and you will find the answer easily.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  11. #436
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    -.- i have googled it

  12. #437
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You didn't look hard enough.
    Google this: [Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(46:19): Invalid number of parameters at line 45
    The first result will fix your error.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  13. #438
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    -.- that dident come up b4 ty now to try and figure the anti leech =[
    Last edited by Archmageix; 08-31-2012 at 03:25 PM.

  14. #439
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Good luck! If you can't figure it out, head over the the scripting tutorial section. Look over a few tuts, and see if you can solve it then.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  15. #440
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well i think iv sorted it but now i get this =[

    [Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\randomtool.simba(215:3): Variable 'T' never used at line 214
    [Error] (233:9): Identifier expected at line 232
    Compiling failed.

  16. #441
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'd give you a hint, but I can't see the script on my phone. Can you post the line with the error, and 10 lines before and after the error? Don't forget to put it in [SIMBA] tags.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  17. #442
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
    ClickMouse2(False);
    Wait(200 + Random(150));
    ChooseOptionEx('arget', 'object');
    Wait(2400 + Random(150) + Laggy);
    MMouse(487, 42, 3, 3);
    Wait(550 + Random(150) + Laggy);
    if IsUpText('lose') then
    ClickMouse2(True);
    repeat;
    end;
    if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
    FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
    Mouse(x, y, 5, 5, False);
    WaitOption('to C', 500);
    end;

    CoursesDone := (CoursesDone + 1);
    end;

    procedure Proggy;
    var

    i think these are the simba tags
    {$DEFINE SMART}
    {$DEFINE SPS}
    {$DEFINE SMART}
    {$i SRL/SRL.simba}
    {$i SPS/SPS.simba}

  18. #443
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SIMBA tags means surround the code in [SIMBA] Tags. Let me look through this, one second.
    E:Can you post the entire function/Procedure containing the error, and put it in SIMBA tags?
    Last edited by Footy; 08-31-2012 at 03:48 PM.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  19. #444
    Join Date
    Feb 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    procedure MainLoop;
    var
      i, Timer : Integer;
      Judge, Judge2, RoundFin : Boolean;
      myPath: TPointArray;
    begin
      StatsGuise('MainLoop');

      if FindNormalRandoms then
        if not LoggedIn then
          Exit;

      StatsGuise('Finding Judge');
      repeat
        MarkTime(Timer);
        repeat
          if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
          FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
            begin
              Mouse(x, y, 5, 5, False);
              Wait(200 + Random(150) + Laggy);

              if OptionsExist(['mpete'], Nothing) then
                begin
                Judge := True;
                ChooseOption('mpete');
                end else
                Judge2 := True;
            end else
            begin
              Mouse(266, 136, 10, 30, False);
              if WaitOption('mpete', 500) then
                Judge := True;
            end;
        until((TimeFromMark(Timer) > 20000) or Judge or Judge2);

        if TimeFromMark(Timer) > 20000 then
          begin
            if not InCords(2510, 2965, 2545, 2990) then
              myPath := [Point(2554, 2927), Point(2542, 2935), Point(2534, 2947), Point(2524, 2955), Point(2515, 2963), Point(2515, 2982)];
              SPS_WalkPath(myPath);
              ClickNorth(1);
              MakeCompass(35 + Random(5));

            if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
              FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
              Mouse(x, y, 5, 5, False);
              Wait(200 + Random(150) + Laggy);
              if WaitOption('to C', 500) then
                Judge2 := True;
          end;
      until (Judge or Judge2)

      StatsGuise('MainLoop');
      Wait(800 + Random(150));

      if Judge then
      begin
        KeyDown(49);
        Wait(20+random(20));
        KeyUp(49);
        Wait(1500);
        KeyDown(49);
        Wait(20+random(20));
        KeyUp(49);

        Wait(800  + Random(150) + (Laggy * 2));
        If PinScreen Then
          begin
            StatsGuise('Enter pin...');
            InPin(Players[CurrentPlayer].Pin);
          end;

        ArrowDTM := DTMFromString('mggAAAHicY2NgYOACYhEgFgBiXiDmYIAAZigN4vMDsTCUdtEA6WDCwCIM2AEjDgwBAGIcASA=');
        If FindDTM(ArrowDTM, x, y, MIX1, MIY1, MIX2, MIY2) Then
          begin
            Mouse(x, y, 5, 5, True);
          end;
        FreeDTM(ArrowDTM)
      end;

      if not RightClickMethod then
        begin
          StatsGuise('Spamming Targets');
          MarkTime(Timer);
          repeat
            if FindColorTolerance(x, y, 4310482, 230, 162, 296, 219, 11) then
              MMouse(487, 42, 5, 5);
              Wait(600);
              if IsUpText('lose') then
                ClickMouse2(True);

            if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
              repeat
                ClickMouse2(True);
                Wait(RandomRange(15, 40));
                if FindNPCChatText('orry', Nothing) then
                  RoundFin := True;
              until(not IsUpText('-at') or RoundFin);
          until(RoundFin or (TimeFromMark(Timer) > 40000));

          if TimeFromMark(Timer) > 40000 then
            begin
              if not InCords(2510, 2965, 2545, 2990) then
                myPath := [Point(2554, 2927), Point(2542, 2935), Point(2534, 2947), Point(2524, 2955), Point(2515, 2963), Point(2515, 2982)];
                SPS_WalkPath(myPath);
                ClickNorth(1);
                MakeCompass(35 + Random(5));
            end;
        end;

      if RightClickMethod then
        begin
          StatsGuise('Shooting Targets');
          for i := 1 to 10 do
            begin
              if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
                ClickMouse2(False);
                Wait(200 + Random(150));
                ChooseOptionEx('arget', 'object');
                Wait(2400 + Random(150) + Laggy);
                MMouse(487, 42, 3, 3);
                Wait(550 + Random(150) + Laggy);
                if IsUpText('lose') then
                  ClickMouse2(True);
                  repeat;
            end;
          if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
          FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
            Mouse(x, y, 5, 5, False);
            WaitOption('to C', 500);
        end;

        CoursesDone := (CoursesDone + 1);
    end;

  20. #445
    Join Date
    May 2012
    Location
    UK
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK so ive tried to play around with anti-leach read loads of these comments and im still clueless ;( plz someone help me i really need this awesome script, ive read a few of the stuff on tutorial island but its still not working right

    sorry for being a noob, and help greatly appreciated
    Last edited by alskinso; 09-03-2012 at 05:30 PM.

  21. #446
    Join Date
    Sep 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    there seems to be an error in line 45 and 54. not enough parameters or something of the sort. any help?

    [edit] OK I got the problem in line 45 resolved it seems but the one in line 54 still persists.

    [Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(55:19): Invalid number of parameters at line 54
    In the line it says SmartSendKeys(S);
    someone please help
    Last edited by dickey; 09-23-2012 at 01:08 PM.

  22. #447
    Join Date
    Apr 2012
    Location
    Bawtville
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    So I got the script to work, but how do I make the main loop repeat? I've literally been looking through guides and tweaking the script for over an hour, I would really appreciate some help.

  23. #448
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    can any1 post me the link of totorial of bypassing antileech?

  24. #449
    Join Date
    Oct 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok try not to laugh at me, im new with all this script and simba stuff i dont know what to put in this script to make it work. little help please

  25. #450
    Join Date
    Oct 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok,

    Yes I'm a leecher. I've got very basic knowledge of C++ from about a year ago so even that's rusty. I've looked through the entire thread. I've tried to use the hints. I found the punctuation error. I already know it won't loop even if I can get it to run. I'll figure that out later. My problem is with the SMART compiler. I've only seen one other person with the "Invalid number of parameters at line 45" compiler error and the help that he got wasn't helpful to me. I googled it like Footy said but the "first result" didn't really tell me anything that I could figure out how to use... I'm not sure if it's part of the anti-leech or if Simba got updated recently and it's not working anymore.

    I've forced simba to update: Tools > Update > Force Update.
    I've made sure all my extensions are updated.
    I can't find anything else to update to make sure its good to go.

    Any help??

    -Vortex

Page 18 of 19 FirstFirst ... 816171819 LastLast

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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