Jump to content

Akino

Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Akino

  1. The idea is good, but after adding this, you will notice that when a player approaches or you go to cities with players, the game loses fps (possibly this is normal on all clients before adding this, don't know, never had it on my server, probably been using LoadStaticCache forever)

    I recommend using the LoadStaticCache, this makes loading slower but will prevent fps drop when rendering nearby players.

    Example:

    char szFileName[FILE_MAX_NUM];
        pRaceData->RegisterMotionMode(pkMotionManager.MODE_GENERAL);
        for (const auto& it : m_vecEmotion)
        {
            snprintf(szFileName, sizeof(szFileName), "%s%s%s", stFolder, "action/", it.stName);
            auto pkMootionThing = pRaceData->RegisterMotionData(pkMotionManager.MODE_GENERAL, it.wMotionIndex, szFileName, it.byPercentage);

            if (pkMootionThing)
            {
                CResourceManager::Instance().LoadStaticCache(pkMootionThing->GetFileName());
            }
        }

    For emoticons, I suggest you change the way they are done, for example in game.py:

    Replace:

    net.SendChatPacket("(double_kill)")

    For:

    chrmgr.SetEmoticon(-1,14)
    net.SendEmoticon(14)

     

    #####Note: If you do the LoadStaticCache instead of making the load faster, it will make it slower.###

    • Lmao 1
  2. Use OVH for dedicated, but not for your website.

    Now, I always use the RISE plan, why? Because it is cheaper and much better for what metin2 uses.

    CPU : Intel Xeon E3-1245v5 - 4c/8t - 3.5GHz / 3.9GHz
    Memory : From 32 GB to 64 GB DDR4 ECC
    Storage: HDD SATA
    Public bandwidth: From 100 Mb/s to 250 Mb/s - Limited traffic 10 TB
    Private Bandwidth : No private bandwidth

  3. 3 hours ago, PetePeter said:

    Asegúrese de tener el servidor mysql en la misma máquina / red también

    This is not practical. For example, if I have a web hosting hosted by blazingfast with cpanel and a dedicated server at OVH, it does not make sense for me to host MySQL on the web hosting, in case of web crashes, I would have very bad glitches in the game.

    In case of being a forum, this would be convenient, for example using WLBB or any other

×
×
  • 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.