cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 47 forks source link

🐛 [Bug Report] log filled with repeated error #2066

Open ajbathe opened 4 years ago

ajbathe commented 4 years ago

🐛 Bugreport

logs flooded with this two errors: mangosd[938]: DoCastSpellIfCan by Creature (Entry: 13118 Guid: 92291) attempt to cast spell 6713 but spell failed due to unknown result 10. & mangosd[938]: Creature::SelectLevel> Error trying to set level(40) for creature Pet (Petnumber: 396 Guid: 286) without enough data to do it!

To name a number: 1st error: ~ 1900x within 6 hours, no players, 2nd error: ~ 140x Is the first error caused by this record (1311803,13118,0,0,100,1,7000,12000,11000,14000,0,0,11,6713,4,1,0,0,0,0,0,0,0,0,'Crimson Bodyguard - Cast Shadow Word: Pain') and Spell "Disarm"? Can't tell for sure because I started with CMaNGOS two weeks ago.

Client Version: 1.12.1 (CLASSIC) CMaNGOS Repo & Commit Hash: fc7caf2572cc95f0a85a7a57e2f362692582e25e Database Repo & Commit Hash: 372bb7924f18d5bdcb0bc8a63c6bba0637b2af96 Operating System: Linux 16.04.6 LTS

AnonXS commented 4 years ago
  1. https://classic.wowhead.com/npc=13118/crimson-bodyguard are fighting their way through EPL to escort that one mob, they are fighting others mobs that are not disarmable so this probably throws this error. - ignoreable "error" just decrease loglevel in mangosd.config to your needs.
  2. Hints to missing Database Data for npc pets needs the summoned entry to see what data is missing.
apock69 commented 4 years ago

I was curious about this as well. Wasn't sure if it was an error originally so I collected some data. This was just the core running without doing anything else in the game.

type caster_entry caster_name spell_entry spell_name target_name result_code result_desc Num_of_times_casts
Creature 12337 Crimson Courier 17149 Exorcism Dark Summoner 10 SPELL_FAILED_BAD_TARGETS 47
Creature 12337 Crimson Courier 17149 Exorcism Necromancer 10 SPELL_FAILED_BAD_TARGETS 175
Creature 12337 Crimson Courier 17149 Exorcism Vile Tutor 10 SPELL_FAILED_BAD_TARGETS 679
Creature 12337 Crimson Courier 19725 Turn Undead Necromancer 10 SPELL_FAILED_BAD_TARGETS 47
Creature 13118 Crimson Bodyguard 6713 Disarm Cannibal Ghoul 10 SPELL_FAILED_BAD_TARGETS 84
Creature 13118 Crimson Bodyguard 6713 Disarm Cursed Mage 10 SPELL_FAILED_BAD_TARGETS 3
Creature 13118 Crimson Bodyguard 6713 Disarm Dark Caster 10 SPELL_FAILED_BAD_TARGETS 33
Creature 13118 Crimson Bodyguard 6713 Disarm Gibbering Ghoul 10 SPELL_FAILED_BAD_TARGETS 92
Creature 13118 Crimson Bodyguard 6713 Disarm Hate Shrieker 10 SPELL_FAILED_BAD_TARGETS 854
Creature 13118 Crimson Bodyguard 6713 Disarm Skeletal Servant 10 SPELL_FAILED_BAD_TARGETS 2
Creature 13118 Crimson Bodyguard 6713 Disarm Stitched Horror 10 SPELL_FAILED_BAD_TARGETS 116
Creature 13118 Crimson Bodyguard 6713 Disarm Summoned Zombie 10 SPELL_FAILED_BAD_TARGETS 15