• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Crashes of unknown reason

El_Sith

Landlubber
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
G'day
Having added a retextured Corvette (unfortunately i don't know how to post images) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
my bad
the game sometimes crashes during entering the main menu or just in the game

Here's my error.log:
RUNTIME ERROR - file: shipsships.h; line: 24
invalid index 1000 [size:514]
RUNTIME ERROR - file: shipsships.h; line: 24
function 'GetShipByID' stack error
RUNTIME ERROR - file: shipsships_init.c; line: 7960
Using reference variable without initializing
RUNTIME ERROR - file: shipsships_init.c; line: 7960
null ap
RUNTIME ERROR - file: shipsships_init.c; line: 7960
no rAP data
RUNTIME ERROR - file: shipsships_init.c; line: 7961
Using reference variable without initializing
RUNTIME ERROR - file: shipsships_init.c; line: 7961
null ap
RUNTIME ERROR - file: shipsships_init.c; line: 7961
no rAP data
RUNTIME ERROR - file: shipsships_init.c; line: 7962
Using reference variable without initializing
RUNTIME ERROR - file: shipsships_init.c; line: 7962
null ap
RUNTIME ERROR - file: shipsships_init.c; line: 7962
no rAP data
RUNTIME ERROR - file: shipsships_init.c; line: 7963
Using reference variable without initializing
RUNTIME ERROR - file: shipsships_init.c; line: 7963
null ap
RUNTIME ERROR - file: shipsships_init.c; line: 7963
no rAP data
RUNTIME ERROR - file: shipsships_init.c; line: 7964
Using reference variable without initializing
RUNTIME ERROR - file: shipsships_init.c; line: 7964
null ap
RUNTIME ERROR - file: shipsships_init.c; line: 7964
no rAP data
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
incorrect argument index
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
Invalid conversation
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
incorrect argument index
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
Invalid conversation
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
incorrect argument index
RUNTIME ERROR - file: locationslocations_loader.c; line: 849
Invalid conversation
---------------------------------------------------------------------
and here are my ship's lines in ships_init:
//-------------------------------------------------------------------------
//Corvette OC , By El_Sith
//-------------------------------------------------------------------------
makeref(refShip,ShipsTypes[n]);
n++;
refShip.id = "Corvette_OC";
curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS
refShip.name = "Corvette4";
refShip.all = "Corvette3_0";
refShip.sname = "CorvetteOC";
refShip.Class = 2;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 32;
refShip.Weight = Tonnes2CWT(570);
refShip.Capacity = 1600; // NK was 1500, now up to 80%
refShip.CannonsQuantity = 32;
refShip.MaxCrew = 250;
refShip.MinCrew = 38;
refShip.SpeedRate = 20.2; // NK - 18.5
refShip.TurnRate = 68; // NK - 45;
refShip.Price = 160000;
refShip.HP = 3800;
refShip.SP = 100;
//refShip.EmblemedSails.normalTex = "shipssail_Pirates.tga";
refShip.AbordageLocation = "BOARDING_CORVETTE";

refShip.WaterLine = 0.1;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.55;
refShip.TurnDependWeight = 0.8;

refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 12; refShip.InertiaBrakingY = 8;
refShip.InertiaAccelerationZ = 6.0; refShip.InertiaBrakingZ = 4.0;

refShip.GeraldSails.rey_b2 = 1;
refShip.GeraldSails.rey_b3 = 1;
------------------------------------------------------------------------------------
It crashes one in two times of starting the game and about every two hours
( Jumps to desktop)
I know it's not often but it SUX <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":c" border="0" alt="mad.gif" />
humph

(I'm German, I hope my English is acceptable)
 
The way the above is formatted implies you have build 11 (or at least 10).
The one thing that jumps out at me is corvette3_0, which unless you've added it will not exist. I suggest linking to either corvette1_0 or corvette2_0, depending on which you used as a base.
 
Hello again, it still crashes but the error log is shorter:
RUNTIME ERROR - file: Loc_aiLAi_utils.c; line: 56
Using reference variable without initializing

I'm running Build 11
 
i usually do, but there are two ways the game crashes:
- During the game
- When starting the game (

I think the error.logs are the same, and the one above is from a
"starting crash"
 
I didn't change anything in LAI_utils !
Even if I wanted, i wouldn't be able to!

P.S.: Thx to all for their VERY quick answers
java script:emoticon('<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />')
java script:emoticon('<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />')
 
Hmm, weird.
I recommend copying the one from the build download over just to be sure.
Because _something_ in it is giving you an error...

'Appy to 'elp! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Seems to work.
Today I didn't havea single crash,
thx to the great NK
java script:emoticon('<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />')java script:emoticon('<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />')java script:emoticon('<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />')
 
Naw, just happy to help. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
And not great, just damn persistant. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Back
Top