Metin2 Posted October 16, 2017 at 12:37 AM Share Posted October 16, 2017 at 12:37 AM (edited) Ola pessoal estou com pequena duvida aqui eu coloquei um npc novo na pasta "npc" mas sysser do Client me diz que tenho que colocar o gr2 ,msm, nas pastas npc2,monster,monster2 . aonde eu mexo para eu ter 1 diretório fixo sem ter que colocar em varias pastas. Edited October 16, 2017 at 12:43 AM by Darkness Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted October 21, 2017 at 02:21 AM Share Posted October 21, 2017 at 02:21 AM O que diz o syserr, coloca aqui sff Link to comment Share on other sites More sharing options...
juniorsilva Posted October 25, 2017 at 10:44 PM Share Posted October 25, 2017 at 10:44 PM basta corrigir o Race em GameLib->RaceManager.cpp ou criar uma função... Exemplo: bool __IsNewNPCRace(unsigned race) { if (race >= 30301 && race <= 30306) return true; if (race >= 60000 && race <= 60003) return true; return false; } depois..... else if (__IsNewNPCRace(race)) { vec_stPathes.push_back("d:/ymir work/npc/"); vec_stPathes.push_back("d:/ymir work/npc2/"); vec_stPathes.push_back("d:/ymir work/monster/"); vec_stPathes.push_back("d:/ymir work/monster2/"); vec_stPathes.push_back("d:/ymir work/guild/"); } Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now