Create Fabric

Create Fabric

7M Downloads

Bug: Using a Rotation Speed Controller as CC Peripheral allows for setting any speed

cfpwastaken opened this issue ยท 8 comments

commented

Describe the Bug

You can set the speed of a rotation speed controller to any speed, even outside of the config's limits and have it work.

Reproduction Steps

  1. Power a rotation speed controller with any power source
  2. Place a ComputerCraft Computer next to it
  3. Run this lua code:
rsc = peripheral.wrap("left") -- replace with the side of the peripheral
rsc.setTargetSpeed(29999)
  1. Go wild

Expected Result

It should throw a lua error or just automatically cap it to the max of the config.

Screenshots and Videos

image
image
Here i connected the speed controller with a wired modem and networking cable but it works the same way.
image

Crash Report or Log

No response

Operating System

Arch Linux

Mod Version

0.5.1f

Minecraft Version

1.20.1

Other Mods

CC: Tweaked

Additional Context

No response

commented

So, does this occur on the latest fabric patch or no?

commented

It does happen on version 0.5.1-f-build.1417+mc1.20.1 (the latest one on modrinth at the time of writing this).
Compiling the latest commit fb31370 does not have the bug.

commented

righto, thanks

commented

Not reproducible on forge.

commented

Could you try reproducing this on the forge version of create?

commented

I see. I don't seem to have the newest, newest version installed. Tried fixing this myself but it seems patched.

commented

Looking on modrinth the version i was using IS the latest. Perhaps it has been fixed recently but not published yet?

commented

there were no changes to the cc compat recently