Segs: Failed to locate class index for ""

Summary

Several users are reporting [22:12:23] Warning : Failed to locate class index for "" messages in the server console.

[23:43:22] Warning : Failed to locate class index for "" originates in getEntityClassIndex() where it’s called from initializeNewNpcEntity()

My guess is that we’re not setting the class_name needed by that method prior to calling initializeNewNpcEntity(). It’s not clear if this is happening in the Lua scripts or in our server-side npc generators.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

The hostage/victims are set m_is_hero=true currently, so it gives the combatant display which includes rank. They should be hero=false and villain=false, and then they would be like any other npc, just displaying the name.

If they are supposed to be a combatant, their rank would be hero or pet or something like that.

Nice detective work, YellowAdder.