Placing units crashes game (v2.1 rc2)

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
Idanwin
Greenhorn
Posts: 15
Joined: 23 Jul 2008, 12:48

Placing units crashes game (v2.1 rc2)

Post by Idanwin »

I just downloaded the new version (2.1) to play the new mods.
They work fantastic, congratulations to every modder!!!

When I wanted to continue the campaign, I tried to load old save files, it didn't seem to work.
I know that it's completely normal, no problem.
I didn't want to start the campaign completely again, so I tried cheating my way into the third stage.
"Let me win" works, but you have to leave all upgrades behind.
So I used ctrl-o, however it crashes everytime I place a unit/building/feature.
Tiles don't work (yet?).

Code: Select all

-------------------



Error occured on Friday, December 19, 2008 at 19:34:07.



Program: C:\Program Files\Warzone 2100\warzone2100.exe(warzone2100)

Command line: "C:\Program Files\Warzone 2100\warzone2100.exe" "--cheat"

Version: Version 2.1_rc2

Distributor: 

Compiled on: Nov 30 2008 19:26:12

Compiled by: GCC 4.2.1-sjlj (mingw32-2)

Executed on: Fri Dec 19 19:33:32 2008



Pointers: 32bit



Compiled against PhysicsFS version: 1.0.1

Running with PhysicsFS version: 1.0.1



C:\Program Files\Warzone 2100\warzone2100.exe caused an Access Violation at location 004a7985 in module C:\Program Files\Warzone 2100\warzone2100.exe Reading from location 756e656d.



Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'

Log message: error   : [_imd_load_polys] _imd_load_polys: texture height = 0

Log message: error   : [_imd_load_polys] Assert in Warzone: imdload.c:166 (tHeight > 0), last script event: '<none>'



Registers:

eax=00000000 ebx=0246aa30 ecx=756e656d edx=01a0f84f esi=01a0fa4c edi=01a0fa6c

eip=004a7985 esp=01a0f830 ebp=01a0fa78 iopl=0         nv up ei pl zr na po nc

cs=0073  ss=007b  ds=007b  es=007b  fs=0033  gs=003b             efl=00010246



Call stack:

004A7985  C:\Program Files\Warzone 2100\warzone2100.exe:004A7985  sendTextMessage  ../lib/framework/strlfuncs.h:45

00467965  C:\Program Files\Warzone 2100\warzone2100.exe:00467965  intRunWidgets  hci.c:2173



User avatar
Idanwin
Greenhorn
Posts: 15
Joined: 23 Jul 2008, 12:48

Re: Placing units crashes game (v2.1 rc2)

Post by Idanwin »

v2.1.1 has same problem...
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: Placing units crashes game (v2.1 rc2)

Post by whippersnapper »

.

_ Far as I have ever known "ctrl+o" is a DEBUG Skirmish cheat and never was a Campaign cheat.

If you look at the Trac Wiki page here http://developer.wz2100.net/wiki/Cheats you will see the clear disclaimer
that "ctrl+o" is one of the cheats that - These can cause game-play instability!

.
.
"I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction." Anthem

"Art is the selective recreation of reality according to the artist's metaphysical value judgments." A. Rand
.
User avatar
Phoenix666
Trained
Trained
Posts: 106
Joined: 21 Sep 2008, 20:38
Location: Russia

Re: Placing units crashes game (v2.1 rc2)

Post by Phoenix666 »

at first!
you try to do it, when use mods?
User avatar
Idanwin
Greenhorn
Posts: 15
Joined: 23 Jul 2008, 12:48

Re: Placing units crashes game (v2.1 rc2)

Post by Idanwin »

I tested it with both Campaign, Fast-Play and Skirmish (I even tried in the tutorial), always the same problem.
I didn't use any mod.
User avatar
Black Project
Regular
Regular
Posts: 751
Joined: 04 Apr 2008, 20:53

Re: Placing units crashes game (v2.1 rc2)

Post by Black Project »

Idanwin wrote:I tested it with both Campaign, Fast-Play and Skirmish (I even tried in the tutorial), always the same problem.
I didn't use any mod.
Try reinstalling Warzone 2100, maybe it fix this.

Regards
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Placing units crashes game (v2.1 rc2)

Post by Buginator »

Idanwin wrote:I tested it with both Campaign, Fast-Play and Skirmish (I even tried in the tutorial), always the same problem.
I didn't use any mod.
What hardware you got?

It works fine on this end, so I assume something on your end that isn't working correctly.

Can you also attach the stderr.txt stdout.txt and the dump file the next time you do this?
and it ends here.
Fallingwater
New user
Posts: 1
Joined: 19 Mar 2009, 03:26

Re: Placing units crashes game (v2.1 rc2)

Post by Fallingwater »

I'm having the same problem. I'm on 2.1.2.1, playing on my old-games box (Athlon 1.4, Win98SE).
I've been able to successfully create trucks, but everything else I try to spawn crashes the game, in all modes.
I hope there's a solution to this, I'm dying to place units...
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Placing units crashes game (v2.1 rc2)

Post by Zarel »

Fallingwater wrote:I'm having the same problem. I'm on 2.1.2.1, playing on my old-games box (Athlon 1.4, Win98SE).
I've been able to successfully create trucks, but everything else I try to spawn crashes the game, in all modes.
I hope there's a solution to this, I'm dying to place units...
Do you have a crash dump? If you're in windows, look for a .rpt file in the Program Files/Warzone 2100/ folder. Also look for a stderr.txt file, and upload/paste those somewhere.