Tank Reader

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Ohming

New Member
Jul 29, 2019
39
0
0
Is there a way to read the amount of fluid in a Railcraft tank and have it displayed on computercraft monitors? I haven't used computercraft much, but this is the only mod that I think would be able to do what I want. I'd like to be able to check how full a tank is without actually going to that tank.

I'm not asking for someone to write me a program and pastebin it(That'd be nice, but greedy). If someone could point me in the right direction, or if there's already a way to do this.
 

krugle

New Member
Jul 29, 2019
54
0
0
nuclear control addon for IC2 has exactly what you need you create a (I believe) liquid card right click it on the tank and then install it in a monitor, it will tell you exactly how much you have and how much you can hold.
 
  • Like
Reactions: Padfoote

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
nuclear control addon for IC2 has exactly what you need you create a (I believe) liquid card right click it on the tank and then install it in a monitor, it will tell you exactly how much you have and how much you can hold.
Yes Nuclear control has/had a Liquid sensor kit that works/worked with Railcraft tanks. Rightclick the Sensor kit on the tank and you get a Location card. Place this card in a Industrial information panel and it will show you all the details of the tank.

Not that you can also place the Location card in a Range Trigger to output redstone signal depending on the tanks liquid levels.

Depending on which version you are using there might be a problem with steel tanks. In Unleashed at least I never got the sensor kits to work with steel tanks, but would assume it worked fine with Iron tanks. Also assume(hope) the issue have been fixed for newer versions.
 

casilleroatr

New Member
Jul 29, 2019
1,360
0
0
Nuclear control is a really good mod for this.
However, computercraft can help you as well if you also have the open peripherals mod installed (widely available in FTB modpacks). Open peripherals makes other blocks a peripheral so that you can get information from them or make them do stuff.

In my signature there is a link that takes you to a forum page where I put a program that assists in working out how to use the vast amount of peripherals available for computercraft. If you make a computer and place it directly adjacent to a tank valve (iron or steel) or connect it via wired modem, run the methodMan program and it will gather information about all peripherals attached (not just tanks). It will give you a list of methods associated with the peripheral, and if the peripheral was added by Open Peripherals it will give you some advanced method data. It will save this information into a new file in that computer's directory which you can read in game any time or in a text editor (which is better for formatting reasons). If you want you can make the program automatically pastebin all the new files for you. I wrote it to work in 1.6 (it may or may not work in 1.5).

Of course it won't actually read the contents of the tank for you but if you but it might help you write a program that will.