Author Topic: DISABLE_FROM_KEY not working?  (Read 1591 times)

Offline Turambar90

  • Planewalker
  • *****
  • Posts: 32
  • Gender: Male
DISABLE_FROM_KEY not working?
« on: October 21, 2011, 10:49:37 AM »
Apparently, DISABLE_FROM_KEY does not work in WeiDU 230.
I have noticed the problem with some code like:
Code: [Select]
ACTION_IF FILE_EXISTS ~override/%from%.spl~ BEGIN
MOVE ~override/%from%.spl~ ~somewhere~
END
ACTION_IF FILE_EXISTS_IN_GAME ~%from%.spl~ BEGIN
DISABLE_FROM_KEY ~%from%.spl~
END
All files for which I used that code did disappear from the override folder (as expected, due to the MOVE), but were all still visible (by NearInfinity and WeiDU itself) inside the .bif files. The .DEBUG file, on the other hand, stated that D_F_K had been 'successful', and did create a backup copy of the file.
Is this a bug?

Someone else has apparently noticed the same problem and reported it here.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: DISABLE_FROM_KEY not working?
« Reply #1 on: October 21, 2011, 01:28:39 PM »
Yes, I've been linked to that thread, but coding 10+ hours per day at work doesn't lend itself to doing more code at home (although this is a case of reference vs. value, which is infinitely more fun than the stuff I do for work).
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: DISABLE_FROM_KEY not working?
« Reply #2 on: October 27, 2011, 03:12:18 PM »
Fixed in Git.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

 

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