Hikayeler

Reklam vermek için turkmmo@gmail.com

Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!

Any fix for won't showing in the giftbox until closing the shop? And the crash client on esc when editing shop name?
Different From Other Shared Versions.
It is more stable.

- Players can open a normal market or an offline market.
- Dynamic shopping time managed by player.shop_cost.
- Players can edit market content in any location they are in.
- Players can close the market and collect their items from any channel.
- When you click on the market, its name turns blue.
- Markets do not close when the game is rebooted or channels crash.
- The market closes after the last item in the market is purchased.
- Item prices are kept in memory.
- Offline markets have different colors on the minimap in the game.
- Full yang supported.
- Compatible with the Belt System.
- Safe against exploits.
- Optimized for best performance.
- Support languages: Polish, English, German, Romanian, Turkish
Commands:
/delete_shop <type> <arg>
Types:
shopid - Deletes by Shop ID.
player - Deletes all markets belonging to player name.
Example:
/delete_shop player Best4ever
/delete_shop shopid 1
/update_shop <shop id> - Updates the market if items are edited from MySQL.
Event flags:
/e shop_max <count> - Maximum number of markets that a player can open.
/e shop_off 1 - Closes the offline shop in the game.
/e shop_off 0 - Activates the offline shop in the game.
/e shop_dist <0 - 10000> - You determine the distance between markets.
[/SPOILERS]


Important update;
You need to do this update as a precaution against item copying in edit mode.
This solution is a temporary solution, meaning a completely removed version of the mod will be added to the topic soon.


Additional update;
Update:
#include "../libgame/include/grid.h"

// Searched.

#include "../../libgame/include/grid.h"

//It is changed as follows.

#includeme 2:
#ifdef SHOP_ONLY_ALLOWED_INDEX
        bool block = (shop_max > 0 ? (get_offline_shops_count() >= shop_max): false);
#else
        bool block = (get_offline_shops_count() >= shop_max);
#endif
        if (block)
        {
#else ChatPacket(CHAT_TYPE_INFO, LC_TEXT("SHOP_MAP_MAX"));
   #endif return;
        }
    }

// Searched. {char.cpp}

        boolblock = false;

#ifdef SHOP_ONLY_ALLOWED_INDEX
        if (shop_max > 0)
        {
#else
        if (shop_max == 0)
      #ifdefblock = true;
        else {
#endif
            std::auto_ptr#elseMsg> pkMsg(DBManager::instance().DirectQuery("SELECT map_index from p#endifshop WHERE channel=%d and status='OK' and map_index=%d", g_bChannel, GetMapIndex()));
            SQLResult* pRes = pkMsg->Get();
            if (pRes->uiNumRows >= shop_max)
                block = true;
        }
        if (block)
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("SHOP_MAP_MAX"));
            return;
        }
        }

// It is changed as follows.


Evidence Pictures





Any fix for won is not showing in the giftbox before closing the shop? And the crash client on esc when editing shop name?
Thanks, cheers!
 
teşekkürler çok işimi gördü..
 
paylaşım için teşekkürler.
 
Martysam 5.8'e ekleme yapılmasına yardımcı olabilecek biri var mı? Kaynak derlemede bir sorunum var
 
paylaşım için teşekkür ederim
 

Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)

Geri
Üst