Changeset 207 for trunk/src/game/ObjectMgr.cpp
- Timestamp:
- 11/19/08 13:46:22 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/ObjectMgr.cpp
r173 r207 3901 3901 if(float(tmp.datalong2) > DEFAULT_VISIBILITY_DISTANCE) 3902 3902 { 3903 sLog.outErrorDb("Table `%s` has too large distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u",tablename,tmp.datalong2,tmp.id); 3903 sLog.outErrorDb("Table `%s` has too large distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u", 3904 tablename,tmp.datalong2,tmp.id); 3904 3905 continue; 3905 3906 } … … 3907 3908 if(tmp.datalong2 && float(tmp.datalong2) > DEFAULT_VISIBILITY_DISTANCE) 3908 3909 { 3909 sLog.outErrorDb("Table `%s` has too large distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u, max distance is %u or 0 for disable distance check",tablename,tmp.datalong2,tmp.id,uint32(DEFAULT_VISIBILITY_DISTANCE)); 3910 sLog.outErrorDb("Table `%s` has too large distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u, max distance is %f or 0 for disable distance check", 3911 tablename,tmp.datalong2,tmp.id,DEFAULT_VISIBILITY_DISTANCE); 3910 3912 continue; 3911 3913 } … … 3913 3915 if(tmp.datalong2 && float(tmp.datalong2) < INTERACTION_DISTANCE) 3914 3916 { 3915 sLog.outErrorDb("Table `%s` has too small distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u, min distance is %u or 0 for disable distance check",tablename,tmp.datalong2,tmp.id,uint32(INTERACTION_DISTANCE)); 3917 sLog.outErrorDb("Table `%s` has too small distance (%u) for exploring objective complete in `datalong2` in SCRIPT_COMMAND_QUEST_EXPLORED in `datalong` for script id %u, min distance is %f or 0 for disable distance check", 3918 tablename,tmp.datalong2,tmp.id,INTERACTION_DISTANCE); 3916 3919 continue; 3917 3920 } … … 3925 3928 if(!sSpellStore.LookupEntry(tmp.datalong)) 3926 3929 { 3927 sLog.outErrorDb("Table `%s` using non-existent spell (id: %u) in SCRIPT_COMMAND_REMOVE_AURA or SCRIPT_COMMAND_CAST_SPELL for script id %u",tablename,tmp.datalong,tmp.id); 3930 sLog.outErrorDb("Table `%s` using non-existent spell (id: %u) in SCRIPT_COMMAND_REMOVE_AURA or SCRIPT_COMMAND_CAST_SPELL for script id %u", 3931 tablename,tmp.datalong,tmp.id); 3928 3932 continue; 3929 3933 }