mrred
2012-02-10 08:05:51
:blink: So everything is updated and has run fine for me, cept for today when i open MSI and play it i get an error i will post in tag, thanks in advance.
(the problem is the "length(objs) = 1") I have no idea
for i := 0 to high(objs) do
begin
// Checks to see if the player's level is high enough to auto the object
with MSI_Players[currentPlayer] do
if (script.skillConst <> SKILL_NONE) then
begin
if (reportInfo.skillLevels[currentScript] < objs.level) then
begin
if (i = high(objs) and length(objs) = 1) then
reportInfo.falseReason := script.skillName + ' requirement not met (' +
toStr(reportInfo.skillLevels[currentScript]) +
'/' + toStr(objs.level) + ')';
MSI_SubDebug(script.skillName + ' level (' +
toStr(reportInfo.skillLevels[currentScript]) +
') not met for ' + objs.name + ' (' + toStr(objs.level) + ')');
continue;
end;
end;
(also this)
Opening MSI…
[Error] C:\Simba\Includes\SRL/SRL/core/text.simba(667:13): Unknown identifier 'UpChars' at line 666
Compiling failed.
(the problem is the "length(objs) = 1") I have no idea
for i := 0 to high(objs) do
begin
// Checks to see if the player's level is high enough to auto the object
with MSI_Players[currentPlayer] do
if (script.skillConst <> SKILL_NONE) then
begin
if (reportInfo.skillLevels[currentScript] < objs.level) then
begin
if (i = high(objs) and length(objs) = 1) then
reportInfo.falseReason := script.skillName + ' requirement not met (' +
toStr(reportInfo.skillLevels[currentScript]) +
'/' + toStr(objs.level) + ')';
MSI_SubDebug(script.skillName + ' level (' +
toStr(reportInfo.skillLevels[currentScript]) +
') not met for ' + objs.name + ' (' + toStr(objs.level) + ')');
continue;
end;
end;
(also this)
Opening MSI…
[Error] C:\Simba\Includes\SRL/SRL/core/text.simba(667:13): Unknown identifier 'UpChars' at line 666
Compiling failed.