crash

Talk about your new mod or map here

Moderators: jelco, bert_the_turtle

jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

crash

Postby jackbnymbl » Mon Nov 06, 2006 12:05 am

for some reason, whenever I run my mod, darwinia crashes. I was doing several things when it started, so I'm not sure how it happened

Heres the game.txt

Code: Select all

Locations_StartDefinition
   # Id  Avail                   mapFile                    missionFile
   # ==================================================================
      1    0                map_sandbox.txt                                     null
      2    1                 map_garden.txt                                     null
      3    1            map_containment.txt                                     null
      4    1              map_generator.txt                                     null
      5    1                   map_mine.txt                                     null
      6    1                   map_yard.txt                                     null
      7    1                 map_escort.txt                                     null
      8    1         map_pattern_buffer.txt                                     null
      9    1              map_biosphere.txt                                     null
     10    1               map_receiver.txt                                     null
     11    1                 map_temple.txt                                     null
     12    1              map_launchpad.txt                    mission_launchpad.txt
     13    0                 map_netmon.txt                       mission_netmon.txt
Locations_EndDefinition

Buildings_StartDefinition
   # Id  teamId  locId   type   link  online
   # =======================================
      4    2     12     11      3      1
     55    2     12     11      9      1
   1000    2      9     11     11      1
   1001    2      5     11      3      1
   1002    2      5     11      4      1
   1003    2      4     11      7      1
   1004    2      3     11      2      1
   1005    2      3     11      4      1
      0    2      1      5     -1      0
      2    1      2      3     -1      0
      3    1      2      3     -1      0
      8  255      2     11      3      0
      9    1      2      5     -1      0
     10    2      2      5     -1      0
     11    1      2      5     -1      0
     12    1      2      5     -1      0
      0  255      3     11      2      0
      2  255      3     11      6      0
      3  255      3     11      4      0
      4  255      3     11      5      0
     57    1      3      3     -1      0
     58    1      3      3     -1      0
     59    1      3      3     -1      0
     60    1      3      3     -1      0
     61    1      3      3     -1      0
     62    1      3      3     -1      0
     63    1      3      5     -1      0
     64    1      3      5     -1      0
     79    1      3      5     -1      0
     80    1      3      5     -1      0
     85    0      3     31     -1      0
     86    1      3      5     -1      0
     87    1      3      5     -1      0
     88    1      3      5     -1      0
     89    1      3      5     -1      0
     90    1      3      5     -1      0
     91    1      3      5     -1      0
     92    1      3      5     -1      0
     93    1      3      5     -1      0
     94    1      3      5     -1      0
     82    1      3     29     -1      0
     83    1      3     29     -1      0
     84    1      3     29     -1      0
      0    0      4     14     -1      0
     23  255      4     11      6      0
     49    0      4     11      3      0
     57    1      4      5     -1      0
     51    1      4      3     -1      0
     52    1      4      3     -1      0
     55    1      4      3     -1      0
     59    1      4      3     -1      0
     61    1      4      3     -1      0
     62  255      4     11      5      0
     63    1      4      5     -1      0
     54    1      4      5     -1      0
     64    1      4      5     -1      0
     65    1      4      5     -1      0
     67    1      4      5     -1      0
     68    1      4      5     -1      0
     69    1      4      5     -1      0
     70    1      4      5     -1      0
     76    1      4      5     -1      0
     60    1      4     11      7      0
     66    1      4      5     -1      0
     50    1      4     29     -1      0
     53    1      4     29     -1      0
     89    2      5     11      6      0
     90    0      5     23     -1      0
     92  255      5     11      3      0
      0    1      5      5     -1      0
      1    1      5      5     -1      0
      3    1      5      3     -1      0
      4    1      5      3     -1      0
      8    1      5      3     -1      0
      9    1      5      3     -1      0
     10    1      5      5     -1      0
     11    1      5      5     -1      0
     42    0      5     24     -1      0
     44    0      5     24     -1      0
     43    0      5     24     -1      0
     45    0      5     24     -1      0
     13    1      5      5     -1      0
     51    1      5      5     -1      0
     52    1      5      5     -1      0
     55    1      5      5     -1      0
     57    1      5      5     -1      0
     94    1      5     11      4      0
     96    1      5      5     -1      0
     97    1      5     29     -1      0
    108    1      5     29     -1      0
     12    1      5     29     -1      0
      0    0      6     25     -1      0
      4    0      6     31     -1      0
      5  255      6     11      4      0
      6    1      6      5     -1      0
      7  255      6     11      5      0
      8    1      6      5     -1      0
      9    1      6      3     -1      0
     10    1      6      3     -1      0
     11    1      6      3     -1      0
      3  255      6     11      9      0
     61    1      6      5     -1      0
     91    1      6      5     -1      0
     92    1      6      5     -1      0
     93    1      6      5     -1      0
     94    1      6      5     -1      0
      1    1      6     11     10      0
     55    1      6      5     -1      0
     54    1      6      5     -1      0
     98    1      6     11      3      0
     99    1      6      5     -1      0
    110    1      6     11      8      0
    111    1      6      5     -1      0
    101    1      6     31     -1      0
     53    1      6     29     -1      0
      2    1      6     29     -1      0
      1    0      7     31     -1      0
      2    1      7      3     -1      0
      3    1      7      3     -1      0
      4    1      7      5     -1      0
      5    1      7      5     -1      0
      6    1      7      5     -1      0
      7    2      7      5     -1      0
      8    2      7      3     -1      0
      9    1      7      3     -1      0
     10    1      7      3     -1      0
     11    2      7      3     -1      0
     12    2      7      5     -1      0
     13    1      7      5     -1      0
     21  255      7     11      4      0
     22    1      7      5     -1      0
     14    2      7     29     -1      0
     15    2      7     29     -1      0
      1    1      8     43     -1      0
      2    2      8     11      6      0
      5    1      8      3     -1      0
     17    1      8      5     -1      0
     18    1      8      5     -1      0
      9    1      8      5     -1      0
     11    1      8      3     -1      0
     20    1      8      5     -1      0
     21    1      8     11     10      0
     22    1      8      5     -1      0
     36    1      8     11      9      0
     37    1      8      5     -1      0
     50    1      8      5     -1      0
     51    1      8      5     -1      0
     56    1      8      5     -1      0
     57    1      8      5     -1      0
     13    1      8     29     -1      0
     49    1      8     29     -1      0
     52    1      8     29     -1      0
     55    1      8     29     -1      0
     58    1      8     29     -1      0
      1  255      9     11      8      0
      2  255      9     11     10      0
      0    1      9      5     -1      0
      3    1      9      5     -1      0
      4    1      9      5     -1      0
      5    1      9      3     -1      0
      7    1      9      3     -1      0
      8    1      9      3     -1      0
     10    1      9      3     -1      0
     11    1      9      3     -1      0
     15    1      9      5     -1      0
     16    1      9      5     -1      0
     19    1      9      5     -1      0
     20    1      9      5     -1      0
     90    1      9     39     -1      0
     80    1      9      3     -1      0
     81    1      9      3     -1      0
     87    1      9      3     -1      0
     89    1      9      5     -1      0
     91    1      9      5     -1      0
     93    1      9      5     -1      0
     94    1      9      5     -1      0
     95    1      9      5     -1      0
     96    1      9      5     -1      0
     97    1      9      5     -1      0
    108    1      9      3     -1      0
    109    1      9      3     -1      0
    110    1      9      3     -1      0
    111    1      9      3     -1      0
    112    1      9      3     -1      0
    113    1      9      5     -1      0
    117    1      9     11     11      0
    118    1      9      5     -1      0
    119    1      9     11      6      0
    120    1      9      5     -1      0
    143  255     10     11      6      0
    144  255     10     11      8      0
    145  255     10     11      9      0
      1    2     10     36     -1      0
    125    1     10      5     -1      0
    126    1     10      3     -1      0
    127    1     10      3     -1      0
    128    1     10      3     -1      0
    129    1     10      3     -1      0
    130    1     10      3     -1      0
    131    1     10      3     -1      0
    132    1     10      5     -1      0
    133    1     10      5     -1      0
    134    1     10      5     -1      0
    135    1     10      5     -1      0
    136    1     10      5     -1      0
    137    1     10      5     -1      0
    139    1     10      5     -1      0
    140    1     10      5     -1      0
    155    1     10      5     -1      0
    158    1     10      5     -1      0
    138    1     10     29     -1      0
    157    1     10     29     -1      0
      0    1     11     11      9      0
      4    1     11      3     -1      0
      5    1     11      3     -1      0
      6    1     11      3     -1      0
      7    1     11      3     -1      0
      8    1     11      5     -1      0
      9    1     11      5     -1      0
     10    1     11      5     -1      0
     11    1     11      5     -1      0
     13    1     11      5     -1      0
     14    1     11      3     -1      0
     21    1     11      3     -1      0
     22    1     11      5     -1      0
     30    1     11      5     -1      0
     31    1     11      5     -1      0
     59    1     11      5     -1      0
     80    1     11      3     -1      0
     82    1     11      5     -1      0
     84    1     11      5     -1      0
     78    1     11     29     -1      0
     79    1     11     29     -1      0
     83    1     11     29     -1      0
     81    1     11     47     -1      0
     76    1     11     47     -1      0
     77    1     11     47     -1      0
     166    2     12      3     67      1
     167    2     12      3     -1      1
     168    1     12      3     -1      0
     169    1     12      3     -1      0
     170    1     12      3     -1      0
     171    1     12      3     -1      0
     172    1     12      3     -1      0
     173    1     12      3     -1      0
     175    2     12      5     -1      0
     176    2     12      5     -1      0
     177    1     12      5     -1      0
     178    1     12      5     -1      0
     179    1     12      5     -1      0
     180    1     12      5     -1      0
     181    1     12      5     -1      0
     182    1     12      5     -1      0
     185    2     12      5     -1      0
     187    2     12      5     -1      0
     194    1     12      5     -1      0
      11    1     12     50     -1      0
      12    1     12     50     -1      0
      13    1     12     50     -1      0
      10    1     12     53     -1      0
     186    2     12     29     -1      1
     193    1     12     29     -1      0
Buildings_EndDefinition

Research_StartDefinition
   Research Darwinian 66 3
   Research Officer 0 3
   Research Squad 0 2
   Research Laser 0 3
   Research Grenade 0 3
   Research Rocket 0 2
   Research Controller 0 0
   Research AirStrike 0 0
   Research Armour 0 0
   Research TaskManager 0 3
   Research Engineer 0 2
   CurrentResearch Darwinian
   CurrentPoints 0
Research_EndDefinition

Events_StartDefinition
   Event BuildingOnline :launchpad,1 BuildingOnline :launchpad,2 BuildingOnline :launchpad,3
      Action RunScript  launchpad_finalisland.txt
      End
Events_EndDefinition


There are global buildings in the netmon level (level 13)
Im not sure why they're not here.
Just in case it helps, here's the level 13 map

Code: Select all

Landscape_StartDefinition
   worldSizeX 2500
   worldSizeZ 2500
   cellSize 12.00
   outsideHeight -10.00
   landColourFile landscape_default.bmp
   wavesColourFile waves_default.bmp
   waterColourFile water_default.bmp
Landscape_EndDefinition

LandscapeTiles_StartDefinition
   #                            frac  height desired gen         lowland
   # x       y       z    size   dim  scale  height  method seed smooth  guideGrid
   # =============================================================================
        1  -4.96      1   1834  1.20   1.00    400      1      1   1.00     5   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAJBABDBFBCAPAJAIAFAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKBBBMCGDDDMEMEFECEAEKEMDNBNAGAAAAABAAAAAAAAAAAAAAAAAAAAAAAHBFCBDBFDGNIPKIMKMJLNMBMILIIPFMCJAHAAAAAAAAAAAAAAAAAAAAAAAAAJBLDDFHHMKAMANOPGPOPPPPPPPPPPPPLBEPBFAEAAAAAAABAAAAAAAAAAAAAMBODLGMJJLPNJPANLMPOIPPPPPJOPPKPPPPJJDBBAAAAAAAAAAAAAAAAAAAAIBMDLHGKIMNONPKNPLKMKONPPPPPPNGNIOMPLPPIACDANAAAAAAAAAAAAAAAEBEDLHNLLOFOHOHOCLJIMIGKPMKNMPFNHLCLLNNPIOKGDBKAHAAAAAAAAAAAAAMCOHGMGPPPINGMNKPGHDADIDJCMEJIOKGJBJILENIPIMPEHBEADAAAAAAAAACBDFKMOPPPPMLJPKBHMFFCKBHBCAOBFBMDDHHIEJFLFOBPIJDCGANAAAAAAAAAIDBJJPPPPNPLCIAFOFPEGDACACLDCCGBNBNDDHEIIJLMBOIOAFFBHAAAAAAAABCFALJPPPDLOIMFNEMEDDNDHEGFBEPEFDBCACEEEHNIIJOMJPCJECJAIAAAAAGBLGCMFOJMEJKFOFAFBDECGAHBDBDBDBEDNEBDMCOGGHKIMKOOFLKDOBAAAAAAICIHDNBNMKPHDEOGFFACPAGBEBEBEBDBEBDEPEODGDFGJHHJFNDMKEMBBAAAAAODBIDNMOHKJFPFFGMGBBFBEBDBEBFBFBDBEBEGGDKCMGBHDJAMLMOFDBAAAAAAPDEIHNIOCKGFGFFFOFMBDBEBFBCBDBCBEBEBEFDDOCJFKHDJBMDMAEPAOAAAABADIINMPMIJNFKFCFHFJBEBEBEBCBCBHBCBEBDDNCPDDGDIDJNMILHEMALAAAAAPDKJINNMAJOGJFBFEFABDBEBGBAAPBHBHBDBICECKCPGLKALBMOJIEAAHAAAAANDKJGOMLIKBHKELFFFJEFBEBGBEBEBIBFAJAKCOCIFBHJKMLMOAINDFAEAAAAAJDGIIOPMKKFIOGAFAGFFPEBAMAOAHAAAAAECBDCCGFOIOKFLMNGGMCBAAAAAAAABMGHMMNOKMKDIEFDFBGKFNCOAAAAAAAMCBCDCIFFHMKHLKNILEENAMAAAAAAAAAOEAJMPGMDKJJCFPEHFCFNEFDBDICJBJBHCCGCHKJILIMNOLIKDAADAAAAAAAAADBMGLNKOCLIKIINGBFAFDDICLEACNCLDLFHIEJOLBMJOHKJFFBAAAAAAAAAAAAAAKDHJHPNNINELNJFIAHMGIFJENEDFEFJHJLCMIMIOCMEGMCFAEAAAAAAAAAAAAAAANFCLDPLOMNMLCKIKHJMJDHOGPHEHKKENDNJOHMAGLCLAHAAAAAAAAAAAAAAAAAAAMFKKPPPPFOBMOMLMHLPLBKGKNLIMMODOAJNFMCFAHAAAAAAAAAAAAAAAAAAAAAAAMEKJFNBPNPKPFOOOHOCNONOOGOALGHLDPBEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICHFGHNJEKNLCLOMDLNKIJFHEEECBAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALBNCNDKECEKEPEJDJDABNALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAJALAKAJAIAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
       18   0.00   1492    500  1.20   1.00     50      1 5612718   1.00     1   AA
      456   0.00   1757    384  1.20   1.00    150      1      1   1.00     1   AA
      790   0.00   1770    700  1.20   1.00     50      1      1   1.00     4   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADGCOBPDKADBEBHBAADAJAAAAAAAAAAENDFEBDMDACDCODJBGAAAIAAAAAAAABEACBHAOCKCNCLCGDMBPAAAAAAAAAAAAAAAAAAAAAJAABBDLDACJBECCBCAAAAAAAAAAAAAIAMAABLEPEHEADECKCJAAAAAAAAAAAFAEABAPDFFBDADLBIDIAAAAAAAAAAAAAPAJAKDMCNECBDBIACAAAABICKBDAAAGAPALAIDGEGBJABAAAAAGCEFMDKAAAAAAAAAACDENCKEABNAAAABJCHBBAAAAAAAAAAAABAFNDGDDAAAAAAAAAAAAAAAAAAAAAAAAAIALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
     1389   0.00   1816    650  1.20   1.00    100      1      1   1.00     3   AAAAAAAKEICJAAAABBAFCNFDDAAABOBMCHAOCNBNAABHCHCEFFFPAKAAALDGEAILKLCJAABOCFBBBBCJAMAAAAAAAAAAAAAAAA
     1639   0.00    723    900  1.20   1.00     75      1      1   1.00     3   AABKAAAAAAAAAABCBIBICHHIBGAABHBLCADMFKFCAAAJDHBPDAFIGDAABIBJCKBIFBDKAAAAANDLAPCBAAAAAABIBGAAAAAAAA
     1864   0.00    167    400  1.20   1.00    100      1 33929671   1.00     0
