Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Kalearne

CC1.7.4 and ExtremeReactors 1.12.2

Question

Trying to setup a turbine monitor using CC, quite new to this but not to programming. All I'm getting is errors, including from others projects. Trying to replicate _quietstorm_s project here http://pastebin.com/TKZfaERy

All I'm getting is image. 

1. Are the two mod packs able to function together (some posts report no, I cant find out conclusively)
2. If yes to the above then what am I doing wrong here?

 

Many thanks

Ben

2019-06-21_16.16.13.png

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Okay, lots of progress here. Got mixed up with 'goto ::label::' and a self declared function here called label. Problem was the label function being declared after it was called. 

Ive since butchered the script and reduced it to only what I need. Now I have a new issue and I cant seem to work out whats up here. 

New code  - 
https://pastebin.com/uet4tZ8N

Error screenie below.

2019-06-23_11_19_08.thumb.png.5c3cee1acfde122ddfefff6d581ec42b.png

Any suggestions?

Share this post


Link to post
Share on other sites
  • 0

On line 349 and others you use an undeclared variable named 'turbineNum' to index the turbine table like so "some_value = turbine[turbineNum].someMethod()".

You use this in a few places in the script yet I can't find a placed where it is defined.

Share this post


Link to post
Share on other sites
  • 0

Many thanks Molinko, replaced them all with static references for now, will read up on arrays later. Code is no longer erroring. Still needs work though. Thanks again!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.