Results 1 to 7 of 7

Thread: LoginPlayer isn't workind due to function LoggedIn not find color!

  1. #1
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default LoginPlayer isn't workind due to function LoggedIn not find color!

    The function LoginPlayer, and all the other Logins, aren't working for me due to the function in players.scar LoggedIn:
    Code:
    function LoggedIn: Boolean;
    begin
      Result := (GetColor(439, 491) = 16777215);
    end;
    Can anybody fix this or tell me why it won't find the color?! I am using srl 4.7 with scar 3.13. I manually moved the color picker to that exact position and I found that color there, so that means scar isn't working properly right? Someone please Help!

    Thanks so much!

    Edit: I also re select the rs window before every running of the script. I really need this or I can't release or test my newest version of my tree chopper!

  2. #2
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Had it too, seems FindRS is fucked.
    delete these lines:
    SCAR Code:
    if (FindRS) then
      ActivateClient;
    and it should work fine
    I made a new script, check it out!.

  3. #3
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    Had it too, seems FindRS is fucked.
    delete these lines:
    SCAR Code:
    if (FindRS) then
      ActivateClient;
    and it should work fine
    Thanks heaps. But that means that I have to make everyone wanting to use the script delete it to! And believe me, not everyone bothers reading what I write.

    Edit: Right it works. Not exactly a very easy thing to make ppl do, il just make them download the include. Thanks!

  4. #4
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    I don't even have the activateclient and it works fine -.-

  5. #5
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lucky you. And your on 3.13?

  6. #6
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    The FindRS and ActivateClient part are useless. Only if you didn't crosshair they are actually used
    I made a new script, check it out!.

  7. #7
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ooh I see lol! Haha oh well, It still stopped it from running if ya didn't know how to fix it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-20-2009, 11:44 PM
  2. Replies: 4
    Last Post: 10-16-2007, 06:43 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
  •