Jump to content

Fix: ERROR LOAD PATCH


Recommended Posts

  • Active Member

Error:

CRaceManager::RegisterRacePath : RACE[34080] LOAD MSMFILE[d:/ymir work/npc_pet/halloween_tar/halloween_tar.msm

Metin2 not load 34080 from npc_pet  why you add folder(halloween_tar)  in npc_pet x2 load why ?

Lets go to fix

 

1. OPEN GameLib folder
2. OPEN RaceManager.cpp
  
3.
Search:

		if (race >= 30000)
		{
			if (race==34028 || race==34029)
			{
				vec_stPathes.push_back ("d:/ymir work/npc_pet/");
				vec_stPathes.push_back ("d:/ymir work/npc2/");
			}
			else
			{
				vec_stPathes.push_back ("d:/ymir work/npc2/");
				vec_stPathes.push_back ("d:/ymir work/npc_pet/");
			}
			vec_stPathes.push_back ("d:/ymir work/npc/");
			vec_stPathes.push_back ("d:/ymir work/monster/");
			vec_stPathes.push_back ("d:/ymir work/monster2/");
			vec_stPathes.push_back ("d:/ymir work/guild/");
		}


4. Change with:
		if (race >= 30000)
		{
			if (race==34028 || race==34029)
			{
				vec_stPathes.push_back ("d:/ymir work/npc_pet/");
				vec_stPathes.push_back ("d:/ymir work/npc2/");
			}
			else if (race==34080) // Load only from normal folder npc2  my halloween_tar :)   and not load from npc_pet
			{
				vec_stPathes.push_back ("d:/ymir work/npc2/");
			}
			else
			{
				vec_stPathes.push_back ("d:/ymir work/npc2/");
				vec_stPathes.push_back ("d:/ymir work/npc_pet/");
			}
			vec_stPathes.push_back ("d:/ymir work/npc/");
			vec_stPathes.push_back ("d:/ymir work/monster/");
			vec_stPathes.push_back ("d:/ymir work/monster2/");
			vec_stPathes.push_back ("d:/ymir work/guild/");
		}

 

 

 

34080

            else
            {
                vec_stPathes.push_back ("d:/ymir work/npc2/");
                vec_stPathes.push_back ("d:/ymir work/npc_pet/");
            }

 

i will add my number from pet 

            if (race==34080) // Load only from normal folder npc2  my halloween_tar 🙂   and not load from npc_pet
            {
                vec_stPathes.push_back ("d:/ymir work/npc2/");
            }

vec_stPathes.push_back ("d:/ymir work/npc2/");  pet this load from this npc2 

 

If there are extra pets you can add 

example:

if (race==34080  ||   race==34081 || race==34082   )

34081 and 34082 = load npc2  

if not load from npc2 and load from npc_pet

add new code

           if (race==34080  ||   race==34081 || race==34082   ) // Load only from normal folder npc2  my halloween_tar 🙂   and not load from npc_pet
            {
                vec_stPathes.push_back ("d:/ymir work/npc_pet/");
            }

 

 

Error fixed without  hide error  // TraceError("CRaceManager::RegisterRacePath : RACE[%u] LOAD MSMFILE[%s] ERROR. Will Find Another Path.", dwRaceIndex, stMSMFileName.c_str());

 

 

 

 

 

 

Edited by Draveniou1
  • kekw 5
  • Facepalm 1
  • Sad 1
  • Think 1
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.