Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many Errors in GT5-EXP Scripts #12

Open
MarkKoz opened this issue Apr 5, 2016 · 7 comments
Open

Many Errors in GT5-EXP Scripts #12

MarkKoz opened this issue Apr 5, 2016 · 7 comments

Comments

@MarkKoz
Copy link

MarkKoz commented Apr 5, 2016

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

@Dream-Master
Copy link
Owner

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.

@MarkKoz
Copy link
Author

MarkKoz commented Apr 5, 2016

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

@Dream-Master
Copy link
Owner

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
Copy link
Owner

Will look tomorrow again into it.

@Dream-Master
Copy link
Owner

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

@MarkKoz
Copy link
Author

MarkKoz commented Apr 10, 2016

No problem, it's not urgent.

@kindlich
Copy link

kindlich commented Oct 2, 2016

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants