"default/aisettler" sanity checks

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
FriendAtArms
Posts: 49
Joined: Thu Apr 16, 2026 9:35 pm

"default/aisettler" sanity checks

Post by FriendAtArms »

It's been a couple of months, and my ruleset is chugging along as I find time for it. Every couple of test games, this message appears about Turn 20 or so:
in cityresult_fill() [../../../../../ai/default/aisettler.c::452]: assertion 'result->remaining >= 0' failed.
This isn't the first time I've had a "default/aisettler" problem, but it is the first time it's happened in v3.0. And it doesn't happen with every test. Can anyone figure out what's gone wrong?
cazfi
Elite
Posts: 3551
Joined: Tue Jan 29, 2013 6:54 pm

Re: "default/aisettler" sanity checks

Post by cazfi »

Can you provide the ruleset for me to debug this?
FriendAtArms
Posts: 49
Joined: Thu Apr 16, 2026 9:35 pm

Re: "default/aisettler" sanity checks

Post by FriendAtArms »

I've been pushing ahead with other aspects of the ruleset, so it's not going to work for...probably the next few weeks. Buildings with effects I haven't written yet, units with no sprites, sprites with no units, etc. When I've got a testable version again, I'll post it. (It'll still be incomplete of course; this is really turning into a total overhaul as much as an ordinary ruleset.)
Post Reply