PDA

View Full Version : Anyway to make a macro instead of spamming space bar?


Archived Post
02-02-2010, 11:35 PM
Spamming the space bar is getting really annoying in my escort I read in open beta that a guy used auto hot key to make it loop. Would that be considered an exploit since its a 3rd party program?

Archived Post
02-02-2010, 11:41 PM
Making macros will probably get you banned from the game. Since only paying subscribers can post on the forums now(and will be easily caught), I'd say you'd better forget the idea completely.

Archived Post
02-02-2010, 11:46 PM
Making macros will probably get you banned from the game. Since only paying subscribers can post on the forums now(and will be easily caught), I'd say you'd better forget the idea completely.

they won't ban you, otherwise they would have to ban everyone with a g# gaming keyboard.

Archived Post
02-03-2010, 12:02 AM
aye, I wouldn't worry about it. It's been questioned, but no real clear response has ever been given.


But in reality, regular keyboards were never intended or improved to be used for gameplay. A little bit of an investment into a gaming keyboard or gamepad (G13 and the like, are great accessories to your standard keyboard for example) can save you a ton of pain. Ground basic fire is set to a timed repeating macro, space phasers as well, and multiple abilities for both space and ground. The LCD info cryptic put into the game as well is neat, as I can play without the UI and see my shields/health on my gamepads LCD screen - so they had gaming boards in mind in creation.

Archived Post
02-03-2010, 07:59 AM
There was a huge thread on it before the board wipe. Someone eventually came up with a script for autohotkey to basically tap the spacebar every couple of seconds that you could turn on and off with the caps lock key.

I use it, its a godsend for more than two weapons. To be honest, I have more important things to concentrate on than tapping the spacebar every couple of seconds for hours on end...like watch my shield quadrants, teammates (for extend shields, etc), etcetcetc....... and Im sure my thumb appreciates the lack of stress.

And no its not botting, simply because I am there playing at the keyboard and busy with other things.

And it's also not canon....seriously. Did any Trek captain have to repeat themselves after issuing a fire at will command?

Archived Post
02-03-2010, 08:08 AM
hmmm man this sucks!

Archived Post
02-03-2010, 08:16 AM
Seriously, Cryptic.... Just allow auto fire on each and every weapon. It's aggravating my carpal-tunnel. :mad:

/carebearstare... :cool:

Archived Post
02-03-2010, 08:24 AM
Seriously, Cryptic.... Just allow auto fire on each and every weapon. It's aggravating my carpal-tunnel. :mad:

/carebearstare... :cool:

Totally agree, once I "The Captain of the ship" give the order to fire, I don't expect to have to repeat myself :P

Archived Post
02-03-2010, 08:46 AM
if you have your macro firing ever 1/10th of a second its gonna disrupt your alt and ctrl keys no matter what, because it has to fire 1/10th of a second and fires those keys. It can be a pain to manage your abilities but its worth it

Archived Post
02-03-2010, 09:09 AM
Even firing phasers every second will mess with your other abilities. You'll hit buttons, stuff won't go through. You'll start having to tap everything 2 or 3 times. There has to be a better solution. Please cryptic just give us autofire already.

Archived Post
02-03-2010, 11:38 AM
Even firing phasers every second will mess with your other abilities. You'll hit buttons, stuff won't go through. You'll start having to tap everything 2 or 3 times. There has to be a better solution. Please cryptic just give us autofire already.

