Jump to content

Journal problem


Tuldor88'

Recommended Posts

Hello everyone.Before I start, please forgive me my English :)

I've been working on some mod for BGT and I'm facing one little problem:
The game is not removing given entries from diary after I'm compliting the task using an alternative way (the way is added by the mod).

DO~EraseJournalEntry(%Oczyść magazyn ze szczurów.

Reevor raz jeszcze nakłonił mnie do pracy w swoim magazynie. Wszystkie raporty wskazują na to, że nasze kocie siły nas zdradziły, a szczury jeszcze raz przystąpiły do natarcia. Wygląda na to, że to ja jestem ostatnią nadzieją w obliczu takiej potęgi. Żegnaj mój drogi dzienniku... Żegnaj.%)~ //standard text added in BGT after Reevor give us quest to kill rats//

doesn't work, BUT DO~EraseJournalEntry(7211)~ works just fine.

I don't know why - I'm using ctrl+c and ctrl+v to copy and paste the text from IE (the exact one from string 7211).

Do you have any idea of what is going on? Maybe, for some reason, WeiDU doesn't see enter and/or new line in %entries_to_remove%? Of course I can write it as EraseJournalEntry(string_number) but I want to avoid problems of incompatibility...

Thanks in advance

Link to comment

Hmm, tricky.

I would avoid using fixed string numbers, unless your mod is for the BGII-part. But for the BG1 part, it cannot be sure the string number of your install is the same as it will be in someone else's (as you are aware, given your comment about compatibility).

 

It is a fact that the string has to be exact the same for the engine to recognize it, but if you say you copied and pasted... - The only thing you need to check whether the text formatting of your .d-file is the correct one for the game texts? I only know that Polish in BG has different fonts in BG1 and BGII and maybe the format of your file with the texts doesn't match or something?

 

The only workaround for this I can imagine is that maybe there is an original game dialogue state where you can COPY_TRANS the actions from, including the EraseJournalEntry?

Link to comment

That's right Jastey

 

bg2fixpack_v10
BGTrilogy_v1.18
Lure of Sirine's Call _v13
bgmini_quest_encounters_v9
BG1UnfinishedBuisness_v13.1
BanterPacks_v13
BG2UnfinishedBusiness_v25

BGTTweak_v11
Almateria's Restoration Project_v8.02

EaseofUse_v33
ItemUpgrade_v40
Alma_Tweaks_v8
Ribalds_Genie_v2.7
Sir_Renal_v2.5
Rolles_v3
XanNpc_v11
Khalid NPC v2.00
level1npcs_v1.9
BG1npc_project_v20
Minotaur_and_Lilarcor_v1.6
AdalonsBlood_v13
Tales of the Deep Gardens_v9.3
Innershade_v6.0
ervonyrah_piesn_wladajacej_v1.3.2
Tower of Deception_v3.3
Niezwykłe Życzenie_v1.62
Assassinations_v10
AzenMod_v5PL
TacticsMod_v25
RevisedBattles_v6.3
Ascension_v1.4.24
Oversight_v13
BG2 Enable conversations with charmed creatures_v4
Picky_Familiars_v1.1
Max HP per Lvl

But on 'plain' instalation (only):

 

bg2fixpack_v10 + BGTrilogy_v1.18

string have number #74511 and still don't work correctly...

Link to comment

Problem solved by Dradiel from CoB - thank you so much! :)

He checked with the binary editor, what is the difference between the old and the new string. The difference is enters. Specifically, in the last enter.

Originally BGT after the title of a journal entry has 2 linux enters, new also has 2 linux enters.

Unfortunately, at the end (instead of two linux enters which holds the original string) in the new appears one windows enter. All these enters at the end of a string is not needed for anything but it seems that the problem is they cause - Because the strings that do not end up with enter everything works fine.
I'ts propably a weidu-bug.

Thanks for everyone, topic to lock :)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...