Challenge Quest

Results 1 to 4 of 4
  1. #1
    Apprentice Tical is offline
    MemberRank
    Sep 2010 Join Date
    21Posts

    Challenge Quest

    Hi,

    I was compiling Challenge Quest released by SecretsOfThePast and came across two errors in MMatchServer_Stage.cpp

    Code:
    d:\Gunz\Gunz 1.5\Clean source\CSCommon\Source\MMatchServer_Stage.cpp(1618): error C2065: 'bLast_QuestOrSurvival' : undeclared identifier
    
    d:\Gunz\Gunz 1.5\Clean source\CSCommon\Source\MMatchServer_Stage.cpp(1622): error C3861: 'bLast_QuestOrSurvival': identifier not found, even with argument-dependent lookup
    the code which is highlighted red is the errors, even though it is declared i thought i would ask if anyone knew the solution to this.

    Code:
    bool bLast_QuestOrSurvival = MGetGameTypeMgr()->IsQuestDerived( nLastGameType );
            bool bCurr_QuestOrSurvival = MGetGameTypeMgr()->IsQuestDerived( pSetting->GetGameType() );
            
            bool bLast_Duel = nLastGameType == MMATCH_GAMETYPE_DUEL;
            bool bCurr_Duel = pSetting->GetGameType() == MMATCH_GAMETYPE_DUEL;
    
            bool bLast_ChallengeQuest = nLastGameType == MMATCH_GAMETYPE_QUEST_CHALLENGE;
            bool bCurr_ChallengeQuest = pSetting->GetGameType() == MMATCH_GAMETYPE_QUEST_CHALLENGE;
    
            // ±×¿Ü ÀϹÝÀûÀÎ ¸ðµåµé (µ¥½º¸ÅÄ¡ µî)
            bool bLast_Other = !bLast_QuestOrSurvival && !bLast_Duel && !bLast_ChallengeQuest;
            bool bCurr_Other = !bCurr_QuestOrSurvival && !bCurr_Duel && !bCurr_ChallengeQuest;
    
            // Äù½ºÆ®³ª ¼­¹ÙÀ̹ú¿¡ ¸Â´Â ¸ÊÀ¸·Î º¯°æ
            if (!bLast_QuestOrSurvival && bCurr_QuestOrSurvival)
    Thank you for your time.


  2. #2
    I'm retired, I'm already jorklenis2 is online now
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    Re: Challenge Quest

    have to go to "MatchServer Stage.h" and go to the function "bCurr_ChallengeQuest" and you know you do there.

    I warn you, this game mode only works the first phase but the other will not work.

  3. #3
    Apprentice Tical is offline
    MemberRank
    Sep 2010 Join Date
    21Posts

    Re: Challenge Quest

    ended up with this error, I know its an issues with linker and library directories, anyone can assist me with a solution or advice?

    Code:
    Gunz error LNK2019: unresolved external symbol "public: struct MUID __thiscall MNewQuestPlayerManager::FindSuitableController(void)" (?FindSuitableController@MNewQuestPlayerManager@@QAE?AUMUID@@XZ) referenced in function "private: void __thiscall MMatchRuleQuestChallenge::SpawnNpc(char const *,int,int,int)" (?SpawnNpc@MMatchRuleQuestChallenge@@AAEXPBDHHH@Z)
    Code:
    Gunz error LNK2001: unresolved external symbol "public: __thiscall MNewQuestScenarioManager::~MNewQuestScenarioManager(void)" (??1MNewQuestScenarioManager@@QAE@XZ)
    Code:
    Gunz error LNK2001: unresolved external symbol "public: __thiscall MNewQuestScenarioManager::MNewQuestScenarioManager(void)" (??0MNewQuestScenarioManager@@QAE@XZ)
    Code:
    Gunz error LNK2001: unresolved external symbol "public: bool __thiscall MNewQuestScenarioManager::ReadXml(class MZFileSystem *,char const *,class MQuestDropTable *)" (?ReadXml@MNewQuestScenarioManager@@QAE_NPAVMZFileSystem@@PBDPAVMQuestDropTable@@@Z)
    Code:
    Gunz error LNK2001: unresolved external symbol "public: char const * __thiscall MNewQuestScenarioManager::GetDefaultScenarioName(void)" (?GetDefaultScenarioName@MNewQuestScenarioManager@@QAEPBDXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "protected: void __thiscall MMatchServer::Ban(struct MUID const &,char const *)" (?Ban@MMatchServer@@IAEXABUMUID@@PBD@Z) referenced in function "protected: virtual bool __thiscall MMatchServer::OnCommand(class MCommand *)" (?OnCommand@MMatchServer@@MAE_NPAVMCommand@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "protected: void __thiscall MMatchServer::Unban(struct MUID const &,char const *)" (?Unban@MMatchServer@@IAEXABUMUID@@PBD@Z) referenced in function "protected: virtual bool __thiscall MMatchServer::OnCommand(class MCommand *)" (?OnCommand@MMatchServer@@MAE_NPAVMCommand@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: __thiscall MActorDefManager::~MActorDefManager(void)" (??1MActorDefManager@@QAE@XZ) referenced in function _$E16
    Code:
    Gunz error LNK2019: unresolved external symbol "public: __thiscall MNewQuestScenarioManager::~MNewQuestScenarioManager(void)" (??1MNewQuestScenarioManager@@QAE@XZ) referenced in function "public: void * __thiscall MNewQuestScenarioManager::`scalar deleting destructor'(unsigned int)" (??_GMNewQuestScenarioManager@@QAEPAXI@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: __thiscall MNewQuestScenarioManager::MNewQuestScenarioManager(void)" (??0MNewQuestScenarioManager@@QAE@XZ) referenced in function "public: __thiscall ZStageInterface::ZStageInterface(void)" (??0ZStageInterface@@QAE@XZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: __thiscall ZRuleQuestChallenge::ZRuleQuestChallenge(class ZMatch *)" (??0ZRuleQuestChallenge@@QAE@PAVZMatch@@@Z) referenced in function "public: static class ZRule * __cdecl ZRule::CreateRule(class ZMatch *,enum MMATCH_GAMETYPE)" (?CreateRule@ZRule@@SAPAV1@PAVZMatch@@W4MMATCH_GAMETYPE@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: bool __thiscall MActorDefManager::ReadXml(class MZFileSystem *,char const *)" (?ReadXml@MActorDefManager@@QAE_NPAVMZFileSystem@@PBD@Z) referenced in function "public: static void __cdecl MMatchRuleQuestChallenge::InitActorDefMgr(void)" (?InitActorDefMgr@MMatchRuleQuestChallenge@@SAXXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: bool __thiscall MNewQuestScenarioManager::ReadXml(class MZFileSystem *,char const *,class MQuestDropTable *)" (?ReadXml@MNewQuestScenarioManager@@QAE_NPAVMZFileSystem@@PBDPAVMQuestDropTable@@@Z) referenced in function "public: void __thiscall ZStageInterface::OnCreate(void)" (?OnCreate@ZStageInterface@@QAEXXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: char const * __thiscall MNewQuestScenarioManager::GetDefaultScenarioName(void)" (?GetDefaultScenarioName@MNewQuestScenarioManager@@QAEPBDXZ) referenced in function "protected: void __thiscall MMatchServer::OnStageSetting(struct MUID const &,struct MUID const &,void *,int)" (?OnStageSetting@MMatchServer@@IAEXABUMUID@@0PAXH@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: class MNewQuestNpcObject * __thiscall MNewQuestNpcManager::GetNpc(struct MUID)" (?GetNpc@MNewQuestNpcManager@@QAEPAVMNewQuestNpcObject@@UMUID@@@Z) referenced in function "public: virtual void __thiscall MMatchRuleQuestChallenge::OnCommand(class MCommand *)" (?OnCommand@MMatchRuleQuestChallenge@@UAEXPAVMCommand@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: class MNewQuestScenario * __thiscall MNewQuestScenarioManager::GetScenario(char const *)" (?GetScenario@MNewQuestScenarioManager@@QAEPAVMNewQuestScenario@@PBD@Z) referenced in function "protected: virtual void __thiscall MMatchRuleQuestChallenge::OnBegin(void)" (OnBegin@MMatchRuleQuestChallenge@@MAEXXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: class MNewQuestSpawn * __thiscall MNewQuestSector::GetSpawnByIndex(int)" (?GetSpawnByIndex@MNewQuestSector@@QAEPAVMNewQuestSpawn@@H@Z) referenced in function "private: void __thiscall MMatchRuleQuestChallenge::ProcessNpcSpawning(void)" (?ProcessNpcSpawning@MMatchRuleQuestChallenge@@AAEXXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: static bool __cdecl ZRuleQuestChallenge::LoadScenarioMap(char const *)" (?LoadScenarioMap@ZRuleQuestChallenge@@SA_NPBD@Z) referenced in function "public: bool __thiscall ZGame::Create(class MZFileSystem *,class ZLoadingProgress *)" (?Create@ZGame@@QAE_NPAVMZFileSystem@@PAVZLoadingProgress@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: void __thiscall MNewQuestNpcManager::AddNpcObject(struct MUID,struct MUID,int)" (?AddNpcObject@MNewQuestNpcManager@@QAEXUMUID@@0H@Z) referenced in function "private: void __thiscall 
    MMatchRuleQuestChallenge::SpawnNpc(char const *,int,int,int)" (?SpawnNpc@MMatchRuleQuestChallenge@@AAEXPBDHHH@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: void __thiscall MNewQuestNpcManager::DeleteNpcObject(struct MUID)" (?DeleteNpcObject@MNewQuestNpcManager@@QAEXUMUID@@@Z) referenced in function "public: virtual void __thiscall MMatchRuleQuestChallenge::OnCommand(class MCommand *)" (?OnCommand@MMatchRuleQuestChallenge@@UAEXPAVMCommand@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: void __thiscall MNewQuestPlayerManager::AddPlayer(class MMatchObject *)" (?AddPlayer@MNewQuestPlayerManager@@QAEXPAVMMatchObject@@@Z) referenced in function "protected: virtual void __thiscall MMatchRuleQuestChallenge::OnBegin(void)" (?OnBegin@MMatchRuleQuestChallenge@@MAEXXZ)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: void __thiscall MNewQuestPlayerManager::DecreaseNpcControl(struct MUID)" (?DecreaseNpcControl@MNewQuestPlayerManager@@QAEXUMUID@@@Z) referenced in function "public: virtual void __thiscall MMatchRuleQuestChallenge::OnCommand(class MCommand *)" (?OnCommand@MMatchRuleQuestChallenge@@UAEXPAVMCommand@@@Z)
    Code:
    Gunz error LNK2019: unresolved external symbol "public: void __thiscall MNewQuestPlayerManager::IncreaseNpcControl(struct MUID,struct MUID)" (?IncreaseNpcControl@MNewQuestPlayerManager@@QAEXUMUID@@0@Z) referenced in function "private: void __thiscall MMatchRuleQuestChallenge::SpawnNpc(char const *,int,int,int)" (?SpawnNpc@MMatchRuleQuestChallenge@@AAEXPBDHHH@Z)
    Code:
    Gunz fatal error LNK1120: 19 unresolved externals

  4. #4
    I'm retired, I'm already jorklenis2 is online now
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    Re: Challenge Quest

    It seems that these functions that make the error is trying to call some commands that are not well aggregated or bad add.

    the truth I can not say much because I have not added my source ChallengeQuest because it is a waste of time, the play has many errors.

    for experiencie



Advertisement