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.
Printable View
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? :redface:
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.
Yepp.
I re-downloaded it. I guess one of the files didn't overwrite properly.
It's working now :)
Thanks.
just updated MSI.
It gives me the errorWhen I try to run 'runme' also, runme has moved from core to just the msi directory?Quote:
doesn't exist
Exception in Script: Unable to find file 'MSI/Setup.simba' used from ''
Try delete MSI and re-downloading. :)
~Home
Same problem. Deleted msi folder and checked out MSI fromPHP Code:http://www.villavu.com/repositories/msi/
Error
What could be causing this??:confused:Quote:
doesn't exist
Exception in Script: Unable to find file 'MSI/MSI/Core/Setup.simba' used from ''
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.
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
Now I have a new problem... this happend before the update too.
This is highlighted in mainloop.Quote:
// Setup the player
MSI_SetSkillLevels();
with MSI_Players[CurrentPlayer] do
Result := MSI_Scripts[Scripts[CurrentScript].Name].PlayerSetup();
In colsole it will tell me...
Quote:
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.
Can you post your player setup please?
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.
I think I got it to work. I added the script to player 1 that was missing.:duh:
( in the previous versions player 1 would follow script 0 by default?)