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

B14alph8 bugs

Adamski62

HoO Team Member
3D Artist
Animator
Storm Modder
Storm Modeller
Hi,

Run into a problem in Bridgetown(Greenford)....storeman dialog doesn't work.

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Error log:-

COMPILE ERROR - file: Locations\locations_locators.c; line: 120
file not found: dialogs\ENGLISH\John  Filbert_dialog.h
COMPILE ERROR - file: Locations\locations_locators.c; line: 120
file not found: dialogs\John  Filbert_dialog.c<!--c2--></div><!--ec2-->

Ther is no line 120 in that file and the dialog files are where they should be <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Compile log:-

ItemLogic: On load location Greenford_Store
ItemLogic: found 0 buttons
SETTING MUSIC: music_shop
Dialog: Missing dialog file: dialogs\John  Filbert_dialog.c
locator_name = reload1 lockedReloadLocator =
reload_cur_island_index = -1
reload_cur_location_index = 115
reload_island_index = -1
reload_location_index = 112
Start reload
PauseAllSounds
ReloadStartFade
ItemLogic: On unload location
ReloadEndFade
ItemLogic: On load location Greenford_town
ItemLogic: found 0 buttons
ItemLogic -> randItem spawn: no model for item Greenford_town.indian4
ItemLogic: Loaded model items\\Antidote
SETTING MUSIC: music_eng_town<!--c2--></div><!--ec2-->

Those are the relevent parts of the reports.

Also the escort missions in the tavern.....everything just stops working after accepting a mission,no speaking,no movement,
game doesn't respond to keyboard.

<img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
damski.
 
<!--quoteo(post=295854:date=Jan 8 2009, 12:56 AM:name=damski62)--><div class='quotetop'>QUOTE (damski62 @ Jan 8 2009, 12:56 AM) <a href="index.php?act=findpost&pid=295854"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Run into a problem in Bridgetown(Greenford)....storeman dialog doesn't work.
file not found: dialogs\ENGLISH\John Filbert_dialog.h
file not found: dialogs\John Filbert_dialog.c<!--QuoteEnd--></div><!--QuoteEEnd-->

In file StoreOwners.c change

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ch.Dialog.Filename = "John  Filbert_dialog.c";<!--c2--></div><!--ec2-->

to

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ch.Dialog.Filename = "John Filbert_dialog.c";<!--c2--></div><!--ec2-->

There were two spaces in the file name where there should have been one.

The line

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ch.greeting = "Gr_John  Filbert";<!--c2--></div><!--ec2-->

probably needs to be changed as well.

Hook
 
I just noticed there are the file names with two spaces in the following folders:

PROGRAM\Storyline\standard\DIALOGS
PROGRAM\Storyline\standard\DIALOGS\ENGLISH
PROGRAM\Storyline\standard\DIALOGS\RUSSIAN

The files in the following folders have only one space:

PROGRAM\DIALOGS
PROGRAM\DIALOGS\ENGLISH

I'm not sure what a proper fix would be, but it seems like all the file names should be the same in all folders.

For what it's worth, I'm playing the standard storyline and my StoreOwners.c file has the two spaces, and the dialog works just fine. If you're not playing the standard storyline, there may be a problem with that dialog.

Hook
 
Thank you very much, Hook for your observations! <img src="style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" />

It would be better to change Dialog.filename for John Filbert, but if we change Greeting we should also correct an alias in RESOURCE\INI\ALIASES\Greetings_alias.ini because there's a two-space version.

pirate_kk
 
Hi,

Thanks for the help...changed the files,all to one space and then all to two spaces, but still no joy. Still getting the same error message.
I've even tried putting both files in both folders togeather ....it still won't load either of them.

I think I'll try a reinstall.

damski.
 
Yes Pieter.

Reinit first try and new game next try, no difference.

Anyway I'm about to reinstall it now....what else has everyone got installed after the full install,(what fixes etc.)?
 
Hello, i have found some dialogs failure too, have named them in the disable interceptor f12 topic.

have found a fix to one of them.

Best regards

Meyer189
 
As far as fixes are concerned, I installed the ones posted in the last pages of the Alpha 8 thread, as well as all of Hook's.
 
Hi,

After a reinstall and the changes made to the name spaces in all the relevent files John Filbert is now working......thanks <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

Haven't altered anything else yet...I'll do that as I progress.

<img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
damski.
 
Hi,

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Pieter Boelen Posted Jan 9 2009, 01:33 PM
Can you upload the files you modified for fixing that?<!--QuoteEnd--></div><!--QuoteEEnd-->
No need....Hooks files covered it.

A bit of a puzzle here with Aruba\Oranjestad store:-
First I got the message "can't load dialog file for Peter van den Vondale" .....added the 'van' to the dialog files & it worked.

But on noticing that I had two characters stood in the same place in front of me I thought I'd have a look at why.
The files I found are as follows.
PROGRAM\Characters\init\Aruba.C

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    ch.old.name = "Peter";
    ch.old.lastname = "den Vondele";
    ch.name    = TranslateString("", "Peter");
    ch.lastname    = TranslateString("", "den Vondele");
    ch.id = "Rost van Moor";
    ch.model = "korsar";
    ch.sex = "man";
    ch.location    = "Oranjestad_store";
    ch.location.group = "sit";
    ch.location.locator = "sit1";
    ch.Dialog.Filename = "Peter van den Vondele_dialog.c";
    ch.rank     = 1;
    ch.nation = HOLLAND;
    ch.reputation = "None";
    ch.experience = "0";
    ch.skill.Leadership = "0";
    ch.skill.Fencing = "0";
    ch.skill.Sailing = "0";
    ch.skill.Accuracy = "0";
    ch.skill.Cannons = "0";
    ch.skill.Grappling = "0";
    ch.skill.Repair = "0";
    ch.skill.Defence = "0";
    ch.skill.Commerce = "8";
    ch.skill.Sneak = "0";
    ch.money = "10";
    LAi_SetStayType(ch);
    LAi_SetLoginTime(ch, 0.0, 24.0);
    Facemaker(ch);
    AddGameCharacter(n, ch);<!--c2--></div><!--ec2-->
--------------------------------------------
PROGRAM\Characters\init\StoreOwners.c

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//==================================| Oranjestad store

|==================================//
// Cornelis Huijser
    ch.old.name = "Cornelis";
    ch.old.lastname = "Huijser";
    ch.name = TranslateString("","Cornelis");
    ch.lastname = TranslateString("","Huijser");
    ch.id        = "Cornelis Huijser";
    ch.model = "storeman";
    ch.sex = "man";
    ch.location    = "Oranjestad_Store";
    ch.location.group = "sit";
    ch.location.locator = "sit1";
    ch.Dialog.Filename = "Cornelis Huijser_dialog.c";
    ch.nation = HOLLAND;
    ch.rank     = 8;
    ch.reputation = "43";
    ch.experience = "0";
    ch.skill.Leadership = "1";
    ch.skill.Fencing = "1";
    ch.skill.Sailing = "1";
    ch.skill.Accuracy = "1";
    ch.skill.Cannons = "1";
    ch.skill.Grappling = "1";
    ch.skill.Repair = "1";
    ch.skill.Defence = "1";
    ch.skill.Commerce = "4";
    ch.skill.Sneak = "1";
    ch.money = "10";
    ch.money.quest = "0";
    ch.quest.meeting = "0";
    ch.quest_begin = "0";
    ch.quest.trade_date = "";
    ch.quest.item_date = "";
    LAi_SetMerchantType(ch);
    LAi_SetLoginTime(ch, 0.0, 24.0);
    LAi_SetHP(ch, 80.0, 80.0);
    LAi_group_MoveCharacter(ch, "DOUWESEN_CITIZENS");
    ch.greeting = "Gr_Gheerlof Darlang";
    AddGameCharacter(n, ch);<!--c2--></div><!--ec2-->
---------------------------------------
PROGRAM\STORE\store_init

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    Stores[ORANJESTAD_STORE].Island    = "Aruba";
    Stores[ORANJESTAD_STORE].group    = "Oranjestad";
    Stores[ORANJESTAD_STORE].owner    = "Cornelis Huijser";
    STORE_QUANTITY++;<!--c2--></div><!--ec2-->
---------------------------------------
If all the names are changed to Peter den Vondele, (which it says in the dialog interface on screen),the game can't find the dialog.c again . Changing the model ID to korsar from storeman,(above conflict , it's the korsar dialog head that shows ingame), to match makes no difference.....there's still two characters there.

Beats me...but it's no wonder it doesn't work right.
Anyway ,who are "Cornelius Huijser" and "Rost van Moor" ?, just as a matter of interest

<img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
damski.

P.S.....To add insult to injury ,the tavern is locked up too <img src="style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" />
 
That sounds pretty confused. I'll try to remembed to have a look at this.
There should just be ONE storeowner. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
Yes Pieter ,it is pretty confused......so was I.

What files are used when assigning a character to a particular location?

I'm assuming that the storeowner should be Peter den Vondele and his model is korsar.
The cloned location model used is the smugglers lair....building model smugglers lair tavern

Don't know if that helps any.
 
I'd say remove the one from PROGRAM\Characters\init\Aruba.c and modify the other guy the way you see fit. <img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />
 
I tried making all the files match 'Peter den Vondele' ..... it's not these that telling it what dialog file to read seemingly <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
Only when I add the 'van' into his dialog files name... it can find the files to read.
Are there any other files involved that I've not found?

As for the two characters being in the same place...any ideas on that?

Also in the location, there are two 'reload 1' locators....that isn't right is it?
 
Two locators with the same name? Huh? <img src="style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" />
In any case, you just need one character, the one in StoreOwners.c.
JUst make sure that his dialog file in the code and the actual filename match.
New game probably required for the change to take effect.
 
I know that I only need one character, and which to use.......but how can I get rid of the other one? Don't know how he got there <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
Select the code, press Delete and then Save? <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
No..I mean the other character model. There's two of em. korsar and storeman models stood on the same locator. How did the storeman get there?

If I change PROGRAM\Characters\init\StoreOwners.c model id to korsar ..the storeman is still there.


edit..
My appologies Pieter.. it did get rid of the storeman with a new game.
 
Back
Top