Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boat鼠标不与java事件兼容 #1

Closed
layou233 opened this issue Mar 2, 2020 · 8 comments
Closed

boat鼠标不与java事件兼容 #1

layou233 opened this issue Mar 2, 2020 · 8 comments

Comments

@layou233
Copy link

layou233 commented Mar 2, 2020

交流群里有人玩神奇宝贝时打开PC机,然后就崩溃
问题初步确认在java原本提供的事件不兼容boat模拟的鼠标
本来在打开pc机时,鼠标会从游戏中释放出来,让你选中功能,所以神奇宝贝可能就调用了这个功能,但是在boat上可能不兼容
该issue仅作为BUG参考与提示
下面为从该玩家那里获取的crash-report的节选部分

---- Minecraft Crash Report ----

// Daisy, daisy...

Time: 2020-03-01 08:41:39 GMT
Description: Error executing task

java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Mouse doesn't support native cursors
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at net.minecraft.util.Util.runTask(Util.java:531)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1088)
at net.minecraft.client.Minecraft.run(Minecraft.java:3942)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.IllegalStateException: Mouse doesn't support native cursors
at org.lwjgl.input.Mouse.setNativeCursor(Mouse.java:186)
at com.pixelmonmod.pixelmon.util.helpers.CursorHelper.setCursor(CursorHelper.java:38)
at com.pixelmonmod.pixelmon.util.helpers.CursorHelper.onInitGui(CursorHelper.java:54)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_24_CursorHelper_onInitGui_InitGuiEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:475)
at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1018)
at net.minecraftforge.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:501)
at net.minecraftforge.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:322)
at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:112)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2550)
at net.minecraftforge.fml.common.network.internal.OpenGuiHandler.process(OpenGuiHandler.java:50)
at net.minecraftforge.fml.common.network.internal.OpenGuiHandler.lambda$channelRead0$0(OpenGuiHandler.java:43)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.runTask(Util.java:529)

@CosineMath
Copy link
Collaborator

我没有玩过神奇宝贝mod所以对具体情况不太清楚,这里先确认一下,神奇宝贝mod的pc机的界面是否使用了自定义的鼠标光标图案?

如果是:
这是由于boat的lwjgl部分没有完整扩展鼠标的行为,没有允许游戏自定义鼠标的光标图案。会在之后的更新改进。

如果不是:
请说明更多情况。

@CastusMike
Copy link

I want to ask why is the simple boat app is blacklist?

@CosineMath
Copy link
Collaborator

I want to ask why is the simple boat app is blacklist?

Sorry, but I don't understand what you mean. You are asking information about a subversion named "blacklist" ?

@CastusMike
Copy link

CastusMike commented Apr 27, 2020 via email

@john784
Copy link

john784 commented May 3, 2020

Why you blacklisted the link pls I want to test it I don't care if it crashed I just wanna test please

@CastusMike
Copy link

CastusMike commented May 3, 2020 via email

@Maxiedoopheyhey
Copy link

It is Boatapp, this can run mcpc on android, I download and when it is faulty download and there is no file Link: https://drive.google.com/file/d/1AfXvgRFITnInGRA4diCo3GZJWThtb3FR/view Vào 16:25, CN, 3 Th5, 2020 john784 notifications@github.com đã viết:

Why you blacklisted the link pls I want to test it I don't care if it crashed I just wanna test please — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APK7GSOQLQ4Z5XM724R4WELRPUZ7TANCNFSM4K7KQ2ZA .

What boat version is this?

@CosineMath
Copy link
Collaborator

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants