Results 1 to 15 of 15

Thread: SCAR isn't working?

  1. #1
    Join Date
    Dec 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Angry SCAR isn't working?

    I have tried SCAR 3.22 and 3.23 beta. I have the SRL open dev repository. I have moved the plugins into the correct plugs folder. Basic functions such as GetColor & FindBitmap are not working. I'm using 32 bit color. There is nothing wrong with the scripts I have tried. It is really annoying! Any ideas?

  2. #2
    Join Date
    Nov 2009
    Location
    Seattle, WA
    Posts
    589
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    >.> Whoa you came outa no where xD. Post the Script here so we can see what you did.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

    Feel free to re-make my scripts ;D
    Community Member

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Show us what scripts you are trying to run/what test scripts you are trying to run and well try to help identify the problem.

    You probably already have, but make sure you got everything setup properly too:
    http://www.villavu.com/forum/showthread.php?t=47714

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried helping him on MSN but even basic things like login test scripts that used basic SRL functions weren't working for him.

  5. #5
    Join Date
    Dec 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have followed that setup. Here is one of the scripts:

    SCAR Code:
    program AutoLoginTest;
    {.include SRL/SRL.scar}

    procedure DeclarePlayers;
    begin
      HowManyPlayers:= 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer  := 0;
     
      Players[0].Name   := '...';
      Players[0].Pass   := '..';
      Players[0].Nick   := '.';
      Players[0].Active := True;
    end;

    begin
      SetupSRL;
      DeclarePlayers;
      ActivateClient;
      if (not (LoggedIn)) then
      begin
        WriteLn('Trying to login.');
        LoginPlayer;
        WriteLn('Logged in!');
      end else
        WriteLn('Already logged in.');
    end.

    I can make SCAR log me into RS using Mouse(x, y, true) and then TypeSend(...). I've also tried bitmap detection and color detection, which failed miserably. I can post those too if needed..

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    LoginPlayer is in SRL and it works just fine.

    SCAR Code:
    begin
      SetupSRL;
      DeclarePlayers;
      ActivateClient;
       LoginPlayer;
    end.
    All you need is that (LoginPlayer already checks to see if your logged in or not already)

  7. #7
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    LoginPlayer is in SRL and it works just fine.

    SCAR Code:
    begin
      SetupSRL;
      DeclarePlayers;
      ActivateClient;
       LoginPlayer;
    end.
    All you need is that (LoginPlayer already checks to see if your logged in or not already)
    The code is good, what he is trying to say is something is wrong with his setup/computer and he is wondering if anyone can help him.

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

    Default

    Quote Originally Posted by YoHoJo View Post
    LoginPlayer is in SRL and it works just fine.

    SCAR Code:
    begin
      SetupSRL;
      DeclarePlayers;
      ActivateClient;
       LoginPlayer;
    end.
    All you need is that (LoginPlayer already checks to see if your logged in or not already)
    Ah, alright. I didn't know it checked But even then the script isn't working. The script idles for some time then clicks around but completely misses the scroll with the login stuff.

  9. #9
    Join Date
    Nov 2009
    Location
    Seattle, WA
    Posts
    589
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    err, Can someone like upload there whole default Scar Folder and give it to this guy If anyone has a clean folder with everything up to date.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

    Feel free to re-make my scripts ;D
    Community Member

  10. #10
    Join Date
    Oct 2007
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You probably have misplaced SRL files, it happened to me when i used SRL Dev.

    Make sure everything relating to the SRL is located in Includes/SRL
    Woot woot.

  11. #11
    Join Date
    Dec 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I didn't mess around with any SRL stuff.. I followed coh3n's guide step by step using tortoise SVN and using the checkout..? Copied everything from "place inside plugins folder" and pasted it in "Plugins" folder. I've tried installing twice =S

  12. #12
    Join Date
    Dec 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright, have it all figured out. Big thanks to Heavenguard! I'm not sure if this is a bug in SRL or if it is meant to be this way. If RS is set to resizeable, most of SRL's functions wont work. I didn't read about this anywhere, including the wiki. Just saying in case someone else has the same problem as me. Make sure RS has a fixed screen size.

  13. #13
    Join Date
    Oct 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    scar keeps saying"Duplicate identifier 'ISMOVING' in script X:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Flag.scar"

    what should i do to fix his problem?

  14. #14
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by yaron369 View Post
    scar keeps saying"Duplicate identifier 'ISMOVING' in script X:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Flag.scar"

    what should i do to fix his problem?
    Please don't hijack any threads. If your problem is different from the initial problem stated by the thread creator, please start a new thread
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  15. #15
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by swatcatthous View Post
    Alright, have it all figured out. Big thanks to Heavenguard! I'm not sure if this is a bug in SRL or if it is meant to be this way. If RS is set to resizeable, most of SRL's functions wont work. I didn't read about this anywhere, including the wiki. Just saying in case someone else has the same problem as me. Make sure RS has a fixed screen size.
    That's a good point, I'm going to add that to my guide.

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
  •