Beamdog / nwn-issues

Neverwinter Nights: Enhanced Edition Technical Bug Tracker
http://nwn.beamdog.com
31 stars 1 forks source link

NWNEE 8193.20+ does not display entries that use Custom Tokens. #319

Closed SeanMJOBrien closed 3 years ago

SeanMJOBrien commented 3 years ago

To Reproduce

Specifics

If needed, describe the bug

The dialog branches using Custom Tokens do not display in the dialog as expected. All works fine in vanilla NWN (1.69). See screenshots and module.

image image CustomTokensBug.zip

Daztek commented 3 years ago

In (one of) the StartingConditionals it references a teams.2da. If it a returns an empty string it doesn't show an options, make sure its somewhere where the game/server can find it.

    string sName=Get2DAString("teams","TEAMNAME",nBase+nRunner);
    if (GetStringLength(sName)<1) return FALSE;
    SetCustomToken(1000+nRunner,StringToRGBString(sName,"377"));
SeanMJOBrien commented 3 years ago

I was missing a hak file with the 2DA.