Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10] 11 12 ... 14

Author Topic: Mouse Fortress v1.4d for DF 34.11 - Roller Coastery Wooh!  (Read 93317 times)

Shukaro

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.2c for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #135 on: April 24, 2012, 03:47:46 pm »

How is DFHack not working for you? What exactly is happening when you invoke the DFHack flag?

E: Also, new minor version out. Adds the e flag which returns to the main menu and tweaks ru a bit.
« Last Edit: April 24, 2012, 04:26:22 pm by Shukaro »
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

vonduus

  • Bay Watcher
  • This is your captain speaking
    • View Profile
Re: Mouse Fortress v1.2d for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #136 on: April 25, 2012, 06:08:43 am »

How is DFHack not working for you? What exactly is happening when you invoke the DFHack flag?

Exactly nothing. :)

I right-click in DF, go to the DFHack sub-menu, select "Prospect" and click - the menu goes away, and nothing happens in the DFHack console.

I made this line in keys.txt:

^p|a(prospect all)

- this is also not working, ie. nothing happens when I press Ctrl-p. DFHack is working alright when I write the commands directly into the console.

Cursor tracking still works!!!

edit:  Ok, I downloaded the new version, everything works fine, except the DFHack sub-menu.

In my menus.txt I have added the following lines at the top:

Look|Info|g(k)
View|Info|g(v)
View Building|Info|g(t)
Set Prefs|Info|g(q)
Info
|


This puts in an extra menu, with easy access to the look and view functions.

I believe this is where your Mousefort really shines - most building and task commands I know by heart now, but moving the cursor around with the arrow keys to get information has imo always been a major pain. With this addition to the script you just select the info mode and then hover your mouse over what you want info about.

The "q"-function does not really belong here, perhaps it should be its own parent - though I fear that the menu will soon get unwieldy. There is also Activity Zones (i), the Status groups(z) and perhaps the Military(m and s), Unit(u) and Nobles(n) screens.


« Last Edit: April 25, 2012, 07:03:08 am by vonduus »
Logged
DF: where imagination beats animation

vonduus

  • Bay Watcher
  • This is your captain speaking
    • View Profile
Re: Mouse Fortress v1.2d for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #137 on: April 25, 2012, 07:21:01 am »

If I right click and select "Stockpiles" and then "Remove" I get the remove staircases task. Apparently all menu entries must have different names. Therefore, to get the "remove Stockpile" task, delete the line

Remove|Stockpiles|g(px)

and replace it with

Remove Pile|Stockpiles|g(px)
Logged
DF: where imagination beats animation

vonduus

  • Bay Watcher
  • This is your captain speaking
    • View Profile
Re: Mouse Fortress v1.2d for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #138 on: April 26, 2012, 12:58:59 pm »

Cursor tracking is not working. Here is the Cheat Engine data:

http://www.mediafire.com/download.php?tyfhxiyg9xa86s3

edit: I did the window resizing/moving routine, and after some attempts I got it to work again. I did another Cheat analysis, results are here:

http://www.mediafire.com/download.php?p6y0ahm8nw56b50

Update: Now I have lost it again. I had it, then i minimized DF and used Firefox, when I came back to DF, Mousetracking was gone. Another upload:

http://www.mediafire.com/?bmn2ch8a48om2qa

Another Update: I got it back after quitting Firefox (?!?)

And another: I believe I have solved my DFHack problem: When DFHack is minimized, no commands get through from Mousefort. If DFHack is in a window behind DF, it works alright.
« Last Edit: April 26, 2012, 04:55:17 pm by vonduus »
Logged
DF: where imagination beats animation

iTreefish

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.2d for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #139 on: April 27, 2012, 05:09:32 am »

Really great utility! (& I love me some Autohotkey as well!)

Looking forward to jittery-cursor tracking fixes! ;)

Thank you so much & great job!
Logged

Shukaro

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #140 on: April 29, 2012, 10:11:47 am »

Alright, new version out, 1.3.

