Darkpeninsula / Darkcore

DarkCore Project is a no-profit Open Source community. **We're looking for contributors** to keep this project up-to-date !!
http://project.darkpeninsula.eu/
GNU Affero General Public License v3.0
39 stars 25 forks source link

Mage : Mirror Image #22

Closed blindspell closed 12 years ago

blindspell commented 12 years ago

When casting this spell the core crashes you cant even see the clones

Darkrabbit commented 12 years ago

please post core dump thanks -)

blindspell commented 12 years ago

i will rebuild the core later today on debug to see the error i dont get any dump on release and release with deb info

Drethek commented 12 years ago

should be fixxed by e757d97e234ba33898ad9a5d383116fbdb55929e

blindspell commented 12 years ago

no it isn't i will provide crash info later today

blindspell commented 12 years ago

http://pastebin.com/VBLu7Han and the dump shows me that the crash comes from CombatAI.cpp //casterAI// if (AISpellInfo[_itr].condition == AICOND_COMBAT && m_attackDist > GetAISpellInfo(_itr)->maxRange) m_attackDist = GetAISpellInfo(*itr)->maxRange;

Drethek commented 12 years ago

I cant reproduce that. Please give more info to reproduce the crash.

blindspell commented 12 years ago

try to cast mirror image with no target and you will get it

blindspell commented 12 years ago

even with target the CombatAI crashes

void CasterAI::InitializeAI() { CombatAI::InitializeAI(); m_attackDist = 30.0f; for (SpellVct::iterator itr = spells.begin(); itr != spells.end(); ++itr) if (AISpellInfo[_itr].condition == AICOND_COMBAT && m_attackDist > GetAISpellInfo(_itr)->maxRange) m_attackDist = GetAISpellInfo(*itr)->maxRange; if (m_attackDist == 30.0f) m_attackDist = MELEE_RANGE; }

Something here is causing the crash all of the crash dumps are the same

Drethek commented 12 years ago

tried but cant reproduce even without target

blindspell commented 12 years ago

ok maybe its something from my side i will check it probably i cant initialize this void i mentioned above

impas commented 12 years ago

confirm this bug

Walkum commented 12 years ago

For me don't crash now, before yes... maybe was fixed for unknown cause XD

blindspell commented 12 years ago

newest core still crashes takes the casters mana doesnt create mirrors and after few seconds the server crashes

by newest I mean https://github.com/Darkpeninsula/Darkcore/commit/78627c25b62ee388850d9abe59a931d91fc88493

Thema89 commented 12 years ago

I can't reproduce this bug too... I've tried with and without target, in combat and out of combat, but it doesn't crash or report error (except for head graphics)...

is this what it keeps doing to you ? http://pastebin.com/VBLu7Han

blindspell commented 12 years ago

yes

Cosmodor commented 12 years ago

I' ve tested this bug in 3 different condiotions :

I think that this issue can be closed.