Skip to content

Faiths and Powers: Gods of the Realms (Kitpack and divine caster/spell tweaks)

16667697172124

Comments

  • [Deleted User][Deleted User] Posts: 0
    edited August 2017
    The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    @subtledoctor Please, feel free to do so, it's attached.

    And I'm not using DR or FG anymore now that I know that FnP has every kit I wanted/needed. I'll just make some adapts (like the heavy armor for Tempus and some weapon altering for other kits of my interest). I can list what I did if you want to add to the mod.

    I'll try the straightforward approach and will let you know, but I need to finish a report until 9pm (GMT -3). Once I do this I'll get back to this.

    Thanks :)
  • The user and all related content has been deleted.
  • [Deleted User][Deleted User] Posts: 0
    edited August 2017
    The user and all related content has been deleted.
    Post edited by [Deleted User] on
  • [Deleted User][Deleted User] Posts: 0
    edited August 2017
    The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714

    Found it! I had been doing a lot of testing of the "install everything" components, which I figured would also cover the "only install the sphere system" component. But there was a small oversight there, which I have now fixed. :smile:

    So I wasn't doing anything wrong and the code is you gave me is ok, is that correct? The problem was with Install Option 3 (just spheres - no kit)?

    Can you say what the problem was (for learning purpose)? Can be through MP.

    Thanks!

  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017
    Just to confirm: it is fixed.

    But now I have to alter the Circle Enforcer because it is gaining some spells doubled (Burning Hands, Flame Arrow, Agannazar's Scorcher and Chain Lightning). No big deal.

    Can you tell me a solid way to check if the sphere system from FnP is installed?

    Thanks!
  • [Deleted User][Deleted User] Posts: 0
    edited August 2017
    The user and all related content has been deleted.
  • Necromanx2Necromanx2 Member Posts: 1,246
    Great work @subtledoctor! Have a good rest.
  • RaduzielRaduziel Member Posts: 4,714

    Raduziel said:

    Can you tell me a solid way to check if the sphere system from FnP is installed?

    What, like with Weidu code?
    ACTION_IF FILE_EXISTS_IN_GAME ~d5_spheres.d5~ BEGIN
    I'm using:

    ADD_KIT ~RACE~
    ~RACE 1 0 1 1 0 0 0 1~
    ~RACE 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
    ~RACE 3 3 3 3 12 15~
    ~RACE 0 0 0 0 0 0~
    ~RACE 99 99 99 99 99 99~
    ~RACE 18 18 18 18 18 18~
    ~RACE 0 0 0 0 1 0 0 0 0~
    ~RACE 0 0 0 0 0 0~
    ~IHateUndead\Tables\RACE.2da~
    ~K_D_H K_D_D K_D_G K_D_E K_D_HE K_D_HL K_D_HO~
    ~0x20000000 11~
    ~RACE~
    ~LEAT19 * * * RING28 RING29 CLCK05 BOOT04 AMUL27 BRAC07 * * * * * * * WASTAFF WASLING *~
    SAY @82
    SAY @83
    ACTION_IF FILE_NOT_EXISTS_IN_GAME ~d5_spheres.d5~ BEGIN
    SAY @84
    END
    ACTION_IF FILE_EXISTS_IN_GAME ~d5_spheres.d5~ BEGIN
    SAY @900
    END


    But the mod will not install this way.

    @84 is the string with the kit description for non-FnP games and @900 is the string for FnP games.

    What am I doing wrong?

  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    @subtledoctor So could I use...

    ACTION_IF FILE_EXISTS_IN_GAME ~d5_spheres.d5~ BEGIN

    ACTION_IF (FILE_EXISTS_IN_GAME ~clastext.2da~) BEGIN
    COPY_EXISTING ~clastext.2da~ ~override~
    COUNT_2DA_COLS cols
    READ_2DA_ENTRIES_NOW rows cols
    FOR (row = 1; row < rows; ++row) BEGIN
    READ_2DA_ENTRY_FORMER rows row 0 ~RACE~
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 5 cols RESOLVE_STR_REF (@900)
    BUT_ONLY
    END
    ACTION_IF (FILE_EXISTS_IN_GAME ~sodcltxt.2da~) BEGIN
    COPY_EXISTING ~sodcltxt.2da~ ~override~
    COUNT_2DA_COLS cols
    READ_2DA_ENTRIES_NOW rows cols
    FOR (row = 1; row < rows; ++row) BEGIN
    READ_2DA_ENTRY_FORMER rows row 0 ~RACE~
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 5 cols RESOLVE_STR_REF (@900)
    BUT_ONLY
    END
    ACTION_IF (FILE_EXISTS_IN_GAME ~kitlist.2da~) BEGIN
    COPY_EXISTING ~kitlist.2da~ ~override~
    COUNT_2DA_COLS cols
    READ_2DA_ENTRIES_NOW rows cols
    FOR (row = 1; row < rows; ++row) BEGIN
    READ_2DA_ENTRY_FORMER rows row 1 ~RACE~
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 5 cols RESOLVE_STR_REF (@900)
    BUT_ONLY
    END

    END


    Is that correct?
  • franco8737franco8737 Member Posts: 52
    Hi, just a small question. Is the current version not compatible with Sandrah Saga?
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017
    @subtledoctor @Grammarsalad

    Ok, I'm having the weirdest error trying to install my mod now...

    The Undead Redeemer was installing just fine and all the alterations I did was only for the CircleEnforcer.tpa, but now none of them will install in my IWDEE game when F&P is installed.

    When I remove F&P both kits installs normally.

    The strange is that I didn't touch the Redeemer and he is getting the same error:

    Appending to files ...
    Copying 1 file ...
    Copying and patching 1 file ...
    ERROR: [RAUR.2da] -> [override] Patching Failed (COPY) (Failure("Unknown macro: remove_blank_lines"))
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    ERROR: [kitlist.2da] -> [override] Patching Failed (COPY) (Failure("Unknown macro: remove_blank_lines"))
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.

    ERROR Installing [Undead Redeemer (Cleric Kit)], rolling back to previous state
    Will uninstall 35 files for [IHATEUNDEAD/IHATEUNDEAD.TP2] component 1.
    Uninstalled 35 files for [IHATEUNDEAD/IHATEUNDEAD.TP2] component 1.
    ERROR: Failure("Unknown macro: remove_blank_lines")
    PLEASE email the file SETUP-IHATEUNDEAD.DEBUG to Raduziel
    Using Language [English]


    Appending to files ...
    Copying 1 file ...
    Copying 1 file ...
    Copying and patching 1 file ...
    Copying and patching 1 file ...
    ERROR: [RACE.2da] -> [override] Patching Failed (COPY) (Failure("Unknown macro: remove_blank_lines"))
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    ERROR: [kitlist.2da] -> [override] Patching Failed (COPY) (Failure("Unknown macro: remove_blank_lines"))
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.
    Stopping installation because of error.

    ERROR Installing [Circle Enforcer (Druid Kit)], rolling back to previous state
    Will uninstall 35 files for [IHATEUNDEAD/IHATEUNDEAD.TP2] component 7.
    Uninstalled 35 files for [IHATEUNDEAD/IHATEUNDEAD.TP2] component 7.
    ERROR: Failure("Unknown macro: remove_blank_lines")
    PLEASE email the file SETUP-IHATEUNDEAD.DEBUG to Raduziel
    Using Language [English]


    Both .tpa are added in .zip attached.

    Edit: Even using a previous version of the mod won't allow it to install with FnP.
    Post edited by Raduziel on
  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    No problem. Made the INCLUDE change and both kits are working now.

    I'm still trying to discover how to alter the string and block the spell learning for the spells that already comes in the sphere, but if I don't come up with a solution in the next thirty minutes I'll call it a night.

    Currently, I'm using:

    To prevent the spells that the sphere gives to be given again:

    ACTION_IF NOT FILE_EXISTS ~override/d5_spheres.d5~ BEGIN

    COPY "IHateUndead\Spl\RACEAS.spl" override
    SAY NAME1 @85
    SAY UNIDENTIFIED_DESC @86

    COPY "IHateUndead\Spl\RACEBH.spl" override
    SAY NAME1 @87
    SAY UNIDENTIFIED_DESC @88

    COPY "IHateUndead\Spl\RACECL.spl" override
    SAY NAME1 @89
    SAY UNIDENTIFIED_DESC @90

    COPY "IHateUndead\Spl\RACEFA.spl" override
    SAY NAME1 @91
    SAY UNIDENTIFIED_DESC @92

    END


    To alter the string describing the alterings:


    ACTION_IF FILE_EXISTS_IN_GAME ~d5_spheres.d5~ BEGIN

    ACTION_IF (FILE_EXISTS_IN_GAME ~clastext.2da~) BEGIN
    COPY_EXISTING ~clastext.2da~ ~override~
    COUNT_2DA_COLS cols // amount of columns
    READ_2DA_ENTRIES_NOW rows cols // read all file into memory
    FOR (row = 1; row < rows; ++row) BEGIN // iterate over rows
    READ_2DA_ENTRY_FORMER rows row 0 ~RACE~ // read column value
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 3 cols RESOLVE_STR_REF (@82)
    SET_2DA_ENTRY %patch_row% 4 cols RESOLVE_STR_REF (@900)
    SET_2DA_ENTRY %patch_row% 5 cols RESOLVE_STR_REF (@83)
    BUT_ONLY
    END
    ACTION_IF (FILE_EXISTS_IN_GAME ~sodcltxt.2da~) BEGIN
    COPY_EXISTING ~sodcltxt.2da~ ~override~
    COUNT_2DA_COLS cols // amount of columns
    READ_2DA_ENTRIES_NOW rows cols // read all file into memory
    FOR (row = 1; row < rows; ++row) BEGIN // iterate over rows
    READ_2DA_ENTRY_FORMER rows row 0 ~RACE~ // read column value
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 3 cols RESOLVE_STR_REF (@82)
    SET_2DA_ENTRY %patch_row% 4 cols RESOLVE_STR_REF (@900)
    SET_2DA_ENTRY %patch_row% 5 cols RESOLVE_STR_REF (@83)
    BUT_ONLY
    END
    ACTION_IF (FILE_EXISTS_IN_GAME ~kitlist.2da~) BEGIN
    COPY_EXISTING ~kitlist.2da~ ~override~
    COUNT_2DA_COLS cols // amount of columns
    READ_2DA_ENTRIES_NOW rows cols // read all file into memory
    FOR (row = 1; row < rows; ++row) BEGIN // iterate over rows
    READ_2DA_ENTRY_FORMER rows row 1 ~RACE~ // read column value
    PATCH_IF ~RACE~ STRING_EQUAL_CASE ~RACE~ BEGIN
    SET patch_row = %row%
    END
    END
    SET_2DA_ENTRY %patch_row% 2 cols RESOLVE_STR_REF (@82)
    SET_2DA_ENTRY %patch_row% 3 cols RESOLVE_STR_REF (@83)
    SET_2DA_ENTRY %patch_row% 4 cols RESOLVE_STR_REF (@900)
    BUT_ONLY
    END

    END


    RACE is the kit name (RAduziel Circle Enforcer) and @900 is the string with FnP description.

    But none of them works.
  • RaduzielRaduziel Member Posts: 4,714
    Ok, some fairy sprinkled a magic powder and now it is working like a charm with exactly the code I stated above.

    I'll try to sleep for a week now.
  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017

    @Raduziel your PATCH_IF is checking if ~RACE~ STRING_EQUAL_CASE ~RACE~ which will always return true.

    The READ_2DA_ENTRY_FORMER should result in a ~variable~ and then you check whether ~%variable%~ STRING_EQUAL_CASE ~RACE~.

    You're losing me lol.

    How do I fix it?

    I copied your model and swapped SWASHBUCKLER for RACE. I don't really know what I am doing.
  • I think Warrior Mystic has a nice ring to it.
  • kjeronkjeron Member Posts: 2,367
    edited August 2017
    edit - too late
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017
    Not a gamebreaking but two things:

    1) Cleric of Tymora is installing by itself. I did an option 2 install and I'm 100% sure I didn't select this kit.

    2) I installed FnP in a heavy modded game. The Weidu log said that the sphere system was installed with warnings, but so far everything is working fine.

    3) The installer didn't give me an option to install Alaghor of Clangeddin (this one is kind of gamebreaking). Is it under the ranger, druid or paladin stuff? Because I skipped all of it.

    Edit: I was looking under the other options to see if I was able to find the Alaghor on my own and this happened when I choose the ranger options:
    Installing [new and revised ranger kits] [0.74c]
    Copying 1 file ...
    Copying and patching 1 file ...
    ERROR: [clabrn01.2da] -> [override/d5rfor.2da] Patching Failed (COPY) (Invalid_argument("index out of bounds"))
    Stopping installation because of error.
    Stopping installation because of error.

    ERROR Installing [new and revised ranger kits], rolling back to previous state
    Will uninstall 1 files for [FAITHS_AND_POWERS/FAITHS_AND_POWERS.TP2] component 900.
    Uninstalled 1 files for [FAITHS_AND_POWERS/FAITHS_AND_POWERS.TP2] component 900.
    ERROR: Invalid_argument("index out of bounds")
    PLEASE email the file SETUP-FAITHS_AND_POWERS.DEBUG to SubtleD and Grammarsalad
    Using Language [English]
  • helo138helo138 Member Posts: 53
    Hate to be the bearer of bad news again, but for me (BGEE, only FnP v.0.74d) the Mystic Warrior still doesn´t get any sphere access. It doesn´t matter which Mystic kit I choose.
    The Fire Mystic gets the Firestorm-spell now on level 6 and 7, but that´s a minor thing.
  • franco8737franco8737 Member Posts: 52

    Hi, just a small question. Is the current version not compatible with Sandrah Saga?

    I explained to Roxanne how to make Sandrah's kit a real F/C kit, rather than a single-class cleric kit on a multiclass character, and I gave her the compatibility code that Raduziel has. So she will need to implement it in her mod to make them compatible.

    @Raduziel are you using the remove_lines function? Wait - actually it's possible my compatibility function uses it. In which case you need to grab it from the FnP /lib folder and add it to your own mod. (And INCLUDE it before the last two LAM commands in my code.)

    Sorry about that. I'll update the compatibility packet.
    I notice that she reported in her post that she recently install fnp after eet and sandrah and it failed with attached debug report.
  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017
    @subtledoctor , anything I can do about the Alaghor problem (reported three posts above)?
  • [Deleted User][Deleted User] Posts: 0
    edited August 2017
    The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    edited August 2017
    @subtledoctor Reinstalling using option 1 this time. New error:
    Defining Faiths and Powers info for kit B_GARA ...
    Appending to files ...
    Appending to files ...
    Appending to files ...
    Copying and patching 3 files ...
    Copying and patching 1 file ...
    ERROR: [clabrn01.2da] -> [override/d5rfor.2da] Patching Failed (COPY) (Invalid_argument("index out of bounds"))
    Stopping installation because of error.
    Stopping installation because of error.

    ERROR Installing [Select an installation method below: -> all the new kits and the sphere system], rolling back to previous state
    Will uninstall 513 files for [FAITHS_AND_POWERS/FAITHS_AND_POWERS.TP2] component 102.
    Uninstalled 513 files for [FAITHS_AND_POWERS/FAITHS_AND_POWERS.TP2] component 102.
    ERROR: Invalid_argument("index out of bounds")
    PLEASE email the file SETUP-FAITHS_AND_POWERS.DEBUG to SubtleD and Grammarsalad
    Using Language [English]
    Post edited by Raduziel on
  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited August 2017
    Okay, well, I've missed a lot...

    Anyway, I'm happy to report that i figured out the issue with Shades. I'm going to put something together this weekend. Also, I've removed shadow umber hulks for now because, apparently, the animations are absent in bgee. I'll add them at some point.

    @Necromanx2 I'm not finding any problem with shadow monsters. It works fine for me and I'm not detecting any internal issues. I'll see about recreating the spell from the ground up if you are interested in testing it this Saturday (or if anybody else that is having issues with the spell is willing to test it out)

    Edit: I'll take a look at the plant sphere as well.

    Any other spells that I should look into?

    Edit2: please let me know about any spell issues. I really want to fix as many as possible this weekend! :)

    Edit3: apologies if i have missed any reported spell bugs. This is a list of known issues and most of the items are not bugs:

    https://github.com/UnearthedArcana/B_Spells/issues?page=1&amp;q=is:issue+is:open
Sign In or Register to comment.