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

a nil value

Question

I was building on the AE2Stock code and i wanted the items list separate from the code itself to edit it while its running but however the storedItem[1].size is nil by executing my newer version of AE2Stock. So i need help

The working older version: https://pastebin.com/c1B0L0Pi

The New Version i need help with: https://pastebin.com/Tb4KWszT and the list https://pastebin.com/ZiPbChT2

 

Maybe you'll need my function drawText(text,SecondGPUProxy): https://pastebin.com/S5uMbMBT

 

 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 1

It seems like you have a test table of `items` and in your original script only the first element of an `item` is a string and the rest are numbers.. However in your test `items` table in the new script your seems to have a typo..

items = {{"minecraft:coal,1,1,1"}} -- # Everything here is one string..

items = {{"minecraft:coal",1,1,1}} -- # This is what I believe you've overlooked

 

Link to post
Share on other sites
  • 0

I tried it and it didn't work. And yeah i overlooked that ^^

I tried it with items = {} and it didn't worked. And I want to load the itemList.cfg and tried it with os.execute("itemList.cfg") and the same error

 

edit: The ME_Controller didnt had energy so my working code didnt worked too but now both are doing great

 

 

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.