Jump to content




[MC 1.7.10 | CC 1.65] OpenCCSensors

lua

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

#841 Foone

  • Members
  • 25 posts

Posted 08 April 2013 - 02:44 PM

I'm not able to craft a sensor in 0.1.5. The standard recipe (OOO/ROR/SSS) doesn't work, and from loading up NotEnoughItems, there's no recipe for the sensor at all. Is this an issue with my installation or a bug in the latest version?

I tried clearing my config files to confirm it wasn't a block/item ID conflict, but it made no difference.

EDIT: Looks like Gauges lost their recipe too.

I think sometime when src/openccsensors/common/CommonProxy.java was reorganized... Yeah, here:

https://github.com/C...49ba663a48bea46

In that confusing commit.

View PostMikeemoo, on 08 April 2013 - 09:52 AM, said:

Thanks for the wiki edit, Foone!

No problem. Glad I can help.

#842 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 08 April 2013 - 09:04 PM

Well that's... embarrassing. I must've removed them during the refactoring. I'll do an update at some point today and release a 0.1.5b

#843 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 09 April 2013 - 12:49 AM

I've made a stealth update that fixes this, It's just in the same download link as before (0.1.5). Thanks for spotting that quickly.

#844 ichumuh

  • New Members
  • 2 posts

Posted 09 April 2013 - 05:37 AM

i installed the mod on my server some houres ago and he is crashing, when i try to run the 2. example program from the wiki.
this is the report:
Caused by: java.lang.NoSuchMethodError: net.minecraft.item.ItemStack.func_82840_a(Lnet/minecraft/entity/player/EntityPlayer;Z)Ljava/util/List;
at openccsensors.common.util.InventoryUtils.itemstackToMap(InventoryUtils.java:53)
at openccsensors.common.util.InventoryUtils.invToMap(InventoryUtils.java:86)
at openccsensors.common.util.EntityUtils.livingToMap(EntityUtils.java:111)
at openccsensors.common.sensor.ProximitySensor.getDetails(ProximitySensor.java:23)
at openccsensors.common.peripheral.PeripheralSensor$1.execute(PeripheralSensor.java:67)
at openccsensors.common.util.CallbackEventManager.process(CallbackEventManager.java:72)
at openccsensors.common.peripheral.PeripheralSensor.update(PeripheralSensor.java:287)
at openccsensors.common.tileentity.TileEntitySensor.func_70316_g(TileEntitySensor.java:44)
at net.minecraft.world.World.func_72939_s(World.java:2187)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:543)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:651)
... 4 more

#845 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 09 April 2013 - 07:19 AM

View Postichumuh, on 09 April 2013 - 05:37 AM, said:

i installed the mod on my server some houres ago and he is crashing, when i try to run the 2. example program from the wiki.
this is the report:
Caused by: java.lang.NoSuchMethodError: net.minecraft.item.ItemStack.func_82840_a(Lnet/minecraft/entity/player/EntityPlayer;Z)Ljava/util/List;
at openccsensors.common.util.InventoryUtils.itemstackToMap(InventoryUtils.java:53)
at openccsensors.common.util.InventoryUtils.invToMap(InventoryUtils.java:86)
at openccsensors.common.util.EntityUtils.livingToMap(EntityUtils.java:111)
at openccsensors.common.sensor.ProximitySensor.getDetails(ProximitySensor.java:23)
at openccsensors.common.peripheral.PeripheralSensor$1.execute(PeripheralSensor.java:67)
at openccsensors.common.util.CallbackEventManager.process(CallbackEventManager.java:72)
at openccsensors.common.peripheral.PeripheralSensor.update(PeripheralSensor.java:287)
at openccsensors.common.tileentity.TileEntitySensor.func_70316_g(TileEntitySensor.java:44)
at net.minecraft.world.World.func_72939_s(World.java:2187)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:543)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:651)
... 4 more

Which version of minecraft, openccsensors, forge and computer craft are you using?

Edit: Found the issue. Looks like tooltips are clientside only, so it causes servers to crash.

I've had to remove tooltip functionality.

Here's a fixed version:

https://dl.dropbox.c...sors-0.1.5b.jar

#846 ichumuh

  • New Members
  • 2 posts

Posted 09 April 2013 - 08:59 AM

Thanks for the fast fix, seems to be working now. :)

#847 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 09 April 2013 - 09:30 AM

Another mini release:

https://dl.dropbox.c...sors-0.1.5c.jar

Added book enchantment information on the inventory sensor

#848 Kye_Duo

  • Members
  • 70 posts

Posted 09 April 2013 - 09:34 AM

hmm...any way you could let the the invy sensor read the contents of a book and quill? that could be used to make an easy train routing control scheme.
set the destination in the first line of the book and have the sensor read it to determine where it goes.

#849 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 09 April 2013 - 09:54 AM

