Results 1 to 14 of 14

Thread: Help with walking.

  1. #1
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with walking.

    So, i am making a non-rs script. Its for a game in which the movement is controlled by a,s,w, and d. So basically, i have no clue how to make scar press those keys for a certain amount of time, and i am sure its possible.
    basically, i need the character to walk down for 5 seconds and right for 15 seconds, how would i do this?
    thank you.

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    SCAR Code:
    program New;
    begin
    // this is for 'a'
    KeyDown(65)
    wait(5000+random(200))
    keyup(65)

    ////this is for 's'
    KeyDown(83)
    wait(5000+random(200))
    keyup(83)

    // this is for 'w'
    KeyDown(87)
    wait(5000+random(200))
    keyup(87)

    // this is for 'd'
    KeyDown(68)
    wait(5000+random(200))
    keyup(68)


    end.


    Here
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    arg... i knew it. i thought it was KeyPress tho.
    thank you

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

    Default

    No need for random waits, this ISN'T RuneScape

  5. #5
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Well, who knows. It be just as fffked up as RS with all the detection crap?
    It was just an idea
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  6. #6
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nah im pretty sure there is no detection at all.
    ive got one more question tho:
    so the game has a bank, in which you can store money. it works like this:
    you type in an amount and then you press the deposit button.
    is there an easier way to enter the number 147 than doing keydown(whatever) and so on.
    and btw, how did you figure you that s was keydown(83)
    charmap says its U+0061, i dunno how to convert that tho

  7. #7
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by ldubindaclub View Post
    nah im pretty sure there is no detection at all.
    ive got one more question tho:
    so the game has a bank, in which you can store money. it works like this:
    you type in an amount and then you press the deposit button.
    is there an easier way to enter the number 147 than doing keydown(whatever) and so on.
    and btw, how did you figure you that s was keydown(83)
    charmap says its U+0061, i dunno how to convert that tho
    I'm pretty sure you can use this...
    SCAR Code:
    SendKeys('147');

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  8. #8
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cool thanks.

  9. #9
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Do you have to press enter after you type that number?
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  10. #10
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no just use typesend? its safer than sendkeys and more humanlike and even if they don't have detection people could be watching its just safety really


  11. #11
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok, ill use typesend.
    is there a map of chars?
    like in windows there is charmap, but is there one for scar/pascal
    like a list of chars and their corresponding numbers?

  12. #12
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by ldubindaclub View Post
    ok, ill use typesend.
    is there a map of chars?
    like in windows there is charmap, but is there one for scar/pascal
    like a list of chars and their corresponding numbers?
    I found one like a week ago on this forum (I think it war srl-forums anyway). Try searching. I'll try for a few minutes and edit this post if I find something.

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  13. #13
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no for typesend you just do typsend('hello im sandos1234!!!111!!!');


  14. #14
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by sandos1234 View Post
    no for typesend you just do typsend('hello im sandos1234!!!111!!!');
    that is really cool, thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. walking help?
    By Rubix in forum OSR Help
    Replies: 0
    Last Post: 07-15-2008, 02:35 AM
  2. Walking
    By imskate182 in forum OSR Help
    Replies: 4
    Last Post: 12-20-2007, 05:18 AM
  3. Map walking
    By boberman in forum OSR Help
    Replies: 1
    Last Post: 12-06-2007, 12:48 AM
  4. help with walking
    By Jake_453 in forum OSR Help
    Replies: 7
    Last Post: 05-15-2007, 12:49 AM

Posting Permissions

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