Author Topic: [Resolved] Temporal freeze with a bat  (Read 10768 times)

ushas

  • Hero Member
  • *****
  • Posts: 661
[Resolved] Temporal freeze with a bat
« on: March 17, 2018, 02:35:59 AM »
(v24, linux)

Sam plays a baseball in this game. Several times it happened that he attacks an enemy in front of him and afterwards the game becomes unresponsive to clicks or ending turn commands for several seconds. Then it all resumes all right. At one of such event it resumed with the game telling me he got skill increase and lvl up. Think also recheable tiles highlight got updated after it resumed.

His and target's position after one of the temporal freezes:



Some log lines from the other event (when he got the lvl up):
Code: [Select]
CharMoveScript.AnimateTwoHandedMeleeDraw. Method called
BattleControlScript.DisablePlayerInputForSeconds. Method called
CTHDisplayObjectScript.SetParticleSelectorBusy. METHOD CALLED
MouseTrackerScript.RefreshInput. Method called. Grid position is: (11.0, 16.0)
BattleControlScript.DetermineRightClickAction. Right click.
BattleControlScript.DisablePlayerInput. Method called
CharacterMainScript.HideReachableTiles. Method called.
CharacterMovementScript.InvokeSetAimingAnimationParameterFalse. Method called
CTHDisplayObjectScript.SetParticleSelectorBusy. METHOD CALLED
BCS.AlertSurroundingEnemies: Criminal at (11.0, 16.0) alerted
BattleControlScript.AlertSurroundingEnemies. Thomas De Palma is not on Sam Contino's adjacent enemy list. Number of enemies on list: 1
CharacterMovementScript.HandleReturnOfControl. Method called
CharacterMovementScript.HandleMovement: Player has attack order True
CharacterMainScript.SetupMeleeAttack. attacker is: Sam Contino
Item.ApplyDeteriorationFromUse. Method called. Item condition %: 0.883333
CharMainScript.SetupMeleeAttack. Attack damage is: 14.42767 defender HP: 21
Item.ReturnDamageAfterResistance. Damage is: 14.42767 / damage type: 0
Item.ReturnDamageAfterResistance. Start Damage: 14.42767 /armour condition %: 1 /absorbed 0 /resisted: 0 /damage applied: 14.42767
CharMainScript.SetupMeleeAttack. Is knocked out: False
CharacterMainScript.SetupMeleeAttack. Defender animation type is: 0 attacker animation type is: 3
CharacterMainScript.StartMeleeAttack. Is overwatch: False / is AOO: False attacker: Sam Contino is knockout: False
CTHDisplayObjectScript.SetParticleSelectorBusy. METHOD CALLED
IKScript.HandleTwoHandedMeleeIK. Method called.
CharacterMainScript.StartMeleeAttack. Method called. Is overwatch attack: False / is AOO: False attacker: Sam Contino
CharacterMainScript.StartMeleeAttack. Method called. Playing attack animation first. Animation duration: 13 timing offset: 0.3 ik enable delay: 0.2 targetAnimationEndsTime: 12.7
CharMoveScript.AnimateMeleeAttack. Animation name is: 2HMelee.2HMeleeHighRightSwing attack succeeds: True impact time: 0.5
BattleControlAudio.ReturnRandomSoundEffectFromList. Position is: 0
CharacterMainScript.StartMeleeAttack. ik enable delay: 0.2 animation duration: 13
CharacterMainScript.StartMeleeAttack. Applied status effect is: 0
CharacterMainScript.ReduceHP. Method called. is overwatch: False /is AOO: Falsecharacter: Thomas De Palma
Item.ReturnDamageAfterResistance. Damage is: 14.42767 / damage type: 0
Item.ReturnDamageAfterResistance. Start Damage: 14.42767 /armour condition %: 1 /absorbed 0 /resisted: 0 /damage applied: 14.42767
Item.ApplyDamageToArmour. Method called damage: 14.42767 /armour damage level: 3 /is crit:False /wrecking ball: False targetted body: False
CharMainScript.ReduceHP. This character is in combat. Updating combatant icons
CombatQueueManager.UpdateCombatantIcon. Method called for character ID: 6 health is: 6.572327
CharacterMainScript.ReduceHP. This character HP current: 6.572327
CharacterMainScript.ReduceHP. HP for Thomas De Palma is > 0
CharMainScript.ReduceHP. Health for Thomas De Palma reduced by 14.42767
« Last Edit: March 28, 2018, 04:30:12 PM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Temporal freeze with a bat
« Reply #1 on: March 21, 2018, 12:15:29 PM »
Will use a baseball bat as much as possible when testing V25. Can't see anything in the log which might suggest a problem. Quite a lot of processor activity happens when characters get a level up, so just to eliminate a possibility (and based on your post, this doesn't seem like a runner) does this hang occur when you haven't levelled up?

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: Temporal freeze with a bat
« Reply #2 on: March 22, 2018, 04:25:25 PM »
Yes. Recalling leveling only once, while experienced the temporal hang at least three or four times. Sorry wasn't exactly clear about that. (not sure about the sole skill increase though)

To put it into perspective. There is often a short period after an attack when the game won't listen to orders yet. I see myself click and try end turn too early and then have to do it again. What reporting here, albeit it feels the same, is that it lasts much longer than usually. To the point I thought the game is frozen. But then it resumes all right.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Check During Gen Testing] Temporal freeze with a bat
« Reply #3 on: March 28, 2018, 04:29:55 PM »
A . somehow got deleted, making a delay of 1.3 a delay of 13 seconds.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Temporal freeze with a bat
« Reply #4 on: March 29, 2018, 12:50:30 PM »
Oh, a typo? That's a gentlebug!