Rochet2 / TrinityCore

Rochet2's stuff for TC
https://rochet2.github.io
89 stars 144 forks source link

Dress NPC 8.* Not Work #122

Closed KamiliaBlow closed 3 years ago

KamiliaBlow commented 3 years ago

Description:

I installed in my core to clear Trinitycore-master and there was no result when checking your Example (3000000123). I created my example model for an NPC but I always get the result as a missing model. I also had to remove from your code everything related to NPCSound.db2, as this led to this error on startup server: TrinityCore-master\src\server\database\Database\PreparedStatement.cpp:94 in PreparedStatementBase::setBool ASSERTION FAILED: index < statement_data.size()

Current behaviour:

Nothing happens, instead of the created model, the NPC displays an invisible model at all

Expected behaviour:

By using .npc set model command or by using a pre-configured NPC in the database, the created model should be displayed

Steps to reproduce the problem:

  1. Install the script to core
  2. try using a ready-made model template

Branch(es):

dressnpcs_master

TC rev. hash/commit:

3b0a364

TDB version: TDB830.20061

Operating system: Windows10 64x

1484651546187783466

KamiliaBlow commented 3 years ago

Addition: the script also does not work on your core version, and crashes on startup with the same error