Jump to content

Hyllok

Members
  • Posts

    29
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Hyllok

  1. 19 hours ago, Skylove said:

    Disable GM sprite
     - hex  Search for:
    C4 04 84 C0 0F 84  C3 00 00 00
    Two matches 

    For both occurrences, replace with:
    C4 04 84 C0 90 E9 C3 00 00 00

     
    Restore model culling

    hex Search for:
    80 BE 54 01 00 00 01

    You will find two matches. In both cases, look at the following bytes:

    • 80 BE 54 01 00 00 01 75 1D

    • 80 BE 54 01 00 00 01 75 45

    Replace the 75 1D and 75 45 parts with 90 90

    Worked like charm! Thank you so much for your support /lv

  2. Hey everyone!

    I’m trying to modify the NV_FIRSTAID skill to turn it into a Heal Over Time (HoT) skill, healing 2% of Max HP per second for 4 seconds. I attempted to use add_timer and skill_addtimerskill, but unfortunately, I wasn't able to get it working.

    Could someone please help me understand how to make this work? Any guidance would be greatly appreciated! /no1
     

    case NV_FIRSTAID:
    {
        int healAmount = (sd->status.max_hp * 2) / 100;
        status_heal(bl, healAmount, 0, 2);
        clif_skill_nodamage(src, *bl, NV_FIRSTAID, healAmount, true);
        clif_updatestatus(*sd, SP_HP);
    
        // Scheduling ticks
        for (int i = 1; i <= 3; i++) {
            skill_addtimerskill(src, tick + (i * 1000), bl->id, 0, 0, NV_FIRSTAID, skill_lv, 0, 2);
        }
    
        break;
    }

     

  3. You can change the requirements in the /re/db/skill_db.yml file.
    Either remove or change the `IsEnsemble` flag to false.

      - Id: 311
        Name: BD_ROKISWEIL
        Description: Classical Pluck
        MaxLevel: 1
        Type: Misc
        TargetType: Self
        DamageFlags:
          NoDamage: true
        Flags:
          IsEnsemble: true //Remove or change this flag
        Hit: Single
        HitCount: 1
        SplashArea: 4
        CastTime: 1000
        Duration1: 30000
        Duration2: 60000
        Cooldown: 180000
        Requires:
          SpCost: 180
          Weapon:
            Musical: true
            Whip: true
        Status: RokisWeil
        CastCancel: false

     

  4. Hey, have you tried changing the Graphics Device? Usually you should set your GPU as main device.
    I'm asking because the GPU is not set up properly in your screenshot.
    Also, try to run OpenSetup as administrator.

    image.png.d5217727eb709869109aecf0d267197c.png

  5. Hello there!

    I was wondering how to create (or clone & modify) a custom window within the client.
    For example, I have a random skill system in which the player gains a random skill every x levels. Instead of calling an NPC menu dialog with three random skill options, I'd like to call a custom window like the Auto Spell skill list.

    This is just an example, but I want to know how to do it generally.
    Also, I'm not sure if it is a source modification, hexing modification, or anything else.

    Thanks in advance!

    Auto Spell.png

  6. Hi there,

    First, thank you for all the amazing work in making RO setup accessible for everyone!

    I followed the steps in the tutorial, but when I double-click the 'rAthena WSL' shortcut, the Terminal opens briefly and then immediately closes. Upon investigating, I noticed that the 'WSLLauncher.ps1' script is missing from the %AppData%\Roaming\froggostuff folder.

    Did I miss a step, or could this be an issue with the setup? Any advice would be greatly appreciated!

    Thanks in advance.

    Captura de tela 2025-01-04 165622.png

  7. 10 hours ago, Kater said:

    I've never done that in my life.
    Do you have an example, or have you seen a topic so I can have a basis?

    I've already gave you an example, but even so you don't get it, try reading documentation or using search feature.

    There is a lot of topics similar to yours, including using different solutions that you can choose to fit your needs.
    Examples:

     

     

    • Love 1
  8. I'd recommend to use the Item Group DB to achieve what you want, just like Old Blue Box works, i.e.
    Choose or create a set if items in this file, it allows you to set different chance rates for every item in the IG.
    After setting this up, use it on your item's script like this:
     

        Script: |
          getgroupitem(IG_BlueBox); //here you insert your desired Item Group

     

  9. Existe uma variável no início do script, informando o valor máximo, você pode modificá-la para que fique de acordo com o que deseja e adicionar uma verificação do input do personagem ao depositar/sacar, comparando o valor com essa variável.

    Definindo o valor da variável:

    //=========================================== CONFIGURAÇÕES =============================================
    
    set @cost,100000;  //Custo para taxa de transação | 0 = Sem taxa.
    set .banqueiro$,"[...:::^0006D3Banqueiro ^008000Ragna^FF6600ERO^000000:::..]"; //Nome do NPC na conversa
    set .ZenyMax,2100000000;  //Zeny máximo configurado do servidor.
    
    //=======================================================================================================
    


    Comparando o valor do depósito com a variável:

    input @deposit;
    		if (@deposit < 1) {
    			mes .banqueiro$;
    			mes "Certifique-se de está depositando um valor real.";
    			close;
    		}
    		else if (@deposit > Zeny) {
    			mes .banqueiro$;
    			mes "Me parece que você não tem o valor de zeny que está tentando depositar!";
    			close;
    		}
            //Aqui faço a comparação
            else if (@deposit > .ZenyMax) {
    			mes .banqueiro$;
    			mes "Você só pode depositar até "+ callfunc("F_InsertComma",.ZenyMax) +"!";
    			close;
    		}
    		else if (@deposit > (Zeny - @cost)) {
    			mes .banqueiro$;
    			mes "Você precisa possuir ^008000"+@cost+"^000000 zeny(s) para cobrir a taxa de transação!";
    			close;
    		}

    Faça o mesmo para o saque.

×
×
  • Create New...