Results 1 to 14 of 14

Thread: SRL 5 Access Violation?

  1. #1
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default SRL 5 Access Violation?

    SCAR Code:
    Compiled successfully in 1451 ms.
    SRL Compiled in 16 msec
    SMART Initialized.
    Loaded: Server 52, Members: True, Signed: True, Super Detail: False.
    Error: Exception: Access violation at line 101
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]

    Points to /Misc/Smart.simba Line 101 aka SmartGetColor.. No scripts work for me on SRL 5 :S


    And why is the includes so hard to read?!
    Last edited by Brandon; 12-16-2011 at 08:38 PM.
    I am Ggzz..
    Hackintosher

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    srl 5 is out?

    i will look into it and see, what script were you using?

    ~shut

    Yeah its out somehow.. I just found out so I decided to give it a try.. and bam access violations all over the place..

    I was using a blood rune script.
    I am Ggzz..
    Hackintosher

  4. #4
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  5. #5
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    STOP PM'ING ME

  6. #6
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  7. #7
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    nothing seems to compile for me, so i would suggest switching back to SRL 4

    ~shut
    Thats because there's changes (obviously..).
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  8. #8
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    I just tested it and it all compiled fine for me. (Test compile not a script)
    STOP PM'ING ME

  9. #9
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    It compiles, but it does throw an access violation once it starts to run. I haven't had much time to look into it though.

    Nava, does this have anything to do with your mouse implementations? (not placing any blame, just trying to get it fixed. )

  10. #10
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    I thought we removed it?
    STOP PM'ING ME

  11. #11
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    SRL5 is exactly the same as SRL4 in terms of functionality. Just the methods are commented differently and is Simba only. So I wouldn't really bother with it
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  12. #12
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Daniel View Post
    SRL5 is exactly the same as SRL4 in terms of functionality. Just the methods are commented differently and is Simba only. So I wouldn't really bother with it
    No, actually its not.

    It has more bug fixes amongst other things. It also has some speed boosts in some nice places where Simba can enhance it.

    @NCDS, no, that was fixed. It was because I had forgotten to call "setupGauss." That was also an immediate runtime error, not like this.

    Could be an old version, though.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  13. #13
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  14. #14
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    ok, its compiling now, dont know why it didnt yesterday... :/

    anyway, just a simple
    Simba Code:
    {$i srl/srl.simba}

    begin
    setupsrl;
    end.


    compiles and runs fine, so if OP could let me know which script then i can look into it

    ~shut
    Go to castlewars.. Run this script.. Bam..

    [Hint] C:\Simba\Includes\SRL/SRL/core/antiban.simba(131:3): Variable 'X' never used at line 130
    [Hint] C:\Simba\Includes\SRL/SRL/core/antiban.simba(131:3): Variable 'Y' never used at line 130
    Compiled successfully in 1404 ms.
    SRL Compiled in 16 msec
    SMART Initialized.
    Loaded: Server 45, Members: True, Signed: True, Super Detail: False.
    Error: Exception: Access violation at line 101
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
    Code:
    program new;
      {$define SMART}
      {$define CRASHSMART}
      {$i SRL/SRL.simba}
      {$i sps/sps.simba}
      {$i SRL/SRL/misc/paintsmart.simba}
      {$i SRL/SRL/skill/summoning.simba}
    
      Procedure DeclarePlayers;
      begin
        HowManyPlayers := 1;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer := 0;
        with Players[0] do
        begin
          Name        := '';
          Pass        := '';
          Pin         := '';
          BoxRewards  := ['XP','xp','lamp'];
          LampSkill   := 'Slayer';
          Active      := True;
        end;
      end;
    
      Function OpenChest: Boolean;
      var
        X,Y,T: Integer;
      begin
        Result := BankScreen;
    
        if FindObjTPAMulti(X, Y, [5793394, 11447990, 13619160], 3, 2, 10, 10, 10, ['Use','Bank','chest']) then
        begin
          MMouse(X, Y, 0, 0);
          wait(500);
          ClickMouse2(True);
          if not DidRedClick then
            Exit;
          FFlag(0);
    
          MarkTime(T);
          repeat
            FindNormalRandoms;
            if (TimeFromMark(T) > 5000) then
              Exit;
            if (BankScreen) or (PinScreen) then
              break;
            Wait(100);
          until(false)
    
          if PinScreen then
            if (Players[CurrentPlayer].Pin <> '') then
              InPin(Players[CurrentPlayer].Pin);
        end;
    
        Result := BankScreen;
      end;
    
    
    begin
      Smart_Server := 45;
      Smart_Members := True;
      Smart_Signed := True;
      Smart_SuperDetail := False;
    
      DeclarePlayers;
    
      SetupSRL;
       OpenChest;
    end.
    I am Ggzz..
    Hackintosher

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
  •