FreakGamers - gaming community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • Hi Guest ,
    If You have any problem on the forum with download links or some bug , send
    private message to our administrators @Cosmin & @Nicutzy .
    Thanks. FG TEAM.

Dungeon Information system

sury1210

Freak member
Active user
Member
Messages
43
ReactionScore
1
Points
8
Thank you for this, I hope it is the full version
 

MrObywan

Freak level 3
Active user
Member
Messages
251
ReactionScore
474
Points
63
Logically yes, I will test the files in the day
 

xAlBozZz

Freak member
Active user
Member
Messages
29
ReactionScore
339
Points
48
Thank u bro, that is what I need for my server <3
 

MrObywan

Freak level 3
Active user
Member
Messages
251
ReactionScore
474
Points
63
Add to questmanager.h

Code:
            void        QuestDamage(unsigned int pc, unsigned int npc);
[/ CODE] 

Add to questmanager.cpp
[CODE] 
   m_mapEventName.insert (TEventNameMap :: valeur_type ("dommage", QUEST_DAMAGE_EVENT)); 
[/COD] 

[CODE]  
    void CQuestManager::QuestDamage(unsigned int pc, unsigned int npc)
    {
        PC * pPC;

        if ((pPC = GetPC(pc)))
        {
            if (!CheckQuestLoaded(pPC))
                return;

            m_mapNPC[npc].OnQuestDamage(*pPC);
            if (npc != QUEST_NO_NPC)
                m_mapNPC[QUEST_NO_NPC].OnQuestDamage(*pPC);
        }
        else
        {
            sys_err("QUEST QUEST_DAMAGE_EVENT no such pc id : %d npc: %d", pc, npc);
        }
    }
 
Top