Register Modifications Contact Us

Titan Quest


Go Back   Titan Quest Forums > Developer Discussions > Suggestions for Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



If you are having problems logging in, send a mail to webmaster@titanquest.net and we'll try to sort something out.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007, 01:25 PM
KalTorak
[User Offline]
Traveler
 
Join Date: Aug 2007
Posts: 24
Default Combat log

Having a combat log and beeing able to check for how much you are hitting and beeing hit would be great.
Reply With Quote
  #2 (permalink)  
Old 08-25-2007, 09:59 AM
Wookiegirl's Avatar
Wookiegirl
[User Offline]
Demi God
 
Join Date: May 2007
Location: Chicago, Illinois, USA
Posts: 1,420
Default Re: Combat log

What exactly is a combat log?
__________________


Originally Posted by Potpie
Better to be alone than committed to mediocrity
Reply With Quote
  #3 (permalink)  
Old 08-26-2007, 10:59 PM
Gene's Avatar
Gene
[User Offline]
Destroyer of Subforums


 
Join Date: Jun 2006
Location: New Carlisle, Indiana
Posts: 5,146
Default Re: Combat log

Think of it as a running text file that keeps track of when you hit, miss, and deal damage.

-Gene
__________________
If you have any forum software related questions send a PM my way.

If you have any forum hardware related questions send LANLocked a PM (alas he has more access in that department than I do - which is probably a good thing).
Reply With Quote
  #4 (permalink)  
Old 08-26-2007, 11:25 PM
Terca's Avatar
Terca
[User Offline]
Elemental
 
Join Date: Dec 2006
Location: Loki Land
Posts: 724
Default Re: Combat log

With some mods you can enable "show all damage" which will at least show you all the damage you do, no logging though.
Reply With Quote
  #5 (permalink)  
Old 09-01-2007, 10:53 PM
jdoe407
[User Offline]
Traveler
 
Join Date: Oct 2006
Posts: 26
Default Re: Combat log

The game already has logging in the background, but you just can't access it. For a quick peek you could grab the rotation mod in this thread and set EnableLogging = 1 in the TitanCamModIT.ini. It will most likely make the game run slower since most of the actions in the game will be logged to a text file, which will get huge in a short amount of gameplay. To get the stats to log as well, you would need to exit the game with alt+f4. It kind of looks like this

Code:
Play Statistics:
    Play Time:           1108 min 33 sec
    Total Score:         6134866
    Number of deaths:    1
    Number of kills:     11904
    Health potions used: 893
    Mana potions used:   79
    Max. level achieved: 36

    Damage per second: 185.38

    Skills Used:
        Records\Skills\Defensive\BattleAwareness.dbr : 1
        Records\XPack\Skills\Dream\PsionicTouch.dbr : 2
    Life healed: 0.00
    Shield block chance    : 39.00
    Kills per second (whole game): 0.18
    Average hits per kill: 3.50
    Damage per second (whole game, by type)
         CombatAttributeType::CombatAttributeType_PhysicalPierce 0.01
         CombatAttributeType::CombatAttributeType_Pierce 0.00
         CombatAttributeType::CombatAttributeType_Poison 0.00
         CombatAttributeType::CombatAttributeType_ManaLeach 0.00

  Damage Totals

    Damage Inflicted (by type)
         CombatAttributeType::CombatAttributeType_PhysicalPierce 859.64
         CombatAttributeType::CombatAttributeType_Pierce 19.55
         CombatAttributeType::CombatAttributeType_Poison 13.69
         CombatAttributeType::CombatAttributeType_ManaLeach 34.00
    Damage Inflicted (total)   926.87

    Damage Received (by type)
    Damage Received (total)   0.00
    Damage Reduction (by type)
         Blocked 142.34
    Damage Reduction (total)   142.34

  Experience
         Total Gained 591
         Total Lost   0
         Gained per second 0.01
         Lost per second   0.00

  Life healed (by type)
         Unknown 0.00
         Regeneration 0.00

  Mana used (total):      0.00
  Mana used (per second): 0.00

  Critical hits inflicted: 1290
  Critical hits received:  0
   Monster misses: 0
   Player misses:  0
and each combat event will be logged like the following
Code:
combat

