Crash on entry on map

Talk about your new mod or map here

Moderators: jelco, bert_the_turtle

sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Crash on entry on map

Postby sirvoks » Fri Dec 29, 2006 11:29 pm

Hello.

Yes I did read the crash guide on thenextgame. Not why.
No errormessage, just crashes when I enter.

mission_hub.txt

Code: Select all

Difficulty_StartDefinition
   CreatedAsDifficulty 1
Difficulty_EndDefinition

CameraMounts_StartDefinition
   # Name             Pos                   Front          Up
   # =========================================================================
   start           1367.13  451.30 1407.18 -0.65 -0.67 0.36 -0.59 0.74 0.33
CameraMounts_EndDefinition

CameraAnimations_StartDefinition
CameraAnimations_EndDefinition

Buildings_StartDefinition
   # Type              id      x       z       tm      rx      rz      isGlobal
   # ==========================================================================
   Triffid             20      397.72  417.34  1       1.00    0.00    0       1.00   0.60   56.01  0.39   20.00  0 0.00     0.00     100.00 1 1 1 0 1 0 0
   Triffid             21      383.64  430.79  1       -0.45   0.89    0       1.00   0.50   59.88  0.35   20.00  0 0.00     0.00     100.00 1 1 1 0 1 0 0
   Triffid             24      1561.92 1645.49 1       1.00    0.00    0       1.00   0.60   49.17  3.14   10.00  0 0.00     0.00     100.00 1 1 1 0 1 1 0
   Triffid             25      296.25  1525.61 1       0.97    0.25    0       1.00   0.60   131.99 1.07   5.00   0 0.00     0.00     100.00 0 1 1 0 0 1 0
Buildings_EndDefinition

InstantUnits_StartDefinition
   # Type         team    x       z   count  inUnit state   spread  waypointX waypointZ
   # ==================================================================================
   Virii            1   540.3   473.8    100    0      -1    84.2     0.0     0.0
   Spider           1   530.1   465.7      5    0      -1    87.7     0.0     0.0
   Spider           1   297.6   504.5      5    0      -1   148.2     0.0     0.0
   Centipede        1   378.4   605.2     10    1      -1    60.8     0.0     0.0
   Virii            1   306.8   269.4     40    0      -1   120.2     0.0     0.0
   Centipede        1   270.5   483.8     10    1      -1    50.0     0.0     0.0
   Centipede        1   532.2   468.1     10    1      -1    50.0     0.0     0.0
   Virii            1   396.0   432.6     50    0      -1    56.3     0.0     0.0
   Virii            1  1406.3  1897.2     40    0      -1    98.6     0.0     0.0
   Virii            1  1567.3  1638.9    300    0      -1   130.9     0.0     0.0
   Spider           1  1403.6  1891.8      3    0      -1    50.0     0.0     0.0
   SporeGenerator   1  1531.2  1596.9      5    0      -1   154.9     0.0     0.0
   TriffidEgg       1   402.0   516.1     10    0      -1   200.0     0.0     0.0
   Centipede        1  1466.0  1891.7     20    1      -1    10.0     0.0     0.0
   TriffidEgg       1  1590.4  1617.4     10    0      -1   200.0     0.0     0.0
   Spider           1   540.6  1565.7     10    0      -1   210.2     0.0     0.0
   Centipede        1   491.9  1607.7     20    1      -1   200.0     0.0     0.0
   Virii            1   293.5  1529.5     40    0      -1   100.0     0.0     0.0
   Virii            1   527.6  1565.0     40    0      -1   100.0     0.0     0.0
   TriffidEgg       1   516.9  1560.0     10    0      -1   200.0     0.0     0.0
InstantUnits_EndDefinition

