Author Topic: Possible bug... NI "corrupting" dlg data?  (Read 2287 times)

Offline fkirenicus

  • Supersonic Scientist
  • Planewalker
  • *****
  • Posts: 40
Possible bug... NI "corrupting" dlg data?
« on: August 23, 2006, 02:31:23 AM »
Heya.

I'll just post an observation for now, will add screenshots later (if I am able to post such things).

I was editing the _LIIA.DLG file (EasyTutu) last night, when I ran into a strange problem...

What I wanted was to AddexperienceParty(value) IF this was the first time she divined Sarevok's whereabouts/divined Sarevok's whereabouts and teleported the party to the Thief Guild.

Now, in order to do this I had to add a response, and put in a check for a variable I created.

All went well, I had no problem of actually doing it.
But when I checked the file after saving it (fortunately I had made a backup of the .dlg file), I found that triggers and actions where "corrupted" somehow...

Where before it had been e.g.
<trigger 13> Global("X#DynaLiia",GLOBAL",1)
<trigger 14> Global("FK#LiiaDivined","GLOBAL",0)
<action 11> SetGlobal("X#DynaLiia","GLOBAL",1)
<action 12> AddexperienceParty(12000)

now read
<trigger 13> GLOBAL("X#DynaLiia,"GLOBAL",
<trigger 14> 1)
<trigger 15> Global("FK#LiiaDivined","GLOBAL",0
<trigger 16> )
<action 11> SetGlobal("X#DynaLiia","GLOBAL"
<action 12> ,1)
<action 13> AddexperienceParty(
<action 14> 12000)

Needless to say, such a file refused to compile.

I switched to using DLTCEP, and had no problem of the same kind whatsoever.

I am going away for a few days (I have to attend a funeral), but will try to post "evidence" (if I am able) when I get back.
« Last Edit: August 23, 2006, 05:13:16 AM by fkirenicus »

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Possible bug... NI "corrupting" dlg data?
« Reply #1 on: August 23, 2006, 05:37:15 AM »
I'd strongly recommend not editing dialogues with NI and instead learning how to write .d files to be compiled with WeiDU.
"You alone can make my song take flight..."

Offline fkirenicus

  • Supersonic Scientist
  • Planewalker
  • *****
  • Posts: 40
Re: Possible bug... NI "corrupting" dlg data?
« Reply #2 on: August 23, 2006, 06:11:11 AM »
I'd strongly recommend not editing dialogues with NI and instead learning how to write .d files to be compiled with WeiDU.

In time...  ;D

As for now, I'm studying this, but I need to see a "correct" version before looking up the .d file...
So I make changes with DLTCEP and export to a d. fie, which I can open and read (and hopefully in time learn from how to manually create .d files).

 

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.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

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)?: