mIRC Home    About    Download    Register    News    Help

Print Thread
#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
Joined: Aug 2003
Posts: 72
V
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.
Joined: Nov 2009
Posts: 295
P
Fjord artisan
Offline
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.
Joined: Oct 2003
Posts: 3,918
A
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"
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
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.


Link Copied to Clipboard