Jump to content

hanzobr

Members
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by hanzobr

  1. HanzoBR Free Thor Skin Blue


    About this file - EN

    Made for a friend who ended up not using it, so I'm making it available to the community.

    This Skin has features of WoE Status (On/Off), Server Status (On/Off), Real + Fake Player Count.
     

    Please

    • Selling this product is TOTALLY PROHIBITED!

    Contents

    • Thor Patcher
    • PSD Included - Modify as you wish.
    • WebFiles View - Online Players, Server Status Map, WoE Status - HanzoBR
    • WebFiles Configuration - Server Connection, Server Status and Online Players - Credit @Lawliet - Thanks for this

    Web Configuration

    In the Web/status/inc/config.php directory, configure:

    $Srv_Host = "127.0.0.1"; // Change to your database IP
    
    $Srv_Database = "ragnarok"; // Name of your database
    $Srv_Username = "ragnarok"; // Username
    $Srv_Password = "ragnarok"; // Password


    In the Web/status/playeronline.php directory you will find:

    $playerCount = PlayerCount();
    $number = 0; // number of fake users - used only to configure space for the hundreds place in the view or not.
    
    // Add the $number to the result of the PlayerCount() function
    $result = $playerCount + $number;

    In $number = 0; you can change the value to 50 for example and the user will see $number + $playerCount
    Assuming you have 15 real players online, the $result will show 65 Players Online (50+15). I created this configuration to measure the space for the hundreds place in the view, so as not to cut the design, however use this function as you wish.

     

    In the Web/status/woestatus.php directory you will find:

    $now = new DateTime("now", new DateTimeZone("America/Sao_Paulo"));

    Set your Time Zone, find yours in Time Zone PHP, currently it is set to São Paulo-Brazil time


    Days configuration

    $allowedDays = [0, 2, 4]; // 0-Sunday, 2-Tuesday, 4-Thursday,

    In $allowedDays = [0, 2, 4]; - It means that WoE is enabled for 0 = Sunday, 2 = Tuesday, 4 = Thursday
    "0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday"

    Hours configuration

    if (($day == 4 && $hour == 21 && $minute >= 0 && $minute < 60) ||
    (in_array($day, [0, 2]) && $hour == 20 && $minute >= 0 && $minute < 60))

    In (($day == 4 && $hour == 21 && $minute >= 0 && $minute < 60) - It means that on day 4 (Thursday) WoE will start at 9:00 pm and will last 60 minutes.

    And if you have WoE configured for different times, you can configure it without any problem;
    In (in_array($day, [0, 2]) && $hour == 20 && $minute >= 0 && $minute < 60) - It means that on days 0 (Sunday) and 2 (Tuesday) WoE will start at 8:00 pm and will last 60 minutes.

     

    Don't forget to 👍 if you liked this.

    -----------------------------------------------------------------------------------------------------------------------------
    Sobre este arquivo PT-BR

    Feito para um amigo que acabou não utilizando, então estou disponibilizando para comunidade.
    Esta Skin tem recursos de Status WoE (On/Off), Status Server (On/Off), Contagem de Players reais + fake.


    Por Favor

    • Venda deste produto está TOTALMENTE PROIBIDA!

    Conteúdo

    Configuração Web

    • No diretório Web/status/inc/config.php faça a configuração:
       
    $Srv_Host = "127.0.0.1";  // Alterar para IP do seu database
    
    $Srv_Database = "ragnarok"; // Nome da sua database
    $Srv_Username = "ragnarok"; // Usuário de acesso
    $Srv_Password = "ragnarok"; // Senha de acesso

     

    • No diretório Web/status/playeronline.php você encontrará:
       
    $playerCount = PlayerCount();
    $numero = 0; // número de usuários fake - utilizado apenas para configuração de espaço para casa de centena na visualização ou não.
    
    // Soma o $número ao resultado da função PlayerCount()
    $resultado = $playerCount + $numero;

    Em $numero = 0; você pode alterar o valor para 50 por exemplo e irá aparecer para o usuário o $numero + $playerCount
    Supondo que você tenha 15 players reais online o $resultado irá mostrar 65 Players Online (50+15), eu criei esta configuração para medir o espaço da casa de centena na visualização, para não cortar o design, no entanto use como quiser esta função.

    • No diretório Web/status/woestatus.php você encontrará:
       
    $now = new DateTime("now", new DateTimeZone("America/Sao_Paulo"));

    Configure seu Time Zone, encontre o seu em Time Zone PHP, atualmente está configurado para horário de São Paulo-Brasil

     

    • Configuração de dias
       
    $allowedDays = [0, 2, 4]; // 0-Domingo, 2-Terça-feira, 4-Quinta-feira,

    Em $allowedDays = [0, 2, 4]; - Significa que a WoE está habilitada para 0 = Domingo2 = Terça-Feira4 = Quinta-Feira
    "0=Domingo, 1=Segunda-Feira, 2=Terça-feira, 3=Quarta-Feira, 4=Quinta-feira, 5=Sexta-Feira, 6=Sábado"

    • Configuração de horas
       
    if (($day == 4 && $hour == 21 && $minute >= 0 && $minute < 60) || 
       	(in_array($day, [0, 2]) && $hour == 20 && $minute >= 0 && $minute < 60))

    Em (($day == 4 && $hour == 21 && $minute >= 0 && $minute < 60) - Significa que no dia 4 (Quinta-Feira) a WoE começará às 21:00hrs e terá duração de 60 minutos.

    E caso você tenha WoE configurada em horários diferentes, poderá configurar sem problema;
    Em (in_array($day, [0, 2]) && $hour == 20 && $minute >= 0 && $minute < 60) - Significa que nos dias 0 (Domingo) e 2 (Terça-Feira) a WoE comecará às 20:00hrs e terá duração de 60 minutos.

     

    Não se esqueça de 👍 se você gostou disso.


    • Submitter
    • Submitted
      03/05/25
    • Category
    • Video
    • Content Author
      HanzoBR

     

    • Love 2
    • Like 1
  2. It's an impressive piece of work! Congratulations and thanks for sharing!

    One question, maybe it would be interesting to add translation support through Google? I say this because I use my native language, Brazilian Portuguese, for example.

    • Upvote 1
  3. On 12/6/2018 at 11:17 AM, Pixel said:

    Acho que você não entendeu kkkk, eu fiz o painel para o meu aprendizado, não para competir com fluxcp ou algo do tipo, se uma pessoa ou mil utilizar eu não me importo, é apenas para eu melhorar o meu conhecimento e aprendizado, até por que quando você tem algo em mente é muito mais fácil para você aprender, e vou disponibilizar para a comunidade, quem quiser utilizar fique a vontade, vote points já está integrado, eu fiz apenas algo mais limpo e de uma modificação mais fácil do que um flux por exemplo, eu estou vendo a possibilidade de integrar com pagseguro e paypal.

    Atualizado

    - Registrar Conta OK
    - Visualizar Conta OK
    - Visualizar Personagens OK
    - Resetar Posição de Personagens OK
    - Resetar Estilo de Personagens OK
    - Logs da Conta OK
    - Alterar Email OK
    - Alterar Senha OK
    - Rankings de Zeny OK
    - Rankings de Eventos OK
    - Rankings da Campal OK
    - Ranking do PVP OK
    - Ranking de Tempo Online OK
    - Ranking de MVP's OK

    Ainda estou finalizando a parte da segurança.

    Novidades Pixel Love?

  4. Does not work in the latest git version
    Any tips?
    Using this tutorial> fail
    https://github.com/rathena/rathena/wiki/diff#linux

            CXX     atcommand.cpp
    atcommand.cpp: In function int atcommand_afk(int, map_session_data*, const char*, const char*)’:
    atcommand.cpp:9264:40: error: class std::unordered_map<short int, int>’ has no member named autotrade
                     if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag )
                                            ^~~~~~~~~
    atcommand.cpp:9267:39: error: class std::unordered_map<short int, int>’ has no member named pvp
                     if(map[sd->bl.m].flag.pvp  || map[sd->bl.m].flag.gvg){
                                           ^~~
    atcommand.cpp:9267:66: error: class std::unordered_map<short int, int>’ has no member named gvg
                     if(map[sd->bl.m].flag.pvp  || map[sd->bl.m].flag.gvg){
                                                                      ^~~
    atcommand.cpp:9272:35: error: struct map_session_data::s_state has no member named monster_ignore
                             sd->state.monster_ignore = 1;
                                       ^~~~~~~~~~~~~~
    make[1]: *** [obj/atcommand.o] Error 1


     

  5. Hi,
    I would like to increase the damage of Spiral Spear
    I'm using Pre-RE, is this modification line correct?
    If yes, where can I make the change to increase the damage?

    case LK_SPIRALPIERCE:
            case ML_SPIRALPIERCE:
                if (sd) {
                    short index = sd->equip_index[EQI_HAND_R];
    
                    if (index >= 0 &&
                        sd->inventory_data[index] &&
                        sd->inventory_data[index]->type == IT_WEAPON)
                        wd->damage = sd->inventory_data[index]->weight*8/100; //80% of weight
    
                    ATK_ADDRATE(wd->damage, wd->damage2, 50*skill_lv); //Skill modifier applies to weight only.
                } else {
                    wd->damage = battle_calc_base_damage(src, sstatus, &sstatus->rhw, sc, tstatus->size, 0); //Monsters have no weight and use ATK instead
                }
    
                i = sstatus->str/10;
                i*=i;
                ATK_ADD(wd->damage, wd->damage2, i); //Add str bonus.
                switch (tstatus->size) { //Size-fix. Is this modified by weapon perfection?
                    case SZ_SMALL: //Small: 125%
                        ATK_RATE(wd->damage, wd->damage2, 25);
                        break;
                    //case SZ_MEDIUM: //Medium: 100%
                    case SZ_BIG: //Large: 75%
                        ATK_RATE(wd->damage, wd->damage2, 75);
                        break;
                }


     

  6. On 31/05/2019 at 19:17, Elano said:

    Eu estou tendo o mesmo problema, mas infelizmente a mensagem padrão "já consertei" sem deixar que os outros saibam como ele fez é a pior coisa nas comunidades de código aberto.

    Provide with details if possible with Console Screenshot

  7. Olha HD, acredito que tenha de ser no dedo mesmo ... 
    Seria interessante uma opção de multi-linguagens ...
    Daí seria um arquivo com várias traduções . Mas como eu já sei se vale a pena todo o trabalho e dor de cabeça que iria gerar ... 

    Se você pode traduzir isso não é algo que pode ser feito para o SOCERO, é um hobby incontrolável hahahaha! 

  8. Hello everyone
    I wanted to add in a custom item the condition if equipped by Bard / Dancer adds 15% damage to long range.
    I know that in itemdb I can change the class that equips, but the other classes could not equip the item and it is not what I want.

    Any suggestion?
    Thanks

×
×
  • Create New...