Player Resource Consortium

 

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Mindflayer

Pages: [1]
1
Help / Wizardry stops working after reset
« on: March 26, 2017, 07:46:18 PM »
For my Sorcerer Shadow Adept Archmage, wizardry works when I first acquire an item with wizardry, but after (apparently) resetting the server it doesn't work anymore. Wizards don't seem to have the issue since the spellslots generated by Wizardry are the same as regular ones, but the PRC spellbook doesn't usually recognize spellslots unless added with wizardry, to begin with.

Unequipping the items before reset and only equipping them after the restart and before resting fixes it.

2
Help / Adding Warlock invocation and eldritch blast level progression
« on: March 19, 2017, 09:58:08 PM »
I'm trying to add and increase the invocation progression of some classes. For that I basically just adapted http://prc.athasreborn.com/index.php/topic,911.msg6678.html#msg6678 these steps and added

        nLevel +=  GetLevelByClass(CLASS_TYPE_ACOLYTE,              oCaster)
               +   GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_ASMODEUS, oCaster)
               +   GetLevelByClass(CLASS_TYPE_ENLIGHTENEDFIST,      oCaster)
               +   GetLevelByClass(CLASS_TYPE_MAESTER,              oCaster)
               +  (GetLevelByClass(CLASS_TYPE_OCULAR,               oCaster) + 1) / 2
               +  (GetLevelByClass(CLASS_TYPE_SOUL_EATER,           oCaster) + 1) / 2
               +  (GetLevelByClass(CLASS_TYPE_JUDICATOR,            oCaster) + 1) / 2
               +   GetLevelByClass(CLASS_TYPE_DISC_BAALZEBUL,       oCaster)
               +  (GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_MEPH,     oCaster) + 1) / 2; 

in inv_inv_function.nss, compiled all inv_ files from the new spell book and added the files to the top hak instead of overwriting all files, but I don't get invocations with these classes and it doesn't seem to add to blast lvl, e.g. chain bounces. My test with Acolyte was weird too, I didn't get invocations on each lvl, but it seemed to enable full blast lvl progression and I got to choose multiple invocations when I continued leveling as Warlock.

I would appreciate any help.

3
Help / activated item ability that grants temporary powerpoints
« on: March 10, 2017, 09:09:09 PM »
So I am trying to write a script, it's supposed to work from an active item ability. Those are defined in mod_onactivate.nss or executescript link to another file. just including the psi_inc_ppoints just led to the const int BIOWARE_INHIBIT = !!0; error.

So I try the nwnnsscomp.exe like http://prc.athasreborn.com/index.php/topic,933.msg5684.html#msg5684 said

After a bit of troubleshooting, including not realizing that I have to declare the functions from the include before I can use them...



#include "psi_inc_ppoints"

void GainTemporaryPowerPoints(object oChar, int nGain, float fDuration, int bInform = TRUE);

void main()
{

    object oPC = GetItemActivator();
   
    //SendMessageToPC(oPC, "Current powerpoints: " GetCurrentPowerPoints(oPC) " before buffs.");
    GainTemporaryPowerPoints(oPC, 100, 30.0f, TRUE);
    //SendMessageToPC(oPC, "Current powerpoints: " GetCurrentPowerPoints(oPC) " after buffs.");

}




C:\Users\User>D:\compile\nwnnsscomp.exe -o -g -i d:\compile\prc_include d:\compi
le\prc_include\temppowerp.nss @pause
NeverWinter Nights Script Compiler/Decompiler
Copyright 2002-2003, Edward T. Smith
Copyright 2003, The Open Knights Consortium

Compiling: temppowerp.nss
Total Execution time = 312 ms


I arrive at this, it compiles, I put the script in the top hak, load module, use the script:

   if(GetTag(oItem)=="CaptiveRags")
   {
    ExecuteScript("temppowerp", oPC);
   }


I save, load the module, use the item with a psion and nothing happens.

I have very limited experience with coding (i just copy and paste a lot of already working scripts and hope for the best) so please excuse my ineptitude and I would appreciate any help.

4
Help / Teleport TMI error
« on: November 07, 2011, 11:49:15 AM »
Hello,

I am playing on a server (World of Amon) with PRC installed and since the upgrade to the most recent beta patch (it appeared several days later so that might be coincidental) I have encountered a bug with teleportation which works fine most of the time. Usually, it happens after extended times of playing and lasts until the server resets and completely disables teleportation for the character that first experienced it and for some reason also my psion, using greater teleport (psionic). It usually appears while using the prc craftable boots of teleportation but the first time was when I made some runes of teleportation with my runecaster and used both the boots and the runes to get around the world rapidly.

The bug also disables the "list stored locations" option (the first two tmi error messages from the attached file appear) so I can't even try to remove some of them. Also, one time, the server reset didn't solve the TMI error but it then disappeared after a short while.


Any ideas what might be causing this for me but noone else and why it affects several of my characters but not all of them?


Edit: It might not be a bug since the host said something about there being a restriction on teleportations per day he might have set long ago but he wasn't sure if he only thought about it or actually did it. Still the wrong forum I guess, sorry.

Pages: [1]