Jump to content


Tuldor88

Member Since 01 Mar 2014
Offline Last Active Aug 09 2015 08:40 AM

Topics I've Started

Journal problem

24 December 2014 - 01:16 PM

Hello everyone.Before I start, please forgive me my English smile.png

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(74511)~ 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 74511).

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

 

PS: I converted .d - to ANSI, then UTF-8, UTF-8 (without BOM), UCS-2 etc... problem still exists. Mayby I should use some tag between journal title and journal description? Something as [%LNL%%MNL%%TAB% ]* or similar...?

 

---

 

EDIT:

Problem solved by Dradiel from CoB - thank you so much! smile.png

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 smile.png