LandscapeTiles_EndDefinition

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

Lights_StartDefinition
   # x      y      z        r      g      b
   # =========================================
     0.00   0.00   1.00     1.85   1.55   1.50
Lights_EndDefinition

Buildings_StartDefinition
   # Type              id      x       z       tm      rx      rz      isGlobal
   # ==========================================================================
   Library             0       902.04  977.78  255     1.00    0.00    0       
   ControlTower        1       1018.63 357.31  1       0.12    -0.99   1            0
   ControlTower        2       362.17  685.97  1       -0.69   -0.72   1            0
   ControlTower        3       349.86  1287.53 1       -0.99   0.14    1            0
   ControlTower        4       982.21  1559.23 1       0.54    0.84    1            0
   ControlTower        5       1530.96 673.24  1       0.97    -0.25   1            0
   ControlTower        6       1483.05 1255.92 1       0.97    0.25    1            0
   LaserFence          7       1645.97 1304.26 2       -0.90   -0.43   0       8       1.00  2
   LaserFence          8       1759.42 856.10  2       -1.00   0.06    0       9       1.00  2
   LaserFence          9       1580.60 369.18  2       -0.79   0.61    0       10      1.00  2
   LaserFence          10      1270.29 113.34  2       -0.46   0.89    0       11      1.00  2
   LaserFence          11      836.05  94.08   2       -0.08   1.00    0       12      1.00  2
   LaserFence          12      417.57  254.83  2       0.62    0.78    0       13      1.00  2
   LaserFence          13      164.31  550.04  2       0.97    0.25    0       14      1.00  2
   LaserFence          14      87.29   954.87  2       1.00    0.00    0       15      1.00  2
   LaserFence          15      139.09  1308.53 2       0.90    -0.43   0       16      1.00  2
   LaserFence          16      460.38  1642.31 2       0.54    -0.84   0       17      1.00  2
   LaserFence          17      902.43  1746.53 2       0.07    -1.00   0       18      1.00  2
   LaserFence          18      1347.08 1655.08 2       -0.42   -0.91   0       7       1.00  2
   RadarDish           19      445.82  1381.73 2       0.71    -0.70   1       
   RadarDish           20      120.72  1556.75 255     -0.89   0.45    1       
   ControlTower        21      72.44   1624.43 1       -0.37   0.93    1           20
   RadarDish           22      1820.11 1928.60 255     -0.25   0.97    1       
   ControlTower        23      1773.93 1954.39 1       -0.83   0.56    1           22
   RadarDish           24      2185.03 1425.56 1       0.35    -0.94   1       
   ControlTower        25      2228.64 1388.86 1       0.70    -0.72   1           24
   RadarDish           26      1828.68 822.79  1       0.00    1.00    1       
   ControlTower        27      1809.91 865.55  1       -0.50   0.86    1           26
   RadarDish           28      1937.07 514.39  1       -0.33   -0.94   1       
   ControlTower        29      1972.68 497.09  1       0.62    -0.78   1           28
   UpgradePort         30      1962.53 392.92  2       1.00    0.00    0       
   ControlTower        31      2158.83 464.47  2       0.80    0.61    1           30
   ScriptTrigger       32      2345.46 176.25  1       1.00    0.00    0       -1     100.00 netmonstart.txt always
Buildings_EndDefinition



Sorry its kindof a page stretcher...
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Mon Nov 06, 2006 2:25 am

What error does Darwinia give when it crashes?

xander
jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

Postby jackbnymbl » Mon Nov 06, 2006 2:32 am

none, it just says that darwinia encountered a problem and needs to close.

BTW, are there any other files that would help you figure out what's wrong?
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Mon Nov 06, 2006 4:59 pm

Pack up your mod into a RAR or ZIP archive, and send it to me. I will have a look. My email is in my profile.

xander
jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

Postby jackbnymbl » Tue Nov 21, 2006 12:56 am

Xander found and fixed my problem (thanks), it was a blank line in my stringsdefault.txt (or whatever its name is)

Now I have another problem that I've actually had since Xander fixed the first one, but I was too lazy to post it:
when creating a new profile after loading my mod, the game crashes, and when you start is back up again, all of the research is set to level 0. I do have a Research_StartDefinition section in my game.txt, so that's not the problem.

Since my linux box can't handle graphics (3 fps - the way games (and screensavers (tripple quotes!)) were meant to be played) Darwinia is installed on a windows comp, and I have tried reinstalling, without luck.

here is my game.txt:

Code: Select all

Locations_StartDefinition
   # Id  Avail                   mapFile                    missionFile
   # ==================================================================
      1    0                map_sandbox.txt                                     null
      2    1                 map_garden.txt                                     null
      3    1            map_containment.txt                                     null
      4    1              map_generator.txt                                     null
      5    1                   map_mine.txt                                     null
      6    1                   map_yard.txt                                     null
      7    1                 map_escort.txt                                     null
      8    1         map_pattern_buffer.txt                                     null
      9    1              map_biosphere.txt                                     null
     10    1               map_receiver.txt                                     null
     11    1                 map_temple.txt                                     null
     12    1              map_launchpad.txt                    mission_launchpad.txt
     13    0                 map_netmon.txt                       mission_netmon.txt
