Author Topic: Revamp of Older Mods  (Read 1606 times)

Offline erebusant

  • Planewalker
  • *****
  • Posts: 20
Revamp of Older Mods
« on: February 24, 2008, 09:47:58 AM »
I did a search of the forums and only found 1 post that referred to a typical line you run across in Ascension scripts. That line being !Dead("astSeenBy())"). From what I understood this is a decompiler bug that remains permanent in the mods files once t is recompiled? I just want to verify this particular error should be replaced by !StateCheck(LastSeenBy(Myself),STATE_REALLY_DEAD before going through and changing things, because there are several of those errors in many scripts.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Revamp of Older Mods
« Reply #1 on: February 24, 2008, 09:54:05 AM »
Moved to the Modding Help forum because this is not a WeiDU issue.
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 cmorgan

  • Planewalker
  • *****
  • Posts: 1424
  • Gender: Male
  • Searcher of Bugs
Re: Revamp of Older Mods
« Reply #2 on: February 24, 2008, 09:55:27 AM »
Fixpack rebuilds these as

    REPLACE_TEXTUALLY %Dead("yself)")% %StateCheck(Myself,STATE_REALLY_DEAD)%

I am not sure what you mean about persistent malformation on compilation... doesn't fixing it first in the stack result in the correctly formed trigger persisting?

(holy cow - sorry  - "doesn't fixing it once early carry through to everything else?")


Edit: hey, erebusant - are the Ascension scripts sent out as .bcs or as .baf? Because in my humble opinion, if there is a choice, I'd decompile them all, then run Textpad and do all the fixes, and then distribute /hand over to the Ascension folks as working copy the decompiled stuff. Same with The Vault, etc. It makes things easier to search and fix in text editors rather than using NI and DLTCEP.
« Last Edit: February 24, 2008, 09:58:54 AM by cmorgan »

 

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