Player Resource Consortium

 

Author Topic: Flaming Sword's PRC Character Builder and Tester  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

August 16, 2009, 11:34:05 AM

Not really a PRC bug, but Flaming Sword's "PRC Character Builder and Tester" module no longer compiles under 3.3g RC3


Code: [Select]
c:\games\nwn\modules\temp0>pushd c:\games\nwn\modules\temp0

c:\games\nwn\modules\temp0>C:\Games\NWN\utils\prc\nwnnsscomp -cg -i C:\Games\NWN\utils\prc\include c:\games\nwn\modules\temp0\aribeth_hb.nss
NeverWinter Nights Script Compiler/Decompiler
Copyright 2002-2003, Edward T. Smith
Copyright 2003, The Open Knights Consortium

Compiling: aribeth_hb.nss
aribeth_hb.nss(14): Error: Undeclared identifier "NW_FLAG_FAST_BUFF_ENEMY"
aribeth_hb.nss(14): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(20): Error: Undeclared identifier "TalentAdvancedBuff"
aribeth_hb.nss(23): Error: Undeclared identifier "NW_FLAG_FAST_BUFF_ENEMY"
aribeth_hb.nss(23): Error: Undeclared identifier "SetSpawnInCondition"
aribeth_hb.nss(32): Error: Undeclared identifier "GetHasEffect"
aribeth_hb.nss(38): Error: Undeclared identifier "NW_FLAG_SLEEPING_AT_NIGHT"
aribeth_hb.nss(38): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(50): Error: Undeclared identifier "NW_WALK_FLAG_CONSTANT"
aribeth_hb.nss(50): Error: Undeclared identifier "GetWalkCondition"
aribeth_hb.nss(52): Error: Undeclared identifier "WalkWayPoints"
aribeth_hb.nss(60): Error: Undeclared identifier "GetNearestSeenEnemy"
aribeth_hb.nss(60): Error: Required argument missing in call to "GetIsObjectValid"
aribeth_hb.nss(62): Error: Undeclared identifier "NW_FLAG_BEHAVIOR_SPECIAL"
aribeth_hb.nss(62): Error: Undeclared identifier "GetBehaviorState"
aribeth_hb.nss(62): Error: Undeclared identifier "NW_FLAG_BEHAVIOR_OMNIVORE"
aribeth_hb.nss(62): Error: Undeclared identifier "GetBehaviorState"
aribeth_hb.nss(63): Error: Undeclared identifier "NW_FLAG_BEHAVIOR_HERBIVORE"
aribeth_hb.nss(63): Error: Undeclared identifier "GetBehaviorState"
aribeth_hb.nss(67): Error: Undeclared identifier "DetermineSpecialBehavior"
aribeth_hb.nss(71): Error: Undeclared identifier "NW_FLAG_AMBIENT_ANIMATIONS"
aribeth_hb.nss(71): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(72): Error: Undeclared identifier "NW_FLAG_AMBIENT_ANIMATIONS_AVIAN"
aribeth_hb.nss(72): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(75): Error: Undeclared identifier "PlayMobileAmbientAnimations"
aribeth_hb.nss(77): Error: Undeclared identifier "NW_FLAG_IMMOBILE_AMBIENT_ANIMATIONS"
aribeth_hb.nss(77): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(79): Error: Undeclared identifier "PlayImmobileAmbientAnimations"
aribeth_hb.nss(85): Error: Undeclared identifier "NW_FLAG_HEARTBEAT_EVENT"
aribeth_hb.nss(85): Error: Undeclared identifier "GetSpawnInCondition"
aribeth_hb.nss(95): Error: Undeclared identifier "ApplyECLToXP"
Compilation aborted with errors
Errors occurred in compiling "c:\games\nwn\modules\temp0\aribeth_hb.nss"
HEATSTROKE


August 16, 2009, 03:28:37 PM
Reply #1
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Add those to the script, and it should compile again

Code: [Select]
#include "X0_INC_HENAI"
#include "inc_ecl"




August 17, 2009, 07:21:23 PM
Reply #2

Quote from: xwarren

Add those to the script, and it should compile again

Code: [Select]
#include "X0_INC_HENAI"
#include "inc_ecl"




That got it to compile, thanks.
HEATSTROKE