Results 1 to 10 of 10

Thread: Quick Magic question

  1. #1
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Quick Magic question

    Hi.

    Why doesn't this work:

    SCAR Code:
    Cast('home teleport')

    Just opens GameTab 7 and then moves on in the script?

  2. #2
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you need to include magic.scar

    SCAR Code:
    {.include srl/srl/skill/magic.scar}

    Are you sure it isn't Cast(1)?

  3. #3
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That is already added.

  4. #4
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try

    Cast(1);

  5. #5
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Assuming you meant Cast('1');
    But no, still doesn't change anything.
    Does it matter if the script is running in Smart?

  6. #6
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Well, Cast('home teleport') should be the same as Cast('1'). But try it with Cast('1') anyway.

    Edit: Ninja'd. Um, try it without SMART and see what happens.

  7. #7
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    Well, Cast('home teleport') should be the same as Cast('1'). But try it with Cast('1') anyway.

    Edit: Ninja'd. Um, try it without SMART and see what happens.
    Read above :P

  8. #8
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, I can't run without Smart since the script is using reflection.
    Guess I'll have to make my own primitive caster which just uses Mouse function?

  9. #9
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    bitmaps are broken for the casts
    wait for a update from the devs
    the new one will be much more accurate and better and shouldnt break anywhere near as fast because it uses luminance of the color of the spell to see if its active and if it is then it will click it
    i think its luminance it might be hue or saturation idk

    ~shut

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

    Default

    Its Luminance... were also waiting for Magic update that I think Jagex announced.
    (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. Just a quick question? Did I say quick?
    By SeanJohn in forum OSR Help
    Replies: 3
    Last Post: 01-28-2009, 12:03 AM
  2. Quick question
    By script taker in forum OSR Help
    Replies: 2
    Last Post: 01-15-2008, 09:13 PM
  3. Quick Question
    By Macho Man67 in forum OSR Help
    Replies: 4
    Last Post: 03-04-2007, 10:20 AM
  4. Quick Question.
    By Hey321 in forum OSR Help
    Replies: 4
    Last Post: 12-22-2006, 12:46 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
  •