mIRC Home    About    Download    Register    News    Help

Print Thread
7.1 on keydown bug ? #223719 31/07/10 08:11 PM
Joined: Dec 2002
Posts: 11
D
DixrouE Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Dec 2002
Posts: 11
Hello,

On a clean mIRC 7.1 install, I did the following:

/window -a @test

then added this to my remote section:

on 1:KEYDOWN:@:*:echo User pressed key $keyval $keychar in $active

Then I pressed "a" key once, then another time and holded it down. Here is what I got:



$keychar is wrong on the first line and on the line where the key was holded down. Also it should be ascii code 97 and not 65A AFAIK...

Thank for looking into this issue.


DixrouE
Re: 7.1 on keydown bug ? [Re: DixrouE] #223894 02/08/10 10:51 PM
Joined: Aug 2003
Posts: 72
V
visionz Offline
Babel fish
Offline
Babel fish
V
Joined: Aug 2003
Posts: 72
I have the same problem :

User pressed key 65 롡 in @bob
User pressed key 65 a in @bob
User pressed key 65 a in @bob
User pressed key 65 a in @bob

The $keychar seems broken the first time.

Edit : I'm using Windows 7, 64 bits, and mIRC 7.1

Last edited by visionz; 03/08/10 01:10 AM.
Re: 7.1 on keydown bug ? [Re: DixrouE] #223897 03/08/10 01:02 AM
Joined: Nov 2009
Posts: 295
P
pball Online
Fjord artisan
Online
Fjord artisan
P
Joined: Nov 2009
Posts: 295
well i don't have plain mirc, but this displays all characters properly for me, sounds like something else is a factor here. i'm on win 7


http://scripting.pball.win
My personal site with some scripts I've released.
Re: 7.1 on keydown bug ? [Re: DixrouE] #223898 03/08/10 02:01 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I can't reproduce this in 7.1, Win7 64bit.

Can you type //echo -a $md5($mircexe,2) $script(0) $dll(0) $com(0) $version $os

And report the results here?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: 7.1 on keydown bug ? [Re: DixrouE] #223918 03/08/10 09:41 AM
Joined: Dec 2002
Posts: 4,799
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,799
Thanks, this appears to be a Windows API bug that only shows up intermittently in the Unicode version. This has been fixed for the next version.