Auto Clicker/Key Presser for Morrowind
#1
galimoth
Posted 18 April 2009 - 01:00 PM
#2
Posted 18 April 2009 - 07:40 PM
SendMode Input
SetKeyDelay 10, 20
If you're going to use mouse clicks, you might want to add:
SetMouseDelay 20 ;or so, experiment.
Also there an option in Morrowind.ini, that you might want to set:
Background Keyboard=1
#3
galimoth
Posted 19 April 2009 - 11:26 AM
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}
This works wonderfully...except in Morrowind. It works on the desktop, in Doom 3, Notepad, etc. For some reason, it just won't work in Morrowind. Any suggestions?
#4
Posted 19 April 2009 - 10:55 PM
But come to think of it, I only did keyboard stuff in MW before, so there's some slight chance it's just not gonna work.
#5
galimoth
Posted 23 April 2009 - 07:17 PM
To date, I have not been able to find or construct a working script. My only assumption would be that Morrowind somehow blocks third party programs, although I have no idea if that is actually what is happening.
#6
Posted 23 April 2009 - 09:30 PM
#7
galimoth
Posted 27 April 2009 - 09:27 PM
#8
Posted 27 April 2009 - 10:03 PM
SetKeyDelay 10, 20
#IfWinActive ahk_class Morrowind
!1::SendEvent Player->
!a::SendEvent AddItem "", 1{left 4}
+!a::SendEvent AddSpell ""{left}
!r::SendEvent RemoveItem "", 1{left 4}
+!r::SendEvent RemoveSpell ""{left}
!g::SendEvent Player->AddItem "", 1{left 4}
+!g::SendEvent Player->AddItem "Gold_001",{space}
!p::SendEvent PlaceAtPC "", 1, 256, 0{left 12}
+!p::SendEvent PlaceAtMe "", 1, 256, 0{left 12}
!s::SendEvent StartScript{space}
!f::SendEvent AiFollow Player, 0, 0, 0, 0
!w::SendEvent AiWander, 0, 0, 0
!k::SendEvent SetHealth 0
!h::SendEvent ModCurrentHealth 9999
!d::SendEvent Disable
+!d::SendEvent SetDelete 1
!e::SendEvent Enable
~rshift::lshift
~rctrl::lctrl
~ralt::lalt
~lshift::rshift
~lctrl::rctrl
~lalt::ralt
c::lbutton
v::rbuttonThe first bunch of lines are macros for use in the console. The next part "mirrors" the Ctrl, Shift and Alt so you can use either set. The last two lines I added just now to test if I could send mouse clicks. It seemed to work fine.So see if that work. If not, did you try setting Background Keyboard=1 in Morrowind.ini?
#9
galimoth
Posted 28 April 2009 - 12:01 AM
#10
doukkari
Posted 02 November 2009 - 06:03 PM
Loop
{
Click Down
Sleep 50
Click Up
Sleep 50
If(GetKeyState("LButton", "P") == 0)
Break
}
#11
Posted 02 November 2009 - 06:40 PM
Note: It is turned OFF by default, to turn it on you turn on 'Scoll Lock' since constantly clicking can cause more problems then solve if it isn't controlled.
loop {
getKeyState, isLocked, ScrollLock, T
if ( isLocked == "D")
click
sleep 50
}
#12
Posted 03 November 2009 - 12:24 AM
#13
sdsv
Posted 01 May 2010 - 10:24 AM
#14
Guests
Posted 01 May 2010 - 10:42 AM
As it is now, I have a rapidfire keening that has a reach of 10, an attack speed of 5, and deals 200 damage. When you start autoswinging with it, anything within about fifty feet dies within a second or two... including Almalexia's hands. Totally amazing.
#15
Guests
Posted 02 May 2010 - 06:38 AM
Any ideas?




