stanhebben / MineTweaker3

Tweak your minecraft experience
65 stars 32 forks source link

Error identifier expected HELP #394

Open ghost opened 8 years ago

ghost commented 8 years ago

Everytime i reload my scripts i get this errer: ERROR:Error parsing CustomRecipes.zs:3 -- identifier expected

not sure what it means, but this is the script i wrote for a recipe

recipes.addShaped(<LogisticsPipes:item.PipeItemsBasicLogistics>*8,
    [[StructuralPipeFrame, MicroServo, StructuralPipeFrame],
     [MicroPackager, RoutingLogicProcessor, MicroCapsulator],
     [StructuralPipeFrame, MicroServo, StructuralPipeFrame]]);

and i have a few variables

var StructuralPipeFrame = <LogisticsPipes:item.pipeComponents:0>;
var MicroServo = <LogisticsPipes:item.pipeComponents:1>;
var MicroPackager = <LogisticsPipes:item.pipeComponents:3>;
var RoutingLogicProcessor = <LogisticsPipes:item.pipeComponents:2>;
var MicroCapsulator = <LogisticsPipes:item.pipeComponents:04>;

can anyone help me?

EDIT: I've fixed it now

jaredlll08 commented 8 years ago

Upload script to gist please

On Nov 23, 2016 10:04 PM, "Coopj121" notifications@github.com wrote:

Everytime i reload my scripted i get this errer: ERROR:Error parsing CustomRecipes.zs:3 -- identifier expected

not sure what it means, but this is the script i wrote for a recipe

recipes.addShaped(LogisticsPipes:item.PipeItemsBasicLogistics*8, [[StructuralPipeFrame, MicroServo, StructuralPipeFrame], [MicroPackager, RoutingLogicProcessor, MicroCapsulator], [StructuralPipeFrame, MicroServo, StructuralPipeFrame]]);

and i have a few variables

var StructuralPipeFrame = LogisticsPipes:item.pipeComponents:0; var MicroServo = LogisticsPipes:item.pipeComponents:1; var MicroPackager = LogisticsPipes:item.pipeComponents:3; var RoutingLogicProcessor = LogisticsPipes:item.pipeComponents:2; var MicroCapsulator = LogisticsPipes:item.pipeComponents:04;

can anyone help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stanhebben/MineTweaker3/issues/394, or mute the thread https://github.com/notifications/unsubscribe-auth/AFS9xYuH9gpwYPWa75Y0H3GmDG_t1Jjgks5rBJxFgaJpZM4K6_0Q .

ghost commented 8 years ago

gist?

jaredlll08 commented 8 years ago

Github gist

On Nov 23, 2016 10:09 PM, "Coopj121" notifications@github.com wrote:

gist?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stanhebben/MineTweaker3/issues/394#issuecomment-262618743, or mute the thread https://github.com/notifications/unsubscribe-auth/AFS9xbKo1PFh1W8XV7rdyC77YBjrZu98ks5rBJ1-gaJpZM4K6_0Q .

ghost commented 8 years ago

https://gist.github.com/coopj121/3cf2991e21e89753a8b12eb46c717470

ghost commented 8 years ago

i'm new to minetweaker, actually started today so i don't know allot about it

jaredlll08 commented 8 years ago

Did you get the item names from /mt hand?

On Nov 23, 2016 10:12 PM, "Coopj121" notifications@github.com wrote:

https://gist.github.com/coopj121/3cf2991e21e89753a8b12eb46c717470

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stanhebben/MineTweaker3/issues/394#issuecomment-262619375, or mute the thread https://github.com/notifications/unsubscribe-auth/AFS9xZBlPDFqRObeAmNsNoNCLM9cLPDzks5rBJ43gaJpZM4K6_0Q .

ghost commented 8 years ago

no i have the item names as a tooltip whenever i hover over the item

jaredlll08 commented 8 years ago

Please use /mt hand names

On Nov 23, 2016 10:15 PM, "Coopj121" notifications@github.com wrote:

no i have the item names as a tooltip whenever i hover over the item

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stanhebben/MineTweaker3/issues/394#issuecomment-262620032, or mute the thread https://github.com/notifications/unsubscribe-auth/AFS9xc0U1zd0QANstEL1lgXB-5ORC5k5ks5rBJ7xgaJpZM4K6_0Q .

ghost commented 8 years ago

okay i'll try it now

ghost commented 8 years ago

https://gist.github.com/coopj121/3cf2991e21e89753a8b12eb46c717470

still doesn't work, comes out with the same error as before

ghost commented 8 years ago

could it be that because i'm using items that don't have crafting recipes yet? i still need to add recipes for them items, i'm planning on using the assembly table to craft the components needed for the basic logistics pipes

jaredlll08 commented 8 years ago

No, shouldn't be that, try using the actual item names instead of assigning them to a var?

On Nov 23, 2016 10:28 PM, "Coopj121" notifications@github.com wrote:

could it be that because i'm using items that don't have crafting recipes yet? i still need to add recipes for them items, i'm planning on using the assembly table to craft the components needed for the basic logistics pipes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stanhebben/MineTweaker3/issues/394#issuecomment-262622561, or mute the thread https://github.com/notifications/unsubscribe-auth/AFS9xWhjAjIvh_WLFrvIQs_VSayskyOeks5rBKH4gaJpZM4K6_0Q .

ghost commented 8 years ago

i have it set as the item names now, and it still comes up with the same error?

ghost commented 8 years ago

originally what i wanted was the same crafting grid pattern but using the advanced crafting table from buildcraft but i don't think mt has support for that recipe type yet