Results 1 to 27 of 27

Thread: New TFS 4.5 Watchdog

  1. #1
    Supporting Member PanTast's Avatar
    Join Date
    Aug 2014
    Location
    Germany
    Posts
    1,795
    Post Thanks / Like
    Total Downloaded
    116.50 MB

    New TFS 4.5 Watchdog

    Here is the new Watchdog




    Attached Files Attached Files
    John Lydgate: “You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”

  2. #2
    ATAG_Colander's Avatar
    Join Date
    Nov 2011
    Location
    Bir Tawil
    Posts
    9,940
    Post Thanks / Like
    Total Downloaded
    114.86 MB

    Re: New TFS 4.5 Watchdog

    This one is for the new launcher 64 bits.

  3. Likes PanTast, ATAG_Septic liked this post
  4. #3
    Ace
    Join Date
    Jan 2013
    Location
    Aurora Colorado
    Posts
    677
    Post Thanks / Like
    Total Downloaded
    480.94 MB

    Re: New TFS 4.5 Watchdog

    Forgive me for being a bit slow on the uptake. What does this do?

  5. #4
    ATAG_Colander's Avatar
    Join Date
    Nov 2011
    Location
    Bir Tawil
    Posts
    9,940
    Post Thanks / Like
    Total Downloaded
    114.86 MB

    Re: New TFS 4.5 Watchdog

    Quote Originally Posted by =FI=Murph View Post
    Forgive me for being a bit slow on the uptake. What does this do?
    If you don't know, you don't need it

    Is the software we use at ATAG to keep the game server running. We shared it before so we are sharing the new version Blitz compatible.

  6. Likes =FI=Murph liked this post
  7. #5
    Supporting Member
    Join Date
    Feb 2015
    Posts
    191
    Post Thanks / Like
    Total Downloaded
    156.90 MB

    Re: New TFS 4.5 Watchdog

    Thanks Very Much!
    Happy Member of the DangerDogz ...

  8. #6
    Novice Pilot Teetwo's Avatar
    Join Date
    Apr 2014
    Posts
    88
    Post Thanks / Like
    Total Downloaded
    14.08 MB

    Re: New TFS 4.5 Watchdog

    Thanks for getting this out so fast.

    S!

  9. #7
    Student Pilot
    Join Date
    Mar 2013
    Location
    Marseille
    Posts
    3
    Post Thanks / Like
    Total Downloaded
    29.70 MB

    Re: New TFS 4.5 Watchdog

    Thx for the Job

    Seems to work fine but i can't see anymore my server in the list.
    Checked my ports and adress. I changed nothing since the 32 bits version.
    The 32 version worked perfectly four our training server.
    I can't understand why...
    Any idea ?

    Thx again

    JP

  10. #8
    Student Pilot SirAthlon's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    11
    Post Thanks / Like
    Total Downloaded
    79.83 MB

    Re: New TFS 4.5 Watchdog

    Many Thanks.
    System:Ryzen X1700 /3,7@4.0Ghz - 16 GB DDR4 3200 CL 14-14-14-35- AMD RX 480X OC 8GB - 960Evo M2 SSD 512GB - SSD MX300 750GB + Win7 64Bit -2 TB Seagate Barracuda 7200 rpm

    System: i4790 /4,0@4.5Ghz - GSkill 16 GB DDR3 2400 CL 11-10-11-30- AMD Fury-X 4GB - 950Pro M2 SSD 512GB - SSD 840Pro 256GB + Win7 64Bit -3 TB Seagate Barracuda 7200 rpm

  11. #9
    Combat pilot
    Join Date
    May 2015
    Location
    Kansas City, Missouri area
    Posts
    249
    Post Thanks / Like
    Total Downloaded
    68.75 MB

    Re: New TFS 4.5 Watchdog

    In the previous Watchdog thread, I mentioned that TWC uses a script to "watch the Watchdog". Basically it ensures that Watchdog starts whenever Windows starts up, and also keeps Watchdog running, restarting it if it ever quits for any reason.

    It would also be easy to do a few things like check for .NET error boxes that pop up occasionally, and close them if they do. But, I haven't bothered with that yet.

    Instructions:

    1. Install AutoHotKey (http://AutoHotKey.com)
    2. Copy/paste scrip below to a convenient location; update the location of your ATAG_CloDWatchdog.exe in the script
    3. Place this script (or a shortcut to it) in your system startup folder so that it auto-starts when windows starts (instructions for locating your system startup folder here)
    4. Run netplwiz to make the account that runs the Launcher/WatchDog/AutoHotKey system auto-login when the computer is turned on (instructions here). (Those instructions work for Vista and Win7-8-10; for WinXP the command to run is "control userpasswords2" and instructions are here.) Some discussion about this approach and alternatives here.

    When the script starts (on Windows startup) it checks to see if CloD WatchDog is running. If not, WatchDog is started.

    Then every 1 minute it checks whether WatchDog is running (starting it if not) and also clicks the "Start Watchdog" button to ensure that Watchdog is actually doing its job.

    So, when the machine is turned on, the account logs in, AutoHotKey starts this script, and the script launches WatchDog and presses the "Start Watchdog" button.

    Code:
    ;;auto-start-atagCLODWatchdog.ahk auto-hotkey script.
    ;;by Brent Hugh, February 2018
    ;;
    ;;This script ensures that CloD WatchDog is started and running
    ;;and that that the "Start Watchdog" button is pressed
    ;;
    ;;It checks every 60 seconds.  
    ;;It will also check whenever you manually press ctrl-alt-shift-J, which is helpful for testing purposes
    ;;
    ;;To use it, You'll need to 
    ;;   1. Install AutoHotKey
    ;;   2. Update the location of your ATAG_CloDWatchdog.exe in the script below
    ;;   3. Place this script (or a shortcut to it) in your system startup folder so that it 
    ;;     auto-starts when windows starts
    
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    
    #Persistent
    SetTimer, StartWatchdog, 60000
    return
    
    +!^j::
      Gosub, StartWatchdog
    Return
    
    StartWatchdog:
       Gosub, RunWatchdog ; make sure Watchdog.exe is started & window open
       sleep, 4000
       SetControlDelay -1
       ControlClick, Start Watchdog, CloD WatchDog,
       
    Return
    
    ;;Make sure Watchdog is running & maximized (ie, window open & displaying, not minimized to tray)
    ;;Put the path to your copy of CloDWatchdog in the line with the XXXXXXXXXXX
    RunWatchdog:
    DetectHiddenWindows, On
    Process, Exist, 4.5 ATAG_CloDWatchdog 64.exe
    If (!WinExist("CloD WatchDog")) 
    Run, "C:\Users\XXXXXXXXXXX\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\4.5 CloDWatchdog 64.exe"
    Else
    DetectHiddenWindows, Off
    If (!WinExist("CloD WatchDog"))
    {
    WinShow, CloD WatchDog
    WinActivate, CloD WatchDog
    }
    Return
    Last edited by TWC_Flug; Feb-05-2018 at 18:21.

  12. #10
    Combat pilot
    Join Date
    May 2015
    Location
    Kansas City, Missouri area
    Posts
    249
    Post Thanks / Like
    Total Downloaded
    68.75 MB

    Re: New TFS 4.5 Watchdog

    After #$&*@#$&* Microsoft forced our Win10 machine to upgrade to Win10 "fall creators update" I'm having trouble getting CloD WatchDog to work.

    It starts Steam OK, starts launcher64.exe Ok, but when it goes to send commands to launcher64.exe, nothing happens.

    It will just sit there at the command prompt saying "4>" or whatever. And then after a while WatchDog will close the Launcher64 window.

    A typical log looks like this:

    Code:
    Sending stop command.
    Stopped
    **** Steam Start ****
    Starting...
    Started
    Waiting 30 secs. to start launcher
    **** Launcher Start ****
    Starting
    Sending Initial Commands...
    Launcher Start
    Sending common configuration commands
    Sending: 
    Error Connecting to launcher.
    Error Sending common configuration commands.
    Closing Connection
    *** Launcher Stop ***
    Connecting...
    Sending stop command...
    Waiting for launcher to stop...
    Launcher stopped
    Failed to start!
    If I go in & just manually type the commands to start a mission, it seems to work just fine (though WatchDog never recognizes that a mission has started, so it will close the window in short order to 'try again').

    Any thoughts?

    It was working just fine until "Creators Update" . . . .

  13. #11
    Combat pilot
    Join Date
    May 2015
    Location
    Kansas City, Missouri area
    Posts
    249
    Post Thanks / Like
    Total Downloaded
    68.75 MB

    Re: New TFS 4.5 Watchdog

    So, as noted above, I never could get 4.5 Watchdog to work on this machine. It's insane because it is working on our other, very similar server just fine & was working on this server just fine until the blasted "Creator's Update".

    So I gave up on Watchdog for this server and instead expanded the Auto-Hotkey script we have been to start Watchdog & keep it running, until it does pretty much everything Watchdog does--but without requiring Watchdog at all.

    Also it does a few handy things like zapping some of the most commonly encountered error pop-ups that Steam & CloD create. It's not quite as smooth & easy-to-use as Colander's Watchdog but it might be a helpful option for anyone who has trouble getting Watchdog to run, or would like something more flexible & scriptable.

    Originally I posted all the code etc here but I thought it might make more sense to post it on its own separate thread instead of highjacking this TFS 4.5 Watchdog thread. The new thread with code, examples, etc is here.
    Last edited by TWC_Flug; Feb-16-2018 at 01:17. Reason: Updated with link to new thread with code & examples

  14. Likes DD_FT, TWC_Sp00k liked this post
  15. #12
    Student Pilot
    Join Date
    Feb 2018
    Posts
    1
    Post Thanks / Like
    Total Downloaded
    289.30 MB

    Re: New TFS 4.5 Watchdog

    Thanks, this was very usefull!

  16. #13
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Thanks for all information.
    I tryed to lanch 4.5 Watchdog and have that
    ...
    [22:58:10] Loading mission ...
    [22:58:11]
    [22:58:11] =================================================
    [22:58:11] System.Exception: File not found
    [22:58:11] в ORusJ8aLdW0lLo13cpVbbtV43dm.UKDlEC8UawSvq4YsWKtl4J mNzDD()
    [22:58:11] =================================================
    [22:58:11]
    [22:58:11] =================================================
    [22:58:11] System.Exception: File not found
    [22:58:11] в ORusJ8aLdW0lLo13cpVbbtV43dm.UKDlEC8UawSvq4YsWKtl4J mNzDD()
    [22:58:11] в y7Wv0oLKq9Wow9J4KwK5CVZGuwq.teGNdPxlPycIzKUPlrEdvS 1obfV(zx6w9NLDDzK7dzCAUicIJ0aH0ZvA )
    [22:58:11] =================================================
    [22:58:11]
    [22:58:11] =================================================
    [22:58:11] System.Exception: File not found
    [22:58:11] в y7Wv0oLKq9Wow9J4KwK5CVZGuwq.teGNdPxlPycIzKUPlrEdvS 1obfV(zx6w9NLDDzK7dzCAUicIJ0aH0ZvA )
    [22:58:11] в y7Wv0oLKq9Wow9J4KwK5CVZGuwq.4XDoc1Sz95f08B7cicGLbo 2IxCd(zx6w9NLDDzK7dzCAUicIJ0aH0ZvA )
    [22:58:11] в TDvcK9j62rPRnS3C16AJTcurgjW.LE3ACy0cUrOe12V5JnTEiR cbzcnb(String )
    [22:58:11] =================================================
    [22:58:11]
    [22:58:11] =================================================
    [22:58:11] System.Exception: File not found
    [22:58:11] в TDvcK9j62rPRnS3C16AJTcurgjW.LE3ACy0cUrOe12V5JnTEiR cbzcnb(String )
    [22:58:11] в dUMrl8pYRYuNyffzeHdlB6oGOnN.RopPvRaaBVDrD6qTNJpDjF mXo5Q(Dz4E9LPBAjPotiGbjq6rEjaFkEyA )
    [22:58:11] в dUMrl8pYRYuNyffzeHdlB6oGOnN.9VgcPhPLsku3O9xDjuRYGE XJEGb(String )
    [22:58:11] в 3Bua6OK7vC2E7cnFtxIbi6v37iQ.u8ob1Sbg3Afq0k0uFStJaW CxN8mA(String )
    [22:58:11] в u7mRAv4sLKFSZB6M8LZBq0uzDdR.fSrC77ccFy4w5jBYVEvbhd CsYR9A(String , dCkAe0QLYwNICjESJvD8oJuT0KV )
    [22:58:11] =================================================
    [22:58:11] 8>[22:59:05] Server: Cassius Calhoun enters the battle.
    [23:00:05]
    [23:00:05] 8>[23:00:05] battle stop
    [23:00:05] 9>[23:00:05] exit
    [23:00:05] Server: Cassius Calhoun has had enough of this!
    [23:00:05] 10>
    Server started OK and I see it on other PC, and can connect to the server. But...
    And I notice, that those problem with System.Exception: is with old 32 Commander Repka, early worked perfect with 4.312, not now.
    Only I did, install Blitz and Net.Framework 4.71
    System Win7\64
    Any ideas?
    Search for this fact sends to
    https://support.microsoft.com/en-us/...when-the-clien
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  17. #14
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    In some cases, the lack of any answer, in itself, is already the answer.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  18. #15
    Team Fusion 69th_Spiritus's Avatar
    Join Date
    Dec 2013
    Location
    The Demon-Haunted World: Science as a Candle in the Dark
    Posts
    5,212
    Post Thanks / Like
    Blog Entries
    2
    Total Downloaded
    0

    Re: New TFS 4.5 Watchdog

    Sorry this is out of my knowledge area. Hopefully someone can help you out.
    Spiritus

  19. #16
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,321
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: New TFS 4.5 Watchdog

    Quote Originally Posted by Cassius View Post
    Thanks for all information.
    I tryed to lanch 4.5 Watchdog and have that


    Server started OK and I see it on other PC, and can connect to the server. But...
    And I notice, that those problem with System.Exception: is with old 32 Commander Repka, early worked perfect with 4.312, not now.
    Only I did, install Blitz and Net.Framework 4.71
    System Win7\64
    Any ideas?
    Search for this fact sends to
    https://support.microsoft.com/en-us/...when-the-clien
    The errors occur after/while the mission is loading. They are not server errors but mission script errors. "file not found" looks like the script is trying to load/launch a submission & not finding the file. The offending code is probably in the OnBattleInit() or the OnBattleStart() code routines. Either the sub-mission file does not exist, or perhaps the path to sub-mission file in the script is wrong. I'd be looking for a code line that has "postmissionload" in it & check that the file path is on that line.
    Last edited by Salmo; Mar-01-2018 at 22:50.

  20. Likes 69th_Spiritus, Cassius liked this post
  21. #17
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Big thank you.
    I'll try to launch simple mission without submission loading.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  22. #18
    Combat pilot \Hawk/'s Avatar
    Join Date
    Apr 2013
    Location
    South Africa
    Posts
    194
    Post Thanks / Like
    Blog Entries
    2
    Total Downloaded
    581.20 MB

    Re: New TFS 4.5 Watchdog

    Quote Originally Posted by Teetwo View Post
    Thanks for getting this out so fast.

    S!
    Off topic:
    I can't find this on google.
    What does the s! symbol mean?


  23. #19
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Spoiler: 
    Quote Originally Posted by \Hawk/ View Post
    Off topic:
    I can't find this on google.
    What does the s! symbol mean?
    This means a salute.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  24. #20
    Combat pilot \Hawk/'s Avatar
    Join Date
    Apr 2013
    Location
    South Africa
    Posts
    194
    Post Thanks / Like
    Blog Entries
    2
    Total Downloaded
    581.20 MB

    Re: New TFS 4.5 Watchdog

    Quote Originally Posted by Cassius View Post
    Spoiler: 

    This means a salute.
    Aaah! many many thanks and S!


  25. #21
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Thanks for all. It seems that the problem is solved.
    In fact, it was a little strange.
    After a series of unsuccessful attempts, I just checked the local Blitz files in the Steam. The result was that the two files were replaced. One of them is Logo.wmv, I always change it, that would eliminate the annoying splash screen. (I'm thinking of making my own EyeCandy and EarCandy ). What was the other I do not know. But after that, Watchdog created the server and the mission was loaded, but only with the third attempt, the first two resulted in an error related to
    Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, failed.
    I was already ready to stop the process, but suddenly the mission was loaded and it all worked. I did not change anything in the mission script, all the files path, the names of the submissions, etc. remained unchanged. Also, a simple mission created in the full editor was loaded and the server is running.
    Any way S!
    Last edited by Cassius; Mar-03-2018 at 04:43.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  26. #22
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Could someone check the file? Seems it's broken. I can not change and set mission time. Those dialog boxes is not active.
    WDg.jpg
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  27. #23
    ATAG Server Operator ATAG_kiwiflieger's Avatar
    Join Date
    Jan 2017
    Location
    Top of the South, New Zealand
    Posts
    664
    Post Thanks / Like
    Total Downloaded
    77.99 MB

    Re: New TFS 4.5 Watchdog

    I think that relates to old ATAG mission functionality that became unnecessary after scripting changes, I'm not sure if it can be re-enabled though.

    EDIT:
    Quote Originally Posted by TWC_Flug View Post
    After #$&*@#$&* Microsoft forced our Win10 machine to upgrade to Win10 "fall creators update" I'm having trouble getting CloD WatchDog to work.
    Flug, just saw your post on Watchdog. I know this is a few months late, but did you make sure the port specified in the 'Launcher listen port' in the Watchdog settings is the same as the one on the 'IP=' line under [Console] in the confs.ini?
    Last edited by ATAG_kiwiflieger; Dec-28-2018 at 00:49.


    "Speed is life. Altitude is life insurance. Surprise is key."


    AMD FX-4100 3.6GHz (OC to 4.2GHz) ~ 8GB RAM (DDR3 1333MHz) ~ ASUS GTX1050Ti Phoenix 4GB ~ 250GB WD HDD
    T.16000M ~ TWCS Throttle ~ TFRP Pedals ~ DIY IR Headtracker


  28. #24
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    I have no problems with running Watchdog. Its works good enough and I rise the server. But mission time unchanged (300 minutes). Its so long for small dogfight. And I can change the map only manually restarting the server...
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  29. #25
    Supporting Member
    Join Date
    Feb 2015
    Posts
    191
    Post Thanks / Like
    Total Downloaded
    156.90 MB

    Re: New TFS 4.5 Watchdog

    You could try and edit ClodWatchdog.ini, and change the values in there.

    Code:
    [General]
    MissionTimeOut=245
    Now I am not sure whether it will work... I think it will.

    Alteernatively, you could add a line to the file settings.cmd:

    Code:
    timeout 14410 sc exit
    Where the number entered is the number of seconds that will pass before the command 'exit' is being sent to the server, and it will exit.
    (14410 is about 4 hours...)

    Good Luck!
    Happy Member of the DangerDogz ...

  30. #26
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Thank you. I'll try.


    #
    It looks like the changes made in the ini file changed the mission time. At least at the dialog box.
    Watching Watchdog


    #
    No. Seems it does not work.
    Last edited by Cassius; Dec-28-2018 at 12:07.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

  31. #27
    Ace Cassius's Avatar
    Join Date
    Dec 2011
    Posts
    2,650
    Post Thanks / Like
    Total Downloaded
    424.49 MB

    Re: New TFS 4.5 Watchdog

    Quote Originally Posted by ATAG_kiwiflieger View Post
    I think that relates to old ATAG mission functionality that became unnecessary after scripting changes, I'm not sure if it can be re-enabled though.
    ...
    Thank you. I used ATAG missions scripting changes was shared . All works fine. This is the best solution for Watchdog ATAG.
    Xeon X5650 2.67GHz x2 64GB GTX 680 4Gb Acer GN246HL 1920x1080 Win 7 64 / Win 10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •