This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ./usb-proxy --driver=fe980000.usb --device=fe980000.usb --vendor_id=045e --product_id=02ea --verbose | |
Device is: fe980000.usb | |
Driver is: fe980000.usb | |
vendor_id is: 1118 | |
product_id is: 746 | |
6 Devices in list | |
Target device not found | |
Device opened successfully | |
Start hotplug_monitor thread, thread id(7278) | |
InterfaceNumber 1 AlternateSetting 0 has no endpoint, skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 114.624960] dwc2 fe980000.usb: bound driver raw-gadget.0 | |
[ 114.791760] dwc2 fe980000.usb: new device is high-speed | |
[ 114.831449] dwc2 fe980000.usb: new address 2 | |
[ 114.845449] ------------[ cut here ]------------ | |
[ 114.845462] WARNING: CPU: 0 PID: 0 at drivers/usb/dwc2/gadget.c:3127 dwc2_hsotg_epint+0xa10/0x116c [dwc2] | |
[ 114.845615] Modules linked in: raw_gadget(O) rfcomm cmac algif_hash aes_arm_bs crypto_simd cryptd algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc 8021q garp stp llc hid_logitech_hidpp joydev brcmfmac vc4 brcmutil cfg80211 hid_logitech_dj snd_soc_hdmi_codec cec drm_kms_helper rfkill raspberrypi_hwmon i2c_brcmstb rpivid_hevc(C) bcm2835_codec(C) bcm2835_v4l2(C) snd_soc_core bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig vc_sm_cma(C) videobuf2_memops snd_bcm2835(C) snd_compress videobuf2_v4l2 snd_pcm_dmaengine snd_pcm videobuf2_common videodev snd_timer v3d gpu_sched mc snd syscopyarea sysfillrect sysimgblt fb_sys_fops nvmem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerSidePacketRegistry.INSTANCE.register(C2SFireArrowPillager, (context, attachedData) -> { | |
int projectileId = attachedData.readInt(); | |
float multiShotSpray = attachedData.readFloat(); | |
(MainInit.java:28) Vec3d velocity = new Vec3d(Double.parseDouble(attachedData.readString().split(",",3)[0]), | |
Double.parseDouble(attachedData.readString().split(",",3)[1]), | |
Double.parseDouble(attachedData.readString().split(",",3)[2])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IndexOutOfBoundsException: readerIndex(36) + length(1) exceeds writerIndex(36): UnpooledHeapByteBuf(ridx: 36, widx: 36, cap: 36) | |
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1405) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] | |
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:707) ~[netty-all-4.1.25.Final.jar:4.1.25.Final] | |
at net.minecraft.network.PacketByteBuf.readByte(PacketByteBuf.java:744) ~[minecraft-1.16.1-mapped-net.fabricmc.yarn-1.16.1+build.1-v2.jar:?] | |
at net.minecraft.network.PacketByteBuf.readVarInt(PacketByteBuf.java:205) ~[minecraft-1.16.1-mapped-net.fabricmc.yarn-1.16.1+build.1-v2.jar:?] | |
at net.minecraft.network.PacketByteBuf.readString(PacketByteBuf.java:329) ~[minecraft-1.16.1-mapped-net.fabricmc.yarn-1.16.1+build.1-v2.jar:?] | |
at net.minecraft.network.PacketByteBuf.readString(PacketByteBuf.java:325) ~[minecraft-1.16.1-mapped-net.fabricmc.yarn-1.16.1+build.1-v2.jar:?] | |
at net.wieping_shaddow.testmod.MainInit.lambda$onInitialize$1(MainInit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void encode(updateBlockStateMessage message, PacketBuffer buffer) { | |
buffer.writeInt(message.entity); | |
buffer.writeFloat(message.BlockStateID); | |
} | |
@Override | |
public updateBlockStateMessage decode(PacketBuffer buffer) { | |
return new updateBlockStateMessage(buffer.readInt(), buffer.readFloat()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[21May2020 14:30:27.375] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\alexc\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}] | |
[21May2020 14:30:27.381] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 13.0.2 by Oracle Corporation | |
[21May2020 14:30:28.230] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust | |
[21May2020 14:30:32.640] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release | |
[21May2020 14:30:33.259] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/ |