Issue: Access Violation

  1. issueid=455 09-04-2015 09:32 AM
    Registered User
    Access Violation
    Error: Access violation at line 363

    Hello,

    When i try the code below i receive this error on the commande (TRSMinimap.setAngle(MM_DIRECTION_NORTH);)

    Error
    Error: Access violation at line 363
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (04-09-15 at 11.18.12 AM).txt] has not been freed in the script, freeing it now.
    CODE
    program new;
    {$DEFINE SMART} // comment this line out if you don't want to use SMART
    {$i srl-6/srl.simba}
    {$i sps/lib/sps-rs3.simba}

    var
    p: TPoint;

    begin
    clearDebug();
    smartEnableDrawing := true;

    SetUpSRL();
    print('debut du programme');
    players.setup(playerNames,playerFile);
    if (lobby.findPlayButton(p)) then
    begin
    print('trouver');
    mouse(p,mouse_left,MOUSE_HUMAN);
    end else
    print('trouver');
    wait(20000);


    TRSMinimap.setAngle(MM_DIRECTION_NORTH);
    TRSMainScreen.setAngle(MS_ANGLE_HIGH);

    end.
Issue Details
Issue Number 455
Project SRL Bugs and Suggestions
Status Not a Bug
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




  1. 09-16-2015 12:26 PM
    Issue Changed by The Mayor
    • Status changed from Unconfirmed to Not a Bug
+ Reply