Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

What is "string reference is out of range: xxx"

NSAgov770NSAgov770 Member Posts: 27
I found this when I was looking at BCS script in near infinity

For example: in AERIE.BCS

InParty("rh#Isra2") // Isra
InParty("Aerie") // Aerie
!StateCheck("Aerie",CD_STATE_NOTVALID) // Aerie
!StateCheck("rh#Isra2",CD_STATE_NOTVALID) // Isra
ActionOverride(Player1,DisplayString(Myself,125200)) // No such index

near infinity warned me that

"string reference is out of range: 125200"

What does it mean? Is this some kind of bug? Is it serious? Will it cause stuttering?

and Are there any ways to fix it?

Thx in advance


  • DoubledimasDoubledimas Member, Mobile Tester Posts: 1,198
  • argent77argent77 Member Posts: 2,809
    It means that the text message referenced by this script action does not exist. It's not a serious issue though. In the worst case you will miss some lines of text in the game.

    If you're lucky, it's only caused by an incorrect setting in Near Infinity itself. Please make sure that NI is set to the same language you're playing the game in. You can check or fix it via menu Options > TLK Language. In that case you won't have any issues in the game. Simply choose the correct game language from the menu and open the script again.

    It can also happen if you installed mods for the wrong game language, e.g. installing for English, but playing in German. You can check the content of the file "weidu.conf" which can be found in the game's installation folder. For English it should contain "lang_dir = en_us". In this case you have no choice but to reinstall everything in the right game language.

    To force a language reset, you have to delete the file "weidu.conf" before installing mods (and make sure to choose the right game language when asked).

  • Gate70Gate70 Member, Developer Posts: 3,666
    Looks like modded content, possibly the ISRA mod. Have you got Siege of Dragonspear installed, and if so are you using ModMerge + have you left a copy of in the main game folder as well as in the dlc folder. (mentioned at

    +possibly is your version of NI recent / up to date

  • NSAgov770NSAgov770 Member Posts: 27
    Thx you so much guy. Your comments are very insightful to me.

Sign In or Register to comment.