Author Topic: Problems with WeiDU 242  (Read 127 times)

Offline Leonardo Watson

  • Planewalker
  • *****
  • Posts: 20
Problems with WeiDU 242
« on: October 06, 2017, 03:48:23 PM »
There are a few problems with the newest WeiDU.exe

TDD:
 
Quote
[action list near line 30, column 38 of DLGCASH/POCRE001.D] PARSE WARNING at line 31 column 1-33
Near Text: )
    [AddMapNote] argument [The Lake] was expected to be an integer

[action list near line 30, column 38 of DLGCASH/POCRE001.D] PARSE WARNING at line 32 column 1-36
Near Text: )
    [AddMapNote] argument [Sunlake Inn] was expected to be an integer


imoenromance:
 
Quote
[imoenRomance/dialogues/SOA/Banter/Classes.d] loaded, 52687 bytes

[trigger list near line 287, column 82 of tb#_compile_eval_buffer/imoenRomance/dialogues/SOA/Banter/Classes.d] PARSE WARNING at line 287 column 16-76
Near Text: )
    [CheckStatGT] argument [GLOBAL] was expected to be an integer
Processing 1 dialogues/scripts ...
[./override/BIMOEN2.DLG] loaded, 208764 bytes


Kivan:

Quote
[Kivan/tra/english/BP#DEH.TRA] has 398 translation strings

[action list near line 216, column 2 of Kivan/d/BP#DEH.d] PARSE WARNING at line 229 column 1-19
Near Text: )
    [PlayDead] argument [P#DEHER] was expected to be an integer
Processing 1 dialogues/scripts ...


ToBR:

Quote
[ToBR/Saradush/scripts/bedo.baf] PARSE ERROR at line 6 column 8-32
Near Text: )
    [StartTimer] argument [bedocast] was expected to be an integer

[ToBR/Saradush/scripts/bedo.baf] PARSE ERROR at line 11 column 8-31
Near Text: )
    [TimerExpired] argument [bedocast] was expected to be an integer

[ToBR/Saradush/scripts/bedo.baf] PARSE ERROR at line 14 column 8-32
Near Text: )
    [StartTimer] argument [bedocast] was expected to be an integer
Processing 3 dialogues/scripts ...

Quote
[ToBR/Cleansing/cre/WGdestru.cre] loaded, 1360 bytes
Copied [ToBR/Cleansing/cre/WGdestru.cre] to [override/WGdestru.cre]
Compiling 1 dialogue file ...

[action list near line 105, column 3 of ToBR/Cleansing/dialogue/WGcleric.d] PARSE WARNING at line 108 column 1-274
Near Text: )
    [EraseJournalEntry] argument [Cleansing the Temple of Bhaal
    A priestess of Kelemvor has asked that I cleanse a neighboring temple of the undead inhabitants.  She gave me a bottle of cleansing and a warning of a fearsome apparition.  However, she does not remember the exact location of the temple.  Perhaps I will find it in time.] was expected to be an integer
Processing 1 dialogues/scripts ...


SandrahRTF:

Quote
[./override/CVCut402.bcs] loaded, 2514 bytes
Compiling 65 dialogue files ...

[action list near line 4, column 58 of SandrahRTF/D/MystraDrizRTF.d] PARSE WARNING at line 4 column 1-52
Near Text: )
    [SetName] argument [Midnight] was expected to be an integer
[./override/SLOTS.IDS] loaded, 837 bytes
Processing 65 dialogues/scripts ...


CDTweaks

Quote
Installing [Romance Cheats] [v2]
Compiling 1 dialogue file ...

Remove racial requirements for romances? (Select 1 or 2)
  1) Remove
  2) No changes
ERROR: cannot convert remove_romance_racial_requirements or %remove_romance_raci
al_requirements% to an integer


However those mods can be installed with the previous WeiDU.exe.

Offline Argent77

  • Planewalker
  • *****
  • Posts: 141
Re: Problems with WeiDU 242
« Reply #1 on: October 06, 2017, 04:34:37 PM »
The scripting warnings and errors seem to be correct. The mentioned script actions are using incorrect parameter types and should be fixed. WeiDU's script parser was more forgiving in older versions and used default values instead. But these can lead to subtle bugs or strange behavior that is difficult to track down.

Can't say much about the error from cdtweaks though, except that the variable name mentioned in the log is defined in an external file that is supposed to be included by the mod.
« Last Edit: October 06, 2017, 04:35:43 PM by Argent77 »

Offline The Imp

  • Planewalker
  • *****
  • Posts: 214
  • Gender: Male
Re: Problems with WeiDU 242
« Reply #2 on: October 07, 2017, 04:59:22 AM »
Can't say much about the error from cdtweaks though, except that the variable name mentioned in the log is defined in an external file that is supposed to be included by the mod.
Could it be that the inserted answer in BWP is from a .txt file and be an a, instead of 1 or 2, which the a can't be converted to an integer as it's a letter and not a number. If it was changed recently ... the SandrahRTF error could be a need to extend the action.ids ... or what ever, I don't have the .d file in hand. It might be that the .ids is in the EE game, and so needs to just be extended to the non-EE game.
The others ... WGcleric.d's error clearly doesn't have the texts string resolved. Or the string has not been added yet to the game in the mod, which will then make it unresolvable. As you need to extend the journal before you can remove things from it.. basic coding and all that.

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 894
Re: Problems with WeiDU 242
« Reply #3 on: October 08, 2017, 02:53:51 PM »
To add to what Argent77 said, the scripts are compiled same as they always were (with the invalid argument defaulting to 0). The only difference is that now there's a warning about it.

I'm going to need a debug file on the cdtweaks one. I can't reproduce it with the info provided here.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: