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

Few minor modifications/additions/`bug-fixes` for PotC

Yep, good luck on your exams Pieter!

NK: No "Stephen Maturin" to be found... but did you find "Steven `Mather-Wren`"? heh heh...

Actually, I'd like to figure out how to make my own characters init file. No problem with my own locations, but I tried my own characters file two different ways and neither worked.
 
Sorry, that's what I meant. It's in your readme for Apothecary, but not in the oxbay chars init in Pieter's archive.

On making a characters init, it's the exact same as locs.
1. Make new file like existing charinitXXXXX_init.c file
2. #Include it at the top of Ch_init
3. Add function call beside other (create_name_characters() char init function calls (in the middle of the ch_init file)

For me, I did:
1. #include "charactersinitNK Characters.c" // NK
2.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->/ NK -->

    n = CreateNKCharacters(n);

    ReloadProgressUpdate();

    // NK <--<!--c2--></div><!--ec2-->
3, in the file:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->int CreateNKCharacters(int n)

{

    ref ch;

    makeref(ch,Characters[n]);

    //ch's init......

    n++;



    //make next ref and char, then increment n again



    return n;

}<!--c2--></div><!--ec2-->
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Sorry, that's what I meant. It's in your readme for Apothecary, but not in the oxbay chars init in Pieter's archive.[/quote]Looks like yet another mistake by me. Will be fixed later today, I hope...
 
No worries, that's what happens when one's compiling mods. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
(I should know! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> )
 
Pieter Boelen, today I finally had time to take home this huge package of yours. Sorry to say it didn´t start upon a fresh 12. Has anyone got it right, am I missing something? Wanna play all those items etc etc
 
CCC, here is something from the potcmodhelper, don´t know how to errorlog.

`2005-03`-25 18:11:32 PotC ModHelper started
Read primary configuration file:
c:programbethesda softworksbu potc 12toolspotcmodhelper.ini
Log file is :
C:programBethesda SoftworksBU POTC 12toolsPotCModHelper.log
Read documentation file :
c:programbethesda softworksbu potc 12toolspotcmodhelper.txt
Read hash file :
c:programbethesda softworksbu potc 12toolspotcmodhelper.crc
Read location file :
c:programbethesda softworksbu potc 12toolspotcmodhelper.loc
Set current working directory to :
.
Error: PotC engine (engine.exe) not found

Please select the PotC directory manually
Menue: File -> Select PotC directory

Initialisation finished

I always select it manually???
 
Hmm.
Try doing it manually: open engine.ini and set tracefilesoff to 0.
Then `double-click` engine.exe
After the bang/crash/quit, post error.log
 
NathanKell, here is my errorlog:

-----------------------------------------------------------
Error summary
-----------------------------------------------------------
File ....: programcharacterscharacterUtilite.c
Line ....: 1681
Type ....: COMPILE ERROR
Error ...: Invalid Expression
Count ...: 7
Status ..: File is newer as the file from build
Local file : 2005.03.25 23:38:56
Build file : 2004.05.01 18:11:32
Local CRC : 3ab66ffd
Build CRC : 1deeb7e1
-----------------------------------------------------------
Error.log
-----------------------------------------------------------
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Invalid Expression
COMPILE ERROR - file: characterscharacterUtilite.c; line: 1681
Undeclared identifier: RM

-----------------------------------------------------------
Compile.log
-----------------------------------------------------------

-----------------------------------------------------------
System.log
-----------------------------------------------------------
Scanning modules
Loading modules...
Loaded 0
Reset...
Initializing CORE...
Creating atoms space: 128
done
initializing complete
User Rised Exception
C:pROJECTSDRIVE_V2ENGINESOURCESCore.cpp line 526
fail to create program

line 1681 int bestnat etc


//chooses best flag for char
int ChooseBestFlag(ref char)
{
int bestnat = RMGetHighestRelation(&char); // `04-12`-06 moved the code here to this function back in nations.c
char.nation = bestnat;
return bestnat;
}
 
Ah.
Did you update to the latest version of the build before installing PB's modpack?
{if you can spare the DLing, download PB's `all-in`-one b12 installer and run it, then unzip the ModPack on top}
 
NathanKell, I´m almost desperate now.

1) PB´s `all-in`-one b12 installer is it the file b12.exe in the FTP?
In that case it didn´t work either.

2) right now I can´t even start a new installed fresh POTC. Black screen and a pling. Got a message something about debug running???
Reset my computer two days back. Nothing works.
It´possible to run a build12.
 
One of my computers (Duron1000/Win98 <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" /> ) has something similar: about every third time I start PotC the game CTDs at the loading screen. If i try again I get stuck with a black screen. But the third try get's it running again <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

But even my aborted games create a very short errorlog. Do yours?
 
CCC, I´m not sure at all about how to create that errorlog.

open engine.ini tracefiles off to 0, after crash POTCMODHELPER or what?

I have a very bad feeling that after I tried to use POTCMODHELPER everything started to go wrong...
 
Now that you say it: That happened to me once, POTCHodHelper overwrote something and everything was ruined until I reinstalled.
I'm sorry I can't remember which file it overwrote, but you could check engine.in and any other textfile in the POTC main folder.

There you should also find the error, compile and system logs. They are generated without POTCModHelpre also, if you have the settings in engine.ini (I think there's three of them).
 
THe full installation file is not on the FTP; it's available from the files section of the main Pirates Ahoy! website.
 
Finally I got everything allright. Did what you told me to some time ago NathanKell. Many thanks.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
<!--`QuoteBegin-Jack` Rackham+--><div class='quotetop'>QUOTE(Jack Rackham)</div><div class='quotemain'><!--QuoteEBegin-->CCC, I´m not sure at all about how to create that errorlog.

open engine.ini tracefiles off to 0, after crash POTCMODHELPER or what?  

I have a very bad feeling that after I tried to use POTCMODHELPER everything started to go wrong...[/quote]
BTW, you don't need the Modhelper to create an errorlog. As soon as you set tracefiles off to 0 PotC will create three logfiles in the rootdirectory: system, compile and error. And you can easily find the line which the errorlog reports if you use an editor displaying linenumbers, like PS Pad.
 
Who is BTW?

Thanks anyway for this, think I read it in a Readme yesterday.
Now I´ll check that jump movement out. From roof to roof, that would be a thing...
This "hobby" really can keep you busy, right?
 
Back
Top