View Single Post
  #7  
Old 10-19-2007, 05:35 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

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.
Reply With Quote