MineTweaker3 icon indicating copy to clipboard operation
MineTweaker3 copied to clipboard

Error: Error parsing scripts.zs:10 -- ; expected

Open BlockBite opened this issue 6 years ago • 9 comments

trying to delete any craft and MT send me message with this error. https://pastebin.com/ihmvs46b

BlockBite avatar Aug 22 '18 00:08 BlockBite

A semicolon was expected and not found. On line four, you are missing a semicolon at the end of the line. These two things are very closely related.

PrincessRTFM avatar Aug 22 '18 07:08 PrincessRTFM

now scripts is reloading, but I don't see changes

BlockBite avatar Aug 22 '18 11:08 BlockBite

Reloading has always been a bit finicky, and IIRC it was described - by the modder - as a bit of a hack. Also... I looked at your code again. There doesn't seem to be any reason to import NEI. You're using the base mod's vanilla recipes object. My advice: if there are no errors, remove the import mods.nei.NEI line and restart the game instead of reloading the recipes. Sometimes a mod tries to cache recipes itself and that breaks reloading.

Finally, these are FSP's recipes. I know IC2 uses a custom crafting manager for its recipes, not the vanilla one. Is FSP compatible with MT3, or does it do something like that?

PrincessRTFM avatar Aug 23 '18 00:08 PrincessRTFM

No, still basic crafts. Finally, these are FSP's recipes. I know IC2 uses a custom crafting manager for its recipes, not the vanilla one. Is FSP compatible with MT3, or does it do something like that? I'm using recipes in a regular workbench. Don't think, about I need another addon for FSP

BlockBite avatar Aug 26 '18 00:08 BlockBite

Also, FSP using that default

BlockBite avatar Aug 26 '18 00:08 BlockBite

soo... code looks rn https://pastebin.com/ud564krd

BlockBite avatar Aug 26 '18 00:08 BlockBite

ok, I have deleted all scripts, left only 1 line of craft - which deletes craft in botania "recipes.remove(Botania:lexicon);", but it's don't working :(

BlockBite avatar Aug 28 '18 18:08 BlockBite

recipes.remove(<Botania:lexicon>); correct syntax is <mod:id:meta>

Preta-Crowz avatar Jul 12 '19 06:07 Preta-Crowz

meta is optional, and if omitted is considered to be 0.

PrincessRTFM avatar Jul 12 '19 09:07 PrincessRTFM