Jump to content


Photo

How to gather clues when debugging stuttering


  • Please log in to reply
25 replies to this topic

#21 Wardibald

Wardibald
  • Member
  • 55 posts

Posted 25 January 2010 - 02:22 PM

Thanks for the fast reply

I think I identified the blocks now. Now to fixing it without breaking too much, I guess :unsure:
Horum omnium fortissimi sunt Belgae - J. Caesar, De Bello Gallico

#22 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 25 January 2010 - 02:22 PM

Ha-ha! That's exactly what I've been talking about!

I'm getting script blocks from 1141 to 1144 firing off endlessly, but I cannot find what that is in the script.

I've counted the IF's and END's on a hunch, but came up short. Only 1115 of each one.

That's because this utility counts not IF-END blocks, but instead RESPONSE #X ones, and one IF-END may contain more than one RESPONSE:

IF
  Trigger()
THEN
  RESPONSE #100
    Action()
  RESPONSE #100
    Action()
END
As Bigg says, search for the 'block 1141' in decompiled file.

PS Whoah, being alte as always.

Edited by GeN1e, 25 January 2010 - 02:24 PM.

Retired from modding.


#23 Wardibald

Wardibald
  • Member
  • 55 posts

Posted 26 January 2010 - 06:01 AM

Hi again,


Genie - You were about as late as Powell in a sprint with Bolt.

So now I notice I might indeed have known what to count, based on what you guys have been talking about. But then, when I first came strolling into this thread, I had no idea how to create a tp2, or most anything else mentioned in the minimum brain requirements.

I have another problem though..

I was able to halt the aforementioned block wildgrowth, but without an improvement on my stutterproblem.
On searching a bit (through Google - lol), I found some more threads on stutterproblems.

First I made the correction Jarno Mikkola suggested in this thread
www.shsforums.net/topic/41762-another-stutter-thread-please-help/

But without new information. I then tried the "fake baldur.bcs"-approach suggested by Himself:
www.shsforums.net/index.php?showtopic=21429&hl=stutter+bug

That cleared it all up. But cleaning up baldur.bcs seems to be quite the challenge even for experienced modders.
I'll probably start a bit of trial and error, but that's a long way to go in a hornet's nest.

So I thought I'd ask.

Also: if baldur.bcs seems to be the problem yet, how might this mod actually not notice it?
My stuttering seems to have everything to be a script stutter, no partymembers lagging, persists without inventory or characters and so on.

I only inserted my baldur.bcs file in this mod, as pretty much everything else is biffed in.

P.S.
And if I shouldn't post my problem in this tutorial, please say so. Just thought this might be relevant.
Horum omnium fortissimi sunt Belgae - J. Caesar, De Bello Gallico

#24 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 26 January 2010 - 11:15 AM

I think you should post the repeating blocks from baldur.bcs - that way, somebody who is familiar with the mods can identify the problem from you.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#25 Wardibald

Wardibald
  • Member
  • 55 posts

Posted 26 January 2010 - 12:56 PM

Seems I wasn't clear enough on that.

I no longer detect any repeating blocks with this code. But the stutter hasn't gone away with it.

In any case, I cannot seem to uninstall this anymore, so I might have hosed my install anyway :/
Nothing with your code, I was probably just not careful with some things. Don't know what though.
Horum omnium fortissimi sunt Belgae - J. Caesar, De Bello Gallico

#26 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 26 January 2010 - 01:37 PM

But the stutter hasn't gone away with it.

Mini infopack to avoid lags v1.7.6, on 02 January 2010 - 13:00 PM...

Deactivated account. The user today is known as The Imp.