Jump to content




[MC 1.7.10 | CC 1.65] OpenCCSensors

lua

  • You cannot reply to this topic
1334 replies to this topic

#761 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 12 March 2013 - 01:22 AM

Instead of a world save, an idea of which machines you have around the sensor would be really helpful.

#762 Kye_Duo

  • Members
  • 70 posts

Posted 12 March 2013 - 05:34 AM

ah...well....lets see
WR-CBE transmitters and receivers, Xfel's CCcable, advanced monitors, advanced computer, wireless sensor turtle, railcraft reinforced rails, reinforced booster rails, reinforced switch, switch lever, holddown track, elevator track, Construction foam, reinforced stone, iron note block, other sensors, RP2 bundled cable and colored redwire, teleporters (IC2's), I also have several Mo'creatures pets, immibis's Chicken Bones enderchests, MFSU's, glass fiber cable, ICBM sentry turret, item duplicator, BC wooden pipe, golden pipe, BC iron gates, one is autarchic, command block
I think that is everything in range of the sensor we are using to test the sonic card...

whoops, almost forgot the lapotronic charge pad, and there are HV solar arrays on the roof

edit: DOH...i'm forever giving the Chicken bones enderstorage to immibis....

#763 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 12 March 2013 - 12:59 PM

I have enderchests now?

#764 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 12 March 2013 - 01:03 PM

Not in this dimension, perhaps, but they're enderchests, remember?

#765 TheGeek

  • Members
  • 60 posts

Posted 13 March 2013 - 04:34 AM

View PostKye_Duo, on 12 March 2013 - 05:34 AM, said:

ah...well....lets see
WR-CBE transmitters and receivers, Xfel's CCcable, advanced monitors, advanced computer, wireless sensor turtle, railcraft reinforced rails, reinforced booster rails, reinforced switch, switch lever, holddown track, elevator track, Construction foam, reinforced stone, iron note block, other sensors, RP2 bundled cable and colored redwire, teleporters (IC2's), I also have several Mo'creatures pets, immibis's Chicken Bones enderchests, MFSU's, glass fiber cable, ICBM sentry turret, item duplicator, BC wooden pipe, golden pipe, BC iron gates, one is autarchic, command block
I think that is everything in range of the sensor we are using to test the sonic card...

whoops, almost forgot the lapotronic charge pad, and there are HV solar arrays on the roof

edit: DOH...i'm forever giving the Chicken bones enderstorage to immibis....

Hmm...
Perhaps we should go out into the wilderness somewhere and see if we can't narrow down WHICH mod item throws the silent error. Alas, we use too many mods to keep up with them all.

#766 jewelshisen

  • Members
  • 164 posts

Posted 13 March 2013 - 04:40 AM

I've found a possible error with the IC2 sensor. I keep trying to pull the target details and instead of giving me a table of values like it should do it just keeps giving me a number at line 2. Here is my program:

prox=peripheral.wrap("right")
for name,basic in pairs(prox.getTargets()) do
  print("NAME: "..name)
  for i,v in pairs(basic) do
	print(i..": "..v)
  end
  extra=prox.getTargetDetails(name)
  for i,v in pairs(extra) do
	print(i..": "..v)
  end
end


Am I doing something wrong or is the sensor messed up? I'm just scanning a single MFSU.

#767 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 13 March 2013 - 05:34 AM

You should be wrapping it with sensor.wrap. Prepend `os.loadAPI("ocs/apis/sensor")` to your program and use sensor.wrap in place of peripheral.wrap. This is because data comes in via events, and the sensor API takes care of this for you.

#768 jewelshisen

  • Members
  • 164 posts

Posted 13 March 2013 - 05:57 AM

View PostLyqyd, on 13 March 2013 - 05:34 AM, said:

You should be wrapping it with sensor.wrap. Prepend `os.loadAPI("ocs/apis/sensor")` to your program and use sensor.wrap in place of peripheral.wrap. This is because data comes in via events, and the sensor API takes care of this for you.

OHhhhhhhh.... I feel like idiot.

#769 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 14 March 2013 - 09:52 AM

Applied Energistics sensor card being added to the next release of OCS.



Thanks to thraaawn for that pull request! really nicely done.

I'm also looking into trying to fix the sonic sensor, and hopefully I can get one last 1.4.7 release in soon, before I start looking at 1.5 support.

#770 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 14 March 2013 - 09:56 AM

Oh, and sorry if this thread has been quite quiet recently. The project has been pretty stable, so I've just been letting it flow for a while to see what the uptake is like, while I experiment with other ideas.

