Would you like to react to this message? Create an account in a few clicks or log in to continue.

The privy forum for sub-mods of THIRD AGE TOTAL WAR; 'Divide & Conquer' and 'Ruins of Arnor' ++ team chat/editing/discussion zone++


+2
Renown
Archaon
6 posters

    .cfg file for most detailed error logging

    Archaon
    Archaon
    Possessor of the One Ring
    Possessor of the One Ring


    Gender : Male Posts : 890
    Join date : 2009-06-16
    Age : 39
    Location : Sydney
    Capricorn
    Rat

    .cfg file for most detailed error logging Empty .cfg file for most detailed error logging

    Post  Archaon Tue Jun 16, 2009 7:46 pm

    This is my setup;
    Code:

    [log]
    to=logs/DAC.system.log.txt
    level =ai.ltgd trace
    level =game.script* trace
    level = * trace
    file = game.script* logs/DAC.script.log.txt
    file = ai.ltgd logs/DAC.ai.log.txt

    [ai]
    ltgd_logging = true
    however it has very complicated output and I am able to read most of it but Renown prefers this setup;
    Code:

    [log]
    to=logs/DAC.system.log.txt
    level = * error

    It is your choice Smile
    avatar
    Renown
    Exodus Executive Producer
    Exodus Executive Producer


    Posts : 291
    Join date : 2009-06-16

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Renown Tue Jun 16, 2009 7:58 pm

    * trace is hard to read for most people.

    AI/Script is unncessary (as if there are issues normally they will be caught before a release)

    If you use anything ... use this FIRST

    level = * error

    If that gives you nothing... THEN use this

    level = * trace

    Or throw em together..
    Archaon
    Archaon
    Possessor of the One Ring
    Possessor of the One Ring


    Gender : Male Posts : 890
    Join date : 2009-06-16
    Age : 39
    Location : Sydney
    Capricorn
    Rat

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Archaon Tue Jun 16, 2009 8:02 pm

    couldn't have explained it better!
    avatar
    axnsan
    account inactive
    account inactive


    Gender : Male Posts : 85
    Join date : 2009-06-16
    Age : 34
    Location : Timisoara
    Gemini
    Snake

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  axnsan Wed Jun 17, 2009 2:41 am

    it didn't cause a crash but it seems something's wrong

    Spoiler:


    line 5605 is empty
    Archaon
    Archaon
    Possessor of the One Ring
    Possessor of the One Ring


    Gender : Male Posts : 890
    Join date : 2009-06-16
    Age : 39
    Location : Sydney
    Capricorn
    Rat

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Archaon Wed Jun 17, 2009 5:23 am

    this is about the only 'fight' Renown and I have had.. lol i find it amusing you brought it up (it means i am not crazy).

    Yeah there is an issue, no it doesn't cause a crash.

    the argument is, does the games engine continue to parse scripts that involve the variables of this error?

    i say no, the engine skips past the variable of these errors for all future scripts run, not including these variables however continuing the script.

    classic example, Renown had a error in the descr_strat.txt in the rebels section, the game still runs with every variable above the error line in the descr_strat BUT the lines below the error were skipped, resulting in armies not appearing, diplomacy settings not appearing, forts and watchtowers not on the map.. But the game still started and played without any apparent issue.

    now, i am trying to point out that, we may not know what no longer is recognized by the games processes, i.e. what variables would be included in the processes the engine runs, but we do know that as long as this error is logged, the engine is skipping SOMETHING, so we cannot ever claim to be out of beta stages until our error logging is clean.

    do you agree?
    avatar
    axnsan
    account inactive
    account inactive


    Gender : Male Posts : 85
    Join date : 2009-06-16
    Age : 34
    Location : Timisoara
    Gemini
    Snake

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  axnsan Wed Jun 17, 2009 5:41 am

    as long as the game runs fine and nothing is skipped, that error doesn't bother me

    what bothers me is that you removed unique models for several settlements Sad
    Archaon
    Archaon
    Possessor of the One Ring
    Possessor of the One Ring


    Gender : Male Posts : 890
    Join date : 2009-06-16
    Age : 39
    Location : Sydney
    Capricorn
    Rat

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Archaon Wed Jun 17, 2009 6:00 am

    with the new faction slots being used, KK's method of placing the models is no longer available...
    We now need to make our own method of placing them and Renown has this in motion for BETA 4 Wink
    uanime5
    uanime5
    Master Artificer / Scripter
    Master Artificer / Scripter


    Gender : Male Posts : 16
    Join date : 2009-08-20
    Age : 39
    Gemini
    Rat

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  uanime5 Thu Aug 20, 2009 11:35 am

    Renown wrote:* trace is hard to read for most people.

    AI/Script is unncessary (as if there are issues normally they will be caught before a release)

    If you use anything ... use this FIRST

    level = * error

    If that gives you nothing... THEN use this

    level = * trace

    Or throw em together..

    Wouldn't it be better to use 'level=*script* trace' between *error and *trace as it gives more information than *error but it easieer to rewad than *trace.
    Archaon
    Archaon
    Possessor of the One Ring
    Possessor of the One Ring


    Gender : Male Posts : 890
    Join date : 2009-06-16
    Age : 39
    Location : Sydney
    Capricorn
    Rat

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Archaon Fri Aug 21, 2009 3:01 am

    I prefer trace as i learnt off it and know it best - Renown prefers error as he gets a simple answer or nothing.

    I haven't used script before but i will just to see what it does.

    Thx!
    Bela
    Bela
    Full-time Team member
    Full-time Team member


    Gender : Male Posts : 676
    Join date : 2009-10-02
    Age : 43
    Location : Budapest, Hungary
    Comments : what is the malted liquor, what gets you drunker quicker,
    what comes in bottles or in cans…
    BEER!

    Leo
    Monkey

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Bela Mon Feb 14, 2011 7:32 am

    Hello folks,


    In order to get the most detailed log reports during your game (and that cursed CTDs), you should

    1. open your .cfg file in your Third Age folder with notepad
    2. search for the part which starts with [log]
    (won't be that hard, it's almost at the top)
    3. change it to the following:


    [log]
    to=logs/system.log.txt
    level =ai.ltgd trace
    level =game.script* trace
    level = * trace
    file = game.script* logs/script.log.txt
    file = ai.ltgd logs/ai.log.txt

    [ai]

    Save, exit.

    With this small change, you will have three logs created in your Medieval II\logs folder. If you have any CTDs (or run the game), at least the system.log and the script.log will have several entries.

    Should you have and CTDs or any weird problems in your game, just pack all the logs folder and pass it to me, I will have a look at that and will try to advise you about the solution Very Happy
    Tokus*Maximus
    Tokus*Maximus
    No job too dangerous...!
    No job too dangerous...!


    Gender : Male Posts : 764
    Join date : 2009-06-16
    Age : 55
    Location : ...somewhere in the Shire, by a cosy fire.
    Comments : Smoother than a velvet penguin!
    Libra
    Monkey

    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Tokus*Maximus Mon Feb 14, 2011 8:10 am

    Bela wrote:Hello folks,


    In order to get the most detailed log reports during your game (and that cursed CTDs), you should

    1. open your .cfg file in your Third Age folder with notepad
    2. search for the part which starts with [log]
    (won't be that hard, it's almost at the top)
    3. change it to the following:


    [log]
    to=logs/system.log.txt
    level =ai.ltgd trace
    level =game.script* trace
    level = * trace
    file = game.script* logs/script.log.txt
    file = ai.ltgd logs/ai.log.txt

    [ai]

    Save, exit.

    With this small change, you will have three logs created in your Medieval II\logs folder. If you have any CTDs (or run the game), at least the system.log and the script.log will have several entries.

    Should you have and CTDs or any weird problems in your game, just pack all the logs folder and pass it to me, I will have a look at that and will try to advise you about the solution Very Happy

    Thank you very very much Bela for your detailed study and plan of action to trace logs. It is clear and straightforward. I'll pay heed to this when trying that TATW mod you all may have heard of.

    -- Tok

    Sponsored content


    .cfg file for most detailed error logging Empty Re: .cfg file for most detailed error logging

    Post  Sponsored content


      Current date/time is Thu Mar 28, 2024 4:44 am