This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Hassan51234's profile picture

Thaumcraft refilling system

Started by Hassan51234, 10 August 2015 - 02:22 PM
Hassan51234 #1
Posted 10 August 2015 - 04:22 PM
I have seen direwolf20 do a refilling system in thaumcraft i have used this pastebin to do this 5Hz1vg7e
i know that the jar name have from tt_ thing to titlejar i change the tt_ thing to titlejar and it cant read it
please post the problem has soon has you can it really helps thank you
Edited on 10 August 2015 - 06:15 PM
Lyqyd #2
Posted 10 August 2015 - 07:27 PM
Moved to Ask a Pro.
flaghacker #3
Posted 10 August 2015 - 10:29 PM
I'm sorry, but I don't understand you. What is your actual problem? What do you want us to do?
Hassan51234 #4
Posted 11 August 2015 - 12:52 AM
so i try do do like direwolf20 essestia refilling system and i know that tt_aspectcontaier as changed to tilejar but when i run the program its says "attempt to index ? (a nil value

here is the pastebin

pastebin.com/5Hz1vg7e aspects

thank you
Bomb Bloke #5
Posted 11 August 2015 - 02:45 AM
Your error would also include a number - that being the number of the line where your error is occurring.
Bart1ebee #6
Posted 11 August 2015 - 06:41 AM
I updated that program to work a few months ago you can give it a try http://pastebin.com/YT02y2TW
Hassan51234 #7
Posted 11 August 2015 - 12:56 PM
When i tryed it it sayed "attempt to call nil"
Hassan51234 #8
Posted 11 August 2015 - 04:34 PM
If you want i can send pic of the setup and the code erro
SquidDev #9
Posted 11 August 2015 - 04:51 PM
If you want i can send pic of the setup and the code erro

That would be helpful, the most useful bit is the line which errored as we can track down what is breaking.
HPWebcamAble #10
Posted 11 August 2015 - 04:52 PM
I updated that program to work a few months ago you can give it a try http://pastebin.com/YT02y2TW

In his latest SSP series (Season 7), Direwolf20 made a new version of the code.
I was unable to find the code, he probably uploaded it to pastebin on camera, but forgot to put the Pastebin code in the video description
I THINK he changed the add / subtract buttons to be multiples of 2 (+-2, +-6, +-12), I think its because of the number of aspects on the crystals changed

If you want i can send pic of the setup and the code erro

You should definently post the error you got.
Did you download Direwolf20's button API?
Hassan51234 #11
Posted 11 August 2015 - 05:03 PM
I updated that program to work a few months ago you can give it a try http://pastebin.com/YT02y2TW

In his latest SSP series (Season 7), Direwolf20 made a new version of the code.
I was unable to find the code, he probably uploaded it to pastebin on camera, but forgot to put the Pastebin code in the video description
I THINK he changed the add / subtract buttons to be multiples of 2 (+-2, +-6, +-12), I think its because of the number of aspects on the crystals changed

If you want i can send pic of the setup and the code erro

You should definently post the error you got.
Did you download Direwolf20's button API?

no can you give me the pastebin for it?

and ill send the pics
Edited on 11 August 2015 - 03:11 PM
Hassan51234 #12
Posted 11 August 2015 - 05:10 PM
ok here they are http://imgur.com/vmOAJ6s

and

http://imgur.com/ORvFJo9
HPWebcamAble #13
Posted 11 August 2015 - 05:17 PM
DW20's Button API:
http://pastebin.com/HRbMF1Eg

Make sure to download it as 'button'
Edited on 11 August 2015 - 03:18 PM
Hassan51234 #14
Posted 11 August 2015 - 05:23 PM
ok thank you
Hassan51234 #15
Posted 11 August 2015 - 05:33 PM
new problem heres the pic

http://imgur.com/SdhMZvX
HPWebcamAble #16
Posted 11 August 2015 - 05:35 PM
Restart the computer by holding ctrl+r for a few seconds, and try running the program again.
Hassan51234 #17
Posted 11 August 2015 - 06:18 PM
still not working

do you guys have a pic of the setup like me working?

so i can see it
HPWebcamAble #18
Posted 12 August 2015 - 12:07 AM
still not working

do you guys have a pic of the setup like me working?

Oh, I just realized you may be using an older version of CC, that doesn't have peripheral.find

What version of CC are you using?
'peripheral.find()' was added in CC 1.6
Hassan51234 #19
Posted 12 August 2015 - 02:56 AM
computercraft 1.57

also when you make the code or find one make sure the jar command is tilejar not tt_ whatever it is

thank you
Edited on 12 August 2015 - 01:05 AM
HPWebcamAble #20
Posted 12 August 2015 - 03:37 AM
Ok, you don't have peripheral.find. I suggest you update your CC version, but in the mean time…

You'll have to change the two calls to 'peripheral.find' to 'peripheral.wrap', replacing the names with the correct side / name
Hassan51234 #21
Posted 12 August 2015 - 04:04 AM
Can you post me a pastebin code? please im not good with coding
Edited on 12 August 2015 - 02:05 AM
HPWebcamAble #22
Posted 12 August 2015 - 04:47 AM
Here's the modified version:
http://pastebin.com/CAp3MTEF


IMPORTANT! It won't work just yet!
The monitor must be on the right of the computer, or you'll have to change the part that says 'right' on line 15 to the correct side
You'll need to manually change 'LogisticsPipes:Request' to the correct name on line 14, I don't know what the correct name is

If you're not sure how to find the correct name for the Logistics Pipe:
SpoilerPlace a computer next to the logistics request pipe (Preferably an Advanced Computer)
Run this program, with the pipe's side as an argument: http://pastebin.com/sKLqTGrM
At the top, it will say 'Functions for <name> …'
Replace 'LogisticsPipes:Request' on line 14 with the name it gives you
Hassan51234 #23
Posted 13 August 2015 - 12:28 AM
hpwebcamable i know what the problem is its because of the button code not the aspects
code and this is what happend when i run the command

http://imgur.com/iwSVUt0
HPWebcamAble #24
Posted 13 August 2015 - 05:19 AM
This is line 1 and 2 of DW20's button API (Full code: http://pastebin.com/XBbMUYNn)

local mon = peripheral.wrap("top")
mon.setTextScale(1)

