Dead Space Station Help


#1

whenever one of my custom hulls, a space station, gets destroyed, the game freezes! the funny thing is that it never happens when it’s on MY side. i made a scenario when you’re facing three enemy stations, and when one gets destroyed, the game freezes. i looked at the file and bitmap, nothing seemed out of place. i even turned off hulks, and it still didn’t solve the problem. anyway, i looked in errors.txt, and here’s what i found:

5/11/2009 - 14::58 - Assertion failure:filename:…\src\SIM_Race.cpp,linenum:69,build:Full 1.23
5/11/2009 - 14::58 - D3DERR_OUTOFVIDEOMEMORY
5/11/2009 - 14::58 - Error creating texture:[$s]

BTW the transitions were off.


#2

This is a modded ship hull?


#3

yes, it’s a space station.


#4

It could be that there isn’t a damaged or hulk texture set up for the ship, and it’s expecting one. Either that or the graphics for them are corrupted or in the wrong format.


#5

i checked the files, and nothing seemed out of place. i checked the spelling, too. another “funny thing” is that i used a hull that already comes with the game to use for targets and stuff, and all i changed were the .dds files they needed to look for. i used the same thing for the other ships, and nothing’s wrong with them. this is the really weird part: they used to work. both of them. but one day, they stopped working. nothing changed in-game. perhaps i should try deleting them then re-porting them into the game? would that work?


#6

not sure. I presume it isn’t really running out of video memory. if that is the only ship design in the fleet, does it still crash?


#7

in both fleets, or just one? EDIT: Tried it both ways. Crashed both times. >:( This is insane. How can you have a space battle without a space station?!


#8

Oh, this is just FANTASTIC. Now I’ve had two more errors, this time right when i “Press any Key to start the Battle”, and they pop up in boxes. I was on one of my custom missions, and i built two dreadnoughts (excalibur class; custom) on my side, and three frigates and three fighter squadrons for the enemy. error number one:

7/11/2009 - 2::2 - ERROR - FMOD[Failed to createStream] (23) File not found. :…\src\GUI_Sounds.cpp 635

Error number two:

7/11/2009 - 2::2 - ERROR - FMOD[playsound failed] (37) An invalid parameter was passed to this function.
:…\src\GUI_Sounds.cpp 635

EDIT: Nevermind, i solved the two new problems. but the first still stands, the one with the station.
EDIT OF THE EDIT: ATTENTION! THE SPACE STATION WORKS NOW! well, only one. here’s the file:

[config]
classname = cruiser
name = Federation Space Station hull
guiname = Federation Space Station hull
sprite = Federation Space Station.dds
damagetexture = Federation Space Station_damaged.dds
hulktexture = Federation Space Station_hulk.dds
width = 290
height = 290
powerproduced = 9999
cost = 200
racename = federation
unlockcost = 0
lockable = 0

[bonuses]
0 = SHIELDBOOST,1.0

[engineglows]

[targets]
0 = 119.50,98.00,0,1,112.00,92.00,127.00,104.00,(damage_sprite_sparks-122.00-100.00),
1 = 234.00,110.00,1,1,220.00,95.00,248.00,125.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-234.00-110.00),(damage_sprite_sparks-232.00-112.00),(damage_sprite_sparks-237.00-109.00),
2 = 164.50,167.50,0,1,154.00,157.00,175.00,178.00,(damage_sprite_sparks-164.00-167.00),(damage_sprite_sparks-167.00-168.00),
3 = 154.00,106.00,1,1,141.00,92.00,167.00,120.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-154.00-106.00),(damage_sprite_sparks-153.00-105.00),(damage_sprite_sparks-155.00-110.00),
4 = 183.50,214.50,1,1,171.00,201.00,196.00,228.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-183.50-214.50),(damage_sprite_sparks-183.00-214.00),(damage_sprite_sparks-184.00-219.00),
5 = 132.50,146.50,1,1,114.00,133.00,151.00,160.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-132.50-146.50),(damage_sprite_sparks-126.00-150.00),(damage_sprite_sparks-134.00-144.00),(damage_sprite_sparks-138.00-147.00),(damage_sprite_sparks-129.00-143.00),
6 = 115.00,181.50,1,1,104.00,166.00,126.00,197.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-115.00-181.50),(damage_sprite_sparks-116.00-186.00),(damage_sprite_sparks-125.00-182.00),
7 = 94.50,113.50,1,1,79.00,94.00,110.00,133.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-94.50-113.50),(damage_sprite_sparks-95.00-117.00),(damage_sprite_sparks-99.00-111.00),
8 = 208.00,160.00,0,1,194.00,146.00,222.00,174.00,(damage_sprite_sparks-208.00-160.00),(damage_sprite_sparks-206.00-159.00),(damage_sprite_sparks-210.00-161.00),
9 = 51.50,53.50,1,1,39.00,40.00,64.00,67.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-51.50-53.50),(damage_sprite_sparks-51.00-55.00),
10 = 101.50,42.50,0,1,90.00,32.00,113.00,53.00,(damage_sprite_sparks-101.50-42.50),
11 = 25.50,144.00,1,1,14.00,132.00,37.00,156.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-25.50-144.00),(damage_sprite_sparks-25.00-145.00),(damage_sprite_sparks-30.00-148.00),(damage_sprite_sparks-30.00-143.00),
12 = 198.00,85.50,0,1,187.00,74.00,209.00,97.00,(damage_sprite_sparks-193.00-87.00),
13 = 126.50,114.00,0,1,115.00,105.00,138.00,123.00,(damage_sprite_sparks-127.00-116.00),

