PaladinWhite
Member
Running r18059 and a variety of previous revisions, my copy of Mafia has become much slower at running turns over the last week or so. It's most pronounced during combat - with a notable delay (maybe half a second) between each round - but I don't think the issue is combat-specific, just that it's more noticeable then, since there are multiple client-server interactions with no user interruption. Even things like skill-casting or inventory manipulation seem to be significantly slower than before. Switching from a combat script to a simple Custom Combat suite (eg. 1. attack) doesn't make much of a difference (assuming that the fight still takes the same number of rounds). I also tried disabling my pre-adventure and post-adventure scripts, but no luck there, either.
The issue does not seem to occur when playing outside of Mafia. I replicated my same simple combat strategy as a Combat Macro, and it runs eg. 10 rounds in <1 second, where Mafia might take ~5 seconds to do the same thing.
Is there a good way to debug what Mafia is taking so long to process? Debug logs don't seem to provide enough granularity of timestamping.
The issue does not seem to occur when playing outside of Mafia. I replicated my same simple combat strategy as a Combat Macro, and it runs eg. 10 rounds in <1 second, where Mafia might take ~5 seconds to do the same thing.
Is there a good way to debug what Mafia is taking so long to process? Debug logs don't seem to provide enough granularity of timestamping.