ccSensors collects information from machines and blocks from around the minecraft world.
those readings can be viewed on the sensor terminal or (and even better) be used in Computercraft lua programs for anything...
UPDATES and NEWS
working on adding: alerts & notfications, railcraft sensor, buildcraft triggers.
changelog
mc125 build 017pr2:
-------------------
added: loglevel can be set in the config file default to error only. (loglevel=error,info,debug)
fixed: SensorModules can now be disabled by setting the module id to -1 in the config.
fixed: sensorNet Gui (default key will only open when no other gui is opened.
fixed: added another validity check when setting sensorRange (new range <= max_range and >=0)
fixed: weird mc crash on startup with mystcraft. (couldn't reproduce, but assuming the bypass i added will fix it)
fixed: occasional custom sensor names not kept.
added: railcraft sensor
mc125 build 017pr1:
----------------
added: this changelog will now be included with every release.
added: readme.txt - start of a full readme/help file
changed: World sensor now has 3 probes: World, Area, and Biome
added: configuration file now has sensors section to contain all sensor cards ids. (ccSensors.config)
fixed: proximity sensor partially fixed for SMP - can only correctly detect players for now.. (working on animals/mobs for next version)
added: use4096 config option to auto-use higher blockids (can be used when 4096 fix is installed)
MC125Build015pr1 Latest stable SSP ccSensors version - 1.25 build 015pr1
to install just extract the zip into your .minecraft directory.
the following directory structure should be created:
.minecraft/mods/ccSensors.zip
.minecraft/mods/ccSensors
AVAILABLE SENSORS
World Sensor - provide environment readings
Examples: Light Level,isDay?,isRaining?
Inventory Sensor - provide inventory content details
Examples: Inventory utilization, Full item list, Empty slots
Examples: Living Entities within sensor range: Name,Current Health, Distance
GETTING STARTED
1. Place a Remote Sensor block (big headed stick) near a machine/block you want to probe.
( you can rename the Sensor to whatever meaningful name you want)
2. Insert the appropriate SensorModule card in the Module Slot.
3. Browse through the different probes and available readings.
Continue if you want to use the sensor with a Computercraft computer:
4. Place a Sensor Controller next to a computer
5. Assign a new WiFi channel by requesting a new channel in the controller GUI
6. Place a blank Transmitter card in the slot and encode the card
7. Go back to your remote sensor and right click with the encoded Transmitter card. (or just open the GUI and place the card in the slot)
8. to verify - open the Computercraft terminal and run /ccSensors/console
That's it - you now have a working sensor connected to a computer
WHERE TO GO FROM HERE,
add sensors, controllers and write your own lua programs...the sky (new sky height) is the limit
a nice example of a reactor control program using ccSensors (video by: Rune Kromolty)
MOD CONTENT
Computercraft additions:
The mod adds several Lua APIs and example Lua programs which demonstrate the use of Sensors.
a 'console' program is also included to provide easy access to sensor data without writing/modifying any code.
all of ccSensors lua programs are located in /ccSensors in any Computercraft computer
Sensor Controller (Computer Peripheral Block)
- can be attached to computer
- provides a central collection point for the remote sensors readings
Sensor Controller
Remote Sensor
The remote sensor is the block that provides the readings for the Controller.
Remote Sensor
Items
SensorModule Card
Provides custom readings.
all SensorModule cards crafting requires a blank SensorModule Card in the middle crafting slot.
Blank SensorModuleCard
World SensorModule
Inventory SensorModule
Buildcraft SensorModule
IC2
Transmitter Card
used to connect a Remote Sensor to a Sensor Controller
you can craft a blank Transmitter card,use a controller to encode it to a channel.
Blank Channel Transmitter
Computer Chip
Used as the basic crafting ingredients in all ccSensors recipes.
Currently only Redstone and iron computer chips are used.
Wow this is amazing, Great job on the addition to computercraft this will open up a whole new range of possibilities. I can see it conjoining with the main computer craft somewhere in the future, maybe. Anyway it'll open up new programming possibilites like controlling my reactor, giving me some weather readouts deep underground , and lots more.
Nice mod. It adds a lot of functionality to Computer Craft, thank you very much, sir)
But you should add help to CC apis, or post all the CC functions here.
Nice mod. It adds a lot of functionality to Computer Craft, thank you very much, sir)
But you should add help to CC apis, or post all the CC functions here.
you are right, i should...
was busy working on fixing and adding features and neglected documentation ....
i'll work on enhancing the minimal help next...
Mods loaded: 40
ModLoader 1.1
mod_ModLoaderMp 1.1
mod_MinecraftForge 1.3.3.12
mod_IDResolver 1.1 - Update 0
mod_WirelessRemote 0.5
mod_WirelessRedstone 1.5
mod_NotEnoughItems 1.1.1
mod_ReiMinimap v3.0_01 [1.1]
mod_Backpack 1.1.0_v2-2
mod_BuildCraftCore 2.2.12
mod_BuildCraftBuilders 2.2.12
mod_BuildCraftEnergy 2.2.12
mod_BuildCraftFactory 2.2.12
mod_BuildCraftTransport 2.2.12
mod_jBuildCraft_BucketFiller 2.2.13
mod_zAdditionalPipes Rev32.3
mod_CCTurtle 1.3
mod_ComputerCraft 1.3
mod_ccSensors 1.1.0_Build.010
mod_CraftGuide 1.4.2 for Minecraft 1.1.0
mod_Elevator 1.1.0
mod_EnderChest 1.0.1
mod_Forestry 1.2.6.5
mod_IC2ThermoBlock v1.0.2
mod_IC2 v1.71
mod_BCIC2Crossover 1.24b for MC 1.1, BC 2.2.12, IC2 1.70
mod_IC2AdvancedMachines v3.7
mod_Minechem 1.5
mod_CompactSolars 1.2
mod_IC2_ChargingBench 1.71-1
mod_IronChest 2.4
mod_Thx Minecraft Helicopter Mod - mod_thx-mc100_v015
mod_NotEnoughItems 1.1.1
mod_RedPowerCore 2.0pr4d
mod_RedPowerLighting 2.0pr4d
mod_RedPowerLogic 2.0pr4d
mod_RedPowerMachine 2.0pr4d
mod_RedPowerWiring 2.0pr4d
mod_RedPowerWorld 2.0pr4d
mod_ZZZMissile 0.81
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT 31f0e964 --------
Generated 14.04.12 23:51
Minecraft: Minecraft 1.1
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0, Oracle Corporation
VM: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: ATI Mobility Radeon HD 5850 version 3.2.9712 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NullPointerException
at tw.<init>(SourceFile:13)
at ccSensors.ItemComputerSensorBlock.<init>(ItemComputerSensorBlock.java:22)
at mod_ccSensors.load(mod_ccSensors.java:307)
at ModLoader.init(ModLoader.java:824)
at ModLoader.AddAllRenderers(ModLoader.java:189)
at afq.<init>(afq.java:80)
at afq.<clinit>(afq.java:9)
at net.minecraft.client.Minecraft.a(SourceFile:265)
at net.minecraft.client.Minecraft.run(SourceFile:648)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 1f1225b8 ----------
i think i already fixed that for the 1.2.3 version,
any reason you are using MC1.1 ?
once i release 1.2.5 with SMP i plan to drop support for 1.1
so it will only officially support 1.2.3 and 1.2.5
i will try to update the older versions as much as possible,
however i'm afraid i won't have enough time to keep adding features / fixing existing features while still supporting older versions..
but, if anyone wants to update/support old version - i have no objections
meanwhile - i added a link to a nice video demonstrating the use of ccSensors (among other things like Big Screens, etc...)
Will you add an option to either use RedPower computers or Dan's computers? I have the redpower ones currently and I don't really want 2 different computers lol
Will you add an option to either use RedPower computers or Dan's computers? I have the redpower ones currently and I don't really want 2 different computers lol
Two different computers tho, as Dan's computers can do alot more then Rp2's. I have both and honestly i rarely use Rp2's.
Awesome mod! I have a problem though... When I start a server and try to log in I get a message saying I need to install ccSensors version 1.2.3.... But I've installed 1.2.5 on the server... Anyone else got that issue?
Awesome mod! I have a problem though... When I start a server and try to log in I get a message saying I need to install ccSensors version 1.2.3.... But I've installed 1.2.5 on the server... Anyone else got that issue?
Thanks!
sorry about that - i had an old file in the server .zip - re-download the server file.
Will you add an option to either use RedPower computers or Dan's computers? I have the redpower ones currently and I don't really want 2 different computers lol
I was thinking about it (still am).
Waiting to see if Eloraam is going to add some kind of an AUX interface to allow addon Peripherals to be connected to RP C.
in the meanwhile, i have some creative ideas on how this can be connected to both computers.
Why is this not the most downloaded mod on the forums?!?!? Finally, I can see everything happening under the hood
thanks
after seeing a couple of youtube videos showing complicated redstone circuits to be able to detect simple things (like reactor overheating, item count in a chest) i was looking for something like that... when i couldn't find it - i decided to build it - which was coincidental around the same time computercraft was about to get a Peripheral Interface which made the interaction with it much much simpler...
I get this error when i try to open the Sensor Controller.
the sensor is placed next to a forestry Arboretum
with a forestry card in it.
Unexpected exception
java.lang.ClassCastException: dd cannot be cast to ccSensors.shared.ItemComputerSensorCard
at ccSensors.shared.TileEntityComputerSensor.updateActiveSensor(TileEntityComputerSensor.java:235)
at ccSensors.shared.TileEntityComputerSensor.a(TileEntityComputerSensor.java:310)
at forestry.cultivation.planters.Planter.dumpToInventory(Planter.java:736)
at forestry.cultivation.planters.Planter.dumpStash(Planter.java:680)
at forestry.cultivation.planters.Planter.doWork(Planter.java:362)
at forestry.TileMachine.doWork(TileMachine.java:230)
at buildcraft.api.PowerProvider.update(PowerProvider.java:54)
at forestry.TileForestry.q_(TileForestry.java:54)
at forestry.TileMachine.q_(TileMachine.java:103)
at ge.f(World.java:1602)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at dn.run(SourceFile:492)
I get this error when i try to open the Sensor Controller.
the sensor is placed next to a forestry Arboretum
with a forestry card in it.
Unexpected exception
java.lang.ClassCastException: dd cannot be cast to ccSensors.shared.ItemComputerSensorCard
at ccSensors.shared.TileEntityComputerSensor.updateActiveSensor(TileEntityComputerSensor.java:235)
at ccSensors.shared.TileEntityComputerSensor.a(TileEntityComputerSensor.java:310)
at forestry.cultivation.planters.Planter.dumpToInventory(Planter.java:736)
at forestry.cultivation.planters.Planter.dumpStash(Planter.java:680)
at forestry.cultivation.planters.Planter.doWork(Planter.java:362)
at forestry.TileMachine.doWork(TileMachine.java:230)
at buildcraft.api.PowerProvider.update(PowerProvider.java:54)
at forestry.TileForestry.q_(TileForestry.java:54)
at forestry.TileMachine.q_(TileMachine.java:103)
at ge.f(World.java:1602)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at dn.run(SourceFile:492)
All ID's were default, but an reinstall sort of solved it, but i am unable to get readings from the Arboretum
most likely a combination of SMP / Pebcak..
When the smp version is installed on a server does each member of the server need to install the client version as well like with Buildcraft? Or can it just be installed on the server?
INTRO
ccSensors collects information from machines and blocks from around the minecraft world.
those readings can be viewed on the sensor terminal or (and even better) be used in Computercraft lua programs for anything...
UPDATES and NEWS
mc125 build 017pr2:
-------------------
added: loglevel can be set in the config file default to error only. (loglevel=error,info,debug)
fixed: SensorModules can now be disabled by setting the module id to -1 in the config.
fixed: sensorNet Gui (default key will only open when no other gui is opened.
fixed: added another validity check when setting sensorRange (new range <= max_range and >=0)
fixed: weird mc crash on startup with mystcraft. (couldn't reproduce, but assuming the bypass i added will fix it)
fixed: occasional custom sensor names not kept.
added: railcraft sensor
mc125 build 017pr1:
----------------
added: this changelog will now be included with every release.
added: readme.txt - start of a full readme/help file
changed: World sensor now has 3 probes: World, Area, and Biome
added: configuration file now has sensors section to contain all sensor cards ids. (ccSensors.config)
fixed: proximity sensor partially fixed for SMP - can only correctly detect players for now.. (working on animals/mobs for next version)
added: use4096 config option to auto-use higher blockids (can be used when 4096 fix is installed)
DOWNLOAD and INSTALL
lua folders and files (required for both client and server)
client - MC125Build017pr2
server - MC125Build017pr2
to install:
1. place the mod .ZIP file in the mods/ directory
2. extract the lua .ZIP into the mods/ directory
you should end up with a ccSensors.....ZIP and ccSensors folder in the mods/ directory.
Requirements:
client requirements:
MC125Build017pr1
client - MC 1.2.5 Build 017pr1
server - MC 1.2.5 Build 017pr1
Bukkit version - by Cloudy
MC125Build016
ccSensors build 016 for Minecraft 1.2.5 - Client
ccSensors build 016 for Minecraft 1.2.5 - Server
MC125Build015pr1
Latest stable SSP ccSensors version - 1.25 build 015pr1
to install just extract the zip into your .minecraft directory.
the following directory structure should be created:
.minecraft/mods/ccSensors.zip
.minecraft/mods/ccSensors
AVAILABLE SENSORS
1. Place a Remote Sensor block (big headed stick) near a machine/block you want to probe.
( you can rename the Sensor to whatever meaningful name you want)
2. Insert the appropriate SensorModule card in the Module Slot.
3. Browse through the different probes and available readings.
Continue if you want to use the sensor with a Computercraft computer:
4. Place a Sensor Controller next to a computer
5. Assign a new WiFi channel by requesting a new channel in the controller GUI
6. Place a blank Transmitter card in the slot and encode the card
7. Go back to your remote sensor and right click with the encoded Transmitter card. (or just open the GUI and place the card in the slot)
8. to verify - open the Computercraft terminal and run /ccSensors/console
That's it - you now have a working sensor connected to a computer
WHERE TO GO FROM HERE,
add sensors, controllers and write your own lua programs...the sky (new sky height) is the limit
MEDIA
Sample Screens: Dashboards
Sample Screens: Misc Snapshots
Videos
a nice example of a reactor control program using ccSensors (video by: Rune Kromolty)
MOD CONTENT
Computercraft additions:
The mod adds several Lua APIs and example Lua programs which demonstrate the use of Sensors.
a 'console' program is also included to provide easy access to sensor data without writing/modifying any code.
all of ccSensors lua programs are located in /ccSensors in any Computercraft computer
ITEMS, BLOCKS, RECIPES, AND WHATNOT..
recipes
http://imgur.com/a/WRqaa#0
Blocks
Sensor Controller (Computer Peripheral Block)
- can be attached to computer
- provides a central collection point for the remote sensors readings
Sensor Controller
Remote Sensor
The remote sensor is the block that provides the readings for the Controller.
Remote Sensor
Items
SensorModule Card
Provides custom readings.
all SensorModule cards crafting requires a blank SensorModule Card in the middle crafting slot.
Blank SensorModuleCard
World SensorModule
Inventory SensorModule
Buildcraft SensorModule
IC2
Transmitter Card
used to connect a Remote Sensor to a Sensor Controller
you can craft a blank Transmitter card,use a controller to encode it to a channel.
Blank Channel Transmitter
Computer Chip
Used as the basic crafting ingredients in all ccSensors recipes.
Currently only Redstone and iron computer chips are used.
types of Computer Chips:
Redstone
Thanks again
But you should add help to CC apis, or post all the CC functions here.
you are right, i should...
was busy working on fixing and adding features and neglected documentation ....
i'll work on enhancing the minimal help next...
Also on the todo list (in progress):
1. finish Forestry Sensors
2. EE Sensor
3. Proximity Sensor
http://www.computercraft.info/forums2/index.php?/topic/126-cc13-addonccsensors/
Also, I would like some more information about what everything does and how to encode it all. Or is that included in the download somehow?
yes - Working on SMP support.
Also, working on adding info /docs to the next release.
the information i think to add: (please provide feedback if more is needed)
full list of readings for each sensor card
description + example for each api function
more sample programs.
i think i already fixed that for the 1.2.3 version,
any reason you are using MC1.1 ?
once i release 1.2.5 with SMP i plan to drop support for 1.1
so it will only officially support 1.2.3 and 1.2.5
however i'm afraid i won't have enough time to keep adding features / fixing existing features while still supporting older versions..
but, if anyone wants to update/support old version - i have no objections
meanwhile - i added a link to a nice video demonstrating the use of ccSensors (among other things like Big Screens, etc...)
still in beta, but working:)
Two different computers tho, as Dan's computers can do alot more then Rp2's. I have both and honestly i rarely use Rp2's.
Same problem
sorry about that - i had an old file in the server .zip - re-download the server file.
I was thinking about it (still am).
Waiting to see if Eloraam is going to add some kind of an AUX interface to allow addon Peripherals to be connected to RP C.
in the meanwhile, i have some creative ideas on how this can be connected to both computers.
thanks
after seeing a couple of youtube videos showing complicated redstone circuits to be able to detect simple things (like reactor overheating, item count in a chest) i was looking for something like that... when i couldn't find it - i decided to build it - which was coincidental around the same time computercraft was about to get a Peripheral Interface which made the interaction with it much much simpler...
the sensor is placed next to a forestry Arboretum
with a forestry card in it.
Unexpected exception
java.lang.ClassCastException: dd cannot be cast to ccSensors.shared.ItemComputerSensorCard
at ccSensors.shared.TileEntityComputerSensor.updateActiveSensor(TileEntityComputerSensor.java:235)
at ccSensors.shared.TileEntityComputerSensor.a(TileEntityComputerSensor.java:310)
at forestry.cultivation.planters.Planter.dumpToInventory(Planter.java:736)
at forestry.cultivation.planters.Planter.dumpStash(Planter.java:680)
at forestry.cultivation.planters.Planter.doWork(Planter.java:362)
at forestry.TileMachine.doWork(TileMachine.java:230)
at buildcraft.api.PowerProvider.update(PowerProvider.java:54)
at forestry.TileForestry.q_(TileForestry.java:54)
at forestry.TileMachine.q_(TileMachine.java:103)
at ge.f(World.java:1602)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at dn.run(SourceFile:492)
DId you change ids in a world you used?
most likely a combination of SMP / Pebcak..