As a French person I feel like it's my duty to explain strikes to you. - AdrienIer

Create an account  

 
Caster of Magic II Bug Reports!

Version 1.00.06

125) (again)
World creation crash. Dunno if next version will fix this, but version 1.00.06 sure didn't.

Difficulty: Advanced. Opponents: 1. Game size: minimal. Continents: Islands. Magic: 1. Climate: Fair. Minerals: Rich.
Name: [Empty]. Wizard: Random. Race: Random. Color: Random.
All score modifiers + World Equalizer.

2 out of 20 games crashed.
https://www.dropbox.com/s/m1f7r7c6h0r6s8...1.png?dl=0
https://www.dropbox.com/s/24r74kl6e3qgun...2.png?dl=0
The game still crashes every now and then during world creation.. But I no longer get the usual "An unhandled exception occured. please report this bug to the developers. (...)" pop-up anymore.
Now the game window just freezes and it says that the game "dosn't respond" in the top of the game.. (Top of image. "Caster of Magic for Windows (svarer ikke)". Meaning that it is unresponsive).
Tried waitning for 15 min to see if it was just slow, no such luck..

On some of the games that was working it crashed when trying to change plane.
https://www.dropbox.com/s/2dn4049gbhh42a...e.png?dl=0
I fianlly got a save of this crash. (Bit annoying that autosave dosn't make a save right arfter creation). Game crash every time I try to change plane with the [Plane] buttom.
https://www.dropbox.com/s/xxw3rztd4sk0gp...2.png?dl=0
https://www.dropbox.com/s/digkg3a891ebpi...h.sav?dl=0
I managed to get onto the plane by planeshifting a swordman, can change back to Myrran just fine but still crash when I change to Arcanus again.
Looks like the world is 9x10 squares big, that is quite a bit smaller than normal..
https://www.dropbox.com/s/emzv40u5g0darv...2.png?dl=0
That is a very tiny world alright.. Can see everything except for the southpole at once. (Same Temple at both side of the world)

132)
Score Modifiers; Against The Worlds. I am at war with myself? Yay! (Also Rjak is allied with himself).
https://www.dropbox.com/s/2cxcu1auujrnqw...f.mp4?dl=0

133)
Sandbox mode vs Against The Worlds. Shouldn't these kinda be mutually exclusive?
Choosing both just gives me an extra 0.4x multiplyer to my score, dosn't seem to help me at all.
Reply

Version 1.01.00
Because of the new version I just retested 125 and 132-133. Seems it is unchanged from previous version.

125) (again)
Creation crash 3 out of 20 games
Most games that actually gets created crash when clicking on [Plane] buttom. Here are just a few saves. Actually havn't found any that works yet..
https://www.dropbox.com/s/88sa5ln8a5k1go...1.sav?dl=0
https://www.dropbox.com/s/722b7rjumxebnn...2.sav?dl=0
https://www.dropbox.com/s/mntmpkwfk394dq...3.sav?dl=0
https://www.dropbox.com/s/s69mthagesl29v...4.sav?dl=0
https://www.dropbox.com/s/8idb37bwwij2ei...5.sav?dl=0
Reply

125. There should be debug mode logging for world generation now. Enable debug mode and you should see which part is crashing in the log file. (unfortunately, writing to the file is cached so if it freezes the contents of the file might stay obsolete for a while)
Reply

Plane button : It's crashing on planes with less than 11 tiles vertically because it sets the Y coordinate shown to a maximum of YSIZE-10. Not a map generating problem, it's a problem with the Plane button itself. I'll add a "but a minmum of 1" there.
Reply

125) (again)
Plane button: I was expecting that the problem with the savegames was something with coordinates for the [Plane] button.

But there is still a world creation problem here.
Here are the last lines from 5 logfiles where the game crash before start..

Arcanus Pick Treasure Total =0
My

Arcanus Pick Treasure Total =0
Myrran Pick Treasure Total =

Arcanus Pick Treasure Total =0
Myrran Pick Treasure Total =0
Arcanus Vial Treasure Total =1
Myrran Vial Treasure Total

Arcanus Pick Treasure Total =0
Myrran Pick Treasure T

Arcanus Pick Treasure Total =0
Myrran Pick Treasure T

Is it a treasure problem? Seems suspicious that it is set to zero in all of them?
But I had several working games where Arcanus or Myrran was set to zero.. So.. Dunno..

Full logfiles for the 5 crashs here. Unchanged parameters for world creation from previous attempts.
(Note: Logfiles have more than one world creation in each, buttom is the one that crash).
https://www.dropbox.com/s/nli0rj8nhsoe5i...1.txt?dl=0
https://www.dropbox.com/s/8jilr7ba0wj1ff...2.txt?dl=0
https://www.dropbox.com/s/ck815kcxl2sg18...3.txt?dl=0
https://www.dropbox.com/s/fhsepzauc1uxj6...4.txt?dl=0
https://www.dropbox.com/s/0319wfafym7o47...5.txt?dl=0
Reply

Sounds like it's freezing on treasure placement then, or at least, close to it.

Edit : looked through treasure generation but found no obvious way to make it freeze.
I've added a forced close and reopen of the log file for new map generator so write caching can't get in the way, then we'll have more precise information during the next update.
As is, we only know it's during or after treasure generation which is still about half the entire process. It can be the treasure, the starting cities, the 3 guaranteed lairs next to it, or the neutral cities.
Reply

10 Life + Warlord + Halflings seems to consistently crash the game on start.
Reply

Fixed it by doing a reinstall. However, I found another bug:

If you move a spell's tier when it's a starting pick, you can't deselect it. Easily observable by making Incarnation a Very Rare and picking 10 books.
Reply

(June 23rd, 2021, 08:44)Anskiy Wrote: Fixed it by doing a reinstall. However, I found another bug:

If you move a spell's tier when it's a starting pick, you can't deselect it. Easily observable by making Incarnation a Very Rare and picking 10 books.

Did you move a very rare to rare to make room for it?
Reply

I did.
Reply



Forum Jump: