Page 1 of 1
Keyboard problems
Posted: Thu Apr 08, 2004 8:42 pm
by iluvseq
Installed macroquest, works fine with two characters running under eqwindows.
Tried to run follow.mac on one character to follow the other.
The macro works, that character starts following.
However, my keyboard stops working.
I can still move the mouse, but cannot use the keyboard at all. Can't ctrl-alt-S to switch to the other character, can't type eq commands, can't do any keyboard commands at all.
Any ideas?
Posted: Thu Apr 08, 2004 9:03 pm
by iluvseq
Actually, I think I've figured it out, but I'm not certain.
Here is "follow.mac" from the .zip file:
Code: Select all
#turbo
Sub Main
:Loop
/if n $target(distance)>60 /sendkey down up
/if n $target(distance)<40 /sendkey up up
/face fast
/delay 0
/if "$target()"=="TRUE" /goto :Loop
/return
Now, #turbo keeps it from running more than 500 commands per iteration, but I'm thinking it's not helping.
It seems that as long as the distance to the target is > 60, this macro will keep the "up" key pressed. I believe this will over-ride any actuall keypresses?
It will only release the up key if the target is < 40.
If I am correct, that "/sendkey key down" blocks all user keyboard commands, this macro should be re-written, because it is possible for /target to be permanently out of range yet still in the zone (say, if the character is stuck on a wall)
When this happens, the user cannot regain control of the character.
Maybe instead of perma-holding the movement key, the macro should turn autorun on/off since that doesn't involve keeping a key pressed... ?
Not sure, I'm no newb to EQ structures or programing, but I am new to Macroquest macro writing (for the last year or so, I've simply lurked here as a resource for EQ structure information)
Any thoughts?
Posted: Wed Apr 14, 2004 8:37 pm
by homburg
Prior to today's patch of MQ2, follow.mac worked just fine. Now, I have the same problem. Did you manage to fix it, or just stop using follow.mac?
In my case, the keyboard was so locked out that I had to hardboot the computer via Ye Olde Reset Button. Oddly enough, TS still worked when I hit the key I have mapped to the speak command, so I would guess that it is only EQ that is not interpretting keyboard commands.
Anyone have an idea?
Posted: Wed Apr 14, 2004 8:44 pm
by magictiger
Try the newest .zip
Posted: Wed Apr 14, 2004 10:17 pm
by Lax
Try using /keypress instead of /sendkey, thats what its there for
Posted: Thu Apr 15, 2004 5:38 am
by daerck
For those of you that don't get it:
Code: Select all
#turbo
Sub Main
:Loop
/if n $target(distance)>60 /keypress forward hold
/if n $target(distance)<40 /keypress forward
/face fast
/delay 0
/if "$target()"=="TRUE" /goto :Loop
/return
Posted: Thu Apr 15, 2004 3:32 pm
by homburg
Hmm, changed the code, as specified, and instead of locking my computer out, it just crashes EQ. I'd love to use the proper method for reporting a bug, but I don't get error text or anything for this.
As an aside, I am using the latest version, compiled in the manner specified, and it worked beautifully prior to this most recent patch.
Guess I'll try recompiling it...
EDIT: /keypress seems to be what is crashing me. I can type an unadorned "/sendkey down up" and run forward no problems. When I enter "/keypress down up" or anything involving /keypress, I immediately crash to desktop. I realize this is insuffificent info for a proper debugging. I'm sorry. I will attempt attaching a debugger to it again.
EDIT, Part Duex: Attached a debugger to EQ. Got the following, but no green arrow or error tag that .NET found.
[MQ2]CCommandHook::Detour(/keypress down up)
First-chance exception at 0x0304fa34 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000000.
The thread 'Win32 Thread' (0x3c0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xdc4) has exited with code 0 (0x0).
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssmp3.asi'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssvoice.asi'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssa3d.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssds3d.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssdx7.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\msseax.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssrsx.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\msssoft.m3d'
'eqgame.exe': Unloaded 'C:\Program Files\EverQuest\mssdsp.flt'
The thread 'Win32 Thread' (0x83c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6fc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x550) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x838) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x82c) has exited with code 0 (0x0).
The thread 'calloc' (0x54c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2d4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6c4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4ec) has exited with code 0 (0x0).
[MQ2]MQ2CustomBinds Module Unloaded
[MQ2]MQ2ChatWnd Module Unloaded
[MQ2]MQ2FPS Module Unloaded
[MQ2]MQ2ItemDisplay Module Unloaded
[MQ2]MQ2Map Module Unloaded
[MQ2]MQ2Labels Module Unloaded
The program '[852] eqgame.exe: Native' has exited with code 0 (0x0).
I hope this is what you were looking for.
Posted: Thu Apr 15, 2004 4:04 pm
by Lax
"down" is not a valid /keypress. see the /keypress list
http://macroquest2.com/includes/manual.php#keypress
This bug should be fixed next zip.
Posted: Fri Apr 16, 2004 10:10 am
by Tuffy
Lol, thanks lax I came looking for another problem and found out what I was doing on a couple.
Posted: Fri Apr 16, 2004 11:44 am
by homburg
Cool, thanks Lax!
I realized that my mouse was working fine and functioned normally. So I just made a hotkey for /endmacro. That has proven to be good enough to fix the issue for now as keyboard functionality returns once the macro has ended.
Interesting, but dumb, a friend and I were whacking skellie commanders for the heck of it last night. He gets feared, and decides to use follow.mac to see what happens. Well, while the fear kills any control over directional keys, it does not stop the /face command. So instead of fleeing the mob, he keeps runnings towards it again and again spastically due to the looped /face commands. And his keyboard locks up same as mine does. And he has no handy /endmacro key. I about died laughing at it over Teamspeak before killing the mob. Luckily no one was around to see it. Fairly obvious what was occurring.
Still, nice to know that /face has another usage =)
Excellent 322TOTO Tips
Posted: Fri Apr 25, 2025 9:06 am
by FrankJScott
In reply to the person asking about slot bank mandiri, website resmi bank bri, cara transfer bank bni ke bank mandiri, di bank bri, deposit ke, mengisi link, peraturan bank mandiri terbaru, bank mandiri aplikasi, cara transfer dari rekening bri ke bca, cara transfer melalui hp, I highly recommend this
more hints on 322TOTO forum or cara saldo, cara mengisi link aja, cara tf bank, mandiri atau bca, bca link aja, cara transfer dari bank mandiri ke dana, cara tf di bank mandiri, transfer dari bank bri ke mandiri, hubungi kami, transaksi bank bni, not to mention this
homepage about 322 toto site on top of cara memasukan saldo dana, cara buat bank bni, cara transfer dari bank mandiri ke bank mandiri, transfer bank bri ke mandiri, cara mengisi e money, bg mandiri, cara mentransfer dari bank bri ke dana, cara mengisi link aja, bank indonesia bca, transfer bank bni, which is worth considering with this
discover more here on 322TOTO forum which is also great. Also, have a look at this
article source for 322 toto advice alongside all cara mengisi akun, cara transfer di mandiri, cara transfer bank ke akun dana, bri atau mandiri, pembayaran online, bg mandiri, e money bank bni, cara transfer ke bri dari bca, aplikasi untuk bank mandiri, cara ke bank, and don't forget this
recommended reading on 322 toto details which is worth considering with bank bri bank apa, gopay e money, bank mandiri 24 jam, cara transfer melalui dana, aplikasi bank mandiri online,
read this post here on together with cara transfer ke bank bri dari bca mobile, pembayaran dengan, hubungi kami, kebijakan bank mandiri terbaru, bank mandiri web, for good measure. Check more @
Useful Car Parts Guide 89a61d1