An assertion failure

Discuss map ideas, techniques, and give help.

An assertion failure

Post May 7th '14, 02:08

Assertion failed!
Program: ...
File: ../../../trunk/Source_Files/GameWorld/map.cpp
Expression: new_polygon_index!=polygon_index

I assume it has to do with my geometry, but Weland shows all nice, solid, connected lines.
Where should I look around?
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 7th '14, 02:13

Says "polygon index #23768 is out of range", but I don't have a 23768th polygon. So, like, now what? (I've never really encountered errors like this before. :P)
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 7th '14, 23:34

Shoots. Is there a polygon limit in Marathon? I forgot if there is one or not.
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 8th '14, 02:20

There is in the original Marathon engine, but Aleph One removes this, as do the new tools such as Weland. It used to be that you could make up to 1024 polygons, but I've already exceeded that with no problems. Marathon Aeon actually uses thousands upon thousands of polygons, thus why it may bog down on some computers.
User avatar

PerseusSpartacus
Somewhere in the 19th Century...

Post May 8th '14, 03:16

PerseusSpartacus wrote:There is in the original Marathon engine, but Aleph One removes this, as do the new tools such as Weland. It used to be that you could make up to 1024 polygons, but I've already exceeded that with no problems. Marathon Aeon actually uses thousands upon thousands of polygons, thus why it may bog down on some computers.

Okay, so it's not the polygons, 'cause I only have ~550 polys.
Thanks for the info. My bro and I are trying to debug the map, and if we can't find any other leads, we'll just copy the thing line by line.
Thanks for the info :)
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 8th '14, 04:31

Have you checked for zero-length lines under the Special menu in Weland?
User avatar

Crater Creator

Post May 8th '14, 11:31

Usually assertion failures carry a compiled-in line number. You would also have to include the version of Aleph One you are using for that to make sense.
User avatar

treellama
Pittsburgh

Post May 8th '14, 22:46

@Crater_Creator: Yup, did that.
@treellama: Sorry, forgot 'bout that. v1.1 (January first public release?), line #1396
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 9th '14, 02:55

Definitely not any zero-lengths or accidental 5D space; Sam redid the whole map for me just to see if the error would happen again.
Last edited by Dan on May 10th '14, 15:26, edited 1 time in total.
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 9th '14, 23:17

Looking back, this glitch happened after I finished the bottom half of the map.
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 10th '14, 15:23

Found the area which the bad polygon is in. Near the bottom teleport.
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post May 10th '14, 15:24

Ah ha. I found it. I did not connect a line to the sides of a polygon. Such a subtle error, always missing that.
Anyways, thanks for the info guys :)
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California


Return to Mapping



Who is online

Users browsing this forum: No registered users