This one fixes cursor tracking completely (If it doesn't work for you still, then the issue is absolutely out of my hands). There are also a few other minor changes.

Enjoy!
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

Shishimaru

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #141 on: April 29, 2012, 01:13:01 pm »

There is a bug in the last version for the cursor tracking:

these lines in the mouse.ahk
Code: [Select]
if (A_LoopField = "q")
{
IniRead, cursoron, config.ini, pass, cursoron
if (cursoron = "1")
{
IniWrite, 0, config.ini, pass, cursoron
WinClose, cursor.exe
Traytip,, Tracking Disabled!
}
else
{
IniWrite, 1, config.ini, pass, cursoron
Traytip,, Tracking Enabled!
}
}

should be

Code: [Select]
if (A_LoopField = "q")
{
IniRead, cursoron, config.ini, pass, cursoron
if (cursoron = "1")
{
IniWrite, 0, config.ini, pass, cursoron
WinClose, cursor.exe
Traytip,, Tracking Disabled!
}
else
{
IniWrite, 1, config.ini, pass, cursoron
Run cursor.exe                                        <----- this line reactivate the tracking
Traytip,, Tracking Enabled!
}
}
Logged

Shukaro

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #142 on: April 29, 2012, 01:22:26 pm »

Ah, just forgot to update that part of the behavior, one minute.

E: Alright, fixed version is live now.
« Last Edit: April 29, 2012, 02:01:04 pm by Shukaro »
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

iTreefish

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #143 on: April 30, 2012, 08:56:31 am »

Great! Works perfectly! Thanks!
Logged

Shishimaru

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #144 on: May 01, 2012, 01:26:31 pm »

I've found a little bug. If you try to define a menu like this:

DigMeasure||g(d),ru(t)

it executes only the g flag

To fix this in the mouse.ahk change these lines:
Spoiler (click to show/hide)

with these:
Spoiler (click to show/hide)
Logged

Shukaro

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #145 on: May 01, 2012, 02:37:28 pm »

I've found a little bug. If you try to define a menu like this:

DigMeasure||g(d),ru(t)

it executes only the g flag

To fix this in the mouse.ahk change these lines:
Spoiler (click to show/hide)

with these:
Spoiler (click to show/hide)

Ah, I'm surprised I haven't caught that before, I'll upload a fixed version ASAP. Also, thanks for the bug reporting, it's quite helpful. :)
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

vonduus

  • Bay Watcher
  • This is your captain speaking
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #146 on: May 03, 2012, 09:41:49 am »

I found out what was wrong on my system: If I refrain from minimizing background applications (like Firefox, DFHack, DwarfTherapist etc), cursor tracking works like a dream, and commands get sent to DFHack, all the time. Just mentioning it if someone else has had the same problem - the solution is to NOT minimize anything. If cursor tracking stops working it is just a question of reloading the script.  I'm sorry it took me so long to pin-point what was wrong, Shukaro, I hope you did not spend too much time tryinf to fix my imaginary problems. :)

Thanks again, this is a great utility!
Logged
DF: where imagination beats animation

Shishimaru

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #147 on: May 11, 2012, 07:13:03 am »

When the cursor tracking is on, but there is no cursor the cursor.exe process eats all the available cpu cycles.

To fix this change these lines:
Spoiler (click to show/hide)
with these:
Spoiler (click to show/hide)

Also it still happens sometimes that the cursor tracking doesn't work at all. It happened to me when I had Firefox opened with a grouped tab called "Dwarf fortress". Changing these lines
Spoiler (click to show/hide)
with these:
Spoiler (click to show/hide)
should fix this error

Another thing that can stop the cursor tracking from working is a bug of DF: changing the zoom level doesn't change the mousex and mousey limits so if you find that the cursor tracking works only in the top left corner of the map window, try to zoom in.
Logged

Shukaro

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #148 on: May 14, 2012, 07:16:55 am »

I'll have a new version for 34.08 out today with a bunch of bug fixes, so if there's anything else you'd like to see or any other critical bugs I missed feel free to leave a comment. :)
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

kendo

  • Bay Watcher
    • View Profile
Re: Mouse Fortress v1.3 for DF 34.07 - Custom Menu and Hotkey Framework!
« Reply #149 on: May 14, 2012, 08:36:36 am »

My Mouse tracking goes completely screwy when I have a siege, I think its probably related to low fps? Is this a known problem?
Logged
Pages: 1 ... 8 9 [10] 11 12 ... 14