I actually have yet to have an issue in space combat of having to hit something twice to get it to work outside of cooldowns. Ground combat however is another story (and the spacebar-fire dosen't apply there, not that it should). Could be that a use a Razer Naga and not clicking for abilities (guessing here).

The scripts are at home. They were offered in a small download pack that included different things for like cannons and sounds when activated and deactivated. I didn't write them but they work like a charm.

Also they don't mess with my action bars in space. There is no command for anything with a "space" modifier, unlike alt or ctl (starting to wish they included alt-ctl commands also but thats just me...).


Ultimately it would be nice to have a true in-game autofire...but till then this is nice.

Archived Post
02-03-2010, 10:15 PM
Pause::Suspend ; The [Pause] key will act as a master suspend/pause for the script.

~Capslock:: ; The [Caps Lock] key will act as an on/off toggle for auto-fire.
keywait, Capslock
If GetKeyState("Capslock", "T")
SetTimer, AutoFire, 500 ; Sets the master intervals in milliseconds - is a thousandth (1/1000) of a second. Default is 500ms, 0.5 seconds.
Else
SetTimer, AutoFire, Off
return

AutoFire:
Send {Space} ; Sets the in-game bound key to be used in the auto-fire sequence. Default is {Space}.
return


There it is.

Archived Post
02-05-2010, 08:22 PM
thanks for the macro Tsvaox, that is going to be a lifesaver

Archived Post
02-05-2010, 09:07 PM
Seriously, Cryptic.... Just allow auto fire on each and every weapon. It's aggravating my carpal-tunnel. :mad:

/carebearstare... :cool:

This... I've already paid for the game so I'll give it the included month, and maybe one more after that in hopes that Cryptic will fix this. If not, they lose me, and I will never buy anything from Cryptic again. It's ridiculous really that people have to rely on 3rd party macros for basic game functionality.

Archived Post
02-05-2010, 09:13 PM
This... I've already paid for the game so I'll give it the included month, and maybe one more after that in hopes that Cryptic will fix this. If not, they lose me, and I will never buy anything from Cryptic again. It's ridiculous really that people have to rely on 3rd party macros for basic game functionality.

It's more like an extension of a basic mechanic since we have a small autofire option (two weapons in total) already build in the system. But yeah I love this macro and I'll try it as soon as the servers are up again heh

Archived Post
02-05-2010, 09:27 PM
Joystick for flying and shooting - I use Joy-To-Key to convert the joystick to button presses. I've got the trigger on my joystick set to send a "space" every 1/10 second.

Archived Post
02-07-2010, 01:05 AM
Just to bump and add my plea:

Cryptic, I beg you to put in auto fire choice on all weapons. My fingers as killing me, and I really like this game.

Later,
Delekahn

Update: So I just checked out the G19 and since I pretty much game 90% of the time I am at home I think it will be a great investment... not sure how much more my index finger can take... it hurts all the time now. Well, we are all addicted to something...

Archived Post
02-07-2010, 01:58 AM
I've been re-watching some TNG episodes lately and if you look closely you can definitely see Worf staring down into a small monitor pressing a space bar repeatedly.

Archived Post
02-07-2010, 03:02 AM
Stop The Insanity!

I'm sure Cryptic has their reasons for doing what they do, but the current situation is intolerable. In nearly thirty years of gaming, starting with a Commodore VIC-20, no less, this is the first and only time I've ever been even remotely tempted to use a macro to play a game.

To be fair, I've held out since the beginning of open beta, hoping something would be done about this, and have held out since launch with a science officer and a Klingon engineer, but after getting an Escort with my tactical officer last night, I just can't take it any more.

I love this game, but the need for constant button-mashing is utterly maddening, physically unhealthy and absolutely inexcusable. I want to continue playing Star Trek Online without suffering serious personal injury to my hands, so I have to do something.

Thanks to those who have stepped up to the plate to do something positive and proactive about this problem, even if it involves doing something I strongly prefer not to do: use macros.

Hopefully Cryptic will also choose to be proactive and resolve this ridiculous problem sooner rather than later. ;)

Archived Post
02-07-2010, 03:16 AM
yeah,startingtoloathespacebarlol

my argument for their firing weapons should take skill comment that was mentioned is that basic firing like that is similar to auto attack in most MMO's. you don't have to keep saying "hit that ogre with your hammer." you press a button when you want to activate a special ability, but you keep slappin the ogre around normally all the time. that's where the skill comes in, using powers at opportune times. mindless repetition is mindless repetition is mindless repetition is mindless repetition is mindless repetition is mindless.

Archived Post
02-07-2010, 03:32 AM
I make a better one, with lot of fix and sound fix, in bonus all in a packed rar. So when it is active you can talk on chat, and warning sound for activation and desativation.

Download : http://rapidshare.com/files/346126510/AutoKeywhitScript.rar

Instruction :

-Set in STO, the key for fire all weapons, or all beam (your preference) to the Key "F9"

-Unzip all the file in the same folder (the sound wave + the script must be in the same folder)