PrimaryObjectives_StartDefinition
BuildingOnline :hub,10    hub_objective_trunkport_image   hub_objective_trunkport_image.txt
BuildingOnline :hub,27    hub_objective_trunkport_respiratory   hub_objective_trunkport_respiratory.txt
BuildingOnline :hub,9    hub_objective_trunkport_processing   hub_objective_trunkport_processing.txt
BuildingOnline :hub,31    hub_objective_virusclean   hub_objective_virusclean.txt
PrimaryObjectives_EndDefinition



map_hub.txt

Code: Select all

Landscape_StartDefinition
   worldSizeX 2000
   worldSizeZ 2000
   cellSize 12.00
   outsideHeight -10.00
   landColourFile landscape_hub.bmp
   wavesColourFile waves_landing.bmp
   waterColourFile water_landing.bmp
Landscape_EndDefinition

LandscapeTiles_StartDefinition
   #                            frac  height desired gen         lowland
   # x       y       z    size   dim  scale  height  method seed smooth  guideGrid
   # =============================================================================
      805   0.00    776    484  1.20   1.00    103      0 10506275   1.00     0
       64   0.00     50    704  1.20   1.00     97      1 11133141   1.00     0
      118   0.00   1179    704  1.20   1.00     97      1 11150741   1.00     0
     1214   0.00   1297    704  1.20   1.00     97      1 11162307   1.00     0
LandscapeTiles_EndDefinition

LandFlattenAreas_StartDefinition
   # x      y       z      size
   # ==========================
LandFlattenAreas_EndDefinition

Lights_StartDefinition
   # x      y      z        r      g      b
   # =========================================
     0.00   0.81   0.59     0.84   0.84   0.84
     0.00   0.24   0.97     0.95   0.95   0.95
Lights_EndDefinition

Buildings_StartDefinition
   # Type              id      x       z       tm      rx      rz      isGlobal
   # ==========================================================================
   TrunkPort           0       1040.52 1011.57 2       1.00    0.00    1       1       
   ScriptTrigger       1       1163.45 586.54  1       0.99    -0.12   0       -1     100.00 hub_intro.txt always
   ControlTower        9       1058.72 1066.26 2       1.00    0.00    1            0
   ControlTower        10      948.86  1119.11 1       1.00    0.00    1           11
   RadarDish           11      896.72  1113.42 1       0.97    -0.23   1       
   RadarDish           12      223.59  638.06  1       0.24    -0.97   1       
   RadarDish           13      689.57  1625.54 1       0.00    1.00    1       
   RadarDish           14      1312.47 1434.34 1       0.00    1.00    1       
   ControlTower        15      1353.25 1396.43 1       1.00    0.00    1           -1
   ControlTower        16      727.19  1669.37 1       1.00    0.00    1           -1
   ControlTower        17      296.19  620.80  1       1.00    0.00    1           12
   TrunkPort           18      482.18  417.61  1       0.99    -0.15   1       9       
   ControlTower        19      527.37  465.75  1       1.00    0.00    1           18
   TrunkPort           22      1581.01 1723.00 1       0.12    0.99    1       5       
   ControlTower        23      1400.85 1892.60 1       1.00    0.00    1           22
   ControlTower        26      515.35  1555.44 1       1.00    0.00    1           27
   TrunkPort           27      585.20  1364.50 1       0.07    1.00    1       10     
   SpawnPopulationLock 28      1519.71 1677.67 1       1.00    0.00    0       500.00   105   
   SpawnPopulationLock 29      540.40  1505.56 1       1.00    0.00    0       500.00   105   
   SpawnPopulationLock 30      424.40  427.82  1       1.00    0.00    0       500.00   105   
   SpawnPointMaster    31      1131.23 1749.44 1       1.00    0.00    0       
   Tree                2       1202.47 916.58  1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       72816   -1          -1         
   Tree                3       1175.88 1127.84 1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       25995   -1          -1         
   Tree                4       930.28  916.71  1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       26047   -1          -1         
   Tree                5       1028.16 1132.17 1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       26096   -1          -1         
Buildings_EndDefinition

User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sat Dec 30, 2006 12:24 am

First off, buildings 15 and 16 need to be linked to something -- unlinked control towers have a tendency to cause Darwinia to crash. This isn't your problem, probably, but it should be fixed.

Your spore generator in the mission file has an InUnit value of 5 -- that can't be good. It should be 0. Centipedes and squads are the only units that should have an InUnit value other than 0, and that value should be 1. This may be what is causing your crash.

Was a blackbox.txt file created? Post that, please.

xander
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Sat Dec 30, 2006 12:34 am

No blackbox. Hm. Now it crashes when I enter it with the edtior, too. Strange. New mission & map file:

map_hub.txt

Code: Select all

Landscape_StartDefinition
   worldSizeX 2000
   worldSizeZ 2000
   cellSize 12.00
   outsideHeight -10.00
   landColourFile landscape_hub.bmp
   wavesColourFile waves_landing.bmp
   waterColourFile water_landing.bmp
Landscape_EndDefinition

LandscapeTiles_StartDefinition
   #                            frac  height desired gen         lowland
   # x       y       z    size   dim  scale  height  method seed smooth  guideGrid
   # =============================================================================
      805   0.00    776    484  1.20   1.00    103      0 10506275   1.00     0
       64   0.00     50    704  1.20   1.00     97      1 11133141   1.00     0
      118   0.00   1179    704  1.20   1.00     97      1 11150741   1.00     0
     1214   0.00   1297    704  1.20   1.00     97      1 11162307   1.00     0
LandscapeTiles_EndDefinition

LandFlattenAreas_StartDefinition
   # x      y       z      size
   # ==========================
LandFlattenAreas_EndDefinition

Lights_StartDefinition
   # x      y      z        r      g      b
   # =========================================
     0.00   0.81   0.59     0.84   0.84   0.84
     0.00   0.24   0.97     0.95   0.95   0.95
Lights_EndDefinition

Buildings_StartDefinition
   # Type              id      x       z       tm      rx      rz      isGlobal
   # ==========================================================================
   TrunkPort           0       1040.52 1011.57 2       1.00    0.00    1       1       
   ScriptTrigger       1       1163.45 586.54  1       0.99    -0.12   0       -1     100.00 hub_intro.txt always
   ControlTower        9       1058.72 1066.26 2       1.00    0.00    1            0
   ControlTower        10      948.86  1119.11 1       1.00    0.00    1           11
   RadarDish           11      896.72  1113.42 1       0.97    -0.23   1       
   RadarDish           12      223.59  638.06  1       0.24    -0.97   1       
   RadarDish           13      689.57  1625.54 1       0.00    1.00    1       
   RadarDish           14      1312.47 1434.34 1       0.00    1.00    1       
   ControlTower        17      296.19  620.80  1       1.00    0.00    1           12
   TrunkPort           18      482.18  417.61  1       0.99    -0.15   1       9       
   ControlTower        19      527.37  465.75  1       1.00    0.00    1           18
   TrunkPort           22      1581.01 1723.00 1       0.12    0.99    1       5       
   ControlTower        23      1400.85 1892.60 1       1.00    0.00    1           22
   ControlTower        26      515.35  1555.44 1       1.00    0.00    1           27
   TrunkPort           27      585.20  1364.50 1       0.07    1.00    1       10     
   SpawnPopulationLock 28      1519.71 1677.67 1       1.00    0.00    0       500.00   105   
   SpawnPopulationLock 29      540.40  1505.56 1       1.00    0.00    0       500.00   105   
   SpawnPopulationLock 30      424.40  427.82  1       1.00    0.00    0       500.00   105   
   SpawnPointMaster    31      1131.23 1749.44 1       1.00    0.00    0       
   Tree                2       1202.47 916.58  1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       72816   -1          -1         
   Tree                3       1175.88 1127.84 1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       25995   -1          -1         
   Tree                4       930.28  916.71  1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       26047   -1          -1         
   Tree                5       1028.16 1132.17 1       1.00    0.00    0       100.00  1.00    1.00    1.00    5       26096   -1          -1         