Locations_EndDefinition

Buildings_StartDefinition
   # Id  teamId  locId   type   link  online
   # =======================================
      4    2     12     11      3      1
     55    2     12     11      9      1
   1000    2      9     11     11      1
   1001    2      5     11      3      1
   1002    2      5     11      4      1
   1003    2      4     11      7      1
   1004    2      3     11      2      1
   1005    2      3     11      4      1
      0    2      1      5     -1      0
      2    1      2      3     -1      0
      3    1      2      3     -1      0
      8  255      2     11      3      0
      9    1      2      5     -1      0
     10    2      2      5     -1      0
     11    1      2      5     -1      0
     12    1      2      5     -1      0
      0  255      3     11      2      0
      2  255      3     11      6      0
      3  255      3     11      4      0
      4  255      3     11      5      0
     57    1      3      3     -1      0
     58    1      3      3     -1      0
     59    1      3      3     -1      0
     60    1      3      3     -1      0
     61    1      3      3     -1      0
     62    1      3      3     -1      0
     63    1      3      5     -1      0
     64    1      3      5     -1      0
     79    1      3      5     -1      0
     80    1      3      5     -1      0
     85    0      3     31     -1      0
     86    1      3      5     -1      0
     87    1      3      5     -1      0
     88    1      3      5     -1      0
     89    1      3      5     -1      0
     90    1      3      5     -1      0
     91    1      3      5     -1      0
     92    1      3      5     -1      0
     93    1      3      5     -1      0
     94    1      3      5     -1      0
     82    1      3     29     -1      0
     83    1      3     29     -1      0
     84    1      3     29     -1      0
      0    0      4     14     -1      0
     23  255      4     11      6      0
     49    0      4     11      3      0
     57    1      4      5     -1      0
     51    1      4      3     -1      0
     52    1      4      3     -1      0
     55    1      4      3     -1      0
     59    1      4      3     -1      0
     61    1      4      3     -1      0
     62  255      4     11      5      0
     63    1      4      5     -1      0
     54    1      4      5     -1      0
     64    1      4      5     -1      0
     65    1      4      5     -1      0
     67    1      4      5     -1      0
     68    1      4      5     -1      0
     69    1      4      5     -1      0
     70    1      4      5     -1      0
     76    1      4      5     -1      0
     60    1      4     11      7      0
     66    1      4      5     -1      0
     50    1      4     29     -1      0
     53    1      4     29     -1      0
     89    2      5     11      6      0
     90    0      5     23     -1      0
     92  255      5     11      3      0
      0    1      5      5     -1      0
      1    1      5      5     -1      0
      3    1      5      3     -1      0
      4    1      5      3     -1      0
      8    1      5      3     -1      0
      9    1      5      3     -1      0
     10    1      5      5     -1      0
     11    1      5      5     -1      0
     42    0      5     24     -1      0
     44    0      5     24     -1      0
     43    0      5     24     -1      0
     45    0      5     24     -1      0
     13    1      5      5     -1      0
     51    1      5      5     -1      0
     52    1      5      5     -1      0
     55    1      5      5     -1      0
     57    1      5      5     -1      0
     94    1      5     11      4      0
     96    1      5      5     -1      0
     97    1      5     29     -1      0
    108    1      5     29     -1      0
     12    1      5     29     -1      0
      0    0      6     25     -1      0
      4    0      6     31     -1      0
      5  255      6     11      4      0
      6    1      6      5     -1      0
      7  255      6     11      5      0
      8    1      6      5     -1      0
      9    1      6      3     -1      0
     10    1      6      3     -1      0
     11    1      6      3     -1      0
      3  255      6     11      9      0
     61    1      6      5     -1      0
     91    1      6      5     -1      0
     92    1      6      5     -1      0
     93    1      6      5     -1      0
     94    1      6      5     -1      0
      1    1      6     11     10      0
     55    1      6      5     -1      0
     54    1      6      5     -1      0
     98    1      6     11      3      0
     99    1      6      5     -1      0
    110    1      6     11      8      0
    111    1      6      5     -1      0
    101    1      6     31     -1      0
     53    1      6     29     -1      0
      2    1      6     29     -1      0
      1    0      7     31     -1      0
      2    1      7      3     -1      0
      3    1      7      3     -1      0
      4    1      7      5     -1      0
      5    1      7      5     -1      0
      6    1      7      5     -1      0
      7    2      7      5     -1      0
      8    2      7      3     -1      0
      9    1      7      3     -1      0
     10    1      7      3     -1      0
     11    2      7      3     -1      0
     12    2      7      5     -1      0
     13    1      7      5     -1      0
     21  255      7     11      4      0
     22    1      7      5     -1      0
     14    2      7     29     -1      0
     15    2      7     29     -1      0
      1    1      8     43     -1      0
      2    2      8     11      6      0
      5    1      8      3     -1      0
     17    1      8      5     -1      0
     18    1      8      5     -1      0
      9    1      8      5     -1      0
     11    1      8      3     -1      0
     20    1      8      5     -1      0
     21    1      8     11     10      0
     22    1      8      5     -1      0
     36    1      8     11      9      0
     37    1      8      5     -1      0
     50    1      8      5     -1      0
     51    1      8      5     -1      0
     56    1      8      5     -1      0
     57    1      8      5     -1      0
     13    1      8     29     -1      0
     49    1      8     29     -1      0
     52    1      8     29     -1      0
     55    1      8     29     -1      0
     58    1      8     29     -1      0
      1  255      9     11      8      0
      2  255      9     11     10      0
      0    1      9      5     -1      0
      3    1      9      5     -1      0
      4    1      9      5     -1      0
      5    1      9      3     -1      0
      7    1      9      3     -1      0
      8    1      9      3     -1      0
     10    1      9      3     -1      0
     11    1      9      3     -1      0
     15    1      9      5     -1      0
     16    1      9      5     -1      0
     19    1      9      5     -1      0
     20    1      9      5     -1      0
     90    1      9     39     -1      0
     80    1      9      3     -1      0
     81    1      9      3     -1      0
     87    1      9      3     -1      0
     89    1      9      5     -1      0
     91    1      9      5     -1      0
     93    1      9      5     -1      0
     94    1      9      5     -1      0
     95    1      9      5     -1      0
     96    1      9      5     -1      0
     97    1      9      5     -1      0
    108    1      9      3     -1      0
    109    1      9      3     -1      0
    110    1      9      3     -1      0
    111    1      9      3     -1      0
    112    1      9      3     -1      0
    113    1      9      5     -1      0
    117    1      9     11     11      0
    118    1      9      5     -1      0
    119    1      9     11      6      0
    120    1      9      5     -1      0
    143  255     10     11      6      0
    144  255     10     11      8      0
    145  255     10     11      9      0
      1    2     10     36     -1      0
    125    1     10      5     -1      0
    126    1     10      3     -1      0
    127    1     10      3     -1      0
    128    1     10      3     -1      0
    129    1     10      3     -1      0
    130    1     10      3     -1      0
    131    1     10      3     -1      0
    132    1     10      5     -1      0
    133    1     10      5     -1      0
    134    1     10      5     -1      0
    135    1     10      5     -1      0
    136    1     10      5     -1      0
    137    1     10      5     -1      0
    139    1     10      5     -1      0
    140    1     10      5     -1      0
    155    1     10      5     -1      0
    158    1     10      5     -1      0
    138    1     10     29     -1      0
    157    1     10     29     -1      0
      0    1     11     11      9      0
      4    1     11      3     -1      0
      5    1     11      3     -1      0
      6    1     11      3     -1      0
      7    1     11      3     -1      0
      8    1     11      5     -1      0
      9    1     11      5     -1      0
     10    1     11      5     -1      0
     11    1     11      5     -1      0
     13    1     11      5     -1      0
     14    1     11      3     -1      0
     21    1     11      3     -1      0
     22    1     11      5     -1      0
     30    1     11      5     -1      0
     31    1     11      5     -1      0
     59    1     11      5     -1      0
     80    1     11      3     -1      0
     82    1     11      5     -1      0
     84    1     11      5     -1      0
     78    1     11     29     -1      0
     79    1     11     29     -1      0
     83    1     11     29     -1      0
     81    1     11     47     -1      0
     76    1     11     47     -1      0
     77    1     11     47     -1      0
     66    2     12      3     67      1
     67    2     12      3     -1      1
     68    1     12      3     -1      0
     69    1     12      3     -1      0
     70    1     12      3     -1      0
     71    1     12      3     -1      0
     72    1     12      3     -1      0
     73    1     12      3     -1      0
     75    2     12      5     -1      0
     76    2     12      5     -1      0
     77    1     12      5     -1      0
     78    1     12      5     -1      0
     79    1     12      5     -1      0
     80    1     12      5     -1      0
     81    1     12      5     -1      0
     82    1     12      5     -1      0
     85    2     12      5     -1      0
     87    2     12      5     -1      0
     94    1     12      5     -1      0
      1    1     12     50     -1      0
      2    1     12     50     -1      0
      3    1     12     50     -1      0
      0    1     12     53     -1      0
     86    2     12     29     -1      1
     93    1     12     29     -1      0
