Results 1 to 8 of 8

Thread: Urgh, Wtf is this error :s [Alot of detail]

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default Urgh, Wtf is this error :s [Alot of detail]

    Well i'm making an Advanced Agility Bot for the Barb Course - Heres the code for the part that keeps messing up.

    Simba Code:
    procedure ClimbDatShit;
    var
    x, y:Integer;
    begin
      repeat
      if FindObjCustom(x, y, ['Climb', '-up'], [3624803], 10) THEN
      WriteLn('Finding the wall');
      MMouse(x, y, 2, 2);
      until(IsUpText('Climb'));

      begin
        WriteLn('Climbing!');
        Mouse(x, y, 2, 2, True);
        wait(5000 + random(200));
        AntiBan;
        AntiRandoms;
      end;
    end;
    All the other procedures work perfectly, but I get this error:

    Simba Code:
    Error: Exception: The window is already frozen. at line 723
    The following DTMs were not freed: [SRL - Lamp bitmap, 1, SRL - Lamp bitmap, 3]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

    Picture of my Minimap:
    http://gyazo.com/9606da77d5c6d37fd5f471bdd96c7d2f


    Picture of the orange error:
    http://gyazo.com/1fc463c203ddb1f89751877901d28e56

    Please help :s



    Also, how do i set the camera angle to a certain spot?

  2. #2
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Do you have an updated SRL? That issue should have been fixed.

    Also, "MakeCompass();" is what you need to set compass angle.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Do you have an updated SRL? That issue should have been fixed.

    Also, "MakeCompass();" is what you need to set compass angle.
    I'll try updating.
    And for "MakeCompass(*w/s/n/e) would go inside?
    West or W as the variable?

  4. #4
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    You can pass in numbers too, look in the core folder of SRL and it should be in minimap.scar and it will tell you everything.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  5. #5
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Ahh kk thanks
    But im still unclear on wether to input numbers or the irections :s
    Can you give me an example with West?

  6. #6
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    MakeCompass(W);

    would make the compass west.

  7. #7
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    MakeCompass(W);

    would make the compass west.
    MakeCompass(90) would also point you west.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  8. #8
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by euphemism View Post
    MakeCompass(90) would also point you west.
    I figured this out on my own
    Anyways, now my next and final problem is the fact of walking D:
    I can't seem to make it walk to the specified point D:
    Once I get this done, my script's compelte >:3

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
  •