-Install Autohotkey

-Double-click the script (Autofire remake F8) it will start Autohotkey, and load the script

-For start Auto-fire in-game, press F8, it will make a double sound saying it is activate

-For stop it, press a other time F8, you will hear the alarm 1 time.

Archived Post
02-13-2010, 10:41 AM
I just loaded this as I'm trying an all-gun tactical escort (DC x2, DBB x2 fore, turretx2 back) and I do not have the reaction time to get four weapons on autofire.

What I like is the ability to toggle autofire, too.

I find that 1 second (1000 ms) is enough to get my stuff working properly. I also prefer windows-spacebar as my toggle, since it's not something I ever type normally.

Archived Post
02-13-2010, 10:44 AM
I'm gonna come off as the bad guy here, but I don't even use Auto Fire anymore. I prefer having to fire all my weapons myself.

I dunno I don't seem to have a problem pressing different buttons to fire weapons, but then again it's probably cause i've got a lot of my buttons mapped differently using both my keyboard and Mx Revolution but I dunno to each their own

Archived Post
02-13-2010, 10:51 AM
To date you can get autofiring more then one front or back weapon without using a macro.

Put, for example, two cannon weapons next to each other. Leave the ship inventory system and then right click both weapons at the bottom of your screen alternately as fast as you can, eventually they will both be green and autofire. You can also use a game/system lagging activity like screen shotting to get more then 2 or 3 if you like.

It's beyond asinine that you have to glitch out a game or write long macros to get weapons to autofire and do basic damage. Whoever thought spamming a spacebar to fire basic weapons as a good idea needs to be removed from MMORPG design.

~ Foulwin

Archived Post
02-13-2010, 05:06 PM
I have a question.

I'm using type 3 controls (with ctrl and alt bars). It seems whenever I have any script running it will interpret alt as control sometimes (but not vice versa). Has anyone run into this and have a work around?

Archived Post
02-14-2010, 12:00 AM
Wish they'd give a response on this already.. not having autofire on all weapons (or at least all non-projecticles) is the biggest glaring issue with this game.

Archived Post
02-14-2010, 01:04 AM
First game I have ever macroed, this is real ****ing annoying.

Archived Post
02-14-2010, 01:13 AM
It's better to use a macro to get 3-4 "legitimate" autofires (via the rapid clicking method) than it is to just have a macro to mash spacebar. You don't need to have a potentially glitchy macro program running in the background once you set it up, and your skills will fire off more reliably, as game-enabled autofires seem to be handled server-side (as opposed to just hitting they key for you).

Archived Post
02-14-2010, 09:58 AM
I prefer the automash local script, because it has the nice feature of being toggleable.

Sometimes I don't WANT autofire on.

Archived Post
02-14-2010, 11:23 AM
I use the macro because I had to replace the switch in my spacebar already from mashing it too hard and fast.

Archived Post
02-14-2010, 12:15 PM
Without resorting to macros, expensive keyboards, or exploiting the game's laggy interface...

They should just allow assigning "Fire All Beams" , "Fire All Torpedoes" , and "Fire All Weapons" to the hotbar. Then you can set one of those to autofire just like you would any other action.


On the same note, they definitely need to allow autofire of your basic attack on ground missions.

For as often as people are complaining about spamming Spacebar again and again, you're spamming 1 1 1 1 1 1 1 just to make sure your pistol is still firing.

Archived Post
02-16-2010, 02:28 PM
Could a kind soul upload the autohotkey macro somewhere else, as rapidshare has been busy for the past 3 days for free users.

TIA

Archived Post
02-16-2010, 08:48 PM
Here's a simple autohotkey script that works for me. Apparently you can set as many weapons as you want to autofire if you just click really fast. Unfortunately, I'm not that fast a clicker. So I load up this script, put the mouse over the first weapon, and hit #-z. Then the script sets them all on autofire, after which I can kill autohotkey. I like this a bit better because I don't have to turn a toggle on and off, it won't interrupt my typing, and I don't need an extra program running in the background.

Note: It does require a couple of tries usually to get them all set. Just take however many weapons it caught off autofire and try again, you should only have to do it a couple of times.

#z::
MouseClick, Right, 0, 0, 1, 0, , R
MouseClick, Right, 35, 0, 1, 0, , R
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 3 weapons
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 4 weapons
Return

Archived Post
02-16-2010, 08:53 PM
I bind fore weapons to mouse key 5 and rear with mouse key 4. Saves reaching to press 1 and 2 all the time and i didnt know about space till after i got used to my mouse binds (razer diamondback) I just wish the 2 on the right side of mouse were picked up by game and able to use.

Archived Post
02-17-2010, 02:06 AM
I make a better one, with lot of fix and sound fix, in bonus all in a packed rar. So when it is active you can talk on chat, and warning sound for activation and desativation.

Download : http://rapidshare.com/files/346126510/AutoKeywhitScript.rar

Instruction :

-Set in STO, the key for fire all weapons, or all beam (your preference) to the Key "F9"

-Unzip all the file in the same folder (the sound wave + the script must be in the same folder)

-Install Autohotkey

-Double-click the script (Autofire remake F8) it will start Autohotkey, and load the script

-For start Auto-fire in-game, press F8, it will make a double sound saying it is activate

-For stop it, press a other time F8, you will hear the alarm 1 time.

The file included here only has 2 wave files and an autohotkey.exe file. Where is the script?

Archived Post
02-17-2010, 04:02 AM
Why can't there be an in game macro facility like in WoW?

Archived Post
02-17-2010, 08:36 AM
Autofire please, if only to stop RPS (repetitive stress disorder). I really hate having to constantly mash one button, my hands hurt after doing it too much, (yup, I'm an older gamer, there's a lot of us out there) not to mention the toll on my keyboard. For those who don't want it, don't use it if implemented. Seems simple enough. I will go to a hardware (g15 or whatever) or software (macro script) fix if needed, but I realy don't think I should have to, as the mechanic to do this is already in the game, and I can't see how it will affect the gameplay mechanics at all.

Archived Post
02-17-2010, 10:32 AM
Autofire please, if only to stop RPS (repetitive stress disorder). I really hate having to constantly mash one button, my hands hurt after doing it too much, (yup, I'm an older gamer, there's a lot of us out there) not to mention the toll on my keyboard. For those who don't want it, don't use it if implemented. Seems simple enough. I will go to a hardware (g15 or whatever) or software (macro script) fix if needed, but I realy don't think I should have to, as the mechanic to do this is already in the game, and I can't see how it will affect the gameplay mechanics at all.

Hate to say it, but you may be better off looking at a G13 or something instead of holding your breath and waiting for Cryptic. They have been tight lipped about this issue since beta and refuse to comment, so I don't think you will see change anytime soon.

I love my G13, and I look at it as an investment because I know I will use it for a long time to come and for games other than STO.

Archived Post
02-17-2010, 10:54 AM
right now im wondering if cryptic is even looking at these forums.

Archived Post
02-18-2010, 10:13 AM
Here's a simple autohotkey script that works for me. Apparently you can set as many weapons as you want to autofire if you just click really fast. Unfortunately, I'm not that fast a clicker. So I load up this script, put the mouse over the first weapon, and hit #-z. Then the script sets them all on autofire, after which I can kill autohotkey. I like this a bit better because I don't have to turn a toggle on and off, it won't interrupt my typing, and I don't need an extra program running in the background.

Note: It does require a couple of tries usually to get them all set. Just take however many weapons it caught off autofire and try again, you should only have to do it a couple of times.

#z::
MouseClick, Right, 0, 0, 1, 0, , R
MouseClick, Right, 35, 0, 1, 0, , R
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 3 weapons
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 4 weapons
Return

Is this a script for STO or some 3rd party tool controlling the mouse?

Archived Post
02-18-2010, 05:08 PM
Here, some awesome news :)

http://forums.startrekonline.com/showpost.php?p=2138850&postcount=56

For now, you can glitch it by disabling all weapon autofire, and then click one after the other real fast. It helps if you are somewhere that lags a bit. Go to sector space, open the skill window, or the fleet roster, and that will lag the game some so it is easier.

Thanks Cryptic though for an answer.

Archived Post
02-19-2010, 08:41 AM
Is this a script for STO or some 3rd party tool controlling the mouse?

