Results 1 to 20 of 20

Thread: a more human like way to setrun

  1. #1
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default a more human like way to setrun

    when not im autoing i often use SHIFT to run(if you didn't know..if you hold down shift and click somewhere to walk you start to run)

    i though about this function while playing on my main cause its more human like

    the script should something like this

    SCAR Code:
    while ShiftDown do
      RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
        RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
          RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
    ShiftUp;

    you get the point right :P ?
    it would be great if someone would workout my idea
    ....

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    you mean like when the person who autos (or work) hits the shift button, the script would walk in a random direction?

    whaat?

  3. #3
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by dushii View Post
    (if you didn't know..if you hold down shift and click somewhere to walk you start to run)
    ..
    ....

  4. #4
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    What he means is while autoing rite before it clicks somewhere to walk to hold shift(run) and click, then let go of shift, good idea . Like the idea

  5. #5
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by cnr sport View Post
    What he means is while autoing rite before it clicks somewhere to walk to hold shift(run) and click, then let go of shift, good idea . Like the idea
    exactly
    ....

  6. #6
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think it's a good idea too. Easier then switching tabs and more human like as well.

  7. #7
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Hmm, Its a good idea, didn't it used to be ctrl though?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  8. #8
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Wait, you mean procedure RunControl(Run: Boolean);?

    In fact, this was a good idea. I won't have to switch tabs.
    So, I'll do something like this..

    SCAR Code:
    if Random(5) = 0 then
      KeyDown(17)
    else
      SetRun(True);

    But of course more complicated than that, since I have to KeyUp if Random(5) did return 0.

    But, my point is; thanks for the idea.


    Edit: AFAIK it's CTRL, because I tested it with CTRL and it worked.
    And, I believe that chr #17 is CTRL.

  9. #9
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Hmm, Its a good idea, didn't it used to be ctrl though?
    shift or ctrl im confused XD

    Quote Originally Posted by EvilChicken! View Post
    Wait, you mean procedure RunControl(Run: Boolean);?

    In fact, this was a good idea. I won't have to switch tabs.
    So, I'll do something like this..

    SCAR Code:
    if Random(5) = 0 then
      KeyDown(17)
    else
      SetRun(True);

    But of course more complicated than that, since I have to KeyUp if Random(5) did return 0.

    But, my point is; thanks for the idea.
    you forgot to release KeyDown(17) :P
    ....

  10. #10
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it is control afaik
    Blank!

  11. #11
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    It's ctrl key, and it's already in srl..

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  12. #12
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by the scar noob View Post
    It's ctrl key, and it's already in srl..

    -Tsn.
    it is ?
    never seen(someone using it) befor
    ....

  13. #13
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  14. #14
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by dushii View Post
    it is ?
    never seen(someone using it) befor
    If I'm not wrong, Fawki used it as first, when it wasn't part of srl, in his fally guard fighter

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  15. #15
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by the scar noob View Post
    If I'm not wrong, Fawki used it as first, when it wasn't part of srl, in his fally guard fighter

    -Tsn.
    nope i looked at the script and found nothing about running with Ctrl

    but i found it in gametab.scar

    SCAR Code:
    {*******************************************************************************
    procedure RunControl(Run: Boolean);
    By: Wizzup?
    Description: Sets Run on or off, using control, DOES NOT stack with SetRun(),
                 Use them seperately.
    *******************************************************************************}


    procedure RunControl(Run: Boolean);
    begin
      Wait(10 + Random(20));
      if Run then
        KeyDown(17)
      else
        KeyUp(17);
      Wait(10 + Random(20));
    end;
    ....

  16. #16
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by dushii View Post
    when not im autoing i often use SHIFT to run(if you didn't know..if you hold down shift and click somewhere to walk you start to run)

    i though about this function while playing on my main cause its more human like

    the script should something like this

    SCAR Code:
    while ShiftDown do
      RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
        RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
          RadialRoadWalk(blabla, 100, 50, 50, 0, 0);
    ShiftUp;

    you get the point right :P ?
    it would be great if someone would workout my idea
    procedure RunControl(Run: Boolean);
    By: Wizzup?
    Description:
    Sets Run on or off, using control, DOES NOT stack with SetRun(),
    Use them seperately.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  17. #17
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by dushii View Post
    nope i looked at the script and found nothing about running with Ctrl
    And I remembered me..

    SCAR Code:
    Function PickupStuff: Boolean;
    var Gx, Gy, Dumx, Dumy:Integer;
    begin
      if Pickup then
      begin
        Gx := MSCx;
        Gy := MSCy;
        if FindColorSpiralTolerance(Gx, Gy, 1347504, MSX1, MSY1, MSX2, MSY2, 4) or
        FindColorSpiralTolerance(Gx, Gy, 11842750, MSX1, MSY1, MSX2, MSY2, 2)
      then
        begin
          MMouse(Gx, Gy, 2, 2);
          Wait(100);
          GetMousePos(Gx, Gy);
          FindNonInventoryRandoms;
          if FindColorTolerance(Dumx, Dumy, 4293337, 42, 8, 120, 21, 50) then  // Brown
          begin
            Mouse(Gx, Gy, 0, 0, False); // pick it up!
            [B]RunControl(True);[/B]
            ChooseOptionText;
            [B]RunControl(False);[/B]
            Result:=True;
          end;
        end;
      end;
    end;
    It could also be that he was the first one using that procedure of srl

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  18. #18
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    afaik as far as know
    Blank!

  19. #19
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Also a quick way of switching tabs:

    For the top line only

    F1 = Tab1, so on until F7 or F8..

  20. #20
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    Also a quick way of switching tabs:

    For the top line only

    F1 = Tab1, so on until F7 or F8..
    Yea, I know, is it also included in SRL? cause I don't know about that

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SetRun?
    By faster789 in forum OSR Help
    Replies: 3
    Last Post: 04-15-2008, 01:57 PM

Posting Permissions

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