Skip to content

Critical during summoning creatures without OFPetSlots #1409

Closed
@mtwango

Description

@mtwango

Clean scripts and sphere, dev build 3995, OF_PetSlots in ini disabled. Add spellbook, reagents and try to summon something.

08:46:CRITICAL:Assert severity=2: 'FollowersUpdate(pChar, pChar->GetFollowerSlots(), true)' file 'D:\a\Source-X\Source-X\src\game\chars\CCharSpell.cpp', line 353, in ExcType=CAssert catched in CChar::Skill_Stage()
08:46:DEBUG:Printing STACK TRACE for debugging purposes.
08:46:DEBUG: ______ thread (id) name _____ |   # | _____________ function _____________ |
08:46:DEBUG:(662c)          T_Main |   0 |                      CWorld::_OnTick | 
08:46:DEBUG:(662c)          T_Main |   1 |                   CWorldTicker::Tick | 
08:46:DEBUG:(662c)          T_Main |   2 |                       CChar::_OnTick | 
08:46:DEBUG:(662c)          T_Main |   3 |                    CChar::Skill_Done | <-- exception catch point
08:46:DEBUG:(662c)          T_Main |   4 |                  CChar::Skill_Magery | 
08:46:DEBUG:(662c)          T_Main |   5 |                CChar::Spell_CastDone | 
08:46:DEBUG:(662c)          T_Main |   6 |            CChar::Spell_Summon_Place | <-- last function call (stack unwinding began here)

I gues this assert:

ASSERT(FollowersUpdate(pChar, pChar->GetFollowerSlots(), true));
should be behind if (IsSetOF(OF_PetSlots)) {} condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions