Bug with /mouseto command in MQ2

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Sauron
decaying skeleton
decaying skeleton
Posts: 2
Joined: Fri Dec 05, 2003 4:06 am

Bug with /mouseto command in MQ2

Post by Sauron » Fri Dec 05, 2003 4:11 am

I ran into what appears to be a bug in the /mouseto function. It's totally reproducable for me, and I tried it with my last two inventory slots.

When I use /mouseto inv 6 -- it points the mouse at my 2nd to last bag *CORRECT*

Then I use /click right which opens bag *CORRECT*

Then I can type /mouseto pack 6 0 to go to 1st slot in bag *CORRECT*
Note, /mouseto pack 6 2 all the way through 6 9 appear to work correctly also.

BUT, when I use /mouseto pack 6 1 it gives me the MOUSETO usage like that is a bad command *INCORRECT*

I tried this with other bags, and they also failed using the /mouseto pack 6 1 command.

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

Post by Mckorr » Fri Dec 05, 2003 9:29 am

I'm not seeing any errors in the code. Exactly what is the error message?

The only thing I found were a number of places where the numeric arguments (the 6 and 0) were being converted from ascii to long instead of integer (atol instead of atoi), which didn't make sense under the circumstances. CVSing in that change now, but I don't think that will fix your problem.

Also, what UI? If you aren't using the default UI for containers I'm not sure I can help you, since poorly written XML files (from MQ's standpoint, not EQ's) can cause all kinds of errors.

Cash42
orc pawn
orc pawn
Posts: 23
Joined: Sat Nov 22, 2003 1:38 pm

Similar issue

Post by Cash42 » Sat Dec 06, 2003 8:40 pm

/mouseto npcgive give moves the cursor to the npcgive gold position
Cash42

Sauron
decaying skeleton
decaying skeleton
Posts: 2
Joined: Fri Dec 05, 2003 4:06 am

Hmmm you are right McKorr!

Post by Sauron » Sun Dec 07, 2003 7:02 pm

I'm enbassased although I still think it's strange that this is occurring. You are correct! I went to Default, and the /mouseto pack 6 1 is working fine. With my UI, I still am having the same problem where 6 0, and 6 2 through 6 9 work fine, but when I do "/mouseto pack 6 1" I get the USAGE back like I typed a bad command "USAGE: /mouseto <mouseloc>" which really struck me as a bug not a UI issue.

I will investigate this further, and reply here when I find out why I get the USAGE back on my UI on location "pack 6 1" (and not on Default UI).

Thanks for looking into this for me!