Dead Simple Railcraft Tank Monitoring
#61
Posted 31 January 2014 - 12:56 PM
Drexic: good luck! Hope you find the answer and we can update the program!
#62
Posted 31 January 2014 - 07:07 PM
Alright folks it seems to be true.
Direwolf20 FTB launcher pack uses openperipheral 2.1. In this version when you use the getTankInfo() method the result is a string instead of a readable table.
This is a known issue and is solved in the most recent openperipherals 3.0. I will do the modifications to the code for the updated version of Openperipherals and upload it somewhere, the old way of quarrying information is not going to work (I.E. getTanks()).
Sited Source
https://github.com/O...heral/issues/83
Updated version
http://openmods.info:8080/
its going to take a me a while (busy with real life... sadly...)
Edited by Drexic, 31 January 2014 - 09:14 PM.
#63
Posted 08 February 2014 - 05:55 PM
Here is the pastebin:
http://pastebin.com/ENkHsHjH
#64
Posted 09 March 2014 - 07:02 PM
#65
Posted 09 March 2014 - 08:41 PM
monitor.setTextScale(.5)
If you change that to something like
monitor.setTextScale(2)the text will become much bigger but will cause other display problems.
There's no easy way get things exactly right for everyone. For the most part, you shouldn't have so many liquids on one screen that you get confused - after a while you should remember the locations and the bar heights give you the eyeball accuracy you need. To really know, you'll have to walk up to the screen - or try the HUD addition that RikuSS4 added above.
Edited by Forgotten_Boy, 09 March 2014 - 08:41 PM.
#66
Posted 13 March 2014 - 09:04 PM
#67
Posted 14 March 2014 - 05:17 AM
#68
Posted 09 May 2014 - 08:48 PM
RikuSS4, on 08 February 2014 - 05:55 PM, said:
Here is the pastebin:
http://pastebin.com/ENkHsHjH
So I cannot seem to get this to work. The program does not detect any tanks. However if I run some sample code, it sees the tanks, no problem. Suggestions?
#69
Posted 10 May 2014 - 03:22 AM
local tankTypes = {"iron_tank_valve", "steel_tank_valve", "openblocks_tank", "drum", "ender_tank", "cofh_thermalexpansion_tank", "net_minecraft_src_buildcraft_factory_tiletank", "tileentitycertustank", "tconstruct_lavatank"};
tolocal tankTypes = {"rcirontankvalvetile","rcsteeltankvalvetile","iron_tank_valve", "steel_tank_valve", "openblocks_tank", "drum", "ender_tank", "cofh_thermalexpansion_tank", "net_minecraft_src_buildcraft_factory_tiletank", "tileentitycertustank", "tconstruct_lavatank"};
#70
Posted 10 May 2014 - 03:07 PM
all liquids are suported
http://www.computerc...achine-monitor/
Edited by MrEmielH, 10 May 2014 - 03:10 PM.
#71
Posted 10 May 2014 - 05:33 PM
MrEmielH, on 10 May 2014 - 03:07 PM, said:
all liquids are suported
http://www.computerc...achine-monitor/
There were multiple pastebin's in there. Which one should I go with? I would love to incorporate this.
#72
Posted 11 May 2014 - 10:22 AM
XLT_Frank, on 10 May 2014 - 05:33 PM, said:
MrEmielH, on 10 May 2014 - 03:07 PM, said:
all liquids are suported
http://www.computerc...achine-monitor/
There were multiple pastebin's in there. Which one should I go with? I would love to incorporate this.
boot_prior_1: 1X0azEEB
safe_mode: s0sAYjnc
startup xEk0csb7
#73
Posted 15 July 2014 - 03:47 PM
Incase anyone wonders how you can read the table outputted by tank.getTanksInfo("tank") you can stick it in a variable and read var[1].amount, like so;
http://pastebin.com/qWEb0bYh - text-based monitoring with no scaling whatsoever - quick-and-dirty hookup with wired modems, so your program was quite the catch.
Also a shameless pastebin of the version i ended up using to monitor my tanks, with the two changed words needed to fix it for me. You might have to change the irontanks-name yourself. http://pastebin.com/9gnJZdWg
Thanks for the awesome program!
#74
Posted 28 July 2014 - 12:23 PM
#75
Posted 31 July 2014 - 06:13 PM
#76
Posted 02 January 2015 - 03:17 AM
Also added Life Essence
http://pastebin.com/AEs0eGaG
#77
Posted 13 April 2015 - 02:02 AM
UPDATED: April 12th, 2015
- Now updated for Minecraft 1.7.10, ComputerCraft 1.73 and OpenPeripherals 0.7.1
#78
Posted 19 May 2015 - 05:34 AM
#79
Posted 19 May 2015 - 03:42 PM
#80
Posted 19 May 2015 - 05:49 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











