Mouse Click Problem in Game

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Mustang Panda

Mouse Click Problem in Game

Post by Mustang Panda » Tue Oct 22, 2002 4:46 am

:D Hello I have had the same problem as MaxMan and it reakky annoys me :x

I am running the same game as him and I tried the script at the end but when I changed the SetFocus>Helbreath Crusade it said it did not exist.
:x
:idea: I tried addding the * at the end but it came up with the saame thing can anybody help me please :?:

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Re: Mouse Click Problem in Game

Post by support » Tue Oct 22, 2002 6:24 am

You must enter a valid Window title. SetFocus must be given a valid window title - the text that appears in the title bar of an application.
Mustang Panda wrote::D Hello I have had the same problem as MaxMan and it reakky annoys me :x

I am running the same game as him and I tried the script at the end but when I changed the SetFocus>Helbreath Crusade it said it did not exist.
:x
:idea: I tried addding the * at the end but it came up with the saame thing can anybody help me please :?:
MJT Net Support
[email protected]

MaXMaN
Newbie
Posts: 3
Joined: Tue Oct 22, 2002 5:56 am
Location: Toronto
Contact:

Post by MaXMaN » Tue Oct 22, 2002 7:00 am

as i indicated in the other thread, that proposed solution doesnt work, perhaps it may work for "Mustang Panda's" problem but it did nothing for me. So point being, the problem still persists...any more suggestions?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Oct 22, 2002 8:24 am

Have you tried using the WindowSpy utility from MJTNet?
Sometimes this can be very helpful in getting the correct name for a window that actually is named differently from what you may think.

MaXMaN
Newbie
Posts: 3
Joined: Tue Oct 22, 2002 5:56 am
Location: Toronto
Contact:

nannananannanana

Post by MaXMaN » Wed Oct 23, 2002 5:20 am

it's not a matter of the correct window not being selected, because
A. i manually select the game window any way
B. when i run the setfocus it selects the window
C. every other part of the macro is working perfectly exept the mouse click portion


I also downloaded a macro that some other person used successfully for the same reason and it does the same thing, works fine up untill the mouse click part, yet it worked fine for him.

Perhaps it a hardware issue/conflict?

-MaXMaN

Guest

Post by Guest » Wed Oct 23, 2002 4:24 pm

hehe... I just posted this in Maxmans....

Try the following instead of Lclick.

Ldown
wait>0.05
Lup
wait>0.05

It works for me....

I have many working macros for HB, and would mind colaborating if ya want... IM me using AIM name: morenu

Mustang_Panda

Post by Mustang_Panda » Thu Oct 24, 2002 8:02 pm

I am using that Ldown Lup thing and it still does not work

Morenu

this works for me

Post by Morenu » Fri Oct 25, 2002 10:10 pm

Here is a sample script - some very strange things... I need to mousemove>0,0 with a .05 wait after it quite a bit in order to "reset?" the cursor.

----------------------------------------------------------------

remark> Set your cuser on yourself. cast the spell you want to cast (to set f4 key) and start

label>start

mousemove>0,0
Press F4
wait>2.5
LDown
Wait>0.05
LUp
wait>0.05

remark> increase this wait timer if you are not targeting yourself (allows your MP to increase)
remark> or if you do not want to "bow" a lot if you're out of mana
wait>4

Goto>start

----------------------------------------------------

mousemove>0,0 must be there or wierd things happen and Lclick doesn't seem to work if you replace the Ldown Lup sequence

feel free to email me at [email protected] (put helbreath in subject - I get lots of junkmail)

Dean

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts