Line 856 of npc.cpp has this insert statement.
INSERT INTO spawn2 (zone, x, y, z, respawntime, heading, spawngroupID) values()
Note 'cond_value' is not in the statement, When executed the SQL server uses the column default value. The default value is set to 1.
Ways to fix are, change the default value to 0 or add the column and value to the INSERT INTO statement.
|