It's a script for a 3rd party tool controlling the mouse. The program is called autohotkey (www.autohotkey.com).

Lots of people use autohotkey to repeatedly fire their weapons. This doesn't do that, it uses autohotkey to set your weapons to use STO's autofire.

You install autohotkey, then put that script in a text file with a .ahk extension. Run the text file (or open with > choose default program if the link didn't get set). Then go into STO, center your mouse over weapon one, and hit #-z (# means windows key). It might take a couple tries, but after a minute or so you can have all your weapons autofiring. Then you can kill autohotkey and not run it again until you change your ship weapons.

I experimented with setting delays between mouseclicks, 2 milliseconds was the most that worked. So if you can just right click 4 weapons within 6 milliseconds you don't need any script. I can't.

Apparently the devs have admitted to working on an autofire solution, so eventually none of this will be necessary. In the meantime I can't stand playing without it.

EDIT - The devs have said there are currently no plans to ban anyone for using this glitch to autofire multiple weapons. See here (http://forums.startrekonline.com/showpost.php?p=2138850&postcount=56). Me, I have 4 forward and 2 rear weapons on autofire and I'm still busy as heck during space combat.

Archived Post
02-19-2010, 12:32 PM
Thanks, using ingame autofire is a lot better than a macro pressing a key all x ms.
After 6 tries it worked and my carrier had all 6 turrets at autofire. :D

Archived Post
02-20-2010, 04:39 AM
Hmm.

I'm trying to make an autohotkey script to mash F9; the mashing of F9 is fine but I can't see how to trigger it from pressing F8.

This wouldn't be necessary if the script the guy uploaded was in the rar he said it was in, but since it's not there I'm working on a replacement.

Basically, I want to hit F8 to toggle F9 mashing.

Suggestions?

EDIT:

This is what I'm working with:

~Capslock:: ; The [Caps Lock] key will act as an on/off toggle for auto-fire.
keywait, Capslock
If GetKeyState("CAPSLOCK", "T")
SetTimer, AutoFire, 500 ; Sets the master intervals in milliseconds - is a thousandth (1/1000) of a second. Default is 500ms, 0.5 seconds.
Else
SetTimer, AutoFire, Off
return

AutoFire:
Send {F5} ; Sets the in-game bound key to be used in the auto-fire sequence. Default is {Space}.
return


Works well, except I don't want to toggle capslock for chatting. I'd much rather trigger it with F8 and have it mash F9.

Archived Post
02-20-2010, 06:54 AM
It's a script for a 3rd party tool controlling the mouse. The program is called autohotkey (www.autohotkey.com).

Lots of people use autohotkey to repeatedly fire their weapons. This doesn't do that, it uses autohotkey to set your weapons to use STO's autofire.

You install autohotkey, then put that script in a text file with a .ahk extension. Run the text file (or open with > choose default program if the link didn't get set). Then go into STO, center your mouse over weapon one, and hit #-z (# means windows key). It might take a couple tries, but after a minute or so you can have all your weapons autofiring. Then you can kill autohotkey and not run it again until you change your ship weapons.

I experimented with setting delays between mouseclicks, 2 milliseconds was the most that worked. So if you can just right click 4 weapons within 6 milliseconds you don't need any script. I can't.

Apparently the devs have admitted to working on an autofire solution, so eventually none of this will be necessary. In the meantime I can't stand playing without it.

EDIT - The devs have said there are currently no plans to ban anyone for using this glitch to autofire multiple weapons. See here (http://forums.startrekonline.com/showpost.php?p=2138850&postcount=56). Me, I have 4 forward and 2 rear weapons on autofire and I'm still busy as heck during space combat.


Thanks for posting this, simple and works GREAT!! ( for those of us who can't click fast as required)

Archived Post
02-20-2010, 12:31 PM
Here, if we are able to openly share macros, try autofire 4.0

This is not my app, but I did repack it, just scan it, scan it, and rescan it( I don't even trust myself ) then unzip, and set a shortcut to the exe to your desktop. it is set to press the F7 key every 1 second or so by default, so map your fire all to F7, and then in game press F8 to turn it on and off.

http://www.megaupload.com/?d=OC2WTFTR

1000 = 1sec

1500 = 1.5 sec and so on.

Archived Post
02-20-2010, 11:06 PM
I went out and bought a G 110 keyboard today cause the space bar mashing was getting on my nervers but I can't seem to get it to work.

Anyone have any ideas? All i want it to do is fire my beams weapons.

Archived Post
02-21-2010, 11:56 AM
I went out and bought a G 110 keyboard today cause the space bar mashing was getting on my nervers but I can't seem to get it to work.

Anyone have any ideas? All i want it to do is fire my beams weapons.

Assuming it works the same as a G11, which I think is true because it's the same software, here's what you do.

First you have to have the logitech software loaded and started. Pull that up, click on the macro key you want to use, select assign macro, create new macro. Then click start recording and hit spacebar (or whatever), followed by stop recording. Insert a delay after the spacebar up, 500 works fairly well, and ok. Then click on the macro key again, repeat options, toggle. And you're done, hitting that macro key will toggle your phaser spam on and off.

Incidentally, the logitech keyboards are broken under windows vista/7 64 bit. If you're using those the macro keys don't work. LGPS detects the key being pressed but won't activate your macro or use your keybinds. So if someone knows how to fix that, let me know please.

Archived Post
02-22-2010, 09:44 PM
I combine my g15 and n52te for space and ground combat. I use the n52te primarly for navigation/shooting while I reset my shields to disperse shield power to the ~ key. I have that repeating in space combat, I use a seperate profile on the n52te for ground and space combat. It is easy to switch with 1 key. I also have a button for full impulse, which is quite handy. I am looking at more ways to optimize my button's for better performance in space and on ground.

G13, n52te, g15, g11, and the naga mouse are all options worth looking into to improve your overall gaming experience. I use the razer lachesis right now and plan to get the Naga sometime in march. Overall, having the ability to program my buttons to repeat keys for button mashing (such as space bar) or for multiple key combination's is just great, and saves wear on my sore hands. Driving a bus creates some issues with the forearms. /cry

Archived Post
02-23-2010, 05:00 PM
It is ridiculous that only 1 fore and 1 aft weapon can be set to auto-fire. There really are other actions which a captain can spend time and digits on besides constantly having to hit the attack button. Its positively regressive in the world of modern mmo's to not allow an auto attack once hostilities have been initiated.

Archived Post
02-23-2010, 09:47 PM
Here, some awesome news :)

http://forums.startrekonline.com/showpost.php?p=2138850&postcount=56

For now, you can glitch it by disabling all weapon autofire, and then click one after the other real fast. It helps if you are somewhere that lags a bit. Go to sector space, open the skill window, or the fleet roster, and that will lag the game some so it is easier.

Thanks Cryptic though for an answer.

great news. thanks cryptic. that is one item off the hitlist.

Archived Post
02-24-2010, 01:41 PM
There are apps out there that let you right-click to set that I believe.

Archived Post
02-24-2010, 04:59 PM
[QUOTE=Red5x5]I went out and bought a G 110 keyboard today cause the space bar mashing was getting on my nervers but I can't seem to get it to work.

Anyone have any ideas? All i want it to do is fire my beams

Read over the manual, install the software for the keyboard. Read up on how to create macros and then experiment till you find out what works.

You will learn more about the "how to" of the keyboard then having someone tell you on here.

Archived Post
02-24-2010, 06:35 PM
I've been re-watching some TNG episodes lately and if you look closely you can definitely see Worf staring down into a small monitor pressing a space bar repeatedly.

This is the funniest comment I have ever read on the STO forums... LOL.

Archived Post
02-24-2010, 07:26 PM
Anyone know if there is a way to suppress normal autofire?

For example, I'm up against someone who activates RSP. I'd LIKE to keep firing torps at him, but not fire other weapons; that is, keep him targeted without autofire triggering.

Archived Post
02-25-2010, 12:50 PM
I wore out my space bar , so I just rebinded my mouse wheel up phasers,down torpedos :p

Archived Post
02-26-2010, 03:31 PM
Here's a simple autohotkey script that works for me. Apparently you can set as many weapons as you want to autofire if you just click really fast. Unfortunately, I'm not that fast a clicker. So I load up this script, put the mouse over the first weapon, and hit #-z. Then the script sets them all on autofire, after which I can kill autohotkey. I like this a bit better because I don't have to turn a toggle on and off, it won't interrupt my typing, and I don't need an extra program running in the background.

Note: It does require a couple of tries usually to get them all set. Just take however many weapons it caught off autofire and try again, you should only have to do it a couple of times.

#z::
MouseClick, Right, 0, 0, 1, 0, , R
MouseClick, Right, 35, 0, 1, 0, , R
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 3 weapons
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 4 weapons
Return


I've been using this for a few days, and this is the best upgrade to the game. Much more fun now!

Archived Post
02-26-2010, 10:36 PM
Yeah, thankyouthankyou for the rightclick script. It's made my game experience muuuch better.

I was using a 'spam spacebar' macro, and it was annoying to use.

Archived Post
02-27-2010, 12:36 PM
WORF!!! Maximum space bar on my mark!!!!

Archived Post
02-28-2010, 04:14 AM
Here's a simple autohotkey script that works for me. Apparently you can set as many weapons as you want to autofire if you just click really fast. Unfortunately, I'm not that fast a clicker. So I load up this script, put the mouse over the first weapon, and hit #-z. Then the script sets them all on autofire, after which I can kill autohotkey. I like this a bit better because I don't have to turn a toggle on and off, it won't interrupt my typing, and I don't need an extra program running in the background.

Note: It does require a couple of tries usually to get them all set. Just take however many weapons it caught off autofire and try again, you should only have to do it a couple of times.

#z::
MouseClick, Right, 0, 0, 1, 0, , R
MouseClick, Right, 35, 0, 1, 0, , R
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 3 weapons
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 4 weapons
Return

This is a really great idea. Unfortunately for whatever reason, I can't get autohotkey to work with STO.

Macros that work otherwise suddenly shut off in the game. Been wrestling with it for a couple of hours, and no luck. :(

Archived Post
02-28-2010, 09:30 AM
Try again with the game in windowed or maximized windowed mode. Worked for me.

Archived Post
02-28-2010, 01:57 PM
Try again with the game in windowed or maximized windowed mode. Worked for me.

Heh, I'm an idiot; turns out I didn't correctly set the script to have administrator permisisons. :)

Works like a dream, now. It's like an entirely new game.

Archived Post
03-23-2010, 11:10 AM
Here's a simple autohotkey script that works for me. Apparently you can set as many weapons as you want to autofire if you just click really fast. Unfortunately, I'm not that fast a clicker. So I load up this script, put the mouse over the first weapon, and hit #-z. Then the script sets them all on autofire, after which I can kill autohotkey. I like this a bit better because I don't have to turn a toggle on and off, it won't interrupt my typing, and I don't need an extra program running in the background.

Note: It does require a couple of tries usually to get them all set. Just take however many weapons it caught off autofire and try again, you should only have to do it a couple of times.

#z::
MouseClick, Right, 0, 0, 1, 0, , R
MouseClick, Right, 35, 0, 1, 0, , R
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 3 weapons
; MouseClick, Right, 35, 0, 1, 0, , R ; Uncomment for 4 weapons
Return

Once I reached Captain I didn't seem to be able to click all the weapons quick enough to get autofire working on all weapons, this though, this is genius, thank you so much.

Pretty much worked straight away, thank you.

Archived Post
03-23-2010, 05:43 PM
Want to add my solution which is a result of several changes to avoid problems you can have with autofire macro:

- I don't use the "Fire-all-weapons" function (not the keybinding and also not the UI-icon) because from my obseravtion it works not accurate (on my 8 beam cruiser it fires only 5, 6, sometimes 7 beams but never all 8)

- to save buttonspace on the 3 visible bars I moved all 8 weapon buttons to bar 10 and bound them with

/bind F5 "+TrayExecByTray 9 0"
.
.
/bind F12 "+TrayExecByTray 9 7"

to the F5 to F12 keys. As a result I don't get error sounds if key is not up, can chat while autofire is active and don't need weapon buttons to be visible. Can also use my mouse normal. In case I want to fire torps manually I just move the torp button to my visible bars. If this setup is done once for 8 weapons it's usable for any ship type.

As last the autohotkey macro which has a toggle-button which is in my case the END key (can be changed in line 2). Pause length between button spamming is 0.125 sec, loop repeats after 1 sec.

Have to thank a guy with much knowledge from the autohotkey forum who helped me optimizing it.
If you want to try it out don't forget to delete key-bindings in the options menue for the used keys.

#MaxThreadsPerHotkey 3
END::
If (lo := !lo)
Gosub, autofireloop
Return

autofireloop:
Loop
{
if !lo
Break
Send, {F5}
Sleep, 125
if !lo
Break
Send, {F6}
Sleep, 125
if !lo
Break
Send, {F7}
Sleep, 125
if !lo
Break
Send, {F8}
Sleep, 125
if !lo
Break
Send, {F9}
Sleep, 125
if !lo
Break
Send, {F10}
Sleep, 125
if !lo
Break
Send, {F11}
Sleep, 125
if !lo
Break
Send, {F12}
Sleep, 125
}
Return

Archived Post
04-05-2010, 06:50 PM
Want to add my solution which is a result of several changes to avoid problems you can have with autofire macro:

- I don't use the "Fire-all-weapons" function (not the keybinding and also not the UI-icon) because from my obseravtion it works not accurate (on my 8 beam cruiser it fires only 5, 6, sometimes 7 beams but never all 8)

- to save buttonspace on the 3 visible bars I moved all 8 weapon buttons to bar 10 and bound them with

/bind F5 "+TrayExecByTray 9 0"
.
.
/bind F12 "+TrayExecByTray 9 7"

to the F5 to F12 keys. As a result I don't get error sounds if key is not up, can chat while autofire is active and don't need weapon buttons to be visible. Can also use my mouse normal. In case I want to fire torps manually I just move the torp button to my visible bars. If this setup is done once for 8 weapons it's usable for any ship type.

As last the autohotkey macro which has a toggle-button which is in my case the END key (can be changed in line 2). Pause length between button spamming is 0.125 sec, loop repeats after 1 sec.

Have to thank a guy with much knowledge from the autohotkey forum who helped me optimizing it.
If you want to try it out don't forget to delete key-bindings in the options menue for the used keys.

#MaxThreadsPerHotkey 3
END::
If (lo := !lo)
Gosub, autofireloop
Return

autofireloop:
Loop
{
if !lo
Break
Send, {F5}
Sleep, 125
if !lo
Break
Send, {F6}
Sleep, 125
if !lo
Break
Send, {F7}
Sleep, 125
if !lo
Break
Send, {F8}
Sleep, 125
if !lo
Break
Send, {F9}
Sleep, 125
if !lo
Break
Send, {F10}
Sleep, 125
if !lo
Break
Send, {F11}
Sleep, 125
if !lo
Break
Send, {F12}
Sleep, 125
}
Return

This script is very cool thanks for posting it. I do have one odd issue with it though. If I activate the script, the first 3 trays no longer function properly. It seems like you can no longer reliably use the default trays and keybinds.

I have my skills bound to trays 0,1,2 - set as the defualt 1-9, ALT 1-9 and CTRL 1-9 and the problem is if I key ALT 1 sometimes it will use the alt 1 skill, other times it will fire off the ctrl 1 sklll. If I toggle the script off the problem goes away.

Thoughts?

Archived Post
04-06-2010, 01:15 PM
@harvord
Yes there is in general a problem using ALT / STRG / SHIFT combos. I first made a script using SHIFT+F5 to SHIFT+F12 for the weapons but that didn't worked because other bindings which used F5 to F12 where activated too by the macro (can't say if this is issue is game related or operating system related).

So if you want to use that script do not use any other bindings with ALT / STRG / SHIFT combos on the F5 to F12 keys. Remember I made this script with the guideline that it should not disturb chatting while autofiring is active, "sacrificing" eight F-keys was the best way for me to do that.

I activate my hotbar skill buttons only with the mouse (have free camera mode and toggle-mouse-look on the thumb button of my mouse) but if you want to use the hotbars also with the keyboard I suggest to use the number keys, e.g. SHIFT+1 to SHIFT+0 for the first hotbar, STRG+1 to STRG+0 for the second hotbar, ALT+1 to ALT+0 for the third hotbar.
In any case you can't use the standard keybindings and have to reconfigure the whole binding setup.