-
Savvy ? 🐒
[Jack] SimpleWatchDog
Supported TurboHUD version: all
Not a plugin, this an automatic tool relauncher.
It detect if Turbo is not running and launch it if needed.
Uncompress where you want OUTSIDE TurboHUD folder.
Modify sample values inside SimpleWatchDog.exe.config to what you use.
One `<watchDog ... />` line per watcher.
HTML Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="WatchDogConfig" type="SimpleWatchDog.Configuration.WatchDogConfig, SimpleWatchDog" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
<WatchDogConfig>
<watchDogs>
<watchDog runningProcessName="MUST_RUN" watchProcessName="TOOL_TO_LAUNCH" launchPath="C:\PATH\TO\TOOL_TO_LAUNCH.exe" timer="1000"/>
<watchDog runningProcessName="MUST_RUN2" watchProcessName="TOOL_TO_LAUNCH2" launchPath="C:\PATH\TO\TOOL_TO_LAUNCH2.exe" timer="2000"/>
</watchDogs>
</WatchDogConfig>
</configuration>>
e.g.
HTML Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="WatchDogConfig" type="SimpleWatchDog.Configuration.WatchDogConfig, SimpleWatchDog" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
<WatchDogConfig>
<watchDogs>
<watchDog runningProcessName="Diablo III" watchProcessName="Turbo" launchPath="C:\PATH\TO\Turbo.exe" timer="1000"/>
<watchDog runningProcessName="Diablo III64" watchProcessName="Turbo64" launchPath="C:\PATH\TO64\Turbo64.exe" timer="1000"/>
</watchDogs>
</WatchDogConfig>
</configuration>
Launch SimpleWatchDog.exe as admin.
Enjoy automatic relaunching of hud.
Download : Releases * JackCeparou/SimpleWatchDog * GitHub
VirusTotal
It's open source for interested people : GitHub - JackCeparou/SimpleWatchDog: Automatic tool (re)launcher
Note : 'ctrl-end' to close hud without the task manager.
Last edited by JackCeparou; 07-27-2017 at 01:23 PM.
Reason: new version
-
Post Thanks / Like - 4 Thanks
-
Contributor
so this tool checks if d3 is running and if it does it launches thud if its not already running?
you know what would be really nice? a small gui with a "Restart Thud" button^^ because afaik the F2 key still isnt restarting thud.
Last edited by prrovoss; 03-26-2017 at 04:00 PM.
-
Savvy ? 🐒
Yep, simple as that.
When i'm developping or reviewing a plugin i relaunch hud countless times..
-
Contributor
Originally Posted by
JackCeparou
Yep, simple as that.
When i'm developping or reviewing a plugin i relaunch hud countless times..
how do you relaunch thud with this? dont you still have to terminate thud? till now i used a batch file that just restarted thud with a doubleclick
another idea would be to implement some kind of source file watchDog. Every time a source file was modified, the tool restarts thud. just an idea, this might lead to frequent restarts, maybe even once every few seconds..
-
Savvy ? 🐒
-
Contributor
Originally Posted by
JackCeparou
ctrl-end
this stop hud
i totally forgot about that. I will give it a try^^
-
Savvy ? 🐒
SR is already using it ;p
also ur watcher prog is nifty
(I use it too obviously, but a modded version to launch yolomouse too ^^)
-
Active Member
Cute stuff Jack :-) Right now I am still working with a macro on my keyboard that executes a batch file on keypress:
taskkill /F /IM MYHUD.exe
start "" D:\Path\To\Hud\MYHUD.exe
I might upgrade to your system, once you remove the keylogger :shh:
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Savvy ? 🐒
Originally Posted by
d3gigi
I might upgrade to your system, once you remove the keylogger :shh:
ROFL, that exactly why the source accessible ;p
Damn troll you gigi /hug
-
Contributor
Originally Posted by
prrovoss
another idea would be to implement some kind of source file watchDog. Every time a source file was modified, the tool restarts thud. just an idea, this might lead to frequent restarts, maybe even once every few seconds..
just bringing this up because i edited it and you might have overlooked it. if you dont like it, ignore it^^
-
Savvy ? 🐒
Originally Posted by
prrovoss
just bringing this up because i edited it and you might have overlooked it. if you dont like it, ignore it^^
Good move, i haven't see it.
But no, i'll not include a source folder watcher to it, i hit ctrl-s so often than hud will restart every second or so xD
-
Contributor
Originally Posted by
JackCeparou
Good move, i haven't see it.
But no, i'll not include a source folder watcher to it, i hit ctrl-s so often than hud will restart every second or so xD
that was my concern too. is it possible to monitor when a window/process/programm or whatever gains the focus or comes to foreground? this way, every time you switch back to d3 to test your changes, the watchdog could automatically restart thud.
edit
maybe something like this
c# - How to monitor focus changes? - Stack Overflow
Last edited by prrovoss; 03-27-2017 at 01:33 PM.
-
Savvy ? 🐒
I'll think about it, but this sound complicated for a very little gain ;p
-
seeing this and the other "HUD loader" I wonder if such a combined tool - a watchdog an a user impersonator - could be made in C#.
If it would be possible, and user friendly, and open source, then I would immediately "take over" the code (of course with proper credit) and add the verified and compiled-by-me .exe to the release .zip.
-
Contributor
Originally Posted by
JackCeparou
I'll think about it, but this sound complicated for a very little gain ;p
the gain is huuuge. you edit your plugins, switch back to d3 and see the changes. you switch back to vs, edit your plugins, switch to d3 to check if everything looks okay, switch back to vs and so on...