Author Topic: Bug report - Weapprof.  (Read 2471 times)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Bug report - Weapprof.
« on: May 30, 2005, 02:35:42 PM »
Since I suck at making myself clear, here is how the Monk's table gets outputted now:
Code: [Select]
BASTARDSWORD              1
LONGSWORD                 1
SHORTSWORD                1
AXE                       0
TWOHANDEDSWORD            1
KATANA                    1
SCIMITARWAKISASHININJATO  1
DAGGER                    1
WARHAMMER                 1
CLUB                      0
SPEAR                     0
HALBERD                   1
FLAILMORNINGSTAR          1
MACE                      0
QUARTERSTAFF              0
CROSSBOW                  0
LONGBOW                   0
SHORTBOW                  1
DART                      1
SLING                     0
2HANDED                   1
SWORDANDSHIELD            1
SINGLEWEAPON              1
2WEAPON                   1

All proficiencies are shifted up by one, and the monk should have proficiencies only in single weapon.
Other kits are OK.
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 Ghreyfain

  • Moderator
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Bug report - Weapprof.
« Reply #1 on: May 30, 2005, 04:26:37 PM »
That doesn't make much sense, since here's the line for halberds.  The third last number is for monks.

  REPLACE_TEXTUALLY
~HALBERD                     99      31123           34158       0... ...0     2          0~
~HALBERD                     99      31123           34158       1... ...0     2          1~

Oh, and upon checking my in-game weapprof.2da, you're right.  I believe this calls for an "omgwtf???"

Ahem...

omgwtf???

Okay, wow, yes, it appears I've done much mangling with my SET_2DA_ENTRYs.  Dang.  Will investigate further.

Edit: Okay, fixed it.  It'll be in version whatever's-next.
« Last Edit: May 30, 2005, 04:31:45 PM by Ghreyfain »
Earn Money Sleeping.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Bug report - Weapprof.
« Reply #2 on: May 30, 2005, 04:50:38 PM »
Would it be daring to suggest switching to SET_2DA_ENTRY_NOW/LATER?

Actions needed, since this feature isn't documented yet: replace all "SET_2DA_ENTRY" with "SET_2DA_ENTRY_LATER ~_#_#_#weapprof~", then remove the coloumn count.
Finally, append the following instructions to the bottom of the weapprof patching (the REPLACE_TEXTUALLY are for pretty printing and you can skip them without problem):
Code: [Select]
// changes in how REPLACE_TEXTUALLY works means that now old mods' synthax (Rogue Rebalancing)
// leaves the double entry: correct this!
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
// add double entry for pretty spacing
  REPLACE_TEXTUALLY ~ ID ~ ~ ID ID ~
// pretty print and then process all the S_2_E_L  I left on hold before
  SET_2DA_ENTRIES_NOW ~_#_#_#weapprof~ 5
// remove double pretty print from above
  REPLACE_TEXTUALLY ~^ID~ ~  ~

If you need more detailed explaining, just ask  :)
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)?: