Page 1 of 1

crash bug on regions.dfn

Posted: Fri Mar 02, 2012 7:56 pm
by dragon slayer
I was meaning to wipe the spawn.dfn out so it had no entrys well i wasnt thinking and I removed regions.dfn entrys left regions.dfn blank.

I tryed to load uox3 with regions.dfn being blank it causes it to crash right after startup. I wasnt going to post it because I thought wasnt a big deal.

I thought to my self what if some one wanted to make it blank to make all new regions for a custom world, They wouldnt know what to do if it kept crahsing on startup.

Re: crash bug on regions.dfn

Posted: Mon Mar 12, 2012 2:06 am
by Xuri
At the bare minimum, UOX3 requires the base regions that cover the entire landmasses (see regions 251 to 255 - also, btw, I'm adding Ter'mur to region 250 for the next version) to be present, or there will be all kinds of trouble related to handling items/characters/weather/etc. As such it's not a good idea to allow UOX3 to finish starting up if there are no regions present at all.

I added some code to shut down UOX3 gracefully when it encounters missing regions, though - instead of just crashing. Though UOX3 will still run into trouble if you add a fake region to the file and don't actually have the base-regions covering the maps.

Re: crash bug on regions.dfn

Posted: Mon Mar 19, 2012 1:02 pm
by Xuri
The fix for this is now available in UOX3 0.99, and on the CVS.