OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

Crash When Moving Sensor With Redstone in Motion While Gathering Data #181

Closed TorakWolf closed 10 years ago

TorakWolf commented 10 years ago

Crash Log: http://pastebin.com/Mbb9Ccky

So, for my radar mobile version: https://www.youtube.com/watch?v=VtpD_wDF6cc&feature=youtu.be

I set to ever gather data, so even when the thing was in movement, the data was being required. It only crash if I am doing so, when not being used, moving the sensor do not produce problems at all, that's why there's no crashes in the video.

boq commented 10 years ago
  1. Sensor is part of OpenPeripheralAddons (other project)
  2. It's known bug. Fixed in 0.1.5
  3. Also, while moving blocks with logic is not direct cause of crash in this case, we do not support this - there is no good way, so mods usually do terrible hacks
TorakWolf commented 10 years ago

No, the crash isn't fixed... Sorry. Actually, nothing to do with sensor turtles, I am talking of the sensor block itself crashing when moved by frames while requesting data...

boq commented 10 years ago

I specifically fixed that exact crash. Please make sure you are using OpenPeripheralCore 0.4.1 and OpenPeripheralAddons 0.1.5 (+OpenModsLib 0.5.1). If it still crashes, it should have different stacktrace. If you can reproduce, please reopen this issue with updated information.

TorakWolf commented 10 years ago

Oh, ok, my fault... I will post the new log. Just wait a moment...

Edit: So the log says the problem is with OpenComputers, but since it only happens when moving one active sensor... Maybe this is the OC Switch block instead...In the case this is one compatibility bug, here is the log: http://pastebin.com/LVVZ0bHK