Line 2 errors because line 1 failed to wrap the peripheral (When peripheral.wrap fails, it doesn't error)
You'll need to change 'top' on line 1 to 'right', or the side your monitor is on.
Hassan51234 #25
Posted 13 August 2015 - 09:07 PM
Ok
Hassan51234 #26
Posted 13 August 2015 - 09:27 PM
Now is saying "attempt to call nil"
HPWebcamAble #27
Posted 13 August 2015 - 09:30 PM
Now is saying "attempt to call nil"

Line number and file?
Edited on 13 August 2015 - 07:30 PM
Hassan51234 #28
Posted 13 August 2015 - 09:38 PM
The File is button but i dont know the line number
Edited on 13 August 2015 - 07:40 PM
flaghacker #29
Posted 13 August 2015 - 09:57 PM
It's in the error message, one of the numbers in the front. Just give us the entire error message, including the start.
Hassan51234 #30
Posted 13 August 2015 - 10:07 PM
i dont get it

it says attempt to call nil when i start it
flaghacker #31
Posted 14 August 2015 - 12:09 AM
Perhaps you could show us a mscreenshot of the error massage?
Hassan51234 #32
Posted 14 August 2015 - 12:32 AM
Here it is

http://imgur.com/PeIJ4a6
Edited on 13 August 2015 - 10:34 PM
HPWebcamAble #33
Posted 14 August 2015 - 04:52 AM
This is the error you get (In the picture):

button: 2: attempt to call nil
--#     ^ thats the line number

Heres the code I posted earlier, lines 1 and 2 of DW20's button API:

local mon = peripheral.wrap("top")
mon.setTextScale(1)
Line 2 errors if 'peripheral.wrap' failed to find a peripheral on the top side.
Did you change "top" on line 1 to "right" ?
Remember, this is in the file 'button'
Edited on 14 August 2015 - 10:05 PM
Hassan51234 #34
Posted 14 August 2015 - 10:31 PM
I changed it to right still and then i tryed left and still the same erroe
flaghacker #35
Posted 14 August 2015 - 10:44 PM
I changed it to right still and then i tryed left and still the same erroe

On what side is the monitor actually? Make sure you haven't forgotten the quotes (") around "left".
Hassan51234 #36
Posted 14 August 2015 - 10:52 PM
Right
HPWebcamAble #37
Posted 15 August 2015 - 12:09 AM
Could you pastebin the code involved, and link it here?
Just so we can see it for ourselves
Hassan51234 #38
Posted 15 August 2015 - 12:58 AM
Ok

http://pastebin.com/XBbMUYNn this is button

and
pastebin.com/YT02y2TW this is aspects

i changed tt_aspectcontair to tilejar beacuse i have the updated verison of openper and thumictinker
HPWebcamAble #39
Posted 15 August 2015 - 01:08 AM
Are those the files you are using? Or did you just link the original pastebin?
Hassan51234 #40
Posted 15 August 2015 - 02:07 AM
those are the one im using
HPWebcamAble #41
Posted 15 August 2015 - 02:22 AM
those are the one im using

No, they are the originals, they were both added to pastebin several months ago.

In the computer, run the following commands:

pastebin put aspects

pastebin put button
And post what the codes are.
Hassan51234 #42
Posted 15 August 2015 - 03:08 AM
the codes i posted?
Bomb Bloke #43
Posted 15 August 2015 - 03:32 AM
How about instead of asking, you run the commands and post the results?
Hassan51234 #44
Posted 15 August 2015 - 03:43 AM
Ok this is the same problem i got on page two here it is

http://imgur.com/PeIJ4a6
HPWebcamAble #45
Posted 15 August 2015 - 03:55 AM
Ok, a few things:
- As you may have figured out, this kind of program is a little difficult to set up, as it uses several mods and an API
- I'm about *this* (indicates a Planck length) close to just logging into your world and doing it myself
Though I'm sure its singleplayer.

At this point, if you still want this to work, run these commands in the computer, post a picture of the output.

pastebin put aspects

pastebin put button
Edited on 15 August 2015 - 01:56 AM
Hassan51234 #46
Posted 15 August 2015 - 03:42 PM
Ok here they are

VnFiwYBZ aspects


jDtfX1fz button
Edited on 15 August 2015 - 03:32 PM
HPWebcamAble #47
Posted 16 August 2015 - 02:03 AM
Ok, in the 'button' pastebin, I can see you DID change the side to 'right', so that should be fine.

But the 'aspects' pastebin is still Bart1ebee's original script.
You'll need to use my modified version since you have an older version of ComputerCraft:
http://pastebin.com/CAp3MTEF


You will also need to modify the script slightly, like I said already to do:
You'll need to manually change 'LogisticsPipes:Request' to the correct name on line 14, I don't know what the correct name is

If you're not sure how to find the correct name for the Logistics Pipe:
SpoilerPlace a computer next to the logistics request pipe (Preferably an Advanced Computer)
Run this program, with the pipe's side as an argument: http://pastebin.com/sKLqTGrM
At the top, it will say 'Functions for <name> …'
Replace 'LogisticsPipes:Request' on line 14 with the name it gives you
Make sure the computer that is running the 'aspects' program is touching the Request pipe, or connected with wired modems.
Edited on 16 August 2015 - 12:05 AM
Hassan51234 #48
Posted 16 August 2015 - 02:17 AM
Ok
Hassan51234 #49
Posted 16 August 2015 - 04:25 PM
2 problems when i run the command 2 times

http://imgur.com/qG9MZy3
Hassan51234 #50
Posted 16 August 2015 - 05:25 PM
can you guys give me 1.73 comuptercraft code i updated
HPWebcamAble #51
Posted 17 August 2015 - 12:20 AM
can you guys give me 1.73 comuptercraft code i updated

Good, that will hopefully make things easier.

Here is Bart1ebee's modified version of DW20's code:
http://pastebin.com/YT02y2TW
It should work.. I think
Hassan51234 #52
Posted 17 August 2015 - 04:16 AM
Ok ill try