Jump to content

[C++]Meley Dungeon + packs.


juniorsilva
 Share

Recommended Posts

  • 1 month later...
  • 4 weeks later...
6 horas atrás, Caneiras disse:

A quest não está completa não tem coordenadas e existe erros na codificação mas obrigado pela partilha .

toda a definição esta na source code....

namespace MeleyLair
{
    enum eConfig
    {
        MAP_INDEX = 212,
        SUBMAP_INDEX = 62,
        MIN_LVL = 3,
        PARTECIPANTS_LIMIT = 16,
        LADDER_POINTS_COST = 600,
        LADDER_POINTS_RETURN = 300,
        COOLDOWN_DUNGEON = 10800,
        NPC_VNUM = 20419,
        GATE_VNUM = 20388,
        BOSS_VNUM = 6193,
        STATUE_VNUM = 6118,
        CHEST_VNUM = 20420,
        REWARD_ITEMCHEST_VNUM_1 = 50270,
        REWARD_ITEMCHEST_VNUM_2 = 50271,
        TIME_LIMIT_DUNGEON = 3600,
        SEAL_VNUM_KILL_STATUE = 30341,
        TIME_LIMIT_TO_KILL_STATUE = 10,
        TIME_RESPAWN_COMMON_STEP1 = 5,
        MOBCOUNT_RESPAWN_COMMON_STEP = 12,
        MOBVNUM_RESPAWN_COMMON_STEP1 = 6112,
        TIME_RESPAWN_COMMON_STEP2 = 30,
        MOBVNUM_RESPAWN_COMMON_STEP2 = 6113,
        MOBVNUM_RESPAWN_STONE_STEP2 = 20422,
        MOBCOUNT_RESPAWN_STONE_STEP2 = 4,
        TIME_RESPAWN_COMMON_STEP3 = 30,
        MOBVNUM_RESPAWN_COMMON_STEP3 = 6115,
        MOBVNUM_RESPAWN_BOSS_STEP3 = 6116,
        MOBVNUM_RESPAWN_SUBBOSS_STEP3 = 6117,
        MOBCOUNT_RESPAWN_BOSS_STEP3 = 4,
    };
Edited by juniorsilva
Link to comment
Share on other sites

  • 2 months later...

me da erro em algum mobs


1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/npc/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/npc2/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/monster/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/monster2/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/guild/metinstone_egg0/metinstone_egg0.msm] ERROR
1029 22:01:09417 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 20422
1029 22:01:09417 :: CPythonCharacterManager::CreateInstance VID[18794] Race[20422]

Link to comment
Share on other sites

4 horas atrás, Darkness disse:

me da erro em algum mobs


1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/npc/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/npc2/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/monster/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/monster2/metinstone_egg0/metinstone_egg0.msm] ERROR. Will Find Another Path.
1029 22:01:09417 :: CRaceManager::RegisterRacePath : RACE[20422] LOAD MSMFILE[d:/ymir work/guild/metinstone_egg0/metinstone_egg0.msm] ERROR
1029 22:01:09417 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 20422
1029 22:01:09417 :: CPythonCharacterManager::CreateInstance VID[18794] Race[20422]

Solução de modo Easy pra ti...

Vá em GameLib->RaceManager.cpp e adicione isso abaixo da função "bool __IsNPCRace(unsigned race) ":

bool __IsMeleyNPCRace(unsigned race)
{
    if (20422 == race)
        return true;
	    return false;
}

depois abaixo da condição "if (__IsGuildRace(race))" adicione isso:

else if (__IsMeleyNPCRace(race))
    {
        vec_stPathes.push_back("d:/ymir work/monster/");
        vec_stPathes.push_back("d:/ymir work/monster2/");
        vec_stPathes.push_back("d:/ymir work/npc/");
        vec_stPathes.push_back("d:/ymir work/npc2/");
        vec_stPathes.push_back("d:/ymir work/guild/");
    }

Creio que com isso resolve o problema de carregamento de pasta monster....

Simplificando o código acima....

else if (20422 == race)
    {
        vec_stPathes.push_back("d:/ymir work/monster/");
        vec_stPathes.push_back("d:/ymir work/monster2/");
        vec_stPathes.push_back("d:/ymir work/npc/");
        vec_stPathes.push_back("d:/ymir work/npc2/");
        vec_stPathes.push_back("d:/ymir work/guild/");
    }

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...
  • 3 months later...
  • 2 months later...
  • 1 month later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...