Fixing a few bugs

I’ve fixed a few bugs so far today and these will be in the next release.

Today:

  • I noticed that on a friend’s PC the magic missile fire effect didn’t show correctly. I think I’ve fixed that.
  • Fixed the raise dead creature wants to shoot (even if it can’t normally shoot).
  • Stopped Shadow Wood Trees from thinking they can be selected to attack magic fires.
  • Fixed slight gfx error on fonts when shown shrunk or enlarged with faint lines.
  • Made magic attack sound effect last 4 times (as in the ST version) instead of only once.
  • Corrected typo spellings of vengeance in sound.ini which caused wrong sounds to be used.
  • Stopped 100% creatures being cast as illusions, and stopped them being disbelieved.

There are a few other bugs that’s been reported that I can’t as yet reproduce..

Nasty bugs

The last demo release included a nasty bug in there which when playing with a manoeuvre check at the start of a turn meant flying creatures could not be moved. After being brought to my attention, I fixed it quickly and released only to find the fix caused AI computer player lockups and incomplete land based movement.

After looking at the original code and the fix I saw the silly mistake I made, and have now fixed the original bug in a new (and better) way. I’ve tested this and so far I can move the flying creatures ok, and I see no more AI lockups after testing through many full AI games (on a fast speed).

In fixing this, I also found a rare AI bug with the new engaged ‘rule’ which meant that occasionally a creature could attack another, fail to kill it, but still be engaged. This confused the AI totally as it knew it had moved and attacked, so kept trying to do something.. I also added another check for the Escape key in this movement loop just in case this happens again. But, so far I can’t find another AI lockup after testing the new fixes.

Next time I should test properly rather than trying to be helpful and fix too quickly. 🙂

The bug fixed version is available from the normal download link…

Chaos Groove Demo no. 6

The latest version is now available to download! Finally you can cast illusions and disbelieve.. 🙂

The AI may still need some tweaking as to how often it casts illusions and disbelieve, but it seems to work alright at the moment.

This new demo also fixes a bug with creatures ‘raised from the dead’ sometimes not being able to move in the following movement phase. It also adds a World Balance text to show how chaotic or lawful the world is (although there is not really anywhere ideal to display it). The game also now tries to give cpu time back to the OS which makes it friendlier with other programs running as well as when running on laptops..

Oh, and I fixed a few extra spaces in some of the wizard names and tweaked a few things.

I’m going to work on the sound system next. 🙂

http://www.reflectedgames.com/ChaosGroove_Demo.zip

Illusions (Part 2)

I now seem to have got the AI players to use Disbelieve and cast creatures as illusions themselves. I had to rewrite some of the AI select spell code to look at more risky spells (as illusions) than they would normally consider. I also made the computer not try to disbelieve creatures that were raised from the dead. However, I still need to playtest the AI & illusion code to make sure this is not unbalanced..

I fixed a bug with raise from the dead not setting the Undead flag.

I also fixed a bug where a creature like a horse could only move one square around a patch of magic fire or gooey blob because it thought it would get engaged.

Based on past experience, these bug fixes may have broken something else, so keep an eye out for any new errors in the next release! 😉

I added a better (and thicker) green and red outline around bonus spells and spells with no space to cast respectively.

If all goes well I will have a new release for you tomorrow.. 🙂

Chaos Groove Demo no. 5

chaosgroove22.png

A new release now I’m slowly getting used to being back in full-time employment. This release fixes some (but not all) of the bugs reported previously and adds a few new features including min/max magic resistance, some magic attack options on a wizard and some Undead options. They seem to work ok, but I’ve not had chance to fully test how the AI uses these options in a game. It might not work that well yet.. so be aware about that.

I’m going to work at adding Illusions next, which will be more complicated but will be good to see in there.

http://www.reflectedgames.com/ChaosGroove_Demo.zip 

Cheers!

Back with some more bug fixes

I’ve got a temp job lined up for Monday, so I can relax a little bit..

I’ve been fixing a few bugs:

  • Dismounting bug now fixed.
  • Mouse button is now checked to see if it’s being held down instead of just clicked.
  • Added check to skip over Independent movement turn if there are no generators or Independent creatures on the board.
  • Made it so pressing Escape exits through a menu gracefully, and also exits the game from the title screen.
  • Added “Magic Resistance Attack On Wizard” options – No Effect, Destroy Strongest Creature, Destroy all wizard creatures. This now works ok for human wizards, but needs more AI testing to make sure AI takes proper advantage..

Chaos Groove Demo no. 3

Demo no. 3 is now available!

Screenshot 18 for Chaos Groove

Chaos Groove Demo

Some more last minute bugs delayed things and I’m sure there are still some nasty ones in there. But I need to release today.. 😉 Just accept that it will have some issues. 🙂

Ok, all the spells are now in there and the AI also uses them all and is in general better. You can now go into magic castles and trees created by an enemy wizard, and this seems to be working ok, but I’ve not had too much time to test.

There are a few more effects in there as well, which help make things look a bit better, although the time between effects and general logic may now be a bit too fast. After testing a lot, you tend to speed things up rather than have events happen slowly. 😛

Still missing are proper engaged to enemy option at the start of a creature’s movement, undead can’t be attacked option and illusions & the disbelieve spell.

Hope there are no serious problems and you enjoy the new demo!