Player Resource Consortium

Neverwinter Nights => General Discussion => Topic started by: Complex on June 03, 2011, 09:04:46 AM

Title: need help?
Post by: Complex on June 03, 2011, 09:04:46 AM
Hi xwarren and prc staff. I read somewhere you guys are about to release a new prc patch. I wanted to know if you guys needed any help i could provide. As you know, our server uses prc and we encountered some bugs which i might be able to solve but did not in order to wait for your patch. if u guys need any help, just call!

PRC RLZ !
Title: need help?
Post by: CapnQ on June 03, 2011, 12:50:46 PM
Quote from: Complex

Hi xwarren and prc staff. I read somewhere you guys are about to release a new prc patch. I wanted to know if you guys needed any help i could provide. As you know, our server uses prc and we encountered some bugs which i might be able to solve but did not in order to wait for your patch. if u guys need any help, just call!

PRC RLZ !


What are the bugs? If you tell us what they are, we can tell you if they're already fixed.

Also, I'm not sure "about to release" is necessarily accurate. I remember xwarren saying he was working on a release, but I don't recall a timeframe being mentioned. I hope it's not right away because I have one more patch I'd like to get into it first.
Title: need help?
Post by: xwarren on June 03, 2011, 02:33:45 PM
Next version will be released as beta ;p

I've changed a lot core scripts (so far everything works correctly, but still it requires more tests)

What can you expect:
- optimized lookup cache setup script - the game *should* load a bit faster now (it is looping once through every 2da - old script made 3-10 loops)
- optimized/reorganized spellhook code (improved material components, added new restrictions for spells with alignment descriptors - possibility of alignment shift when casting spells of opposed alignment)
- implemented expanded knowledge feat for psionics (at last ;p,  still have to write a convo for psychic chirurgery)
- minor improvements to new spellbook system
- persistent storage system inspired by Markshire Portable Persistent Chest System
- hopefully fixed a bug where damaging spells didn't affected all targets in spells area
- modified PRC PnP XP system - added option to use default bioware xptable.2da
....

I'll write when I remember more ;p
Title: need help?
Post by: Complex on June 03, 2011, 04:30:55 PM
thanks for the reply u guys

sure, as far as i can tell, i recall
the sequencer (or arcane archer imbue arrow and spellsword channeler);
tempest last feat;
users said something about dragon disciples not able to rest, got too many hides (thought it might be our issue so i rebuild rest event, did not test this out)
feats that grant ab like intuitive attack take a lot of time to apply bonus, sometimes do not apply after tons of re-equip (prolly some optimization needed in our end as well)
knight abilities seem to be buged (cant tell which ones, sry)
some users complained about assasin and Dwarven defender, did not check this personally either, assasin spellbook missin? DD epic feats not available? (did not check 2da for epic feat progretion)

among other little thingies, no big deal, but i think those are quite easy xD

thus, id like to know if we could implement a switch to shut down the damage bonus for large weapons, since id like to restore the old large weapons (sinces bonus does not stack and ACP works better with nwn weapon 2da)

ill keep on posting as it rings.

thanks again u guys, and, if there is anything i could do to help, just ask!

Title: need help?
Post by: Complex on June 03, 2011, 04:35:00 PM
fearsom necromancy is not triggering
Title: need help?
Post by: Complex on June 03, 2011, 04:41:22 PM
Type of Feat: Class.
Prerequisite: Level 8 Battlerager.

Specifics: The Epic Battlerager receives a +1 attack bonus and a +1 bonus to damage while wielding a melee weapon.

Use: Automatic.


// this might be same as intuitive attack, a user posted this feat as bugged
Title: need help?
Post by: Complex on June 03, 2011, 08:59:24 PM
it seems that maa does not provide corretly level 1 feat bonus as well
Title: need help?
Post by: xwarren on June 04, 2011, 02:19:27 AM
I've fixed sequencer - multiple channeling will also work :D
Marshal/Draconic auras are also fixed.
Title: need help?
Post by: Complex on June 04, 2011, 12:54:13 PM
xwarren, thanks for all your work, as i said, if u need any help, just call.

in our module, for some reason (nordock), if we edit stuff with prc haks loeaded on custom content, DM client crashes on log in.
so, what we do is, we edit the module without prc and before uploading the module to host, we add prc content. this is not very good since we cannot create those super prc npc with soul eater prestige class, etc. any idea why this could be?
Title: need help?
Post by: xwarren on June 05, 2011, 08:07:12 AM
Quote from: Complex

xwarren, thanks for all your work, as i said, if u need any help, just call.

in our module, for some reason (nordock), if we edit stuff with prc haks loeaded on custom content, DM client crashes on log in.
so, what we do is, we edit the module without prc and before uploading the module to host, we add prc content. this is not very good since we cannot create those super prc npc with soul eater prestige class, etc. any idea why this could be?


IIRC there was a similar problem on Deepingdale server, I think you might want to ask how they fixed it on their forum :/

How is your module setup? What other haks do you use? Which switches are set?
Title: need help?
Post by: Complex on June 05, 2011, 06:43:34 PM
setup under nwnx uses cep, prc and some custom hak to modify some prc stuff and add some acp functions (such as the ACP feats for emotes not available on prc). tho, this happend while before acp or cep.
we are running on windows server and at first (when issue was detected), only few switches where available.

will check with Deepingdale guys. thanks again warren!
Title: need help?
Post by: Complex on June 06, 2011, 01:04:43 PM
duelist Acrobatic Attack not working, jumps, but does not incure attack
Title: need help?
Post by: xwarren on June 07, 2011, 02:25:35 AM
Complex,

I was browsing through my 'started-and-never-finished-projects' folder and I think that there are some things you might help me with ;)

Heres whats in it:
- domains (i want to add new domains and improve domain casting)
- elven weapons (new models for elven weapons we have in PRC - thin blade, court blade, light blade)
- ioun stones (i was searching for some new icons and vfx models)
- new spells (i made the scripts, but need to add icons and 2da entries)
- spell components (blueprints should be remade - new icons are welcome)
- tower shield proficiency (still have to check which classes should have it)
- ToB 2da entries (i've edited all entries for desert wind discipline - 8 to go)

I don't really like 2da work, that's why most of those projects isn't finished. I'll give you more details if you decide to work on any of above (I think that ToB edit is the most needed right now - others can wait) :D
Title: need help?
Post by: Complex on June 07, 2011, 02:01:31 PM
Quote from: xwarren

Complex,

I was browsing through my 'started-and-never-finished-projects' folder and I think that there are some things you might help me with ;)

