westkian Posted September 15, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 21 Reputation: 1 Joined: 07/31/14 Last Seen: August 23, 2022 Share Posted September 15, 2019 Como devo fazer para que os itens sejam dropados já identificados?Tem um post de 2012 ensinado,mais não consegui. Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 15, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 11 hours ago Share Posted September 15, 2019 src/map/itemdb.cpp#L582-L596 /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(unsigned short nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: return 0; // <--------- REMOVE or Change to 1 default: return 1; } } 6 Quote Link to comment Share on other sites More sharing options...
westkian Posted September 16, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 21 Reputation: 1 Joined: 07/31/14 Last Seen: August 23, 2022 Author Share Posted September 16, 2019 11 hours ago, Emistry said: src/map/itemdb.cpp#L582-L596 /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(unsigned short nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: return 0; // <--------- REMOVE or Change to 1 default: return 1; } } Resolvido.Obrigado.Thanks. Quote Link to comment Share on other sites More sharing options...
lopes Posted October 3, 2019 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 09/30/19 Last Seen: November 24, 2024 Share Posted October 3, 2019 On 9/16/2019 at 5:24 AM, westkian said: Resolvido.Obrigado.Thanks. Poderia me explicar como fazer? Quote Link to comment Share on other sites More sharing options...
westkian Posted October 3, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 21 Reputation: 1 Joined: 07/31/14 Last Seen: August 23, 2022 Author Share Posted October 3, 2019 4 hours ago, lopes said: Poderia me explicar como fazer? Olá!A solução está logo acima. Vá no seu emulador em src/map/itemdb.cpp e procure por.E aonde está return 0; altere para return 1; int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: return 0; // <--------- REMOVE or Change to 1 default: return 1; } } Quote Link to comment Share on other sites More sharing options...
lopes Posted October 3, 2019 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 09/30/19 Last Seen: November 24, 2024 Share Posted October 3, 2019 3 hours ago, westkian said: Olá!A solução está logo acima. Vá no seu emulador em src/map/itemdb.cpp e procure por.E aonde está return 0; altere para return 1; int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: return 0; // <--------- REMOVE or Change to 1 default: return 1; } } Não tem como editar na grf? Quote Link to comment Share on other sites More sharing options...
westkian Posted October 3, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 21 Reputation: 1 Joined: 07/31/14 Last Seen: August 23, 2022 Author Share Posted October 3, 2019 2 hours ago, lopes said: Não tem como editar na grf? Não.A edição e na source. Quote Link to comment Share on other sites More sharing options...
lopes Posted October 3, 2019 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 09/30/19 Last Seen: November 24, 2024 Share Posted October 3, 2019 eu fiz alguma coisa ontem, editando grf e consegui deixar assim, mas como foram muita adições eu não sei qual foi a modificação que deixou dessa forma, por isso vim perguntar. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.