Page 1 of 1

Bug with /mouseto command in MQ2

Posted: Fri Dec 05, 2003 4:11 am
by Sauron
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.

Posted: Fri Dec 05, 2003 9:29 am
by Mckorr
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.

Similar issue

Posted: Sat Dec 06, 2003 8:40 pm
by Cash42
/mouseto npcgive give moves the cursor to the npcgive gold position

Hmmm you are right McKorr!

Posted: Sun Dec 07, 2003 7:02 pm
by Sauron
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!