Posted 12 June 2014 - 09:39 PM
I am trying to get a piece of code from Direwolf20 working on my server. It should just work like his essentia refilling system in his Singleplayer Episode 74 (https://www.youtube....h?v=4bgtLYZKbFU); basically getting the name and the amount of a aspect stored in a jar and giving me the ability to fill it up.
I grabbed the code out of his world and tried to run it but got some errors. After some research in this forum i was able to solve some of them but now i am stuck. The main problem for me is that i am a noob in anything related to Computercraft.
The Code i got at the moment is:
Button
http://pastebin.com/fbwYhzfB
Aspects
http://pastebin.com/fSKUwSMZ
When i try to run Aspects i get a list of the different Aspects and the stored amount and then the error message:
"aspects:23: attempt to compare __l t on table and table"
As i said earlier i am a noob in Computercraft and to be honest i have no idea what that part of the code is actually doing.
For any sort of help i would be thankful.
I grabbed the code out of his world and tried to run it but got some errors. After some research in this forum i was able to solve some of them but now i am stuck. The main problem for me is that i am a noob in anything related to Computercraft.
The Code i got at the moment is:
Button
http://pastebin.com/fbwYhzfB
Aspects
http://pastebin.com/fSKUwSMZ
When i try to run Aspects i get a list of the different Aspects and the stored amount and then the error message:
"aspects:23: attempt to compare __l t on table and table"
As i said earlier i am a noob in Computercraft and to be honest i have no idea what that part of the code is actually doing.
For any sort of help i would be thankful.