Mods-Get-Gregged icon indicating copy to clipboard operation
Mods-Get-Gregged copied to clipboard

Many Errors in GT5-EXP Scripts

Open MarkKoz opened this issue 9 years ago • 7 comments

I've attached a log that shows the errors printed to chat. mtgreg.txt

MarkKoz avatar Apr 05 '16 20:04 MarkKoz

This error appears because you dont have the mods for this scripts. Look inside your Log and you see which lines need to be edited.

And these scripts with dream craft entries are from my mod pack and special design for it.

Dream-Master avatar Apr 05 '16 20:04 Dream-Master

That explains some of the errors, but not all. For example:

These seem to be syntax errors. I've fixed 2-3 by myself (just a missing ; or <) but couldn't figure these out.

Error parsing Bibliocraft.zs:19 -- identifier expected
Error parsing Carpenters-Blocks.zs:9 -- ; expected
Error parsing Minecraft.zs:33 -- ; expected
Error parsing Railcraft.zs:27 -- identifier expected

I think these are results of trying to refer to variables that haven't been defined (except for the Gregtech and Forestry one. Not sure why it can't find that Railcraft item, as I do have Railcraft installed.)

BiomesO-Plenty.zs:63 > No such static member in minetweaker.item.IItemStack: Wool
Error executing BiomesO-Plenty.zs: null

Extra-Utilities.zs:816 > No such static member in minetweaker.item.IIngredient: HardHammer

Farmblocks.zs:59 > could not find hammer
Farmblocks.zs:59 > could not find file

Galacticraft.zs:1115 > No such static member in minetweaker.item.IItemStack: waferBasic

Gregtech.zs:251 > 2 methods available but none matches the parameters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, minetweaker.item.IItemStack, int, int, int)

Thaumcraft.zs:36 > No such static member in minetweaker.item.IIngredient: EnchantingTable
Thaumcraft.zs:112 > No such static member in minetweaker.item.IItemStack: EnchantingTable
Thaumcraft.zs:113 > No such static member in minetweaker.item.IIngredient: Diamond
Error executing Thaumcraft.zs: null

Forestry.zs:173: Could not resolve <Railcraft : tile . railcraft . machine . beta : 1>

Then there's this error that prints out a lot of stuff:

Error executing Farmblocks.zs: Bad type on operand stack
Type integer (current frame, stack[14]) is not assignable to reference type

MarkKoz avatar Apr 05 '16 21:04 MarkKoz

Farmblocks.zs is created by DarkForce. So not sure what he did here and for wich Forestry Version this is. Maybe some names or functions are chaging.

Dream-Master avatar Apr 05 '16 22:04 Dream-Master

Will look tomorrow again into it.

Dream-Master avatar Apr 05 '16 22:04 Dream-Master

@MarkKoz Sorry dont find the time on the weekend was busy. maybe tomorrow.

Dream-Master avatar Apr 10 '16 19:04 Dream-Master

No problem, it's not urgent.

MarkKoz avatar Apr 10 '16 21:04 MarkKoz

Don't know if this is still an issue, the typos in the scripts are still present though...

The errors in the farmblock.zs are caused by wrong variable declaration -> You declare 'File' and the recipe asks for 'file' (see the difference?) -> You declare 'SHammer' and 'HHammer', the recipe asks for 'Hammer'

BiomesO.Plenty.zs -> You ask for the variable called 'Wool' which is never declared

ExtraUtilities.zs -> You declare 'SHammer' and 'HHammer', the recipe asks for 'HardHammer'

Galacticraft.zs -> You declare 'BWafer', the recipe asks for 'waferBasic'

Gregtech.zs -> You provide the function with wrong parameters --> I think you wanted to make something like this: --->BlastFurnace.addRecipe([gregtech:gt.metaitem.01:2540 * 1, gregtech:gt.metaitem.01:2540 * 1],[Thaumcraft:ItemShard], 320, 100, 1200);

Thaumcraft,zs -> You ask for the variables 'EnchantingTable' and 'Diamond' which both are never declared...

Hope that helped, even if this issue is a little old already...

kindlich avatar Oct 02 '16 22:10 kindlich