Jump to content

ds_aim

Banned
  • Posts

    442
  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    0%

Posts posted by ds_aim

  1. Never do this , i tested this long long time ago since 2014.

    -You will have unknow packet header errors. (Ingame kicks)

    -You will get sequence erros( Ingame kicks )

    -You will get buffer overflow problems. (ingame kicks )

     

    This tutorial is really shit and also useless.

    If you want to keep improved  disable you need to rewrite sequence table and made automati buffer adjust functions (Like me :)

    With this disabled this codes will be valid codes :

     

                if (buffer_has_space (m_lpOutputBuffer) < iSize + 8)
                {
                    sys_err ("desc buffer mem_size overflow. memsize(%u) write_pos(%u) iSize(%d)", m_lpOutputBuffer->mem_size, m_lpOutputBuffer->write_point_pos, iSize);
                    m_iPhase = PHASE_CLOSE;
                }

     

     

    Just disable improved_packet_encryption and install offline shop. You will get buffer overflow prolems.

    Never do this.  

    • Love 2
  2. How metin2 network works? Store data in RAM through the buffer.  What is a buffer? 

    A buffer is a block of RAM that is used to hold input or output temporarily. This can speed up I/O considerably because of the various overheads incurred when transferring data. This means you don't have enought buffer size or  network I/O operation it's too slow to process packets.  To avoid such problems, you need to decrease the size of the buffer, depending how much RAM memory you want to use you need to increase buffer size or decrease it.

     In my source this is already done, and i never had such problems (Unknow packet header, seqeunce , buffer_overflow, not enought buffer size )all those it's tottaly solved.

     

    The following figure illustrates the process of a network I/O operation under Windows, but maybe for you it's to late to understand this. ;)

    IC486497.png

    Regards ds_aim.

    • Love 2
  3. 10 minutes ago, M.Sorin said:

    ^ Tested and this guy have right! The header 10 error will appear like this:

     

    SYSERR: May 22 13:44:44 :: Process: SEQUENCE 373be300 mismatch 0x76 != 0x46 header 10
    SYSERR: May 22 13:44:44 :: Process: SEQUENCE_LOG [[Name]-------------
        [109 : 0xd9]
        [006 : 0xea]
        [241 : 0x84]
        [010 : 0x76]

    Sequence it's send from client intro game. Header 10 it's ENTERGAME

    Soo make the entergame packet to send sequence packet.

    bool CPythonNetworkStream::SendEnterGame()
    {
        TPacketCGEnterFrontGame EnterFrontGamePacket;
        EnterFrontGamePacket.header = HEADER_CG_ENTERGAME;

        if (!Send (sizeof (EnterFrontGamePacket), &EnterFrontGamePacket))
        {
            Tracen ("Send EnterFrontGamePacket");
            return false;
        }

        SendInternalBuffer();
        return SendSequence();
    }

     

     

    I'm waiting for you reply. All  CLIENT->GAME packet's should send sequence. I think sequence systems was unfinised when source was leaked and published.  I looked intro codes and always all Client->Game packet's should return seqeunce.

  4. Just now, iltizio said:

    MariaDB it's compatible with MySQL client end MySQL SQL query.

    It's not necessary to install different driver for mysql.

    For 100% mariaDB performance it's necessary, unless you will get just 60% performance.

    I tested both ways.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.