[slots]
0 = 120.00,18.00,TURRET,
1 = 109.00,203.00,TURRET,
2 = 147.00,203.00,TURRET,
3 = 128.00,175.00,TURRET,
4 = 90.00,167.00,TURRET,
5 = 166.00,167.00,TURRET,
6 = 128.00,128.00,TURRET,
7 = 50.00,115.00,TURRET,
8 = 196.00,88.00,TURRET,
9 = 77.00,53.00,TURRET,
10 = 208.00,161.00,TURRET,
11 = 236.00,143.00,TURRET,
12 = 211.00,198.00,TURRET,
13 = 18.00,70.00,TURRET,(27.00-62.00),(18.00-79.00),(12.00-96.00),
14 = 127.00,104.00,TURRET,(127.00-104.00),(105.00-131.00),(150.00-120.00),
15 = 100.00,41.00,TURRET,
16 = 128.00,147.00,TURRET,

[explosions]
0 = 0,142,104,EXP_FRIGATE
1 = 56,32,77,EXP_DESTRUCTION_PLACED
2 = 89,36,171,EXP_DESTRUCTION_PLACED
3 = 130,198,45,EXP_DESTRUCTION_PLACED
4 = 180,140,200,EXP_DESTRUCTION_PLACED
5 = 200,78,189,EXP_FRIGATEBREAKUP
6 = 208,21,116,EXP_DESTRUCTION_PLACED
7 = 210,0,0,EXP_STARTBREAKUP
8 = 220,183,119,EXP_DESTRUCTION_PLACED
9 = 230,195,86,EXP_BLASTGLARESMALL
10 = 240,139,71,EXP_DESTRUCTION_PLACED
11 = 255,67,68,EXP_DESTRUCTION_PLACED
12 = 270,128,128,EXP_CRUISERDEBRIS
13 = 320,90,167,EXP_DESTRUCTION_PLACED
14 = 359,167,170,EXP_DESTRUCTION_PLACED
15 = 400,128,128,EXP_FRIGATEBREAKUP
16 = 400,128,128,EXP_PLUMES
17 = 400,128,128,EXP_BLASTGLARE
18 = 400,128,128,EXP_ANGLED_DEBRIS

