Jump to content

Dan

Moderators
  • Content Count

    415
  • Joined

  • Last visited

  • Days Won

    54

Dan last won the day on January 24

Dan had the most liked content!

Community Reputation

190 Excellent

About Dan

  • Rank
    Sea Captain

Recent Profile Visitors

47,980 profile views
  1. mcjc

    Dan

    pode me ajudar com uma questão que estou quebrando a cabeça ? 

    bom estou aprendendo sobre adidicionar icones ao nome do usuarios tipo o do helm nightmare, e consegui fazer um codigo de leitura para eles para o character.cpp  porem ao adicionar o parametro i=1 ele fica fixado ao icone evil_lvl 1 e não atualiza quando o equipamento atualiza, o que estou fazendo de errado ? 
    estou editando em UIHeadSay.ccp


    character.cpp

     

        if (_pHeadSay) {

            // Verifica se o ID do equipamento é 9160

            if (stPart.SLink[enumEQUIP_HEAD].sID == 9160) {

                _pHeadSay->SetIsShowEvil(1);  // Ativa a exibição do "Evil"

       

                // Obtém o valor da energia

                int energyValue = stPart.SLink[enumEQUIP_HEAD].sEnergy[1];

               

                // Verifica se o valor da energia é negativo, se for, define como 0

                if (energyValue < 0) energyValue = 0;

       

                // Define o nível de "Evil" com base no valor de energia progressivamente de 2 a 5

                int evilLevel = 0;

               

                if (energyValue >= 1 && energyValue < 2) {

                    evilLevel = 2;

                    stPart.SLink[enumEQUIP_HEAD].sEnergy[2] = 2;  // Ajusta a energia para 2

                } else if (energyValue >= 2 && energyValue < 3) {

                    evilLevel = 3;

                    stPart.SLink[enumEQUIP_HEAD].sEnergy[3] = 3;  // Ajusta a energia para 3

                } else if (energyValue >= 3 && energyValue < 4) {

                    evilLevel = 4;

                    stPart.SLink[enumEQUIP_HEAD].sEnergy[4] = 4;  // Ajusta a energia para 4

                } else if (energyValue >= 4) {

                    evilLevel = 5;

                    stPart.SLink[enumEQUIP_HEAD].sEnergy[5] = 5;  // Ajusta a energia para 5

                }

       

                // Define o nível de Evil

                _pHeadSay->SetEvilLevel(evilLevel);

            } else {

                _pHeadSay->SetIsShowEvil(0);

            }

        }

        RefreshItem( true );

    }


    UIHeadSay.ccp
     

    for (int i = 0; i < EVIL_MAX; i++) {
        char buffer[64] = {0};

        // Dependendo do índice (i), definimos o nível de 'evil' e a imagem
        if (i == 0) {
            sprintf(buffer, "texture/icon/evil_lv%d.tga", 1);  // Nível 1
        } else if (i == 1) {
            sprintf(buffer, "texture/icon/evil_lv%d.tga", 2);  // Nível 2
        } else if (i == 2) {
            sprintf(buffer, "texture/icon/evil_lv%d.tga", 3);  // Nível 3
        } else if (i == 3) {
            sprintf(buffer, "texture/icon/evil_lv%d.tga", 4);  // Nível 4
        } else if (i == 4) {
            sprintf(buffer, "texture/icon/evil_lv%d.tga", 5);  // Nível 5
        }
            
            if (!_pImgEvil)
                break;

            _pImgEvil.LoadImage(buffer, 16, 16, 0, 0, 0, 0.0, 0.0);
        }
        return true;
    }
     

  2. A returning MMORPG is coming, to be re-released. It was a fun MMORPG game with beautiful graphics and amazing combat pvp and open world pve. I'm excited and looking forward to playing it again, if you are interested it is available for pre-register. Released date is unknown but you can follow along. https://discord.com/invite/QQgpDm6vPj https://www.bladeandsoul.com/en-us/neo/trailer
  3. Look at Phyllis Crusader, I think there is something in the row/column I forgot which that you change to enable it.
  4. I can't read russian, but what is wrong with NPCScript07.lua?
  5. X,Y 160,150 is the coordinates where it would spawn SetChaLifeTime(Event_Boss,97000000) the 97000000 is the timing of spawn. I believe this is saying boss alive for X seconds.
  6. Dan

    Effect Panel

    I don't remember how vector set it up, but it was like an .txt and then you compile the bin I think so that it reads the new .bin. I don't think you need to add any .tga or .png just the name of the icon.
  7. Dan

    Effect Panel

    If this is Vector's thing, I remember you had to add it in the .txt to load (icon name) .tga or .png
  8. I had copy one from Pirates Online, I had to decompile a different way but I managed to copy it. Starting at 1:38 It can be found in my old server I don't have any TOP stuff anymore so you would have to find someone who has it.
  9. Please provide examples of work for the services that you are offering to ensure other users that you are able to complete the task.
  10. You can create a domain for your server. Masking your I.P or server I.P into a URL example like: talesofpirates-domain.com Your friends will then use an I.P changer in the client you provide and change the I.P to your server I.P Then you can use a website or in SQL, and create an account for them, or they can register on the website.
  11. If I remember it has to be 101 no?
  12. Good to hear, if you ever change to green glow, you can make them white or purple.
  13. I believe there is a value in ItemRefineInfo.txt it was 1-4 I think.
  14. I think it is the file blood.tga
  15. Hello, it looks like your account is currently compromised, please check if you have any malware as you have commented with a spam link.

    I suggest doing a thorough scan of your computer and also updating your password credentials.  

×
×
  • Create New...