Page tree
Skip to end of metadata
Go to start of metadata

These errors in the toolset usually are not easy to diagnose. Here are some common ones with the potential fix.

Note, Many of these errors will cause the Toolset to crash, forcing you to use Task Manager to close it. When you reopen the Toolset, It will give a you warning that it failed to close and will request if you want to restore from the backup.  You will most likely want to say yes to this message or you risk losing the backup permanently. The files for this are usually in your /Temp0 folder in your C:/Documents/<Your user Name>/Neverwinter Nights/modules/ folder.

Pure virtual function called

This issue is caused by having a filename defined in an MTR file that is greater than 16 characters.

Recently, this issue has been linked to the "External Exception EEFFACE" error, occurring after clicking through that error. In this incident, the "Pure virtual function called" error was then followed by an "Access Violation at address 614247D3 in module 'SOFT_OAL.DLL', read of address 93F39822" error. 

Access violation at address 69DC47D3 in module 'SOFT_OAL.DLL', read of address 951287D3.

 

This crash to the desktop is a direct result of the "Pure virtual function called" error described above.

Access Violation at address 614247D3 in module 'SOFT_OAL.DLL', read of address 93F39822

This error occurred as a direct result of the "Pure virtual function called error" described above. The "Pure virtual function called" error was proceeded by an "External Exception EEFFACE" error.

Access Violation

Sorry, missed the AV code and debug info I'll get it if this ever happens again.

This occurred because a placeable located in the area did not have an associated MDL file referenced in Placeables.2DA - missing because of a typo after editing the mdl name in the 2DA. Clicking OK on the Error Message that appeared allowed me to continue working in the Toolset but ALL of the placeables listed in the Area Tree on the left after the offending placeable had vanished from the viewport, allowing me to easily identify which placeable and MDL was causing the error.

Crash when Loading an Area (Nvidia).

This is caused by “Threaded Optimization” being turned on for the Toolset under “3D Settings” in Nvidia Control Panel.

  1. Open NVIDIA Control Panel
  2. Under “3D Settings,” select the PRGRAM SETTINGS tab
  3. Under “1. Select a program to customize,” choose Neverwinter Nights (toolset.exe)\
  4. Under “2. Specify options for this program,” set “Threaded Optimization” to OFF
  5. Check the setting for nwmain.exe (should be already set to OFF)

Camera Speed is too Fast (AMD).

This is caused by “Wait for Vertical Refresh” being turned ON in Radeon Settings.

  1. Open Radeon Settings
  2. Under the GAMING tab, select “NWN Toolset”
  3. Under “Wait for Vertical Refresh,” switch the setting to “Off, unless application specifies”

External Exception EEFFACE

This error locks the Toolset and forces the user to use Task Manager to close the Toolset application. It is a random error that appears to have a variety of causes (three documented so far):

  1. Attempting to load a module in the toolset and one of the associated HAK files is corrupt. El Grillo confirmed in this instance that it was caused by using NWPacker to save a HAK file even though its contents were not altered.
  2. Browsing creature appearances in the Creature Properties Window. The error occurs with both custom content and vanilla content. The repro in the Error Report filed on GitHub - EEFFACE error · Issue #369 · Beamdog/nwn-issues (github.com) - references spinning the mouse wheel to view appearances.

Virusman has indicated that this error may be linked to a memory leak when scrolling creature appearances. According to Virusman, "If you see this error, open Task Manage to check how much memory the toolset is using," I would then post that information in the comments on that issue report.


Index List Out of Bounds (##)

This is typically caused by various issues, some of which myself and others have been able to identify. It is also, in the case of #3 below, followed by an "Access Violation" error. In all cases, the Toolset will crash at this point, forcing you to use Task Manager to close it. 

Identified Causes:

  1. When attempting to open the “Tile Properties” window.
    1. This error is caused by adding lines to lightcolor.2da.
  2. When attempting to open an Area.
    1. This error is caused by a bad entry in the .SET file for the tileset. Typically, the TILES and/or GROUPS counts are set below the number of tiles and/or groups defined in the .SET file.
  3. When attempting to paint a Tile Feature or Group into an Area. This error is typically caused by one or more of the following:
    1. The MDL file(s) for the tile(s) specified in the SET file is missing.
    2. The name of your model in your tileset's SET file is incorrect.  Either the model isn't loaded in your HAK or you've made a typo typically.  Check your spelling and make you've loaded the model.  Perhaps you made an update and forgot to adjust in the SET file.
    3. The walkmesh (AABB) of your tile is beyond the bounds of a 10x10 tile.  Check the walkmesh of your tile, making sure all edges and vertices of your tile are within the 10x10 limits.
    4. You have more than 10,000 faces in a model.  This can cause many different errors including this one.  Find ways to reduce the number of faces such as using a modifier such as Decimate, dissolving unnecessary smoothing vertices, splitting it up in multiple parts, or simply remake it from scratch using simpler meshes.
    5. The walkmesh (AABB) of the MDL file is screwed up and doesn't have the correct number of 'entrypoint' lines in the AABB list.".  This last one comes courtesy of Merricksdad and may be specific to NWMax - the walkmesh is too-complex, causing part of the code loop in NWMax to fail to split. NWMax didn't error catch and just gave up instead. Could this also happen if the AABB lines in the MDL file don't match the WOK file?
  4. List Index Out of Bounds (60) is caused by having an ARE file set to use a Tileset that is no longer installed in the module.

PLT Texture Coloring Doesn’t Update When Changed in Item Properties

When editing an item with a PLT texture (e.g., armor or cloaks), the color displayed in the preview window on the left doesn’t update.

This is caused by “Use Environment Mapping on Creatures and Items” being unchecked under “Toolset Options.”

SourceLights Remain “On” when Set to “Off” in Tile Properties

This odd behavior is caused by erroneously having sourcelights defined as a “Light” node in the MDL file (along with lighting parameters) instead of a “Dummy” node. Sourcelight nodes ONLY every have three parameters defined: Parent, Position, and Orientation.

Note, this is typically caused by CC makers copying a MainTileLight node for use a SourceLight node. SourceLights require no lighting parameters; their properties are inherited from FX_Flame01.MDL.

Tile Feature or Group Will Not Paint

When attempting to paint a Tile Feature or Group, all that appears is a red Selector Box instead of a preview render of the tile you are painting. This error is caused by an issue with the GROUPS entry for the feature/group in the .SET file. I have identified three common causes:

  1. The TILE list in the GROUPS entry is missing a tile.
  2. The TILE list in the GROUPS entry is using a tile that is already specified in another GROUPS entry.
  3. The GROUPS entry in the ITP file is pointing to the wrong tile resref (i.e. model number).

Door Appearance Missing when Editing a Door Object (Custom Tilesets)

This error is caused by the door model for a custom tileset not being defined in doortypes.2da. In the past, it was common practice for CC Creators to reference an already existing model rather than add an entry to doortypes.2da. You can either ignore the error or add a new entry to doortypes.2da. However, if you choose the second option, you will have to update the SET file to reference the correct model.

Note, this error only pertains to tileset specific door - those defined in the SET file by a Door= parameter other than Door=0. It does not apply to generic doors.

Script Editor Weird Characters Appearing

The toolset script editor may have odd characters appearing for new scripts even in a blank new module with no hakpacks:


The problem appears to be Windows 10 enabling the Beta UTF-8 setting below available in the old Control Panel:

Click on Change date, time, or number formats and find this, the tickbox should be UNTICKED and this might have to be done multiple times after a reboot to have it stick.

This is trying to insert loads of UTF-8 characters in files that should be old Windows CF-1252.






  • No labels