[hulks]
0 = 66,7,429,136,(emit-101-110-hulk_emmiter),(emit-101-110-hulk_emmiter),(emit-207-84-hulk_emmiter),(emit-393-88-hulk_emmiter),(emit-389-101-hulk_emmiter),(emit-397-94-hulk_smoke_emmiter),
1 = 11,144,73,365,(emit-54-291-hulk_emmiter),(emit-55-155-hulk_smoke_emmiter),
2 = 75,138,331,465,(emit-243-243-hulk_emmiter),(emit-269-245-hulk_emmiter),(emit-193-227-hulk_emmiter),(emit-253-298-hulk_emmiter),(emit-275-292-hulk_emmiter),(emit-233-373-hulk_emmiter),(emit-274-396-hulk_emmiter),(emit-306-212-hulk_emmiter),(emit-258-239-hulk_smoke_emmiter),(emit-285-394-hulk_smoke_emmiter),
3 = 332,144,493,472,(emit-372-433-hulk_emmiter),(emit-417-322-hulk_emmiter),(emit-464-222-hulk_emmiter),(emit-475-221-hulk_emmiter),(emit-365-239-hulk_emmiter),

EDIT: Again, back to square one. No space station works. Here’s the file for the other space station:

[config]
classname = cruiser
name = Federation Space Station 2 hull
guiname = Federation Space Station 2 hull
sprite = Federation Space Station 2.dds
damagetexture = Federation Space Station 2_damaged.dds
hulktexture = Federation Space Station 2_hulk.dds
width = 290
height = 290
powerproduced = 9999
cost = 200
racename = federation
unlockcost = 0
lockable = 0

[bonuses]
0 = SHIELDBOOST,1.0

[engineglows]

[targets]
0 = 119.50,98.00,0,1,112.00,92.00,127.00,104.00,(damage_sprite_sparks-122.00-100.00),
1 = 234.00,110.00,1,1,220.00,95.00,248.00,125.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-234.00-110.00),(damage_sprite_sparks-232.00-112.00),(damage_sprite_sparks-237.00-109.00),
2 = 164.50,167.50,0,1,154.00,157.00,175.00,178.00,(damage_sprite_sparks-164.00-167.00),(damage_sprite_sparks-167.00-168.00),
3 = 154.00,106.00,1,1,141.00,92.00,167.00,120.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-154.00-106.00),(damage_sprite_sparks-153.00-105.00),(damage_sprite_sparks-155.00-110.00),
4 = 183.50,214.50,1,1,171.00,201.00,196.00,228.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-183.50-214.50),(damage_sprite_sparks-183.00-214.00),(damage_sprite_sparks-184.00-219.00),
5 = 132.50,146.50,1,1,114.00,133.00,151.00,160.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-132.50-146.50),(damage_sprite_sparks-126.00-150.00),(damage_sprite_sparks-134.00-144.00),(damage_sprite_sparks-138.00-147.00),(damage_sprite_sparks-129.00-143.00),
6 = 115.00,181.50,1,1,104.00,166.00,126.00,197.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-115.00-181.50),(damage_sprite_sparks-116.00-186.00),(damage_sprite_sparks-125.00-182.00),
7 = 94.50,113.50,1,1,79.00,94.00,110.00,133.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-94.50-113.50),(damage_sprite_sparks-95.00-117.00),(damage_sprite_sparks-99.00-111.00),
8 = 208.00,160.00,0,1,194.00,146.00,222.00,174.00,(damage_sprite_sparks-208.00-160.00),(damage_sprite_sparks-206.00-159.00),(damage_sprite_sparks-210.00-161.00),
9 = 51.50,53.50,1,1,39.00,40.00,64.00,67.00,SHIP_EMMITER_THIN,(damage_sprite_sparks-51.50-53.50),(damage_sprite_sparks-51.00-55.00),
10 = 101.50,42.50,0,1,90.00,32.00,113.00,53.00,(damage_sprite_sparks-101.50-42.50),
11 = 25.50,144.00,1,1,14.00,132.00,37.00,156.00,SHIP_EMMITER_LARGE,(damage_sprite_sparks-25.50-144.00),(damage_sprite_sparks-25.00-145.00),(damage_sprite_sparks-30.00-148.00),(damage_sprite_sparks-30.00-143.00),
12 = 198.00,85.50,0,1,187.00,74.00,209.00,97.00,(damage_sprite_sparks-193.00-87.00),
13 = 126.50,114.00,0,1,115.00,105.00,138.00,123.00,(damage_sprite_sparks-127.00-116.00),

