Results 1 to 4 of 4

Thread: Arg! Error?

  1. #1
    Join Date
    Dec 2011
    Location
    Los Angeles, California
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Arg! Error?

    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 3]

    I get that every time my script's about to walk!
    I got it after I borrowed this code from Tehq's Vial Filler:
    Procedure WillowTreesToShop; //Borrowed from Tehq's Vial Filler
    var
    Failsafe, x, y: Integer;
    WT2S: TPointArray;
    InShop: TBox;
    begin
    WT2S:= [Point(3718, 3874), Point(3687, 3848), Point(3675, 3810), Point(3637, 3802)];
    InShop := PointToBox(Point(3631, 3793), Point(3629, 3810));
    Failsafe := 0;
    repeat
    ClearDebug;
    WriteLn('Walking to the general store...');
    SPS_WalkPath(WT2S);
    Inc(Failsafe);
    until (PointInBox(SPS_GetMyPos, InShop)) or (Failsafe = 4);
    if (Failsafe = 4) then
    begin
    Wait(1300 + Random(400));
    if FindSymbolIn(x, y, 'store', MMX1, MMY1, MMX2, MMY2) then
    Mouse(x, y, 3, 3, mouse_left);
    end;
    end;

  2. #2
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    those arent errors. it simply means for some reason, dtms within the srl include were not freed. did something crash?

  3. #3
    Join Date
    Dec 2011
    Location
    Los Angeles, California
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    those arent errors. it simply means for some reason, dtms within the srl include were not freed. did something crash?
    Yeah, every time, after my player gets a full inventory, the script stops as soon as it tries to move on to that procedure, and it gives that message. Oh yeah! It also highlights this line in sps: FoundMatches := SPS_FindMapInMap(P.x, P.y, SPS_AreaMaps, SmallMap, SPS_Tolerance);

  4. #4
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Post that on his script thread not here.

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
  •