I'm planning to focus more on OCS in the near future.

I'd really like some ideas for some new kinds of blocks that can be added into OCS. There's been a few, but nothing that's really stood out yet.

If anyone can think of any, please let me know!

I don't really want to spend time adding little token blocks which are limited to what situations they can be used in, I'd really like something on-par with the main sensor peripheral, something that'll look awesome and bring some really interesting extra functionality into the game.

#771 Kye_Duo

  • Members
  • 70 posts

Posted 14 March 2013 - 10:47 AM

blocks....hmmm...if possible an alarm block that can play custom sounds....though that sounds like it'd be better in misc periphs
a sensor jammer maybe...
a laser gun maybe?
I'd love a CCTV block...but that's prob asking way too much
a wireless sensor relay block! though it's prob already been asked for.
A holographic display block! one that could be used to remotely view an area, that would rock! of course it would rely on a sensor interface for details.

#772 jewelshisen

  • Members
  • 164 posts

Posted 14 March 2013 - 05:22 PM

View PostKye_Duo, on 14 March 2013 - 10:47 AM, said:

blocks....hmmm...if possible an alarm block that can play custom sounds....though that sounds like it'd be better in misc periphs
a sensor jammer maybe...
a laser gun maybe?
I'd love a CCTV block...but that's prob asking way too much
a wireless sensor relay block! though it's prob already been asked for.
A holographic display block! one that could be used to remotely view an area, that would rock! of course it would rely on a sensor interface for details.

Could use the sonic sensor to project a holographic scan of the sensors range!!

#773 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 15 March 2013 - 09:25 PM

Hi all,

I'm doing a mini-release, OpenCCSensors 0.1.4b, which is for minecraft 1.4.7.

Update notes:

- Applied Energistics Sensor Card added thanks to thraaawn.
- Hopefully fixed some issues with the sonic sensor
- A few bug fixes in there

Next release will be 0.1.5, which'll be aimed at minecraft 1.5.

https://dl.dropbox.c...sors-0.1.4b.zip

#774 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 16 March 2013 - 01:13 AM



#775 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 March 2013 - 06:42 AM

I can see my commits from here! :D

#776 Watchful11

  • Members
  • 8 posts

Posted 16 March 2013 - 10:22 AM

View PostMikeemoo, on 14 March 2013 - 09:56 AM, said:

I'd really like some ideas for some new kinds of blocks that can be added into OCS. There's been a few, but nothing that's really stood out yet.

If anyone can think of any, please let me know!

One thing I would really like is a range finder. It just finds the distance to the nearest block in a given direction, to some reasonable maximum of course. For my purposes it would be most useful as a peripheral block that a turtle could place, check the range on, and break. Having it as a sensor card would work as well.

View PostMikeemoo, on 12 March 2013 - 01:22 AM, said:


Instead of a world save, an idea of which machines you have around the sensor would be really helpful.
I'll test the new version and let you know if it fixed my problem. In my case there was nothing around the sensor, it was on a flat world, so just grass and bedrock.

#777 CoolisTheName007

  • Members
  • 304 posts

Posted 16 March 2013 - 11:38 AM

View PostWatchful11, on 16 March 2013 - 10:22 AM, said:

I'll test the new version and let you know if it fixed my problem. In my case there was nothing around the sensor, it was on a flat world, so just grass and bedrock.
Bedrock? Maybe that is the problem....I'll check soon.

#778 ramdor72

  • Members
  • 38 posts

Posted 17 March 2013 - 08:11 AM

Is there a way to stop the log entries?

eg...

2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.transport.tileentity.TileConduitEnergy
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = forestry.core.gadgets.TileMachine
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = railcraft.common.blocks.machine.beta.TileEngineSteamHigh
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.transport.tileentity.TileConduitEnergy


#779 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 17 March 2013 - 08:45 AM

View Postramdor72, on 17 March 2013 - 08:11 AM, said:

Is there a way to stop the log entries?

eg...

2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.transport.tileentity.TileConduitEnergy
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = forestry.core.gadgets.TileMachine
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.energy.tileentity.TileEnergyCell
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = railcraft.common.blocks.machine.beta.TileEngineSteamHigh
2013-03-16 20:13:41 [INFO] [STDOUT] tileClass = thermalexpansion.transport.tileentity.TileConduitEnergy

Upgrade to the latest version.

#780 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 17 March 2013 - 08:47 AM

OpenCCSensors for Minecraft 1.5 is being actively worked on right now, and should be released reasonably soon.

I'll probably be doing quite a few mini-releases, because I'll still be waiting on other mods to upgrade for some time.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users