When I reopened a task when the crash!
Opened this issue · 6 comments
Receive:CGGQuestAccept(QuestID:2010,)
Mission SayNPCMission removes from Event 4
free(): invalid pointer
Aborted (core dumped)
This is a hint.
Level 150 professional task, I give up,
When I activate again. Gameserver crash
What's the race you're playing? vampire or slayer or ousters?
And what's the role?
void GQuestElement::whenMissionEnd( PlayerCreature* pOwner, GQuestMission* pMission )
{
if ( getEventType() == GQuestManager::MAX ) return;
cout << "Mission " << pMission->getMissionName() << " removes from Event " << (int)getEventType() << endl;
list<GQuestMission*>& missions = pOwner->getGQuestManager()->getEventMission(getEventType());
list<GQuestMission*>::iterator itr = find(missions.begin(), missions.end(), pMission);
if ( itr != missions.end() ) missions.erase(itr);
else cout << "****** but cannot find! ******" << endl;
}
What's the race you're playing? vampire or slayer or ousters? And what's the role?
Three RACE 150 full-time task.. Perhaps you can look at
what i did i removed the Quests from game and made Triggers for JC no one like that stupid Quest:)