Odd bug with /face

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Odd bug with /face

Post by ap50 » Wed Sep 03, 2003 7:23 am

Until I repatch CVS today, since the last patch /face hasn't worked, ranging from the warp/20k deaths, to not doing anything.

However, I've just re-compiled the cvs, and whilst /face fast works when I have the mob targetted, /face doesn't, or when it does, it's about 2 minutes after I've typed the command, but the odd thing is, my mouse buttons get reversed, left click becomes right, and vice versa; but I've found if I issue the /click left command it restores it to correct functionality.

Any clues - I could have searched to see if others have had the same problem, but I pretty much read most threads religiously, and haven't seen anything, and I know how people like to point it out :)
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Sep 03, 2003 1:04 pm

Hmmm... I haven't taken a look at the /face code yet, that is actually on my todo list after I get a version of /click that function correctly without having to use EQW and release the mouse.

I've supsected our algorithm for /face is, well, not wrong, but a mess for sometime now.

What it sounds like from your description is that /face is referencing a struct location that is somehow linked to the mouse. Since it appears that the mouse routines in EQ have changed to an action mapped structure we may be accidentally issuing a DirectInput command that is reversing the data in the action map, which then restores itself when we force EQ to reacquire the device (after using /click).

I'm stuck at work till tomorrow, will take a look at the source for /face and see if I can figure anything out.
MQ2: Think of it as Evolution in action.

gameboy
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Nov 08, 2002 12:28 pm

Post by gameboy » Wed Sep 03, 2003 3:34 pm

I used /face and /face fast all last nite with no problems. Also used /face heading and /face loc.


Edit: I use it in my traveling macro and it does have /clicks in it, so it may have had the same problem but might have fixed itself up.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Wed Sep 03, 2003 7:31 pm

The source in the cvs has a working face.

carpaltunnel
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Sep 04, 2003 3:52 pm

Post by carpaltunnel » Thu Sep 04, 2003 3:55 pm

I just did a clean cvs pull and build, and face dosen't work for me either. With a pc or npc on target, typing /face yeilds nothing. Typing /face <PC name> yeilds the test "Facing <PC name>" but dosen't actually turn me towards the PC. Everything else seems to be working as expected (no click w/ focus etc). Any other info I can provide to help point in a direction of the problem?

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Fri Sep 05, 2003 2:58 pm

I was doing a test today with /face.

Hade a mob on my target and did the comando /face. Nothing happend. Then I did the same with /face fast, and I was facing the mob.

Used it on a other NPC and went my back to him, with /face nothing, but with /face fast, I was turned around right away, and was facing him.

How come that /face don't work and /face fast are ??

Are /face fast not build on the /face command ??

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Fri Sep 05, 2003 3:09 pm

/face waits for the Pulse() and turns you slowly. /face fast simply writes your new heading in all at once. I'll look into it.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Fri Sep 05, 2003 3:47 pm

*shrug* /face works perfectly for me. moved the check for the clicks wait down a bit further anyway, so it'll do the /face movement before checking for mouse... maybe that'll help. Now in CVS.