Results 1 to 9 of 9

Thread: SetBrightness Function!

  1. #1
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    SetBrightness Function!

    This is my script. To use it just put {.include SetBrightnessProc.scar} at the beginning of your scripts that you want to use. You don't need SetupSRL; or {.include SRL/SRL.scar} either. SetBrightnessProc already includes them. So in otherwords, If you include this, just don't put in SetupSRL; or SetBrightnessProc. You only need SetupSRL; if you use any SRL functions before this one. Sample Script:

    SCAR Code:
    Program SetBrightnessTest;

    {.include SetBrightnessProc.scar}

    Begin
    SetupSRL;

    SetBrightness(4)
    End.


    Installation:

    1. Download the attachment SetBrightnessProc and save in your includes directory.

    2. You're all set! Just type SetBrightness(1)-(4) depending on what level you want brightness. Good procedure for noob autoers that don't know you need high brightness. Thanks,

    K Y L E / Da 0wner
    -Pm K Y L E on SRL Forums if you want to talk to me. That's my new account. That one just dosen't have permission. Lol.

  2. #2
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    What is the use of this? You basically just include SRL, move to (0, 0), thats because x and y are zero. Next, you use a function from SRL.
    EDIT: Not a function from SRL. But SRL has a Brightness function.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

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

    Default

    This is not a "Utility" it would be a function. As you purely said in your title. I think this should go in public testing...

    Your file can easily be reduced to a single function instead of many... And it relies on cord clicking... eww
    (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
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

  5. #5
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    What is the use of this? You basically just include SRL, move to (0, 0), thats because x and y are zero. Next, you use a function from SRL.
    EDIT: Not a function from SRL. But SRL has a Brightness function.
    "Da 0wner" actually got owned this time!


    ----

    Thanks for trying to contribute to SRL anyways.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  6. #6
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    omg why everyone be so mean to me i didn't know that and this is my first script =[ plus i didnt know SRL had a brightness function.

  7. #7
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ Wizzup.

    That was just a example to show a SRL function that you would need SetupSRL;... The correct use is Mouse(50, 50, 0, 0, true/false); change 50, 50 to the co-ords and change 0, 0, to random and trye/false to true if you want click false if you want right click. Jeez, sorry people why can't you go easy on me. =[

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

    Default

    Quote Originally Posted by Da 0wner View Post
    @ Wizzup.

    That was just a example to show a SRL function that you would need SetupSRL;... The correct use is Mouse(50, 50, 0, 0, true/false); change 50, 50 to the co-ords and change 0, 0, to random and trye/false to true if you want click false if you want right click. Jeez, sorry people why can't you go easy on me. =[
    No hard feelings dude Just build on what you know.

  9. #9
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    alright i just don't understand the isuptext find text and all that stuff.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-26-2008, 08:26 PM
  2. [FUNCTION] FindDoorColour: integer; By ZephyrsFury [FUNCTION]
    By ZephyrsFury in forum Research & Development Lounge
    Replies: 10
    Last Post: 07-27-2007, 08:45 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
  •