Buildings_EndDefinition

Research_StartDefinition
   Research Darwinian 0 3
   Research Officer 0 3
   Research Squad 0 2
   Research Laser 0 3
   Research Grenade 0 3
   Research Rocket 0 0
   Research Controller 0 0
   Research AirStrike 0 0
   Research Armour 0 0
   Research TaskManager 0 3
   Research Engineer 0 2
   CurrentResearch Darwinian
   CurrentPoints 0
Research_EndDefinition

Events_StartDefinition
   Event BuildingOnline :launchpad,1 BuildingOnline :launchpad,2 BuildingOnline :launchpad,3
      Action RunScript  launchpad_finalisland.txt
      End
        Event AlwaysTrue
      Action Runscript  game_intro.txt
      End
   Event NotInLocation BuildingOnlin :netmon,0
      Action Runscript netmon_victory.txt
      End
Events_EndDefinition


Sorry it's another page stretcher...

Anyway, if anyone can tell me what's wrong, thanks.
User avatar
Shwart!!
level5
level5
Posts: 1237
Joined: Sun Nov 12, 2006 1:36 am

Postby Shwart!! » Tue Nov 21, 2006 4:18 pm

:shock: That is hard to look at...
I've never encountered such a problem, possibly because I always boot the mod/profile from preferences.txt.
Try adding (or replacing):
Mod = jackbnymbls mod
UserProfile = some random profile

