Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Adventurer macros  (Read 5733 times)

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Adventurer macros
« on: September 07, 2009, 10:23:36 am »

Anyone have some macros for adventure mode?  Some useful adventurer macros (for the more recent 40dXX versions):

Spoiler: Train throwing (click to show/hide)


Default bindings are Shift-k and Shift-o, respectively.  Macros start at 0, so renumber if you already have some.  Add them to the end of your interface.txt file.  Also, consider lowering the macro repeat rate in your init.txt files.  Some suggest as low as 10, though less than 100 makes me crash.  If you are using one of these, and get in a jam, hit esc to cancel the macro.
« Last Edit: September 10, 2009, 09:44:33 pm by Bricks »
Logged
EMPATHY - being able to feel other peoples' stuff.

IronBeer

  • Bay Watcher
    • View Profile
Re: Adventurer macros
« Reply #1 on: September 09, 2009, 07:19:52 pm »

What exactly would you use to run this macro?
Logged

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Adventurer macros
« Reply #2 on: September 10, 2009, 09:14:00 am »

Uh, the macro feature in the newest 40d## versions.  It's really easy to miss, you have to go to the last option on keybindings (tab multiple times or shift-tab once).
Logged
EMPATHY - being able to feel other peoples' stuff.

The_Fool76

  • Bay Watcher
    • View Profile
Re: Adventurer macros
« Reply #3 on: September 10, 2009, 01:01:34 pm »

If you are running one of the latest 40d# versions you can open up the interface.txt file and put this at the end of it:
Spoiler: The Code! (click to show/hide)
The stuff marked in *blue is just my own comments, I don't think including them will hurt anything.

I've found that editing the file tends to be faster than defining the macro in-game. Additionally you can name the macro's in the file.  (These names will show up in place of the Macro# in the macro list making it much more user friendly.)

I don't bother to bind a key to the Throw macro since I just use that inside the Train Throwing macro. If you really wanted, you could just bind the Throw macro to a key and mash that with your nose till it bleeds.  Don't recommend that though, blood is hard to get out of a keyboard.

Edit:  Additionally, you might also want to set the [MACRO_MS:150] config in the init.txt to something a bit lower. I keep mine at [MACRO_MS:10]. Otherwise you may want to go make lunch while the above Train Throwing macro is running.

Also, ESC is the default key for breaking out of a macro loop.  Handy, if something hungry happens to wander up while you are throwing rocks at your feet.  (Though you really shouldn't be doing this in the middle of that wolf pack.)
« Last Edit: September 10, 2009, 01:13:43 pm by The_Fool76 »
Logged
Tis far better to be a witty fool than a foolish wit.

Stargrasper

  • Bay Watcher
    • View Profile
Re: Adventurer macros
« Reply #4 on: September 10, 2009, 03:40:39 pm »

What exactly would you use to run this macro?

Alternatively, for those of us using 40d, the historic way of using macros is a program called AutoHotKey.  Handy little program that lets you define mouse and keyboard macros for whatever purposes you need.
Logged

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Adventurer macros
« Reply #5 on: September 10, 2009, 09:40:15 pm »

Thanks The_Fool76, updated OP with better info.
Logged
EMPATHY - being able to feel other peoples' stuff.

wehll

  • Bay Watcher
  • No longer stunned.
    • View Profile
Re: Adventurer macros
« Reply #6 on: September 11, 2009, 02:57:48 pm »

I have put these macros at the very end of my 'interface.txt' file, but they don't seem to work in the game. Any tips?
Logged

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Adventurer macros
« Reply #7 on: September 11, 2009, 05:47:49 pm »

Are you using one of the most recent 40d## versions?
Logged
EMPATHY - being able to feel other peoples' stuff.

wehll

  • Bay Watcher
  • No longer stunned.
    • View Profile
Re: Adventurer macros
« Reply #8 on: September 13, 2009, 06:35:14 pm »

Are you using one of the most recent 40d## versions?
Yes, I am using version df_28_181_40d11. I suppose I should've said that in my previous post.
Logged

The_Fool76

  • Bay Watcher
    • View Profile
Re: Adventurer macros
« Reply #9 on: September 14, 2009, 12:46:53 pm »

Are you using one of the most recent 40d## versions?
Yes, I am using version df_28_181_40d11. I suppose I should've said that in my previous post.

There is your problem.  I think the macro stuff didn't go in until d14 or so.  (it is up to d16 now)
Logged
Tis far better to be a witty fool than a foolish wit.

wehll

  • Bay Watcher
  • No longer stunned.
    • View Profile
Re: Adventurer macros
« Reply #10 on: September 14, 2009, 03:18:20 pm »

Are you using one of the most recent 40d## versions?
Yes, I am using version df_28_181_40d11. I suppose I should've said that in my previous post.

There is your problem.  I think the macro stuff didn't go in until d14 or so.  (it is up to d16 now)

Hm. I downloaded the latest version, but I am still having trouble. I'm curious: Is there any other way to access the macros during gameplay besides the keyboard shortcut?
Logged

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Adventurer macros
« Reply #11 on: September 15, 2009, 10:46:53 am »

Not exactly, but check your keybindings menu and go to the last option (on the second page, hit tab a lot), its where the macros should show up.  Its believable that my bindings don't work on another machine.
Logged
EMPATHY - being able to feel other peoples' stuff.

wehll

  • Bay Watcher
  • No longer stunned.
    • View Profile
Re: Adventurer macros
« Reply #12 on: September 15, 2009, 03:52:32 pm »

Not exactly, but check your keybindings menu and go to the last option (on the second page, hit tab a lot), its where the macros should show up.  Its believable that my bindings don't work on another machine.
Yes, that seems to be the case. The Macros aren't showing up in my key bindings, so I might just have to try AutoHotKey.
Logged

Dragooble

  • Bay Watcher
    • View Profile
Re: Adventurer macros
« Reply #13 on: September 18, 2009, 05:24:05 pm »

i just use autohotkey.
Code: [Select]
#space::
send gbtt{enter}
return

far more simple.
Logged
A creature the size of europe can occupy only one tile.

wehll

  • Bay Watcher
  • No longer stunned.
    • View Profile
Re: Adventurer macros
« Reply #14 on: September 20, 2009, 05:09:39 pm »

i just use autohotkey.
Code: [Select]
#space::
send gbtt{enter}
return

far more simple.
Wow. I see what you mean.
Logged
Pages: [1] 2