Results 1 to 10 of 10

Thread: Fixed SetChat for updated RS

  1. #1
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default Fixed SetChat for updated RS

    For those of you that need a working SetChat, did a quick fix.
    Changed the cords and added assist (5).

    SCAR Code:
    procedure SetChat2(state: string; chat: Integer);//Temporary working one till SRL update
    var
       x, y, mx, my, Color: Integer;
    begin
      case chat of
        1: mx := 145;
        2: mx := 199;
        3: mx := 316;
        4: mx := 261;
        5: mx := 373;
        else Exit;
      end;
      my := 492;
      case LowerCase(State) of
        'on': begin Color := 65280; State :='On'; end;
        'off': begin Color := 255; State :='Off'; end;
        'hide': begin Color := 16776960; State :='Hide'; end;
        'friends': begin Color := 65535; State :='Friends'; end;
        else Writeln('State in SetChat does not exist!');
      end;
      if not FindColor(x, y, Color, mx - 10, my - 10, mx + 10, my + 10) then
      begin
        Mouse(mx, my, 8, 8, False);
        Wait(450 + Random(175));
        ChooseOption(State);
      end;
    end;
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  2. #2
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

  3. #3
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    yea they added a "assist" button in the setchat area, wanted a working one real quick so I modified it
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  4. #4
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    u could have added for the assist button aswell :P

    Edit: oh i think i didnt notice u already did xP

    Anyways gj.. ill include to my srl

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    This one is wrong and will cause some lil problem! No offence, but in the original SetChat Trade and Friend's got different numbers . 1) Public 2) Private 3) Trade 4) Clan, so you better use mine .

    SCAR Code:
    case chat of
        1: mx := 145;
        2: mx := 199;
        3: mx := 316;
        4: mx := 261;
        5: mx := 373;
        else Exit;
      end;
    Verrekte Koekwous

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

    Default

    Devs fixed I think, because when I used two SetChat(1, 'Hide') and SetChat(3, 'Off') it did those and then set assist to false.

    Btw, there is one thing devs need to fix.

    Its a little bot-like that even if the chat was on like Hide, it still sets it to Hide again..

    EDIT: Your seems to check..

  7. #7
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    Devs fixed I think, because when I used two SetChat(1, 'Hide') and SetChat(3, 'Off') it did those and then set assist to false.

    Btw, there is one thing devs need to fix.

    Its a little bot-like that even if the chat was on like Hide, it still sets it to Hide again..

    EDIT: Your seems to check..
    Dude, there is 1 tab added, it might find the colors of the old tab, but it won't work for all since we've got 5 buttons now instead of 4..

    Oh please change the coords correctly in your first post ^.^, as stated up .
    Verrekte Koekwous

  8. #8
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Oh I see what I did, fixing. >.>
    Thing is, I would count from the left to right anyways. So probably should have them back to what I normally had them, and rename the numbers correctly for next SRL update.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  9. #9
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Narcle View Post
    Oh I see what I did, fixing. >.>
    Thing is, I would count from the left to right anyways. So probably should have them back to what I normally had them, and rename the numbers correctly for next SRL update.
    Its all done because all the script would need fixing for this, but yeah i made this error to in the begin.. But i do get why they done it, although its not really logical.
    Verrekte Koekwous

  10. #10
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Its all done because all the script would need fixing for this, but yeah i made this error to in the begin.. But i do get why they done it, although its not really logical.
    /shrug
    As long as we know how it works. I really wasn't worried about it, since I mainly just use it in my current scripts to turn ALL off.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SetChat Fixes
    By Tim0suprem0 in forum Research & Development Lounge
    Replies: 0
    Last Post: 08-10-2007, 03: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
  •