Hope it helps!

EDIT: Preferences.txt is in your root Darwinia directory. The two lines mentioned above should be near the bottom; at least, in the bottom section.
A non-existant profile in Preferences.txt will be automatically created when Darwinia starts, always for the selected mod.
jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

Postby jackbnymbl » Tue Nov 21, 2006 11:37 pm

It worked, getting me into the user account without taking all of the research, but then crashed on reseting a level
User avatar
Shwart!!
level5
level5
Posts: 1237
Joined: Sun Nov 12, 2006 1:36 am

Postby Shwart!! » Wed Nov 22, 2006 5:25 am

The reset caused a crash? Sounds to me like something being incorrectly saved to the profile... xander (or anyone else with high knowledge of modding), can you expound on this? I'm just a newb who has a dim grasp of the system.
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Wed Nov 22, 2006 6:57 am

I've looked at your posts...without seeing all the other files/scripts/strings I can't make heads from tails.
I would read your game texts actions and events and look at each script and string, map and mission file...check spelling...start all mods with a new profile.
If when testing levels, if you make big changes in the editor, you may need to make a new profile just to get back and test the mod in game mode.
Also try not to make too many changes at once before going back in and testing for crashes. Double check your mission objectives listing with your game text all maps.

...oh...try to reduce your scans size in IrfanView or something. :)
jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

