Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 58

Thread: So, you get an error huh?

  1. #26
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I keep getting Exception in Script: Unable to find file 'SRL/SRL/Misc/Smart.simba' used from ''

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

    Default

    Follow a setup guide, because you haven't installed Simba and SRL correctly.
    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. #28
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Can you help me?

    I was getting this issue:
    Code:
    Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''
    Realized after a lot of reading that SRL.scar doesnt existdue to updates so obviously the script is old so i renamed it to SRL.simbe That fixed that issue.

    Now another issue occurs:
    Code:
    Exception in Script: Unable to find file 'SRL\SRL\Misc\stats.simba' used from ''
    I read Simba doesnt use this script anymore and that theirs no point adding it into a script.


    I am new to simba. I am using a script which i found in your scripts section and i cannot use the script for that error. How can i remove this part from the script to have it still run and work?

    The script is called: DuffsUltimateDwarf;//by PatDuffy

    Please help me fix this.

    Sorry if i posted in an incorrect area, this seems to be the best place to post?. Also all my extensions are allowed and updated and i have already removed the .xml and restarted simba. SO its defiantly the script itself.

    I believe i need to change/update this part of it:
    Code:
      SetAngle(True);
    How do i fix this though?

    WOW so easy to fix.... All fixed now i juts need to make this script work better...

    -Crash
    Last edited by Crash Override; 05-31-2012 at 09:32 AM.

  4. #29
    Join Date
    May 2012
    Location
    England
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy

    My problem isn't covered!
    With ggzz's / Brandons WFK, I get an Access Violation at line 101 under the "smart" tab.
    Code:
    Error: Exception: Access violation at line 101
    Code:
    {$DEFINE SRL_SMART}
    {$DEFINE SMART}
    {.loadlib libsmart}
    
    function IsKeyDown(C:Byte): Boolean;
    begin
      Result := SmartIsKeyDown(C);
    end;
    
    procedure MoveMouse(x, y: Integer);
    begin
      SmartMoveMouse(x, y);
    end;
    
    procedure HoldMouse(x, y: Integer; button : integer);
    begin
      if button = mouse_left then
        SmartHoldMousePlus(x,y,1)
      else if button = mouse_middle then
        SmartHoldMousePlus(x,y,2)
      else if button = mouse_right then
        SmartHoldMousePlus(x,y,3)
      else
        raiseexception(ercustomerror,'Unknown mouse button in SmartHoldMousePlus');
    end;
    
    procedure ReleaseMouse(x, y: Integer; button : integer);
    begin
      if button = mouse_left then
        SmartReleaseMousePlus(x,y,1)
      else if button = mouse_middle then
        SmartReleaseMousePlus(x,y,2)
      else if button = mouse_right then
        SmartReleaseMousePlus(x,y,3)
      else
        raiseexception(ercustomerror,'Unknown mouse button in SmartReleaseMousePlus');
    end;
    
    procedure KeyUp(key: Byte);
    begin
      If Key = 13 Then
        Key := 10;
      SmartReleaseKey(key);
    end;
    
    procedure KeyDown(key: Byte);
    begin
      If Key = 13 Then
        Key := 10;
      SmartHoldKey(key);
    end;
    
    procedure SendKeys(S: String; keywait{$IFNDEF SIMBAMAJOR980}, keymodwait{$ENDIF}: integer);
    begin
      SmartSendKeys(S);
    end;
    
    function FindAndSetTarget(TitlePrefix: String; SetAsTarget: Boolean): Boolean;
    var
      T : TSysProcArr;
      I : Integer;
    begin
      T := GetProcesses;
      for I := High(T) downto 0 do
        if Pos(TitlePrefix, T[I].Title) <> 0 then
        begin
          Result := True;
          if SetAsTarget then SetTarget(T[I]);
          Exit;
        end;
    end;
    
    procedure GetRealMousePos(var X, Y : Integer);
    var
      KMTarget, ITarget : Integer;
    begin
      KMTarget := GetKeyMouseTarget;
      ITarget := GetImageTarget;
      FindAndSetTarget('Public SMART', True);
      GetTClient.IOManager.GetMousePos(X, Y);
      FreeTarget(GetImageTarget);
      SetKeyMouseTarget(KMTarget);
      SetImageTarget(ITarget);
    
      // These are not universial offsets, but works somewhat for some Windows themes.
      X := X - 8;
      Y := Y - 25;
    end;
    
    procedure GetMousePos(var x, y: Integer);
    begin
      SmartGetMousePos(x, y);
    end;
    
    function IsRealMouseInBox(B : TBox): Boolean;
    var
      P : TPoint;
    begin
      GetRealMousePos(P.X, P.Y);
      Result := PointInBox(P, B);
    end;
    
    function GetColor(x, y: Integer): Integer;
    begin
      result:= SmartGetColor(x, y);
    end;
    
    procedure SmartSetTarget;
    begin
      SetTargetArray(SmartImageArray, 765,503);
    end;
    
    function FindWindow(Title: String): Boolean;
    begin
      result:= true;
    end;
    
    procedure ActivateClient;
    begin
    end;
    
    function FindWindowBySize(Width, Height: Integer): Boolean;
    begin
      result:= true;
    end;
    
    {procedure SmartSaveSettings(v: TVariantArray);
    var
      i: Integer;
      ts: TStringArray;
    begin
      ts := ['server', 'members', 'signed', 'sd', 'DC', IncludePath + 'SRL/SRL/misc/smartINI.ini'];
      for i := 0 to 4 do
        WriteINI('SMART', ts[i], v[i], ts[5]);
    end;   }
    
    procedure SmartSetupEx(Server: integer; members, signed, superdetail: boolean);
    var
      prefix: string;
    begin
      prefix := ReadINI('World' + IntToStr(Server), 'Prefix', IncludePath + 'SRL/SRL/misc/worlds.ini');
      if(prefix = '')then
      begin
        writeln('Invalid world number or corrupted world list. Please review your settings');
        TerminateScript;
      end;
      SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503, 's');
      //SmartSaveSettings([Server, Members, Signed, SuperDetail, SmartGetDC]);
    end;
    
    {function SmartLastSettings: TStringArray;
    var
      i: Integer;
      ts: TStringArray;
    begin
      ts := ['server', 'members', 'signed', 'sd', 'DC', IncludePath + 'SRL/SRL/Misc/smartINI.ini'];
      SetLength(Result, 5);
      for i := 0 to 4 do
        Result[i] := ReadINI('SMART', ts[i], ts[5]);
    end; }

    • I'm almost certain I installed Simba correctly
    • My java version is fine still Java 6 (i think update 31)
    • All other scripts I've tried work
    • I've tried downgrading to SPS 1
    .

    I tried taking Coh3n's advice as well, but I probably done it wrong..
    I made a thread asking about it here


  5. #30
    Join Date
    Oct 2011
    Location
    Australia, Vic
    Posts
    1,517
    Mentioned
    2 Post(s)
    Quoted
    120 Post(s)

    Default

    Ouch, 101 is extremely annoying, have you uninstalled everything to do with simba and java, then reinstalled it?

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

    Default

    Make sure you have 32bit Java installed.
    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.


  7. #32
    Join Date
    May 2012
    Location
    England
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by John View Post
    Ouch, 101 is extremely annoying, have you uninstalled everything to do with simba and java, then reinstalled it?
    @John: Why would I need to uninstall my Java, there's nothing wrong with it =/

    Edit; Well I re-installed simba and now it's a different error.

    [Error] (2478:10): Unknown identifier 'SPS_Loaded' at line 2477
    Compiling failed.
    Code:
    Function SPS_GetMyArea: string;
    var
      Minimap: T3DIntegerArray;
      t, map, ang, X, Y: integer;
    begin
      if not LoggedIn then
        Exit;
    
      if not SPS_Loaded then
        SPS_Load;
    Make sure you have 32bit Java installed.
    @Kyle




    Last edited by Mufasa; 05-31-2012 at 02:51 PM. Reason: Re-installed Simba

  8. #33
    Join Date
    May 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help?

    i have no clue what im doing so any help would be much appreciated im getting two mwssages down in the bottom of the program
    ______________________________________________

    Compiled successfully in 687 ms.
    SRL Compiled in 0 msec
    Error: Out Of Range at line 2359
    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]
    ________________________________________________
    i dont know if this is a specific error with the script that im trying to run or if somethings wrong with my system can anyone give me some advice

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

    Default

    What file is it opening when this error occurs?
    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.


  10. #35
    Join Date
    May 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    gold bracelets this happens when i run a barbarian agility script
    __________________________________________________ _
    Compiled successfully in 640 ms.
    SRL Compiled in 0 msec
    Error: Out Of Range at line 2359
    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]
    [Error] C:\Simba\Scripts\barbagility.simba(57:11): Duplicate identifier 'FREEDTMS' at line 56
    Compiling failed.

  11. #36
    Join Date
    May 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i have no clue what a dtm or a bitmap is but aparently i have a problem with them annother thing is when i ran an air orb charger an error message popped up saying that i didnt have MSRVCR100.dll could that be the problem

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

    Default

    Please don't double post.

    To fix the error, change all instances of FreeDTMs to something like Fr33DTMs.
    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.


  13. #38
    Join Date
    May 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Please don't double post.

    To fix the error, change all instances of FreeDTMs to something like Fr33DTMs.
    sorry about that, how do i do that

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

    Default

    ...

    You just rename it. How can you not understand that?
    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.


  15. #40
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Quote Originally Posted by ascipulus View Post
    sorry about that, how do i do that

    Send me the script, via PM. I'll fix it for you. If you want, I could help you with errors and such, even teach you basic coding skills that you can build off of.

    Best of luck!

    ~Troll

  16. #41
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A new update of Simba is available!
    Current version is 980. Latest version is 984
    Opening MSI...
    [Error] C:\Simba\Includes\srl/srl/misc/paintsmart.simba(560:12): Unknown identifier 'TPAFromEllipse' at line 559
    Compiling failed.

    how do i fix this

  17. #42
    Join Date
    Feb 2012
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ah im glad i used the search button

    im getting Exception in Script: in file "C:/Simba/Includes/SRL/SRL/misc/smart.simba

    this means the script isn't compatible with srl?
    if so i will wait but just trying to confirm

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

    Default

    Quote Originally Posted by kingsleyeng View Post
    ah im glad i used the search button

    im getting Exception in Script: in file "C:/Simba/Includes/SRL/SRL/misc/smart.simba

    this means the script isn't compatible with srl?
    if so i will wait but just trying to confirm
    No... it means you're missing that file.

    I'm guessing you need to re-install Simba

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

    Default

    Quote Originally Posted by sothisiswhereiputmyname View Post
    A new update of Simba is available!
    Current version is 980. Latest version is 984
    Opening MSI...
    [Error] C:\Simba\Includes\srl/srl/misc/paintsmart.simba(560:12): Unknown identifier 'TPAFromEllipse' at line 559
    Compiling failed.

    how do i fix this
    Update to latest Simba and SRL.
    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.


  20. #45
    Join Date
    May 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so if the scripts says
    _____________________________________________
    Procedure FreDTM;
    Begin
    FreeDTM(MapleLog);
    FreeDTM(Knife);
    FreeDTM(MapleLongBowu);
    FreeDTM(MapleShortbowu);
    FreeDTM(MapleLongu);
    FreeDTM(MapleShortu);
    FreeDTM(BowString);
    FreeDTM(MapleLongBow);
    FreeDTM(MapleShortBow);
    FreeDTM(MagicLog);
    FreeDTM(MagicLongbowu);
    FreeDTM(MagicShortbowu);
    FreeDTM(MagicLongubank);
    FreeDTM(MagicLonguInv);
    FreeDTM(MagicShortubank);
    FreeDTM(MagicShortuInv);
    FreeDTM(MagicLongbow);
    FreeDTM(MagicShortbow);
    end;
    __________________________________
    change all of those to fr33DTm?

  21. #46
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Update to latest Simba and SRL.
    i downloaded the latest version.

  22. #47
    Join Date
    Dec 2011
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When I try to use this script http://villavu.com/forum/showthread.php?t=74508 I get an error, the script doesn't start. &when i press the green play button I get this error.

    Exception in Script: Unable to find file 'SRL/SRL/misc/SMART.simba' used from ''

    I used to never get this error. Can someone please help me? I've tried the "fix" mentioned in this guide but I still can't get it to work. Can someone break it down for me?
    Last edited by Fortune; 06-16-2012 at 01:56 AM.

  23. #48
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    SMART Initialized.
    Loaded: Server 1, Members: False, Signed: False, 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, SRL - Flag bitmap]


    im getting this error everytime i try to run a script

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

    Default

    Read how to fix it on the first post.
    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.


  25. #50
    Join Date
    Jun 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    okay, new guy here.

    I'm getting this error,
    Exception in Script: Unable to find file 'srl/srl.simba' used from ''

    when i downloaded/installed i went through
    http://villavu.com/forum/showthread.php?t=47714 and,
    http://villavu.com/forum/showthread.php?t=57883

    i've gone through them both two or three times while searching other threads. the only thing that i can think of is when i tried to update each extension nothing came up. So i tried over riding them but,

    SRL Updater: Local Version - "1" | Remote Version = "-1"
    SRL Updater: Update File - "http://wizzup.org/static/srl/srl.tar.bz2"
    SRL Updater: Downloading...
    SRL Update ERROR: Didn't recieve any data from Update URL.

    i just installed simba today. do i have the up to date version?

    oh im running
    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}

    begin
    SetupSRL;
    end.

    and

    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}

    begin
    ClearDebug();
    SetupSRL();
    end.

Page 2 of 3 FirstFirst 123 LastLast

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
  •