• 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!

Build 12 and Frigates

bumpkin

Master Mariner
Storm Modder
Hello All,

First let me say I love the new build. Everyone involved has done a great job. My problem is with the Regular Frigates. Initially I had captured a French one but every time I tried to make it the Ship I commanded the game just dumped me out. No error messages or anything, just black screen then I am back at the desktop. At the time I had a fleet of three ships a French MOW, a french Frigate and a french light Frigate (aka corvette). I have since sold the french Frigate and Bought <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> a British Frigate. Now I am able to sail the Frigate but occaisonally have problem resuppling it. When I go the store and press autobuy the game stops responding. I let it run for over an hour last night to see if it would ever recover. Also my french ships do not show crew status until after I command them in a battle or sometimes order them to attack another ship.

It there any logging functions I can turn on to provide more information just ask.

Thanks
Greg.
 
I don't have crashes with any ships yet, I've not tried a french frigate yet in build 12, and I never use `auto-buy`.

But I do notice that usually if your ships have a full crew, the status bar for crew is black until you lose a couple crew in combat, or a storm, etc.
 
Sometimes I have that CTD problem when trying to switch ships through the "swap ships" button in the plunder screen... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" /> It doesn't happen to me often enough to call it a real problem tho, it's what I figure is just an anomaly of the game running on my weird system.

I never use autobuy, my various needs at various times are so different that I like to control what I buy and sell. If you've got a lot of cargo to exchange, I think it can very likely cause a freezeup.

There are logging functions, Greg, look in the PotC directory and find "engine.ini" - open it in Notepad and from the top:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->modules path = modules

full_screen = 1

screen_x = 800

screen_y = 600
;screen_x = 1024
;screen_y = 768
;screen_x = 768
;screen_y = 576

lockable_back_buffer = 0

screen_bpp = D3DFMT_X8R8G8B8

texture_degradation = 0

controls = pcs_controls

program_directory = PROGRAM

run = seadogs.c

show_fps = 0

safe_render = 1

texture_log = 0

geometry_log = 0
;offclass = soundservice

mem_profile = memory.mp

startFontIniFile = resourceinifonts.ini

font = interface_normal

numoftips = 0

tracefilesoff = 0

[script]

debuginfo = 1

codefiles = 0

runtimelog = 0<!--c2--></div><!--ec2-->

You need to edit the line <span style='color:red'>tracefilesoff =</span> to 0 instead of 1.

That should make logfiles for you. You'll see them in the PotC directory after you've had a problem with the game. They end with the file extension .log - open in Notebook and copy and paste here for analysis.

Hope this helps! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Thanks for the info. I will giver a try next time I get to fire up the game. I will also try capturing another French built Frigate and see what happens when I make it my command.

I use Auto Buy because I am just to lazy to figure out how much wheat and rum to buy per crewman per day.

Thanks again
Greg.
 
Cat,

I changed the setting as you suggested. I have not seen a problem occur yet. I have also committed the number one sin of software debugging. I have changed two things. I also docked my MOW. So now my fleet consists of an English Frigate and an English Corvette. Everything seems to be working better.

Will keep you updated when I get a chance to reproduce the problem.

Greg.
 
Ah great, you did some software debugging? Cool! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/cool.gif" style="vertical-align:middle" emoid="8)" border="0" alt="cool.gif" />

What did you change? Maybe we all need to know what you did so it can help us! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Hello Cat,

I am a software engineer by profession, though I have not written a line a little over a year. I have been spending my evenings by finishing the basement so that I can begin building my own personal 8 foot long sailboat.

I was able to somewhat reproduce the problem last night. I had relaunched my French MOW and was sailing a Brit Xebec. To generate the problem I was attempting to transfer my command to a Spanish Brig I had caputured when the game just exited to the desktop.

Below is the error log that was left in the POTC directory.
RUNTIME ERROR - file: dialogsDuarte Correja_dialog.c; line: 95
missed attribute: hitman
RUNTIME ERROR - file: dialogsDuarte Correja_dialog.c; line: 95
no rAP data
RUNTIME ERROR - file: questsquests_reaction.c; line: 189
missed attribute: skip
RUNTIME ERROR - file: questsquests_reaction.c; line: 189
no rAP data
RUNTIME ERROR - file: questsquests_reaction.c; line: 189
function 'CheckAttribute' stack error
RUNTIME ERROR - file: questsquests_reaction.c; line: 189
function 'CheckAttribute' stack error
RUNTIME ERROR - file: Loc_aiLAi_events.c; line: 425
missed attribute: chr_ai
RUNTIME ERROR - file: Loc_aiLAi_events.c; line: 425
null ap
RUNTIME ERROR - file: Loc_aiLAi_events.c; line: 425
no rAP data
RUNTIME ERROR - file: Loc_aiLAi_events.c; line: 429
function 'LAi_type_error_TemplateComplite' not found
RUNTIME ERROR - file: Loc_aiLAi_events.c; line: 429
process event stack error
RUNTIME ERROR - file: interfacetransfer_main.c; line: 246
missed attribute: shiptransferinterface
RUNTIME ERROR - file: interfacetransfer_main.c; line: 246
null ap
RUNTIME ERROR - file: interfacetransfer_main.c; line: 246
no rAP data
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero
RUNTIME ERROR - file: storestoreutilite.c; line: 142
Divide by zero

Hope this helps. The other logs in the same directory were the system.log and compile.log.

Both of those were around 15k in size.

Thanks again for the help.
Greg.
 
Okay, so this is Build 12, nothing else modded into it?

It would be great to run this problem down, thanks for the help! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
This is Build 12. I have not installed any mods since installing build 12. I am not sure If I had installed Build 12 on top of my Build 11 which had a couple of botch mod attempts or if I started from scratch. Sorry. I noted that on the system where POTC is installed, there is an Old PoTC install directory.

Ater reading the White Wash background thread, it seems his and my problems are related. As I have seen many of the same issues.

Hope this helps.
Greg.
 
Sorry in the previous post I referenced the wrong Kiffer thread. it should be the wee bit of Lag thread.

Sorry
Greg.
 
Ah, the lag is typical, I think, even with `higher-end` vid cards. It shouldn't affect your gameplay, the game just happens to stutter every now and again.

I think you're okay with your install, Bumpkin, now to look at the error log you posted, looks like the trouble is in transfer_main.c - and I have asked NathanKell if he can spare a moment to check this out for you. He seems to have been the one who tweaked this - perhaps he will have an answer for you.
 
Back
Top