+ Reply to Thread
Page 11 of 22 FirstFirst ... 91011121321 ... LastLast
Results 251 to 275 of 535

Thread: Common Problems ~ READ BEFORE POSTING

  1. #251
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    If you do an SVN update on an edited version it shouldn't matter unless you've changed the file that was updated. If you just changed Cooking.simba, then everything else will still update without issues.
    I am aware of that, and I did change a lot of other files as well
    What I meant was that I though I did something wrong in the SetupCooking, making the rest of the core nonfunctional or something.

  2. #252
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    I am aware of that, and I did change a lot of other files as well
    What I meant was that I though I did something wrong in the SetupCooking, making the rest of the core nonfunctional or something.
    Ohhh, my bad.

  3. #253
    Join Date
    Dec 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Script Error

    I'm getting this error when I try to start the MSI script:

    Exception in Script: Unable to find file 'srl/srl/misc/smart.scar' used from 'C:\Simba\Includes\MSI/MSI/Core/Setup.simba'

    I'm a noob at scripts trying to unnoob myself..
    Can somebody please give me a hand with this error?

  4. #254
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by CadaverCake View Post
    I'm getting this error when I try to start the MSI script:

    Exception in Script: Unable to find file 'srl/srl/misc/smart.scar' used from 'C:\Simba\Includes\MSI/MSI/Core/Setup.simba'

    I'm a noob at scripts trying to unnoob myself..
    Can somebody please give me a hand with this error?
    Have you downloaded SRL?

  5. #255
    Join Date
    Nov 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    After the most recent update, i'm having some issues.
    When I try to compile, I get an Error message (to line 35 of Objects.simba).
    I am running the Rimmington Power Miner.

    Progress Report:
    [Hint] C:\Simba\Includes\SRL/SRL/core/gametab.scar(1513:3): Variable 'P' never used at line 1512
    [Error] C:\Simba\Includes\MSI\./Core/Objects.simba(36:5): Unknown identifier 'TREE_NORMAL' at line 35
    Compiling failed.

  6. #256
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Oh Hi Oh View Post
    After the most recent update, i'm having some issues.
    When I try to compile, I get an Error message (to line 35 of Objects.simba).
    I am running the Rimmington Power Miner.

    Progress Report:
    [Hint] C:\Simba\Includes\SRL/SRL/core/gametab.scar(1513:3): Variable 'P' never used at line 1512
    [Error] C:\Simba\Includes\MSI\./Core/Objects.simba(36:5): Unknown identifier 'TREE_NORMAL' at line 35
    Compiling failed.
    I'm not sure why that happens. I just downloaded a fresh version of MSI and it's working for me. You may have to redownload for some reason.

  7. #257
    Join Date
    Dec 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Have you downloaded SRL?
    Lol, that was the problem.. THANK YOU for the help.. It runs excellent and very smoothly!

  8. #258
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by CadaverCake View Post
    Lol, that was the problem.. THANK YOU for the help.. It runs excellent and very smoothly!
    Lol okay good to hear.

  9. #259
    Join Date
    Nov 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yepp.
    I re-downloaded it. I guess one of the files didn't overwrite properly.
    It's working now
    Thanks.

  10. #260
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    just updated MSI.
    It gives me the error
    doesn't exist
    Exception in Script: Unable to find file 'MSI/Setup.simba' used from ''
    When I try to run 'runme' also, runme has moved from core to just the msi directory?

  11. #261
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Try delete MSI and re-downloading.


    ~Home

  12. #262
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Mike408 View Post
    When I try to run 'runme' also, runme has moved from core to just the msi directory?
    It's meant to be like that
    But try re-downloading MSI, as Home said..

  13. #263
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    It's meant to be like that
    But try re-downloading MSI, as Home said..
    Same problem. Deleted msi folder and checked out MSI from
    PHP Code:
    http://www.villavu.com/repositories/msi/ 

    Error
    doesn't exist
    Exception in Script: Unable to find file 'MSI/MSI/Core/Setup.simba' used from ''
    What could be causing this??

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

    Default

    Newest Rev works perfectly fine for me.

    Mike, What does the line before the 'doesn't exist' line? Post a few more lines up as well if you can.

  15. #265
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Where is your MSI folder located? It should be in Simba/Includes/

    This should be the path to Setup.simba: Simba/Includes/MSI/MSI/Core/Setup.simba

  16. #266
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    Where is your MSI folder located? It should be in Simba/Includes/

    This should be the path to Setup.simba: Simba/Includes/MSI/MSI/Core/Setup.simba
    My Setup.simba is located in C:/Simba/Includes/MSI/Core/setup.simba

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

    Default

    Quote Originally Posted by Mike408 View Post
    My Setup.simba is located in C:/Simba/Includes/MSI/Core/setup.simba
    Should be C:/Simba/Includes/MSI/MSI/Core/setup.simba now.

    Delete everything inside /MSI and update to latest Rev.

  18. #268
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Should be C:/Simba/Includes/MSI/MSI/Core/setup.simba now.

    Delete everything inside /MSI and update to latest Rev.
    But I already did that??
    Couldn't I just make a new folder called MSI and add everything for that to fix the path?

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

    Default

    Quote Originally Posted by Mike408 View Post
    But I already did that??
    Couldn't I just make a new folder called MSI and add everything for that to fix the path?
    if you want, yes. There was some folders added to MSI for organization purposes, so you pretty much need to re-install it I guess.

  20. #270
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Now I have a new problem... this happend before the update too.
    // Setup the player
    MSI_SetSkillLevels();
    with MSI_Players[CurrentPlayer] do
    Result := MSI_Scripts[Scripts[CurrentScript].Name].PlayerSetup();
    This is highlighted in mainloop.
    In colsole it will tell me...

    0:01:10]: [ Ftl ] -- MSI_UnsetPlayer: Done
    [0:01:10]: [ Ftl ] -- MSI_SetupPlayer
    [0:01:10]: [ Ftl ] ------ Scanning for randoms...
    [0:01:12]: [ Ftl ] ---- MSI_SetSkillLevels
    [0:01:12]: [ Ftl ] ---- MSI_SetSkillLevels: Exit
    Error: Out Of Range at line 68
    The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
    File[C:\Simba\Includes\SRL/logs/SRL log 19-12-10 1.txt] has not been freed in the script, freeing it now.

  21. #271
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Can you post your player setup please?

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

    Default

    Quote Originally Posted by Mike408 View Post
    Now I have a new problem... this happend before the update too.


    This is highlighted in mainloop.
    In colsole it will tell me...
    Post your player setup?

  23. #273
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Simba Code:
    {==============================================================================\

    |                         MSI Group Scripting Include                          |

    |                                 RunMe.scar                                   |

    |==============================================================================|

    | For the script user to just simply press play                                |

    |                                                                              |

    |==============================================================================|

    |                         ** Setup Instructions **                             |

    |==============================================================================|

    |                                                                              |

    | -> For a very detailed guide on how to properly setup MSI, please visit:     |

    |                                                                              |

    |        [url]http://villavu.com/forum/showthread.php?p=745942#post745942[/url]           |

     \_____________________________________________________________________________}




    program MSI_Script;



    const

      DEBUG_SMART    = True;    // Debugs things onto SMART (may cause lag)

      BREAK_TIME     = 15;      // Single player only - how long to break for (in minutes)

      SAVE_DEBUG     = True;    // Save's the debug box text to a file

      ENABLE_REMOTE  = True;    // Do you want to enable the Player Remote?

      LEVEL_TO_DEBUG = 10;      // The lower the number, the less the script will debug

      HUMAN_BREAKING = True;    // Take more human like breaks

      SWITCH_WORLDS  = False;   // Switch worlds when switching players or after breaks

      ANTIBAN_MIN_WAIT = 14000; // Minimum time to wait between antibans

      RANDOMS_MIN_WAIT = 10000; // Minimum time to wait between randoms checks



      WORLD_SMART = 152;



      STATS_ID   = ''; // Temporary stats ID (2 digit number)

      STATS_PASS = ''; // Temporary stats password



    {$i MSI/MSI/Core/Setup.simba}



    procedure DeclarePlayers;

    var

      i: Integer;

    begin

      HowManyPlayers := 2;

      NumberOfPlayers(HowManyPlayers);

      SetLength(MSI_Players, HowManyPlayers);



      for i := 0 to High(MSI_Players) do

        SetLength(MSI_Players[i].Scripts, 100);



      CurrentPlayer := 0;

      CurrentScript := 0;



      with MSI_Players[0] do

      begin

        Name       := '*********';      // Username

        Pass       := '*********';      // Password

        Nick       := '***';      // Nickname (3-4 lowercase letters from username)

        Pin        := '';      // Bank pin; leave as '' if player doesn't have one

        Active     := True;    // Use this player?

        Member     := True;   // Is this player a member?

        Location   := LOC_GE_BANK;        // See instructions at the top

        BreakLoads := 7;        // Amount of loads before breaking/switching players; leave 0 to not take breaks

        BreakTime  := 5;        // Amount of time (in minutes) before breaking/witching; leave 0 to not take breaks

        TotalLoads := 35;        // Total loads for the player to do; leave 0 if using TotalTime or to go forever

        TotalTime  := 0;        // How long for the player to run? (in minutes); leave 0 if using TotalLoads or go forever



        with Scripts[0] do

        begin

           // Woodcutting

        Name     := SCRIPT_GE_YEWS;   // The script constant

        Trees    := [TREE_YEW]; // Trees to cut

        Priority := [10]; // Priorities (same as before)

        DontDrop := []; // For powerchopping only

        end;

      end;



      with MSI_Players[1] do

      begin

        Name       := '********';

        Pass       := '*************';

        Nick       := '***';

        Pin        := '****';

        Active     := True;

        Member     := False;

        Location   := LOC_GE_BANK;

        BreakLoads := 7;

        BreakTime  := 5;

        TotalLoads := 35;

        TotalTime  := 0;



        with Scripts[0] do

        begin

        end;

      end;

         {

      with MSI_Players[2] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;



      with MSI_Players[3] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;



      with MSI_Players[4] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;



      with MSI_Players[5] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;



      with MSI_Players[6] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;



      with MSI_Players[7] do

      begin

        Name       := '';

        Pass       := '';

        Nick       := '';

        Pin        := '';

        Active     := True;

        Member     := False;

        Location   := ;

        BreakLoads := ;

        BreakTime  := ;

        TotalLoads := ;

        TotalTime  := ;



        with Scripts[0] do

        begin

        end;

      end;

    }




    (**

     * No need to touch anything below here, this is to assign the necessary

     * information so that SRL's Players array works with MSI's

     *)


      for i := 0 to High(Players) do

      begin

        Players[i].Name   := MSI_Players[i].Name;

        Players[i].Pass   := MSI_Players[i].Pass;

        Players[i].Nick   := MSI_Players[i].Nick;

        Players[i].Pin    := MSI_Players[i].Pin;

        Players[i].Active := MSI_Players[i].Active;

        Players[i].Member := MSI_Players[i].Member;



        if (SWITCH_WORLDS) then

          Players[i].WorldInfo := [Players[i].Member, -1, False];



        if (not MSI_Players[i].Active) then

          MSI_Players[i].ReportInfo.FalseReason := 'User set to false';

      end;

    end;



    var

      i: Integer;

    begin

      ClearDebug;



      AddOnTerminate('MSI_ScriptTerminate');

      SetScriptProp(SP_WriteTimeStamp, [True]);



      Smart_Server := WORLD_SMART;

      Smart_Members := False;

      Smart_Signed := True;

      Smart_SuperDetail := False;

      ActivateClient;



      SetupSRL;

      SetupMSI;



      {$IFDEF REFLECTION}

        // So if the hooks are outdated, the script will attempt colour walking if the points exist

        if (not MSI_SetupReflection(False)) then

          ReflectionBroken := True;

      {$ELSE}

        ReflectionBroken := True; // Set to true because it's not even being used

      {$ENDIF}



      {$IFDEF REFLECTION}

        if (ReflectionBroken) then

          ShowMessage('WARNING: Reflection hooks are outdated!');

      {$ENDIF}



      Stats_UserID   := STATS_ID;

      Stats_Password := STATS_PASS;

      Stats_ScriptID := '47';

      CurrDebugLevel := 1;



      DeclarePlayers;

      MSI_Mainloop;

    end.
    Last edited by Mike408; 12-20-2010 at 07:40 AM.

  24. #274
    Join Date
    Sep 2010
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I think I got it to work. I added the script to player 1 that was missing.
    ( in the previous versions player 1 would follow script 0 by default?)

  25. #275
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Mike408 View Post
    ( in the previous versions player 1 would follow script 0 by default?)
    Nope, the players' script setup is independent of each other. If you don't set a script for one or more of your players you will get a runtime error

+ Reply to Thread
Page 11 of 22 FirstFirst ... 91011121321 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may post attachments
  • You may edit your posts
  •