Nukayool Posted April 4, 2018 at 11:29 PM Share Posted April 4, 2018 at 11:29 PM Boas Malta, Alguém sabe como posso adicionar mais NPC para o sistema do cubo? Sem ser só o 20017 / 20018 / 20383 E depois como adicionar mais ferreiros ? Sem ser o 20016 / 20091 Cumpz Nukayool Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted April 4, 2018 at 11:39 PM Share Posted April 4, 2018 at 11:39 PM Adicionar ferreiros: refine.h Caso queiras adicionar diretamente no switch para ser mais rápido: char_item.cpp Dentro da função: bool CHARACTER::CanReceiveItem (LPCHARACTER from, LPITEM item) const Procuras por (ou case BLACKSMITH2_MOB dependente do tipo que queres): case BLACKSMITH_MOB: E adicionas abaixo o vnum dos novos ferreiros, desta forma: __ Cubo é só meteres o vnum do npc no ficheiro cube.txt que deve dar. Link to comment Share on other sites More sharing options...
Nukayool Posted April 4, 2018 at 11:48 PM Author Share Posted April 4, 2018 at 11:48 PM @Tierri Lopes Já tentei adicionar novos Vnum e não deu no cubo, até meti na quest para ao carregar abrir o cubo e não fez nada. Mas vou realizar mais uns testes. Da outra parte vou tentar ver e testar. Obrigado Link to comment Share on other sites More sharing options...
Nukayool Posted April 5, 2018 at 12:09 AM Author Share Posted April 5, 2018 at 12:09 AM (edited) @Tierri Lopes Tentei adicionar novos cubos apareceu-me este erro no cliente: 0405 00:59:04807 :: CPythonNetworkStream::ServerCommand(c_szCommand=cube r_list 9003 0 ) - Strange Parameter Count : 5 0405 01:03:04650 :: CPythonNetworkStream::ServerCommand(c_szCommand=cube r_list 20016 0 ) - Strange Parameter Count : 5 PS: Já resolvi a de adicionar novos cubos, para que ele funcione correctamente é necessário ter no mínimo 5 coisas. Edited April 5, 2018 at 12:41 AM by Nukayool 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