Jump to content

Rynbef

Members
  • Posts

    509
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Rynbef

  1. Hey Leute,

    mich würde mal interessieren, wer von der deutschen Community noch aktiv ist.

    Aus gegebenen Anlass, kommen einige wieder zurück.

     

    Und an was arbeitet ihr so?

    - Ich bin nur zum helfen hier aktiv atm

     

    Rynbef~

  2. Idk which title u exactly means. The char database just contains a title id as int.

    query_sql("SELECT `title_id` FROM `char` WHERE `char_id`="+getcharid(0),[email protected]_id);

     

    I don't think u means an buying or vending store title😂

     

    Rynbef~

     

  3. I've removed the OnPCLoadMapEvent Label and removed the set of the loadmap mapflag. Cuz' every time a player change the map (ex. die, warp or on NoSave flagged maps on disconnect) it will trigger this label and set the timer.

    Therefore I've just init the timer after warp to the map.

    The formatting was a bit confused.

     

    GoldRoom.txt

    Pls let me know if it works now. I can't check it by myself cuz' I'm only on mobile phone for a few days.

     

    Rynbef~

    • Upvote 1
  4. Change any Port of ur server. Use a firewall ipblock list on Linux u can use UFW for blocking other ports and allow easy in our outgoing packets or blocks too many requests or else.

     

    Rynbef~

  5. @Sammo at file /src/config/packets.hpp after those lines:

    #ifndef PACKETVER
    
    /// Do NOT edit this line! To set your client version, please do this instead:
    
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    
    #define PACKETVER 20211103
    
    #endif

     

     

    Add this if missing:

    #ifndef PACKETVER_RE
    
    /// From November 2015 only RagexeRE are supported.
    
    /// After July 2018 only Ragexe are supported.
    
    #if ( PACKETVER > 20151104 && PACKETVER < 20180704 ) || PACKETVER >= 20200902
    
    #define PACKETVER_RE
    
    #endif
    
    #endif

     

     

     

    Rynbef~

  6. @Sammosince 2017 and the overhaul of the packet database the client version of ur clientinfo.xml will be ignored by rAthena.

     

    Are u sure u have defined the packet version correctly /src/config/packets.hpp?

    Better edit on file src\custom\defines_pre.hpp

     

    Or use ./configure --enable-packetver=YYYYMMDD on linux

    and recompile "make server"

     

    And after recompiled the server?

     

    Rynbef~

     

     

  7. @mhielo12 @hellowin On file /src/map/clif_packetdb.hpp

    After:

    #if PACKETVER_MAIN_NUM >= 20181031 || PACKETVER_RE_NUM >= 20181031 || PACKETVER_ZERO_NUM >= 20181114
    
    parseable_packet( 0x0B14, sizeof( struct PACKET_CZ_INVENTORY_EXPAND ), clif_parse_dull, 0 );
    
    parseable_packet( 0x0B16, sizeof( struct PACKET_CZ_INVENTORY_EXPAND_CONFIRMED ), clif_parse_dull, 0 );
    
    parseable_packet( 0x0B19, sizeof( struct PACKET_CZ_INVENTORY_EXPAND_REJECTED ), clif_parse_dull, 0 );
    
    #endif

     

    Add:

    #if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220
    
    parseable_packet( 0x0B1C, sizeof( struct PACKET_CZ_PING ), clif_parse_dull, 0 )
    
    #endif

     

    If on file src/map/clif.cpp doest exists add following or if exists replace them maybe with following:

    void clif_ping( struct map_session_data* sd ){
    #if PACKETVER_MAIN_NUM >= 20190213 || PACKETVER_RE_NUM >= 20190213 || PACKETVER_ZERO_NUM >= 20190130
        nullpo_retv( sd );
    
        int fd = sd->fd;
    
        if( !session_isActive( fd ) ){
            return;
        }
    
        struct PACKET_ZC_PING p;
    
        p.packetType = HEADER_ZC_PING;
    
        clif_send( &p, sizeof( p ), &sd->bl, SELF );
    #endif
    }

     

    After:

    void clif_parse_StopUseSkillToId (...) {... 

     

    ❗NOTE❗ I recommend to use everytime the newest rAthena version. There are many ways to disable or change things!

     

    Rynbef~

    • Love 1
  8. @qtdan @Yuno Maybe change this at the map_server.config

    // Database autosave time
    // All characters are saved on this time in seconds (example:
    // autosave of 60 secs with 60 characters online -> one char is saved every
    // second)
    autosave_time: 300

    And this at same file:

    // Min database save intervals (in ms)
    // Prevent saving characters faster than at this rate (prevents char-server
    // save-load getting too high as character-count increases)
    minsave_time: 100

     

    And/or try change from

    setunitdata .pvp_ladder_statues[[email protected] +1],UNPC_SEX,([email protected]$[[email protected]] == "F")?SEX_FEMALE:SEX_MALE;

     

    To:

    setunitdata .pvp_ladder_statues[[email protected] +1],UNPC_SEX,([email protected]$[[email protected]] == "F")?1:0;

     

    Maybe to:

    setunitdata .pvp_ladder_statues[[email protected] +1],UNPC_SEX,([email protected]$[[email protected]] == "F")?1:0;

     

    Rynbef~

  9. @Skorm @qtdan @Yuno I remind myself but the loop starts at 0 and on end of loop it set to one. It will never output 0. Therefore I think it will always output female cause the statement if is 1 it is female. No 0 returns. 

     

    Maybe just change the line from:

    setunitdata .pvp_ladder_statues[[email protected] +1],UNPC_SEX,([email protected]$[[email protected]] == "F")?SEX_FEMALE:SEX_MALE;

    To:.

    setunitdata .pvp_ladder_statues[[email protected] +1],UNPC_SEX,([email protected]$[[email protected]] == "F")?SEX_FEMALE:SEX_MALE;

     

    Other For Loops I've changed will cause errors I think.

     

    Rynbef~

×
×
  • Create New...

Important Information

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