Camaro'
2010-11-05 10:11:41
Simba decides to tell me theres an error on one something I didn't even add to Scripts.simba.
If I remove what I added it compiles fine, but when I add it, it gives me an error on for example the Draynor Fisher record :(
Someone should make a MSI Help forum
What I added
The reason why I didn't post this in the bugs section is because this isn't a MSI bug, because it compiles fine when I remove what I added.
If I remove what I added it compiles fine, but when I add it, it gives me an error on for example the Draynor Fisher record :(
Someone should make a MSI Help forum
[Error] C:\Users\Aaron\Desktop\Simba\Includes\MSI/Scripts.simba(1042:42): Type mismatch at line 1041
Compiling failed.
//Line 1041 in Script_Db_Fisher
StartLoc := LOC_DB_BANK;
What I added
SCRIPT_FIGHTER:
with MSI_Scripts[whichScript] do
begin
Name := 'Combat Fighter';
Constant := SCRIPT_FIGHTER;
SkillName := 'Attack';
SkillConst := SKILL_ATTACK;
BankType := NoBank;
AutoObjects := @MSI_RepeatFight;
PlayerSetup := @MSI_SetupFighting;
with Defaults do
begin
Monsters := [
];
Items := [
TIntegerArray([FISH_COOKED_SHRIMP, FISH_COOKED_ANCHOVIE]),
TIntegerArray([FISH_COOKED_SARDINE, FISH_COOKED_HERRING, FISH_COOKED_PIKE]),
TIntegerArray([FISH_COOKED_TROUT, FISH_COOKED_SALMON]),
TIntegerArray([FISH_COOKED_LOBSTER]),
TIntegerArray([FISH_COOKED_TUNA, FISH_COOKED_SWORDFISH])
];
end;
end;
The reason why I didn't post this in the bugs section is because this isn't a MSI bug, because it compiles fine when I remove what I added.