Jump to content

Haku

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by Haku

  1. HEXED: 2021-11-03_Ragexe_1635926200

    image.png.4db716ef6fa1cbddd123580e78ec3f22.png

    an anyone help me with this problem?


     

    Quote

    9 Disable 1rag1 type parameters (Recommended)
    14 Disable Hallucination Wavy Screen (Recommended)
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    31 Increase Zoom Out 75%
    34 Enable /showname (Recommended)
    36 Read msgstringtable.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    53 Use Ascii on All LangTypes (Recommended)
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    73 Remove Hourly Announce (Recommended)
    84 Remove Serial Display (Recommended)
    88 Allow space in guild name
    90 Enable DNS Support (Recommended)
    208 Restore Cash Shop Icon
    212 Restore Roulette
    213 Disable Help Message on Login (Recommended)
    230 Always load Korea ExternalSettings lua file (Recommended)
    231 Remove hardcoded address/port (Recommended)
    232 Restore old login packet (Recommended)
    234 Ignore Lua Errors
    239 Ignore /account: command line argument
    290 Hide build info in client (Recommended)
    291 Hide packets from peek (Recommended)
    326 Disable OTP Login Packet (Recommended)
    338 Additional client validation (Recommended)
    348 Send client flags to server (Recommended)
    404 Use borderless mode in full screen (Recommended)


     

  2. Hi, i want change declaration of area_size to other in especific map or cell.

    // Visible area size (how many squares away from a player they can see)
    area_size: 15



    i Try that but not works, because i dont know to get map SD:

    map.hpp

    #define AREA_SIZE getareasize(battle_config.area_size)
    int getareasize(int size){
    
        struct map_session_data *sd = ???????????;
    
        int NOVA_AREA_SIZE = size;
        if(map_getcell( sd->bl.m, sd->bl.x, sd->bl.y, CELL_CHKPLATEIA) ){
            NOVA_AREA_SIZE = 30;
        }
        return NOVA_AREA_SIZE;
    }

     

  3. I put this commit on my server:
     

    [Converted the skill database to YAML]
    https://github.com/rathena/rathena/commit/dca3797d44da3f000039a9f7ab386cc605787557

    and now as unrecognized skills as an element.
    
    The problem is:
    
    skill.c
    
    

     

    #define skill_get_lv(id, lv, arrvar) do {\
        if (!skill_check(id))\
            return 0;\
        int lv_idx = min(lv, MAX_SKILL_LEVEL) - 1;\
        if (lv > MAX_SKILL_LEVEL && arrvar[lv_idx] > 1 && lv_idx > 1) {\
            int a__ = arrvar[lv_idx - 2];\
            int b__ = arrvar[lv_idx - 1];\
            int c__ = arrvar[lv_idx];\
            return (c__ + ((lv - MAX_SKILL_LEVEL + 1) * (b__ - a__) / 2) + ((lv - MAX_SKILL_LEVEL) * (c__ - b__) / 2));\
        }\
        return arrvar[lv_idx];\
    } while(0)
    
    int skill_get_ele( uint16 skill_id , uint16 skill_lv )             { skill_get_lv(skill_id, skill_lv, skill_db.find(skill_id)->element); }
     

    this function return 0 for all skills.

    I changed that code in one skill -> skill_db.yml:

    Element: Water


    for:

        Element:
          - Level: 1
            Element: Water
          - Level: 2
            Element: Water
          - Level: 3
            Element: Water
          - Level: 4
            Element: Water
          - Level: 5
            Element: Water
          - Level: 6
            Element: Water
          - Level: 7
            Element: Water
          - Level: 8
            Element: Water
          - Level: 9
            Element: Water
          - Level: 10
            Element: Water

    And it works....

    @Aleos can you help?

    Edit:

    Solved!

    I copyd actual func in rathena.
     

    uint64 SkillDatabase::parseBodyNode(const YAML::Node &node)


     

  4. 2008,9,6,2,3,0x4A,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0x40000,0,weapon,0,0x0,    RK_DRAGONBREATH,Dragon Breath

    How can i put 0x4A in new read YML skill_db?

      - Id: 2008
        Name: RK_DRAGONBREATH
        Description: Dragon Breath
        MaxLevel: 10
        Type: Weapon
        TargetType: Ground
        DamageFlags:
          Splash: true
          IgnoreFlee: true
        Flags:
          TargetTrap: true

     

    • Upvote 1
  5. I altered the max level of class Super Novice to 175.

    But the aura not apears and have that problems too:

    the base bar dont desapear...

    image.png.9e959bfbbb7295d60295100bc7e3a33d.png

    job_exp:

    Quote

    175,4190,0,55,90,150,220,320,380,420,455,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1800,2100,2400,2700,3000,3300,3600,3900,4200,4500,5400,6300,7200,8100,9000,9900,10800,11700,12600,13500,16200,18900,21600,24300,27000,29700,32400,35100,37800,40500,43200,45900,48600,51300,54000,56700,59400,62100,64800,67500,75600,83700,91800,99900,108000,116100,124200,132300,140400,165000,192000,210000,232500,244500,255000,270000,282000,292500,300000,345000,416000,480000,560000,640000,768000,880000,960000,1088000,1200000,1440000,1700000,2040000,2550000,3060000,3570000,4080000,4760000,5610000,6800000,7070000,7400000,7770000,8150000,8550000,9100000,9610000,10150000,10570000,11180000,12000000,12200000,12930000,13150000,14030000,14420000,15420000,15670000,16870000,17140000,18720000,19020000,20590000,20930000,22690000,23310000,25290000,26020000,27860000,28535000,30990000,31680000,33560000,34942000,36372000,38350000,39890000,41545000,43330000,45400000,48100000,50410000,53370000,56250000,59230000,62590000,66120000,70200000,75330000,81100000,95000000,98000000,103000000,107000000,112000000,116000000,121000000,125000000,130000000,134000000,139000000,145000000,152200000,160840000,171200000,191930000,202290000,214720000,229640000,247550000,283370000,301280000,322770000,348560000,379500000,441390000,99999999

    Client.conf:

    Quote

     

    // Maximum allowed 'level' value that can be sent in unit packets.
    // Use together with the aura_lv setting to tell when exactly to show the aura.
    // NOTE: You also need to adjust the client if you want this to work.
    // NOTE: Default is 99. Values above 127 will probably behave incorrectly.
    // NOTE: If you don't know what this does, don't change it!!!
    max_lv: 99

    // Level required to display an aura.
    // NOTE: This assumes that sending max_lv to the client will display the aura.
    // NOTE: aura_lv must not be less than max_lv.
    // Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149
    //          will be sent as being all level 98, and only characters with level
    //          150 or more will be reported as having level 99 and show an aura.
    aura_lv: 99

     

    map.h:

    Quote

    #define MAX_LEVEL 175

     

  6. Hi, my server are crashed.

    I think is because the func are incorrect when null or not existing params passing.

    GDB error:

    Core was generated by `./map-server'.
    Program terminated with signal 11, Segmentation fault.
    #0  0x000000000058a3bd in pop_stack (st=st@entry=0x7f3a25a859ec, start=0,
        end=0) at script.cpp:3459
    3459            struct script_stack* stack = st->stack;
    Missing separate debuginfos, use: debuginfo-install glibc-2.17-292.el7.x86_64 ke                                                                                                             yutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-37.el7_7.2.x86_64 libcom_err-1.4                                                                                                             2.9-16.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 libselinux-2.5-14.1.el7.x86_64 libs                                                                                                             tdc++-4.8.5-39.el7.x86_64 mariadb-libs-5.5.64-1.el7.x86_64 openssl-libs-1.0.2k-1                                                                                                             9.el7.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-18.el7.x86_64
    (gdb) bt full
    #0  0x000000000058a3bd in pop_stack (st=st@entry=0x7f3a25a859ec, start=0,
        end=0) at script.cpp:3459
            stack = 0x0
            data = <optimized out>
            i = <optimized out>
            __FUNCTION__ = "pop_stack"
    #1  0x000000000058fb31 in run_func (st=st@entry=0x7f3a25a859ec)
        at script.cpp:4068
            data = <optimized out>
            i = <optimized out>
            start_sp = <optimized out>
            end_sp = <optimized out>
            func = 327
    #2  0x00000000005906c0 in run_script_main (st=0x7f3a25a859ec)
        at script.cpp:4331
            cmdcount = 655351
            gotocount = 2048
            sd = <optimized out>
            stack = 0x7f3a3489307c
    #3  0x00000000005911ea in run_script_timer (tid=<optimized out>,
        tick=<optimized out>, id=<optimized out>, data=139887716620780)
        at script.cpp:4174
            st = 0x7f3a25a859ec
    ---Type <return> to continue, or q <return> to quit---
            node = 0x7f3a29284354
    #4  0x000000000040b638 in do_timer (tick=<optimized out>) at timer.cpp:374
            tid = 8528
            diff = -4
    #5  main (argc=<optimized out>, argv=<optimized out>) at core.cpp:368
    No locals.

×
×
  • Create New...