Postby jackbnymbl » Wed Nov 22, 2006 1:38 pm

The only thing was, this level was working perfectly, then it stopped when I added a second level. My only guess was that game.txt was left open and then saved while using the visual level editor, but I dont see how that can cause all of these problems
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Nov 25, 2006 2:32 am

I noticed in your game.txt there is no (Action RunScript mission_launchpad.txt) -or- (Action RunScript mission_netmon.txt)
...unless you have them tripped off anouther script file.
The (Event AlwaysTrue - RunScript game.intro.txt) should be listed first in the Events StartDefinition.

I see where the launchpad buildings go online and trigger the finalisland.txt but not where the game text "starts" the mission_launchpad.txt file...the same for mission_netmon.txt.

I don't know if that is the trouble or not. Look close at each step, when the mission is turned on...and when it triggers the next step...and so on.

EDIT// If what is listed in your mission file doesn't match the game.txt or vise versa... the game will just go back to your desktop...the game text won't know how to run the game.
Don't feel bad...it has happened to me several times. :)
jackbnymbl
level1
level1
Posts: 12
Joined: Sat Nov 04, 2006 12:55 pm

Postby jackbnymbl » Sat Nov 25, 2006 4:42 am

I put the alwaysrun script first, and fixed a minor spelling error, and it worked, so that must have been it. Thanks!
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Nov 25, 2006 9:56 pm

...cool...
glad I could help...

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 8 guests