Find Once, Fix Everywhere

Just got a bug report from QA that a scene threw up an error. It was pretty easy to see that it couldn’t find a friendly clan to visit you.

That turned out to have happened because of using the debug tools to have everyone feuding (to make it easy to test resolving feuds). This is an unlikely situation, but it’s certainly possible to get a lot of clans to hate you, if you play the right (wrong?) way. So it’s a valid bug, and I fixed it.

Given how many scenes are in the game, I figure any bug is probably somewhere else as well. So figured I should go back to our automated tests and run them in their nonstandard configurations. I don’t usually do this, partly because they’re mutually exclusive, but also because some of them can take a long time (in fact, as I type this I’m running one … that just finished in just under 26 minutes).

But sure enough, enabling TEST_ALL_FEUDING found several scenes that would have trouble. It also gave a lot of false positives, since the brute force testing ignores scene conditions. (Scenes almost always have conditions that prevent them from being randomly chosen when they’re not appropriate.)

So today I’ve been dealing with that, and also TEST_NO_CHIEF, TEST_NO_GOODS, TEST_NO_RING, TEST_NO_WARRIORS, TEST_ALL_HATE, and TEST_Q_BRANCHES.

Author: David

Creator of Six Ages and King of Dragon Pass

5 thoughts on “Find Once, Fix Everywhere”

  1. There’s just so much “under the hood” of these games that’s taken for granted by us players. Kudos for your thoroughness, David. Murphy’s law applies to Glorantha as well ; )

  2. Thanks for all the hard work, David! This game’s gonna be amazing

  3. I’ve no particular thing to say right now but I’m writing this comment because I’ve to point out that I enjoy every single update about Six Ages 🙂 I’ve been playing KODP since its release and Six Ages is the second most amazing thing to me, coming after seeing KODP being ported to iOS. Oh also, please bring clan territories back 🙂

  4. I love the titles of the tests. They all sound so…dismal, like TEST_ALL_HATE.

Comments are closed.