View PostKye_Duo, on 09 April 2013 - 09:34 AM, said:

hmm...any way you could let the the invy sensor read the contents of a book and quill? that could be used to make an easy train routing control scheme.
set the destination in the first line of the book and have the sensor read it to determine where it goes.

I'll get that sorted for the next release.

#850 Kye_Duo

  • Members
  • 70 posts

Posted 09 April 2013 - 01:01 PM

View PostMikeemoo, on 09 April 2013 - 09:54 AM, said:

View PostKye_Duo, on 09 April 2013 - 09:34 AM, said:

hmm...any way you could let the the invy sensor read the contents of a book and quill? that could be used to make an easy train routing control scheme.
set the destination in the first line of the book and have the sensor read it to determine where it goes.

I'll get that sorted for the next release.
OOOOO...cool

#851 SimpleMajority

  • Members
  • 26 posts

Posted 09 April 2013 - 08:40 PM

View PostMikeemoo, on 07 April 2013 - 07:41 AM, said:

View PostSimpleMajority, on 06 April 2013 - 08:42 PM, said:

I didn't see a suggestion for this, so here it goes.
I would love to see a sensor card get added in for Universal Electricity. It would make life a ton easier in managing a power network.

This is already in the new 1.5.1 version :)

sweet... problem is no one else is 1.5.1 yet lol... UE is,but it is incredibly buggy.

#852 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 09 April 2013 - 11:51 PM

I should start using this...

#853 Foone

  • Members
  • 25 posts

Posted 10 April 2013 - 03:13 PM

I put in a pull request to fix a few issues in 0.1.5c, the Dropped Item Sensor Card doesn't exist (sorta), the name of the Machine Sensor Card is missing, and the version info is out of date (it says 0.1.4c)

EDIT: Arg, there's still some issues with sensor turtles... if I create one or spawn one, put it in my inventory, chest or world, and then reconnect, it turns into a plain turtle.

#854 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 10 April 2013 - 09:37 PM

View PostFoone, on 10 April 2013 - 03:13 PM, said:

I put in a pull request to fix a few issues in 0.1.5c, the Dropped Item Sensor Card doesn't exist (sorta), the name of the Machine Sensor Card is missing, and the version info is out of date (it says 0.1.4c)

EDIT: Arg, there's still some issues with sensor turtles... if I create one or spawn one, put it in my inventory, chest or world, and then reconnect, it turns into a plain turtle.

Good work on the PR! Really nice to see other people getting involved in the code. I didn't really know java when I started helping Cloudy out with OCS so it's had to go through quite a few.. changes.. as I've learnt to feel my way around, so good to have other eyes on it.

As for the turtle issue - very odd. Feels a bit more like a ComputerCraft bug, but if that's the case I'm surprised no other peripheral makers have reported it. I'll take a look at it tonight and see if I can work out what the issue is.

#855 Foone

  • Members
  • 25 posts

Posted 11 April 2013 - 04:38 AM

Yeah, I'm leaning towards a computercraft bug too... it seems to have to do with the upgrade id. If it's <128, it works. 128 or greater, it fails.

I can't find any other turtle upgrades that have updated to 1.52 so I can't confirm if OpenCCSensors is the only one having this issue.

#856 acdcrocks593

  • Members
  • 7 posts

Posted 11 April 2013 - 01:32 PM

I'm not able to craft sensor cards (any type) or gauges, I've used the correct items in the correct pattern and the recipe doesn't work, however the sensor recipe works just fine. I don't what's happening since I don't know anything about coding/modding/mod files.
Help would be much appreciated.
P.S: I've got 38 mods installed, counting OpenCCSensors. (not tekkit nor FTB) Sorry for bad english.

#857 Foone

  • Members
  • 25 posts

Posted 11 April 2013 - 02:21 PM

There's some issues with the current version, please wait until the next one.

#858 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 11 April 2013 - 07:16 PM

View Postacdcrocks593, on 11 April 2013 - 01:32 PM, said:

I'm not able to craft sensor cards (any type) or gauges, I've used the correct items in the correct pattern and the recipe doesn't work, however the sensor recipe works just fine. I don't what's happening since I don't know anything about coding/modding/mod files.
Help would be much appreciated.
P.S: I've got 38 mods installed, counting OpenCCSensors. (not tekkit nor FTB) Sorry for bad english.

This was fixed. Redownload.

#859 acdcrocks593

  • Members
  • 7 posts

Posted 12 April 2013 - 04:21 AM

I'll see if it works. Thanks!
EDIT: I forgot to mention, I use version 1.4.7 of minecraft due to many of the mods that I use not being updated. Damnit. If you guys could just fix the problem in the 1.4.7 version I would be very thankful, I really want to use this mod. Thanks for the attention.

#860 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 12 April 2013 - 05:16 AM

Crafting worked fine in the 1.4.7 version IIRC.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users