Page 1 of 1

Click, MouseTo, ParseMouseLoc now in CVS!

Posted: Tue May 20, 2003 2:39 pm
by Mckorr
DKAA has added the code for the Click, MouseTo, and ParseMouseLoc functions to the CVS.

There are still going to be some bugs to work out, but for the most part it DOES work. Please direct support requests to the Development Forums. In addition I've posted an early fix there for people having trouble getting the mouse to move correctly. Please note that this fix may or may not be necessary, depending on some factor I haven't figured out yet.

I'd suggest a fresh CVS download and compile. A number of files have changed including eqgame.ini and macroquest.ini, and there is a new required file, locations.txt. Place locations.txt in the same directory you run MQ from.

You will also need to edit macroquest.ini to point to your EQ directory. EQPath is set relative to your MacroQuest directory, so if you have MQ in C:\MacroQuest, and EQ in C:\EverQuest, then EQPath=..\EverQuest.

Hope you all find this code useful, and thanks to everyone that helped get it up and running.

Posted: Tue May 20, 2003 2:41 pm
by Non M$ Coder
Let me be the first to say you rule! Gonna be some fishing tonight baby!

Posted: Tue May 20, 2003 2:53 pm
by Mckorr
:lol: Got my fishing macro working last night.

If you want to thank me, contribute plat to the Mckorr Horse Fund! PM for server details... 8)

Posted: Tue May 20, 2003 3:35 pm
by DF19
mckorr what server you on?

edit: nvm, im PMing you. finally learned how to read.

Posted: Wed May 21, 2003 4:12 am
by Pigeon
Why do you want a horse? They're worthless since they got nerfed. =P

Posted: Wed May 21, 2003 5:07 am
by ap50
Well, recompiled from a new CVS download, and whilst /click left works no problem, /click left auto still returns to 0,0.

Perhaps I missed something and assumed it was now working as intended.

Posted: Wed May 21, 2003 8:06 am
by Mckorr
0,0 means your EQPath statement is off in MacroQuest.ini. Check the EQLib Development forum, I posted a change that removes the need for that entirely. Should fix that problem.

/mouseto issues

Posted: Wed May 21, 2003 8:58 am
by Wishbringer
ok, did read out positions of combine button, middle of first slot, secand slot and so on...
and positions read out seems correct.

but when i use them in /mouseto x y abs, i never get mouse to needet spot...
relation between x and y seems correct, but is only around 1/4 of needed pixels.

when i use /mouseto x y rel it adds only half of the amount of pixels i need.

eg. when trying to move mouse from 800, 200 to 840, 240 i need to /mouseto 80 80 rel.

Posted: Wed May 21, 2003 9:13 am
by Mckorr
You seem to have the doubling error. You need to remove the /2 from the XY calculations in ParseMouseLoc and MouseTo. The posted fix is in the General Development forum.

Posted: Wed Jul 09, 2003 9:12 pm
by elkcit
could this be related to mouse accel. option in eq?

Posted: Wed Jul 09, 2003 9:46 pm
by BlueSkies
Probably. Sounds like it.

Posted: Thu Jul 10, 2003 12:38 pm
by Mckorr
Hmm, must admit that never occurred to me.

Posted: Thu Jul 10, 2003 2:35 pm
by elkcit
well hope it helps :)