[slots]
0 = 120.00,18.00,TURRET,
1 = 109.00,203.00,TURRET,
2 = 147.00,203.00,TURRET,
3 = 128.00,175.00,TURRET,
4 = 90.00,167.00,TURRET,
5 = 166.00,167.00,TURRET,
6 = 128.00,128.00,TURRET,
7 = 50.00,115.00,TURRET,
8 = 196.00,88.00,TURRET,
9 = 77.00,53.00,TURRET,
10 = 208.00,161.00,TURRET,
11 = 236.00,143.00,TURRET,
12 = 211.00,198.00,TURRET,
13 = 18.00,70.00,TURRET,(27.00-62.00),(18.00-79.00),(12.00-96.00),
14 = 127.00,104.00,TURRET,(127.00-104.00),(105.00-131.00),(150.00-120.00),
15 = 100.00,41.00,TURRET,
16 = 128.00,147.00,TURRET,

[explosions]
0 = 0,142,104,EXP_FRIGATE
1 = 56,32,77,EXP_DESTRUCTION_PLACED
2 = 89,36,171,EXP_DESTRUCTION_PLACED
3 = 130,198,45,EXP_DESTRUCTION_PLACED
4 = 180,140,200,EXP_DESTRUCTION_PLACED
5 = 200,78,189,EXP_FRIGATEBREAKUP
6 = 208,21,116,EXP_DESTRUCTION_PLACED
7 = 210,0,0,EXP_STARTBREAKUP
8 = 220,183,119,EXP_DESTRUCTION_PLACED
9 = 230,195,86,EXP_BLASTGLARESMALL
10 = 240,139,71,EXP_DESTRUCTION_PLACED
11 = 255,67,68,EXP_DESTRUCTION_PLACED
12 = 270,128,128,EXP_CRUISERDEBRIS
13 = 320,90,167,EXP_DESTRUCTION_PLACED
14 = 359,167,170,EXP_DESTRUCTION_PLACED
15 = 400,128,128,EXP_FRIGATEBREAKUP
16 = 400,128,128,EXP_PLUMES
17 = 400,128,128,EXP_BLASTGLARE
18 = 400,128,128,EXP_ANGLED_DEBRIS

[hulks]
0 = 66,7,429,136,(emit-101-110-hulk_emmiter),(emit-101-110-hulk_emmiter),(emit-207-84-hulk_emmiter),(emit-393-88-hulk_emmiter),(emit-389-101-hulk_emmiter),(emit-397-94-hulk_smoke_emmiter),
1 = 11,144,73,365,(emit-54-291-hulk_emmiter),(emit-55-155-hulk_smoke_emmiter),
2 = 75,138,331,465,(emit-243-243-hulk_emmiter),(emit-269-245-hulk_emmiter),(emit-193-227-hulk_emmiter),(emit-253-298-hulk_emmiter),(emit-275-292-hulk_emmiter),(emit-233-373-hulk_emmiter),(emit-274-396-hulk_emmiter),(emit-306-212-hulk_emmiter),(emit-258-239-hulk_smoke_emmiter),(emit-285-394-hulk_smoke_emmiter),
3 = 332,144,493,472,(emit-372-433-hulk_emmiter),(emit-417-322-hulk_emmiter),(emit-464-222-hulk_emmiter),(emit-475-221-hulk_emmiter),(emit-365-239-hulk_emmiter),


#9

“width = 290
height = 290
powerproduced = 9999”

Those lines dont’ look good at all. As I read from the other thread the game WILL crash if you go close to the size 290x290. So I’m thinking that is the problem, try making them smaller and test again then. Like 250 as said in the other thread.

Also that huge amount of power production could cause an overflow thus crash the game.


#10

No, that’s not it. the stats you commented on were the same as the other modded ships, and THEY didn’t crash. well, some of them are the same. like, i don’t have frigates that are 290x290, but thats not the point. the point is the other ships didn’t crash. but, i’ll try your suggestion anyway. EDIT: You were half right, but you solved the problem. The size was the problem. And the only reason the power output was 9999 was i’m tired of having to waste a slot on a power generator. oh well. Thanks, Mr. Weedy! and Cliff!


#11

Heh. I hope you learned something today. :wink: Don’t put in the most extreme values the game MIGHT be able to handle. :stuck_out_tongue_winking_eye: Try testing with smaller values first. :slight_smile: