Click, MouseTo, ParseMouseLoc now in CVS!

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

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

Click, MouseTo, ParseMouseLoc now in CVS!

Post by Mckorr » Tue May 20, 2003 2:39 pm

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.

Non M$ Coder
a lesser mummy
a lesser mummy
Posts: 43
Joined: Sun Apr 13, 2003 8:00 pm

Post by Non M$ Coder » Tue May 20, 2003 2:41 pm

Let me be the first to say you rule! Gonna be some fishing tonight baby!

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

Post by Mckorr » Tue May 20, 2003 2:53 pm

: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)

DF19
orc pawn
orc pawn
Posts: 17
Joined: Mon Apr 07, 2003 11:48 pm

Post by DF19 » Tue May 20, 2003 3:35 pm

mckorr what server you on?

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

Pigeon
orc pawn
orc pawn
Posts: 22
Joined: Fri May 16, 2003 9:43 pm

Post by Pigeon » Wed May 21, 2003 4:12 am

Why do you want a horse? They're worthless since they got nerfed. =P

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

Post by ap50 » Wed May 21, 2003 5:07 am

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.
[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 May 21, 2003 8:06 am

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.

Wishbringer
Contributing Member
Contributing Member
Posts: 230
Joined: Thu Nov 14, 2002 7:00 am

/mouseto issues

Post by Wishbringer » Wed May 21, 2003 8:58 am

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.

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

Post by Mckorr » Wed May 21, 2003 9:13 am

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.

elkcit
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Aug 31, 2002 3:20 pm

Post by elkcit » Wed Jul 09, 2003 9:12 pm

could this be related to mouse accel. option in eq?

User avatar
BlueSkies
a ghoul
a ghoul
Posts: 132
Joined: Tue Oct 01, 2002 6:22 pm

Post by BlueSkies » Wed Jul 09, 2003 9:46 pm

Probably. Sounds like it.
Live your dreams! Blue Skies everyone

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

Post by Mckorr » Thu Jul 10, 2003 12:38 pm

Hmm, must admit that never occurred to me.
MQ2: Think of it as Evolution in action.

elkcit
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Aug 31, 2002 3:20 pm

Post by elkcit » Thu Jul 10, 2003 2:35 pm

well hope it helps :)