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 - Arbaal

Pages: [1]
Help / Hi, just a tip about some classes refused at login
« on: December 24, 2018, 01:36:11 PM »
Hi, i use prc from years.
Now i'm having this problem:
- swashbuckler, ultimate ranger and antipaladin cannot log in

nwn 1.69
prc 3.2
all installed and working (i can use other classes and feats and spells of prc)
hosted online
nwnx, nwnx patch, nwncx, nwnxfixes and other nwnx plugin
error: character login refused (i'm italian, so i'm translating the messagge that could sound a bit different in english)
the button "play" cannot be pressed or selected, nor is "highlightable".
I can create an ultimate ranger, but i cannot press "play" after the creation and if i press "play" right after the creation when is still possible the login is refused.

I use also some prc switches, i'm wandering why only these classes have these problems on log in

Help / Easy Question about disable teleport
« on: February 27, 2018, 02:12:44 PM »
In the prc include file, i've found the correct switch i would like to use:

 * A value of PRC_DISABLE_TELEPORTATION_TO_AREA. This disables teleporting
 * from other areas to the area in question.
const int PRC_DISABLE_TELEPORTATION_TO_AREA             = 0x2;

I've understood that if i set the correct variable on the area, that area should not be a target for teleport.

Someone can say me what kind of variable i have to set?


PRC_DISABLE_TELEPORTATION_TO_AREA                 int                   2
In this way it won't work. 0X2 IS AN hexadecimal? What is the correct int value to make it work?

Help / Just a tip
« on: January 12, 2018, 01:35:12 PM »
Hi, i've done my spellhooking script and it works.

It recalls original nwn spells (modified from prc) without problems, and it does what it's been programmed to do.

I've only a problem. The code calls the spells by constant SPELL_XXXX_XXX, by using the switch function and "case by case" script.
Prc spells does not have constants.

How can i call the prc spell scripts? Is there a syntax to recall directly the spell scripts?

Below the first part of code:
Code: [Select]
void main()
object oTarget;
int nSpell=GetSpellId();
int nSpellDC=GetSpellSaveDC();
int nCastLevel=GetCasterLevel(OBJECT_SELF);
object oCaster = OBJECT_SELF;
if (GetCasterLevel(OBJECT_SELF) > 20)
nCastLevel = (GetCasterLevel(OBJECT_SELF) + (GetLevelByXP(OBJECT_SELF)-40));

     switch (nSpell)

//*Arcane Sfera 1

         //* Evoca I
               {int nMetaMagic = GetMetaMagicFeat();
               int nDuration = nCastLevel;

and so by case.

Can you help me to recall the spell scripts in my script? I would like to edit by spellhooking the spells/epic spells effects, without importing, exporting, compiling.

Help / Need little help/suggestion - Ita Admin
« on: January 02, 2018, 03:01:06 AM »
Good Morning!
Just a suggestion. I'm sure someone of you can know the way to help me.

I use prc from several years on my shard and i've completely translated all prc in Italian, adapting something specific for my world.

No problem with scripts, no problem with classes, no problem with nothing.

I've just a problem that i've tried to solve by myself for months, without finding a solution.
It's not a bug.

I would like to edit some strings of codes, some spell scripts to have them behave slightly different but i can't make it work.

Example: Fireball script; i would like to set the caster level cap to 24 instead of 10 and so on with some other spell scripts.

Now, i know that these scripts are in prcspells.hak and i've exported to edit them.
I can edit the nss but until i can't make a ncs of the script, also re-importing into the hak and using the new hak modified, the fireball will continue to do the same things as before.

The PRC compiler does not work on my windows 7. No compiler for nwn seems to work. It starts for a blink of an eye and then shuts down.
I have not an old machine on which i could make it work the compiler.

The first question: is it right? This is the way to edit that spell scripts or are there other ways?
I would like to touch only spell scripts of original nwn spells and not every spell, just a few; then some epic spells.

1- i open the hak
2- i export the spell script (nss and ncs)
4- i re-import into the hak
5- i use the new hak.

Am i missing something?
Do you have a compiler version that works with windows 7 that i can use to produce an ncs?
Are there other ways to do this?

General Discussion / Question about switches
« on: February 25, 2016, 10:02:01 PM »
Sorry, i hope i've choosen the right forum section.
It's not a problem or a bug.

It's only a question:

i want to disable devastating critical and restore normal Healing spell effect (heal all HP)
I've opened with nwhak my prc hak and i've extracted the include file. I've read the file but i don't know if i am doing right

/** Remove the cap PRC added to this spell */
const string PRC_BIOWARE_HEAL                        = "PRC_BIOWARE_HEAL";

Ok, someone can tell me exactly what i have to do?
I am thinking of put a variable in module properties advanced tab, PRC_BIOWARE_HEAL int 1
Is it correct? Cause in this way it does not work, heal spell has still the cap.

 * Disabling specific feat and/or skills
 * Each of these has 2 parts. One part is a variable defining the size of the list
 * The other part is the list itself. The numbers are the row numbers in feat.2da or skills.2da
 * or spells.2da.
 * For example, if you want to disable Knockdown and Improved Knockdown you would set
 * the variables as follows:
 * PRC_DISABLE_FEAT_1     = 23
 * PRC_DISABLE_FEAT_2     = 17

so i should set 38 lines with PRC_DISABLE_FEAT_1 int xx (number of row in 2da) , 2, 3, AND SO on
and another line with PRC_DISABLE_FEAT_COUNT int 38?

Is it correct?


For devastating critical

Pages: [1]