Heres whats in it:
- domains (i want to add new domains and improve domain casting)
- elven weapons (new models for elven weapons we have in PRC - thin blade, court blade, light blade)
- ioun stones (i was searching for some new icons and vfx models)
- new spells (i made the scripts, but need to add icons and 2da entries)
- spell components (blueprints should be remade - new icons are welcome)
- tower shield proficiency (still have to check which classes should have it)
- ToB 2da entries (i've edited all entries for desert wind discipline - 8 to go)

I don't really like 2da work, that's why most of those projects isn't finished. I'll give you more details if you decide to work on any of above (I think that ToB edit is the most needed right now - others can wait) :D


Sure!
ToB = tomb of battle right?

what 2da entries should be added? and in  which 2da files?
i also hate 2da work, not cuz of the work, but cuz it means users must update haks xD same as new icons :p

tell me how i can help u and ill work on it!
Title: need help?
Post by: xwarren on June 07, 2011, 03:33:52 PM
Quote from: Complex

Sure!
ToB = tomb of battle right?

what 2da entries should be added? and in  which 2da files?
i also hate 2da work, not cuz of the work, but cuz it means users must update haks xD same as new icons :p

tell me how i can help u and ill work on it!


Tomb... right >.>

Almost all maneuvers had the same casting animations - those animations were causing a bug when weapon disappeared after using a maneuver. I've fixed that bug temporarily by increasing CastTime value in spells.2da. But still it would be nice to have different casting animations for maneuvers ;)

As I wrote before - desert wind and devoted spirit disciplines are done. Here are the files I used: http://hotfile.com/dl/120128431/b4377b0/pack.rar.html
Hope this helps. Be careful though some CastAnim and CastTime will result in the bug I mentioned before.

I warn you - this job is very tedious ;p

Thanks :D
Title: need help?
Post by: Complex on June 08, 2011, 11:37:31 AM
oki dokie, ill take a look at this as soon as i finish optinizing mod. 1k maps is hard to manage, specialy with all those plasables triggering heart beats lol, so im now working on some optimization to get some basic prc stuff back to work. laik intuitive attack.

i also added some of the acp emotes on the feats and spells 2da. did not put much effort on this since its only there for roll playing but it works fine, i included those in the player tools since i did not want to mess up with future prc stuff, if youd like, i could copy paste the spells and feat lines to include them as per prc-acp compativility.

known issue:
i took some random tlk line for the spell / feat names, so ull see that a "charge" emote is named under maybe psyionic warrior xxx
lol
Title: need help?
Post by: Complex on June 09, 2011, 01:38:23 AM
i edited uliving weapon a bit to allow casting on self summons without saves.

here's code, u might want to add it or add the idea, whichever works better 4 u. or not lol


pasting only main, rest is same old same

Quote
#include "prc_inc_spells"
#include "prc_add_spell_dc"
void main()
{
    // Set the spellschool
    PRCSetSchool(SPELL_SCHOOL_NECROMANCY);

    // Run the spellhook.
    if (!X2PreSpellCastCode()) return;

    object oPC = OBJECT_SELF;
    object oTarget = PRCGetSpellTargetObject();
    int nDC = PRCGetSaveDC(oTarget, oPC);
    int nCasterLvl = PRCGetCasterLevel(oPC);
    float fDur = HoursToSeconds(nCasterLvl);
    int nCounter = (FloatToInt(fDur))/3;
    int nSaved = 0;

    //Spell Resistance
    if (!PRCDoResistSpell(oPC, oTarget, nCasterLvl + SPGetPenetr()))
    {
        //Saving Throw
        if (!PRCMySavingThrow(SAVING_THROW_WILL, oTarget, nDC, SAVING_THROW_TYPE_SPELL))
        {
            if(PRCGetMetaMagicFeat() & METAMAGIC_EXTEND)
            {
                fDur += fDur;
            }

            int nHP = GetCurrentHitPoints(oTarget);

            HiImABomb(oTarget, nCounter, nHP, nCasterLvl);
            nSaved = 1;
        }

    }

// undead summons should let their masters cast unliving weapon on them without
   if (nSaved == 0){

if (GetMaster(oTarget) == oPC){
            if(PRCGetMetaMagicFeat() & METAMAGIC_EXTEND)
            {
                fDur += fDur;
            }

            int nHP = GetCurrentHitPoints(oTarget);

            HiImABomb(oTarget, nCounter, nHP, nCasterLvl);
        }
         }

   }


    SPEvilShift(oPC);
    PRCSetSchool();
}
Title: need help?
Post by: xwarren on June 09, 2011, 02:17:52 AM
I think you missed some bugs in this script ;p

metamagic check does nothing, and the spell should only be cast on undead

and shouldn't the undead be destroyed after this spell triggers?
Title: need help?
Post by: Complex on June 09, 2011, 05:25:24 PM
yeah, well, this is just a pice of sp_unliv_weapon script, i left the script as it was, only added the nSaved int to avoid save checks on self summons.

after i read the script i saw the same things, but, its working, so, "if its not broken, dont fix it" lol

this is the only code i added to script:

Quote
// undead summons should let their masters cast unliving weapon on them without
if (nSaved == 0){

if (GetMaster(oTarget) == oPC){

int nHP = GetCurrentHitPoints(oTarget);

HiImABomb(oTarget, nCounter, nHP, nCasterLvl);
}
}


with the definition for nSaved int ofc
Title: need help?
Post by: Complex on June 11, 2011, 05:20:49 PM
water breathing spell is also broken, no inmunities are provided
Title: need help?
Post by: xwarren on June 13, 2011, 08:23:22 AM
it works for me (I get an extra effect icon on my character after casting the spell) - it should provide immunity to drown and mass drown spells.
Title: need help?
Post by: Complex on June 16, 2011, 01:23:05 AM
hmm.. k, will doble check, odd i casted the spell my self, i checked code and seemed fine, will doble check, thx again xwarren