Strange error in the log

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base

Strange error in the log

Post by Goth Zagog-Thou »

Code: Select all

info    |06:25:46: [pie_Draw3DShape:486] Negative team -2
info    |06:25:46: [pie_Draw3DShape:486] Assert in Warzone: piedraw.cpp:486 (team >= 0), last script event: '18 (CALL_STRUCT_ATTACKED)'
info    |06:25:46: [pal_GetTeamColour:102] Attempting to get colour for non-existing team 4294967294
info    |06:25:46: [pal_GetTeamColour:102] Assert in Warzone: piepalette.cpp:102 (false), last script event: '18 (CALL_STRUCT_ATTACKED)'
And repeats a LOT.

Could this happen as a result of a bad compile? Xubuntu 12.10 by the way, using Physfs 2.0.3 (compiled myself, of course), Warzone 2100 3.1 stock download.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Strange error in the log

Post by Per »

Is this with a mod?

Can you run Warzone in gdb, and then paste the backtrace when it hits the first assert?
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base

Re: Strange error in the log

Post by Goth Zagog-Thou »

Yep, this was a test run of Cam 4 - R17 that I've been working on. First time I've ever seen an error like this, ever.

And as for running in gdb ... you want a --debug=all and the trace from /tmp when it asserts?