• 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, crashes everywhere

KongSuo

Landlubber
I've been encountering a lot of problems when boarding ships with CTDs. Sometimes it's when I'm looting a dude, sometimes it's just when I'm walking around after everyone is dead on the level, sometimes it's when opening a container, sometimes it's in the middle of a fight. But the overwhelming majority of my CTDs have been while on someone else's ship uninvited. I know crashes are part and parcel of the engine and have been since the beginning, but this is to the point where it's getting a little unnerving. I would say about 1 in every 3 boardings results in a crash.

Here is the most recent error log, but they're usually a bit longer than this, and usually have a lot more references to shipai.

RUNTIME ERROR - file: sea_ai\AITasks\AIAttack.c; line: 26
missed attribute: nation
RUNTIME ERROR - file: sea_ai\AITasks\AIAttack.c; line: 26
no rAP data
RUNTIME ERROR - file: sea_ai\AITasks\AIAttack.c; line: 28
missed attribute: index
RUNTIME ERROR - file: sea_ai\AITasks\AIAttack.c; line: 28
no rAP data

Anything I can fiddle with on my end aside from not pirating everything I see?
 
Some players have constant crashes in boardings and some players have none. The latest version is supposed to be much better at preventing crashes. What version are you playing? The date is on the main menu screen.
 
Mine was stable forever, but I guess I wasn't boarding as many big ships. That seems to play a part in it too, or at least that's how it feels.

19 Jan 2015, beta 3.3
 
Haven't seen those particular errors before. The missing index might mess things up for you.
Did the edit date of the error.log file match with the time of the crash?

You could try the Beta 3.5 WIP later this week. It contains a lot of new fixes and might be a bit more stable.
There is already a version available from the link in my signature, but there will be another one in a few days.
 
That sounds good to me. I love fiddling with new things.

A tangential note: I picked up Davy Jones' ship (it is absolutely epic, thanks for making it). I ran into a freeze glitch when I tried to repaint it. It let me repaint it, but when I tried to go back out to the deck of the ship, it froze. No CTD, just stopped working and I had to hit ESC, which closed out the whole program. Just a weird little oddity, might not mean anything or matter at all. That kraken tho <3

And as always, thanks for the responses!
 
I picked up Davy Jones' ship (it is absolutely epic, thanks for making it). [...] That kraken tho <3
With Beta 3.5, you'll be able to select Davy Jones with the Flying Dutchman as your starting character right at the beginning of the game.
He's a "Cursed" character (like he should be, of course) and at the moment shares the Curse of Cortes that also applied to Barbossa.
Of course that is wrong, so as per the next release, we'll have something different in store for him: http://www.piratesahoy.net/threads/the-curse-of-davy-jones.25022/
This is still an experimental feature and the specifics are up for debate. I'd certainly appreciate any comments or suggestions you might have there. :doff

I picked up Davy Jones' ship. I ran into a freeze glitch when I tried to repaint it. It let me repaint it, but when I tried to go back out to the deck of the ship, it froze. No CTD, just stopped working and I had to hit ESC, which closed out the whole program. Just a weird little oddity, might not mean anything or matter at all.
There are indeed two copies of the Dutchman: The cursed one, Davy Jones' command, and the uncursed one, Will Turner's version.
The uncursed one cannot summon the Kraken (because that one would have already been killed and Will Turner wouldn't do it anyway).
I can't remember now if repainting is supposed to be enabled for those two, but I can check on that. It might make sense to not allow repainting due to the different features from those ships.

Can you replicate the "game hanging" upon doing this? If so, it might warrant a Bug Tracker entry.
Any accompanying log files might be helpful too.
 
Ah, good timing on another crash. Pinnace-of-war, this time.

RUNTIME ERROR - file: Loc_ai\LAi_equip.c; line: 141
missed attribute: firstperiod
RUNTIME ERROR - file: Loc_ai\LAi_equip.c; line: 141
no rAP data
RUNTIME ERROR - file: Loc_ai\LAi_equip.c; line: 141
missed attribute: lastperiod
RUNTIME ERROR - file: Loc_ai\LAi_equip.c; line: 141
no rAP data
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: Loc_ai\LAi_boarding.c; line: 1640
Using reference variable without initializing
RUNTIME ERROR - file: Loc_ai\LAi_boarding.c; line: 1640
uninitialized function argument
RUNTIME ERROR - file: Loc_ai\LAi_boarding.c; line: 1640
function 'LAi_SetFightMode' stack error
RUNTIME ERROR - file: Loc_ai\LAi_boarding.c; line: 1641
Using reference variable without initializing
RUNTIME ERROR - file: Loc_ai\LAi_boarding.c; line: 1641
Using reference variable without initializing
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 752
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 741
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 741
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
Using reference variable without initializing
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
no DST
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 356
process event stack error
RUNTIME ERROR - file: seadogs.c; line: 741
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 741
Save - ARef to non existing attributes branch

I checked the Dutchman's paint job again. What I wouldn't give for a pair of racing stripes lol. Couldn't get it to glitch out again, but I'll keep trying just to make sure it was just on my end.
 
I checked the Dutchman's paint job again. What I wouldn't give for a pair of racing stripes lol. Couldn't get it to glitch out again, but I'll keep trying just to make sure it was just on my end.
Inconsistent problem then. Good to know. :doff
 
Are you using 3.5 already now or still 3.3?
 
Back
Top