Buildings_EndDefinition



mission_hub.txt

Code: Select all

Difficulty_StartDefinition
   CreatedAsDifficulty 1
Difficulty_EndDefinition

CameraMounts_StartDefinition
   # Name             Pos                   Front          Up
   # =========================================================================
   start           1367.13  451.30 1407.18 -0.65 -0.67 0.36 -0.59 0.74 0.33
CameraMounts_EndDefinition

CameraAnimations_StartDefinition
CameraAnimations_EndDefinition

Buildings_StartDefinition
   # Type              id      x       z       tm      rx      rz      isGlobal
   # ==========================================================================
   Triffid             20      397.72  417.34  1       1.00    0.00    0       1.00   0.60   56.01  0.39   20.00  0 0.00     0.00     100.00 1 1 1 0 1 0 0
   Triffid             21      383.64  430.79  1       -0.45   0.89    0       1.00   0.50   59.88  0.35   20.00  0 0.00     0.00     100.00 1 1 1 0 1 0 0
   Triffid             24      1561.92 1645.49 1       1.00    0.00    0       1.00   0.60   49.17  3.14   10.00  0 0.00     0.00     100.00 1 1 1 0 1 1 0
   Triffid             25      296.25  1525.61 1       0.97    0.25    0       1.00   0.60   131.99 1.07   5.00   0 0.00     0.00     100.00 0 1 1 0 0 1 0
Buildings_EndDefinition

InstantUnits_StartDefinition
   # Type         team    x       z   count  inUnit state   spread  waypointX waypointZ
   # ==================================================================================
   Virii            1   540.3   473.8    100    0      -1    84.2     0.0     0.0
   Spider           1   530.1   465.7      5    0      -1    87.7     0.0     0.0
   Spider           1   297.6   504.5      5    0      -1   148.2     0.0     0.0
   Centipede        1   378.4   605.2     10    1      -1    60.8     0.0     0.0
   Virii            1   306.8   269.4     40    0      -1   120.2     0.0     0.0
   Centipede        1   270.5   483.8     10    1      -1    50.0     0.0     0.0
   Centipede        1   532.2   468.1     10    1      -1    50.0     0.0     0.0
   Virii            1   396.0   432.6     50    0      -1    56.3     0.0     0.0
   Virii            1  1406.3  1897.2     40    0      -1    98.6     0.0     0.0
   Virii            1  1567.3  1638.9    300    0      -1   130.9     0.0     0.0
   Spider           1  1403.6  1891.8      3    0      -1    50.0     0.0     0.0
   SporeGenerator   1  1531.2  1596.9      0    0      -1   154.9     0.0     0.0
   TriffidEgg       1   402.0   516.1     10    0      -1   200.0     0.0     0.0
   Centipede        1  1466.0  1891.7     20    1      -1    10.0     0.0     0.0
   TriffidEgg       1  1590.4  1617.4     10    0      -1   200.0     0.0     0.0
   Spider           1   540.6  1565.7     10    0      -1   210.2     0.0     0.0
   Centipede        1   491.9  1607.7     20    1      -1   200.0     0.0     0.0
   Virii            1   293.5  1529.5     40    0      -1   100.0     0.0     0.0
   Virii            1   527.6  1565.0     40    0      -1   100.0     0.0     0.0
   TriffidEgg       1   516.9  1560.0     10    0      -1   200.0     0.0     0.0
InstantUnits_EndDefinition

PrimaryObjectives_StartDefinition
BuildingOnline :hub,10    hub_objective_trunkport_image   hub_objective_trunkport_image.txt
BuildingOnline :hub,27    hub_objective_trunkport_respiratory   hub_objective_trunkport_respiratory.txt
BuildingOnline :hub,9    hub_objective_trunkport_processing   hub_objective_trunkport_processing.txt
BuildingOnline :hub,31    hub_objective_virusclean   hub_objective_virusclean.txt
PrimaryObjectives_EndDefinition


