Results 1 to 6 of 6

Thread: Question with SCAR problem

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy Question with SCAR problem

    Well it seems some of you know a bit about scar scripting and I'm in a bit of a pickle here. I'm trying to make a script for Maplestory, not runescape. And SCAR just won't let me press any keys down. I'm trying to hold down the "shift" button for about 20 seconds, then tap the "right arrow" button, then hold shift for 20 more seconds, then tap the "left arrow" button and then repeat the process to unlimited. This is what I had, (sorry not much of a scripter :P)
    program MapleSCAR;

    begin
    KeyDown(16);
    Wait(20000);
    KeyUp(16);
    Wait(1000);

    KeyDown(39);
    Wait(100);
    KeyUp(39);
    Wait(1000);

    KeyDown(16);
    Wait(20000);
    KeyUp(16);
    Wait(1000);

    KeyDown(37);
    Wait(100);
    KeyUp(37);
    Wait(1000);

    repeat

    end.
    Now I know I'm DEFINITELY doing something wrong here but I really cant figure it out. Basically what I'm trying to do is:

    Hold Shift 20 Seconds
    1 second wait
    Tap Right Arrow 1/10 second
    1 second wait
    Hold Shift 20 Seconds
    1 second wait
    Tap Left Arrow 1/10 second
    1 second wait
    Repeat forever

    If anyone could write me a simple script for that or tell me how to fix it, or hell do both, I would be most grateful [:

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    We now use Simba (click to download), which is created and maintained by the community.

    Anyways, this should work.
    Simba Code:
    procedure TypeKey(Key : Word; Duration : integer);
    begin
      KeyDown(Key);
      Wait(Duration);
      KeyUp(Key);
    end;

    begin
      repeat
        TypeKey(VK_SHIFT, 20000);
        Wait(1000);
        TypeKey(39, 100);
        Wait(1000);
        TypeKey(VK_SHIFT, 20000);
        Wait(1000);
        TypeKey(37, 100);
        Wait(1000);
      until(false);
    end.
    It is advisable to use random wait times as well to simulate human behavior.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    I'm gonna have to say MapleStory has some protection against this stuff.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  4. #4
    Join Date
    Apr 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Darn, it didn't work. And yea i figured Maplestory had protection from it. Do any of you know how I could bot in MS then?

  5. #5
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Kazzooey View Post
    Darn, it didn't work. And yea i figured Maplestory had protection from it. Do any of you know how I could bot in MS then?
    Yep. Go in to CheatEngine forums. There is couple bot programs. Or just hack it :P

    (Google)

    ~Home

  6. #6
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Kazzooey View Post
    Darn, it didn't work. And yea i figured Maplestory had protection from it. Do any of you know how I could bot in MS then?
    Umm I believe the problem could be that it is like SendKeys in c++... It can only sendkeys to the active window.

    Typesend and sendkeys only sendkeys to a window that has focus and is active so u need to SetFocus() and Activate() the window then send keys but u also have to make sure the mouse is pointed directly at the window you want to send keys to.

    If that doesn't work then learning a native language would help u

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
  •