Results 1 to 8 of 8

Thread: one day I will learn,

  1. #1
    Join Date
    Dec 2008
    Location
    Ontario, Canada
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default one day I will learn,

    so I go to test my script after re-installing Simba and I get this

    Error: Exception: Access violation at line 305
    The following DTMs were not freed: [SRL - Lamp bitmap, 1, 4, SRL - Lamp bitmap]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 6]


    I tried figuring it out on my own but I need help.

    EDIT: I FIGURED OUT THE ISSUE, i FORGOT A COMMAND WHILE SETTING UP SPS
    Last edited by blink; 04-16-2012 at 02:06 PM.

  2. #2
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    What line did it highlight?


    also, make an antiban function instead of this
    Simba Code:
    MakeCompass('E');
              Wait(5100+ random(1010));
                MakeCompass('W');
                SetAngle(SRL_ANGLE_HIGH);
                  Wait(4007+ random(1003));
                  SetAngle(SRL_ANGLE_LOW);
                     MakeCompass('N');
                     Wait(3200+ random(2150));

  3. #3
    Join Date
    Dec 2008
    Location
    Ontario, Canada
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it didnt highlight anything from my script... it opened a new tab labeled "sps" and highlighted line 305 :

    FoundMatches := SPS_FindMapInMap(P.x, P.y, SPS_AreaMaps, SmallMap, SPS_Tolerance);

    (lines 305-324)
    Last edited by blink; 04-16-2012 at 01:45 AM.

  4. #4
    Join Date
    Oct 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    but it is not this day !
    U Will Not Regret Trust Me
    http://freeminecraft.me/?ref=1102475

  5. #5
    Join Date
    Dec 2008
    Location
    Ontario, Canada
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by fretje12 View Post
    but it is not this day !
    "But today will not be the day. " Would be more appropriate grammar, Unless of course you are 12, then I apologize.

    Secondly, nice troll.

    Thirdly, you are mistaken because I figured it out on my own.
    Last edited by blink; 04-16-2012 at 02:04 PM. Reason: Figured out problem

  6. #6
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

  7. #7
    Join Date
    Mar 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how is this fixed? Im having the same problem

  8. #8
    Join Date
    Dec 2008
    Location
    Ontario, Canada
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by young richard View Post
    how is this fixed? Im having the same problem

    basically my script looked like this

    I originally forgot to add,

    SetupSRL;
    SPS_Setup(RUNESCAPE_SURFACE,['10_9']);

    thats how i solved it,

    Scripting for me is a lot of trial and error.



    Code:
    procedure WalkToBank;
    
    var
      ToBank,ToTrees:TPointArray;
    begin
      if(not(LoggedIn))then
        Exit;
      FindNormalRandoms;
    
      SetupSRL;
      SPS_Setup(RUNESCAPE_SURFACE,['10_9']);
    
      SPS_Areas := ['10_9'];
      ToBank:= [Point(4273, 3657), Point(4273, 3657),
                Point(4216, 3640), Point(4190, 3665)];
      SPS_WalkPath(ToBank);
      Wait(5075+random(953));
    
      SetupSRL;
      SPS_Setup(RUNESCAPE_SURFACE,['10_9']);
    
      SPS_Areas := ['10_9'];
      ToTrees  := [Point(4190, 3665), Point(4191, 3645),
                   Point(4232, 3643), Point(4269, 3666)];
    
      SPS_WalkPath(ToTrees);
    
      Wait(1354+random(254));
      FindNormalRandoms;
    end;
    Anyways I upgraded to DTM walking

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
  •