[

    attackerName = Records/XPack/Creatures/PC/MalePC01.dbr

    attackerID = 5830

    defenderName = Records\Creature\Monster\RumorMonsters\Greece\QS_Satyr_Torch_01.dbr

    defenderID = 25856

    combatType = Probability Attack

    PTH Offensive Ability 321.099976

    PTH Defensive Ability 370.000000

    PTH 95.109993

    PTH 95.109993, Rand Seed 0.865934

    PTH Random Number 85.727455

    PTH Modifier Equation result 0.925550

    Total Damage:  Absolute (520.433411), Over Time (23.842501)
    protection = 84.000000

    protectionAbsorption = 55.439999

    absorption = 0.660000

    bonus = 0.000000

    modified protection = 84.000000

    modified absorption = 0.660000

^y    Damage 6.514020 to Defender 0x6500

^y    Damage 9.775001 to Defender 0x6500

    protection = 84.000000

    protectionAbsorption = 55.439999

    absorption = 0.660000

    bonus = 0.000000

    modified protection = 84.000000

    modified absorption = 0.660000

^y    Damage 407.321198 to Defender 0x6500

    protection = 84.000000

    protectionAbsorption = 55.439999

    absorption = 0.660000

    bonus = 0.000000

    modified protection = 84.000000

    modified absorption = 0.660000

^y    Damage 9.771031 to Defender 0x6500

    ^bRacial Bonus Damage:  (0.000000)
    criticalStrike = 0.925550

    regionHit = Torso



]

^y    Damage 0.684250 to Defender 0x6500

^y    Damage 0.684250 to Defender 0x6500

^y    Damage 0.684250 to Defender 0x6500

combat

[

    attackerName = Records\Creature\Monster\RumorMonsters\Greece\QS_Satyr_Torch_01.dbr

    attackerID = 25856

    defenderName = Records/XPack/Creatures/PC/MalePC01.dbr

    defenderID = 5830

    combatType = Probability Attack

    PTH Offensive Ability 345.000000

    PTH Defensive Ability 547.299988

    PTH 79.770004

    PTH 79.770004, Rand Seed 0.970411

    PTH Random Number 96.070663

    PTH Missed Hit

    Miss occured

]
Reply With Quote
  #6 (permalink)  
Old 02-04-2008, 10:52 PM
Spyrijus's Avatar
Spyrijus
[User Offline]
Citizen
 
Join Date: Jan 2008
Location: Lithuania; Sostine Shilute
Posts: 57
Default Re: Combat log

Don't you think this is too much to see how much do you hit you have to quit the game? i guess it would be fine with not big window where you can see how much do you hit, how much you get dmg, what kind of dmg hited you, how much % absorbed by shield, how much exp gained, how much potion healed/gave mana, to see when you miss, when you dodge, when monster miss and retaliation dmg WITHOUT exiting the game...
Don't you think so? jus't a small window in a left bottom corner which could be turned off in the options menu if it disturbs to see a weak monster?
__________________
---It's Good To Be Bad---
Quote:
I wasn't alone. I'm telling you I wasn't there alone! There were hundreds of monsters around me. And yes - THEY ate that f****ing pie! It was lucky I was able to taste it.
Quote:
Repeat me once more - why did you bring back empty plate?
Quote:
I want to eat it again...
Reply With Quote
  #7 (permalink)  
Old 02-04-2008, 10:59 PM
SoulSeekkor's Avatar
SoulSeekkor
[User Offline]
Demi God
 
Join Date: Jul 2006
Posts: 1,499
Default Re: Combat log

It would be a bit of a project, but a program could be written to probably view this "debug" information during gameplay, maybe even keep track of it over time, etc.

I might have come across a way to be able to even attach this information to the character file for viewing in the Defiler, just a possibility...DPS, chance to block, etc. would be nice additions.

I'm looking into a way to possibly speed up the loading of characters in the Defiler right now, just learned something interesting today that I never knew.

Soul
__________________
___----************----____
New Website! http://tqdefiler.com
----___________________----


Maker of the Defiler/Defiler.NET/Portable. Get more information here!

(Email Me!)

"I hate it when people quote themselves in their signatures." - Me
Reply With Quote
Reply


Thread Tools
Display Modes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:31 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Titan Quest Forums are not affiliated with THQ/Iron Lore.