If it's any help, my preferences are:

Code: Select all

=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 0
SoundLibrary = dsound
SoundMixFreq = 44100
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 1280
ScreenHeight = 1024
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
ControlMethod = 1
BootLoader = firsttime
UserProfile = DarwinianDreams
RenderSpecialLighting = 1
Difficulty = 1
ModSystemEnabled = 1
Mod = DarwinianDreams
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Dec 30, 2006 2:28 am

If you make changes to the mission and game files, you will need a New profile.
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Sat Dec 30, 2006 1:31 pm

It still crashes when I use a new profile. It also crashes when I use the AAA profile :(
User avatar
The GoldFish
level5
level5
Posts: 3961
Joined: Fri Mar 01, 2002 9:01 pm
Location: Bowl / South UK
Contact:

Postby The GoldFish » Sat Dec 30, 2006 4:07 pm

Seems to work for me (once I put the landscape textures back to default since I obviously don't have those)

If it insists on crashing, edit/comment out the last things you did (trees?).

Also press alt tab if it just freezes up as the error message might get hidden or something (I honestly don't know)

Also I'd test with the 'none' profile, and ensure there are empty lines at the end of your files.
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Sat Dec 30, 2006 4:31 pm

Notting of it worked. I commented the trees out, tested with 'none' profile and I check for empty lines. no empty lines at game.txt, fixed those, still crashes.

When I enter it, a window error pops up, saying that Darwinia.exe has encountered and error and needs to close.

:( - This is annoying me so much!

EDIT: O_o this is very strange. I outcommented the script trigger, and it worked perfectly! - for some reason, it looks like darwinia crashes if theres any script triggers in the map? :S

EDIT2: Now It crashes when I enter the editor. But it works when I just enter it.

EDIT3:

YAY IT's FIXED! - I just had to remove SporeGenerator for some ODD reason. Then it worked. :S

EDIT4: I still cannot use ScriptTriggers - :( - Please help me.. :( - Just tried reinstalling - didn't work either.

EDIT5: OK, nevermind :) - It works :DD - Thanks for all your help :)
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Tue Jan 02, 2007 6:14 am

... LoL ...

Read over the tutorials real careful. Add stuff a little at a time, then make sure if it is to be Dynamic, or linked.
Baby steps will control the crashes as you go.
Script Triggers will work just fine...don’t know what you are doing

:)
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Tue Jan 02, 2007 2:06 pm

I know. It was a stupid mistake. Not making the script file XD
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Tue Jan 02, 2007 3:46 pm

sirvoks wrote:I know. It was a stupid mistake. Not making the script file XD

That shouldn't matter. In my experience, Darwinia handles most missing files with grace. Missing strings are simply displayed as missing (the game doesn't crash), missing scripts are simply ignored, &c. I think you were having some other problem.

xander
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Tue Jan 02, 2007 4:05 pm

Alright. No matter what it's fixed now :)
User avatar
The GoldFish
level5
level5
Posts: 3961
Joined: Fri Mar 01, 2002 9:01 pm
Location: Bowl / South UK
Contact:

Postby The GoldFish » Tue Jan 02, 2007 6:33 pm

The only thing I can think of that would result in what he was experiencing is that maybe he deleted the script trigger's script to run value without putting a placeholder or anything in its place, meaning that the information the game was looking for was no longer there, so it wrapped around a line and crashed.

edit; ps

SporeGenerator 1 1531.2 1596.9 0 0 -1 154.9 0.0 0.0

having a unit count of 0 is fucking stupid, I'm not surprised you had to remove it! :P
-- The GoldFish - member of former GIT and commander in chief of GALLAHAD. You could have done something, but it's been fixed. The end. Also, play bestgameever!
sirvoks
level3
level3
Posts: 436
Joined: Tue Dec 19, 2006 4:47 pm

Postby sirvoks » Tue Jan 02, 2007 7:14 pm

Er..what can I say ? Oops ?

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 6 guests