Fix Quest/Survival

Results 1 to 5 of 5
  1. #1
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    big grin Fix Quest/Survival

    here the code of how to operate the quest and survival I worked with a file server 1.5 on Brz_release_publish clan quest, but not if it worked with other compilers but that if it worked and I'm using.

    Code:
    	#ifdef _QUEST // Äù½ºÆ® °³¹ß¿ë µðÆÄÀÎ
    	{
    		// Å×½ºÆ® ¼­¹ö´Â Äù½ºÆ®,¼­¹ÙÀ̹ú Ȱ¼ºÈ­
    		if ((ZGetGameClient()) && (ZGetGameClient()->GetServerMode() == MSM_TEST)) // server.ini¿¡¼­ MODE="test"·Î ¼¼ÆÃÀ¸·Î Ãß°¡
    		{
    			pCB->Add(ZGetGameTypeManager()->GetGameTypeStr(MMATCH_GAMETYPE(MMATCH_GAMETYPE_QUEST)));
    			
    #ifdef LOCALE_BRAZIL
    #else
    			// ºê¶óÁú¿¡¼­´Â ¾ÆÁ÷ ¼­¹ÙÀ̹ú¸ðµå¸¦ ¼­ºñ½º ¾ÈÇÔ....³ªÁß¿¡ ¼­ºñ½º ÇÒ¶§ #ifdef¸¦ Ç®¾îÁà¾ßÇÔ
    			// server.ini¿¡¼­ SURVIVALENABLE=0ÀÌ¸é ºñȰ¼ºÈ­
    			if (ZGetGameClient()->IsEnabledSurvivalMode())
    				pCB->Add(ZGetGameTypeManager()->GetGameTypeStr(MMATCH_GAMETYPE(MMATCH_GAMETYPE_SURVIVAL)));
    #endif
    		}
    	}
    	#endif
    
    	pCB->SetSelIndex(MMATCH_GAMETYPE_DEFAULT);									
    }


  2. #2
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

  3. #3
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    262Posts

    Re: Fix Quest/Survival

    Yes but that is different here's the full code in the other post does not understand anything and that if and it worked.

  4. #4
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: Fix Quest/Survival

    Quote Originally Posted by megol View Post
    Yes but that is different here's the full code in the other post does not understand anything and that if and it worked.
    "Full Code" ? What? It is not different, It is the same code and edits, And I even told what source file and what line.
    Whatever, Good job on finding the fix.

  5. #5
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Fix Quest/Survival

    Quote Originally Posted by megol View Post
    Yes but that is different here's the full code in the other post does not understand anything and that if and it worked.
    Same code, he even said which file lol



Advertisement