Mobile Pkhonor

Discuss anything and everything about PkHonor.
Raj
Developer
Posts: 2696
Joined: Sun Dec 30, 2018 2:50 am

Re: Mobile Pkhonor

Post by Raj » Fri Dec 23, 2022 9:46 am

The underdog wrote: Thu Dec 22, 2022 10:09 pm Add fakkin touch support as a start, what pre windows 8 laptop doesn't have a touch screen even? on osrs it plays fine on touch screens but here it's down bad :zoidberg: :copium:
I don’t think we’re meant to do any deliberate integration for touch screens. If your OS isn’t forwarding your touch inputs as the correct mouse events to the application, there’s not much we can do about that. We might be at the mercy of Java’s handling of it.

I can look into if we’re using any weird mouse behavior, which is honestly somewhat possible, but it’s also pretty unlikely because that’s not the type of thing any programmer has ever said “let me reimplement this” to.

Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.

User avatar
Fungamer
Developer
Posts: 11407
Joined: Sun Jun 30, 2013 8:44 pm

Re: Mobile Pkhonor

Post by Fungamer » Fri Dec 23, 2022 12:13 pm

Jumping bug wrote: Thu Dec 22, 2022 10:15 pm I want a mobile live chat option that staff must respond to whenever I need help
Support. Give @Fe nis a shock collar that zaps him with the power of Zeus if he takes more than 2min to reply to a question.
Image

User avatar
Fe nis
Premium Donator
Posts: 377
Joined: Sun Sep 07, 2014 1:58 am

Re: Mobile Pkhonor

Post by Fe nis » Fri Dec 23, 2022 2:41 pm

This already happens Lieven, except instead of a shock collar it's people flinging abuse in my direction when it takes me more than 5 seconds to type a reply.
Image
Image

User avatar
The underdog
Premium Donator
Posts: 6565
Joined: Sun Jan 26, 2014 11:53 pm
Location: Loc
Contact:

Re: Mobile Pkhonor

Post by The underdog » Fri Dec 23, 2022 7:43 pm

Raj wrote: Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
#Justice4Church
#DemoteRyanHeResigned
#capes2presets2k18


Raj
Developer
Posts: 2696
Joined: Sun Dec 30, 2018 2:50 am

Re: Mobile Pkhonor

Post by Raj » Fri Dec 23, 2022 8:22 pm

The underdog wrote: Fri Dec 23, 2022 7:43 pm
Raj wrote: Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
I have a potential solution. Can you hop on a test server and test it out?

- JAR Client
- Portable Client

If this doesn't work, your touch drivers are likely bugged, and I think they're actually sending a click from before the mouse movement, for whatever reason. Because the current mouse listener does work with other touch emulators, like RDP.

User avatar
The underdog
Premium Donator
Posts: 6565
Joined: Sun Jan 26, 2014 11:53 pm
Location: Loc
Contact:

Re: Mobile Pkhonor

Post by The underdog » Mon Dec 26, 2022 11:20 pm

Raj wrote: Fri Dec 23, 2022 8:22 pm
The underdog wrote: Fri Dec 23, 2022 7:43 pm
Raj wrote: Fri Dec 23, 2022 9:46 am
Edit: We are indeed using standardized AWT MouseEvents and KeyEvents passed in by the OS, so it seems to be out of our hands, or I need more details about what exactly is wrong.
Say I use touch only. I click(tap) on tree, I start to chop tree.
If I now tap a brew in inv as my next action, the mouse action will be to click on the last mouse position and then move the mouse.
So what happens is that the tree gets clicked and brew is hovered. If I then proceed to tap the tree again I drink the brew and the tree is hovered.
I have a potential solution. Can you hop on a test server and test it out?

- JAR Client
- Portable Client

If this doesn't work, your touch drivers are likely bugged, and I think they're actually sending a click from before the mouse movement, for whatever reason. Because the current mouse listener does work with other touch emulators, like RDP.
#Justice4Church
#DemoteRyanHeResigned
#capes2presets2k18


User avatar
Fungamer
Developer
Posts: 11407
Joined: Sun Jun 30, 2013 8:44 pm

Re: Mobile Pkhonor

Post by Fungamer » Mon Dec 26, 2022 11:21 pm

Fe nis wrote: Fri Dec 23, 2022 2:41 pm This already happens Lieven, except instead of a shock collar it's people flinging abuse in my direction when it takes me more than 5 seconds to type a reply.
Well obviously it's not working.....
Image

Raj
Developer
Posts: 2696
Joined: Sun Dec 30, 2018 2:50 am

Re: Mobile Pkhonor

Post by Raj » Mon Dec 26, 2022 11:55 pm

The underdog wrote: Mon Dec 26, 2022 11:20 pm
So it seems a bit better but inventories are a bit broken?

User avatar
The underdog
Premium Donator
Posts: 6565
Joined: Sun Jan 26, 2014 11:53 pm
Location: Loc
Contact:

Re: Mobile Pkhonor

Post by The underdog » Tue Dec 27, 2022 2:25 am

Raj wrote: Mon Dec 26, 2022 11:55 pm
The underdog wrote: Mon Dec 26, 2022 11:20 pm
So it seems a bit better but inventories are a bit broken?
Ye
#Justice4Church
#DemoteRyanHeResigned
#capes2presets2k18


User avatar
Jumping bug
Honor Player
Posts: 1004
Joined: Sat May 25, 2013 5:26 am
Location: Granite Falls, Washington

Re: Mobile Pkhonor

Post by Jumping bug » Mon Feb 06, 2023 7:11 am

The underdog wrote: Tue Dec 27, 2022 2:25 am
Raj wrote: Mon Dec 26, 2022 11:55 pm
The underdog wrote: Mon Dec 26, 2022 11:20 pm
So it seems a bit better but inventories are a bit broken?
Ye
I love the way you work your finger, can I see the others?
Image

Post Reply