Jump to content
Sign in to follow this  
AprendizM2

**REMOVER TEMPO RODAR ITENS**

Recommended Posts

Alguem sabe onde retira o tempo de rodar os adds verdes ?

ERRO :  Voce roda 1 add verde e aparece o tempo de 10 minutos para aguarda para rodar o proximo add.

Share this post


Link to post
Share on other sites

Em char_item.cpp procure por:

Please login or register to see this code.

Altere para:

Please login or register to see this code.
  • Thanks 1

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

@AprendizM2 aqui tens a prova que é melhor criar post que perguntar em outros tópicos ou no chatbox :) 

Share this post


Link to post
Share on other sites

                                        if (pPC)
                                        {
                                            DWORD dwNowSec = get_global_time();

                                            DWORD dwLastChangeItemAttrSec = pPC->GetFlag(msc_szLastChangeItemAttrFlag);

                                            if (dwLastChangeItemAttrSec + dwChangeItemAttrCycle > dwNowSec)
                                            {
                                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 바꾼지 %d분 이내에는 다시 변경할 수 없습니다.(%d 분 남음)"),
                                                        dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowSec - dwLastChangeItemAttrSec));
                                                return false;
                                            }

                                            pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowSec);

Share this post


Link to post
Share on other sites

Please login or register to see this attachment.

ou

Please login or register to see this link.

Edited by AprendizM2

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Após comentar as linhas e desativar a função, consigo rodar os itens, porém os itens não equipam mais.

Share this post


Link to post
Share on other sites

Alguem poderia me ajudar neste problema ?

Aqui está os 3 arquivos da source que contem a variavel :

Please login or register to see this code.

Após edita-la os itens nao equipam;

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.