Results 1 to 2 of 2

Thread: Issue with Spells.Cast(CAST_SUPERHEAT_ITEM);

  1. #1
    Join Date
    Nov 2014
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default Issue with Spells.Cast(CAST_SUPERHEAT_ITEM);

    Anyone face issues using the Spells API?

    After I have the spell book opened, I cannot use the superheat spell in the spell book by using the following code:
    Spells.Cast(CAST_SUPERHEAT_ITEM);

    The error message is:
    Error: You are accessing an invalid point, (24,0) at bitmap[3] at line 175
    Execution failed.

    and the Drawing tab is opened.

    Is there any fix to this code?

    Another question is that is there any built-in code for lunar spell book?

  2. #2
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    https://github.com/Joopi/SRL/commit/...9917210320e840

    I fixed it there. Would be nice if you could test it a bit since I don't have the time to launch RS really. This is not the official repo, but those are the only changes. You can either get the repository or just change the two edited lines in your local copy.
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

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
  •