Where do files get written to? menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Where do Hud TextLog files get written to?

    I am driving myself nuts trying to figure out if my efforts to write data to a file are even working.. because i am not sure WHERE the file might be being generated.

    I get no exceptions on compile...


    I get the screen output fine....

    I just don't know IF and WHERE the text file is being generated.



    Code:
            public void PaintWorld(WorldLayer layer)
            {
                foreach (MyMonster monster in MonstersToWatch)
                { var candidates = Hud.Game.Monsters.Where(m => (uint) m.SnoActor.Sno == monster.Sno && !monster.MaxHitpoints.Contains(m.MaxHealth));
                    if (candidates.Count() != 0)
                    {
                        foreach (IMonster candidate in candidates)
                        {
                            Hud.RunOnPlugin<PopupNotifications>(plugin =>
                            {
                                plugin.Show(monster.Name, monster.Title, monster.Duration, monster.Hint);
                            });
                            
                           var MonData ="ID: " + monster.Name + "Name: " + monster.Title + "";
                           Hud.TextLog.Log(ConfigFileName, MonData, false, false);
                           //Hud.TextLog.Log(ConfigFileName, MonData, true, true);
                            
                            monster.MaxHitpoints.Add(candidate.MaxHealth);
                        }
                    }
                }
    I'm trying to find files from other .cs files in turbohud that use the Hud.TextLog function ... but not helping..
    Last edited by LazyDruid; 12-10-2020 at 09:57 AM. Reason: update title

    Where do files get written to?
  2. #2
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    254/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Into the ".. \ <TurboHUD-folder> \ logs" folder.
    "When you reach the top, get ready to drop!"

  3. #3
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BeeAntOS View Post
    Into the ".. \ <TurboHUD-folder> \ logs" folder.
    Well.. its definately not there... so i must be doing something wrong......

    I just want to dump the output to a darn file....


    Whats the syntax for it anyway ... i don't know what the config options are.. i've searched for documentation.. to no avail


    Actually... to think of it.. NONE of the plugins that i have that use Hud.TextLog.Log function create any files in the LOGS folder.

    Thud is started as admin...
    Last edited by LazyDruid; 12-10-2020 at 11:01 AM.

  4. #4
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok.. i'm specifying the name of the file TEST.. and dumping the data... but the file never gets created....

    if there some global config for Thud that would prevent it from creating files from the script?

    Code:
            public void PaintWorld(WorldLayer layer)
            {
                foreach (MyMonster monster in MonstersToWatch)
                { var candidates = Hud.Game.Monsters.Where(m => (uint) m.SnoActor.Sno == monster.Sno && !monster.MaxHitpoints.Contains(m.MaxHealth));
                    if (candidates.Count() != 0)
                    {
                        foreach (IMonster candidate in candidates)
                        {
                            Hud.RunOnPlugin<PopupNotifications>(plugin =>
                            {
                                plugin.Show(monster.Name, monster.Title, monster.Duration, monster.Hint);
        
                                Hud.TextLog.Log("TEST", (monster.Name + " " + monster.Title + " " +  monster.Duration + " " +  monster.Hint), true, true);
                                
                            });
                            monster.MaxHitpoints.Add(candidate.MaxHealth);
                        }
                    }
                }
    
            }
    Last edited by LazyDruid; 12-10-2020 at 11:34 AM.

  5. #5
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is there a specific library im supposed to be using that i'm not currently in the script ?????

    Currently using ...

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using Turbo.Plugins.Default;

  6. #6
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Crud...

    20.8.19.0 STABLE for Diablo III 2.6.9.68722 (v9.2)
    - changed: IController.Log and IController.Debug no longer works in special areas and above T1 difficulty

    Think this might be the reason... will test it on a low level and see what happens.

    Update:
    Nope... no log file is ever created ....
    None of the plugins that are using the log function are working... even in normal or master mode.

Similar Threads

  1. [Question] Where do I get a parsed root file?
    By Wienerman in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-11-2017, 11:40 AM
  2. Replies: 2
    Last Post: 02-23-2009, 10:29 PM
  3. How do I get access to the trading forums?
    By whisperofwisps in forum World of Warcraft General
    Replies: 2
    Last Post: 02-05-2008, 01:02 PM
  4. Where Do You Get Nightblade!!!
    By Arrobery in forum World of Warcraft General
    Replies: 11
    Last Post: 11-20-2007, 11:26 AM
  5. how do i get accses to "WTS WTT WTB forums"
    By inkanto in forum World of Warcraft General
    Replies: 9
    Last Post: 10-22-2007, 12:26 AM
All times are GMT -5. The time now is 08:42 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search