Jump to content

vedat1089

Inactive Member
  • Posts

    10
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by vedat1089

  1. Actually, I haven't tested it myself, I just heard from a few (supposedly good) forums. In general, I did not edit any source files from scratch. I have low knowledge about this. I will use the game source file mainline on your recommendation. What would you suggest to use as a client?

     

    3 saat önce, TMP4 dedi ki:

    Bir örnek verebilir misin?

    Henüz duymadım, çok farklıydı.

     

    Onu neyse, bu extern ve makefile kullanın ve kendiniz için bir novaline kullanın, tekme olup olmadığını test edin. 

    Eğer öyleyse, ana hattı gerektirir :) 

     

  2. 3 hours ago, TMP4 said:

    Bunu kullanın, bugüne kadar bile altın:

     

    Novaline kullanırsanız muhtemelen giriş yaptıktan sonra tekmeleyeceksiniz.

    Bu durumda, db, game için mainline kullanın. (Müşteriler için novalin kullanabilirsiniz, tamam ve ana hattın müşteri tarafı yok)

    I know that many problems have been closed in novaline. I'm undecided now :////////////////////////////////////////////////////

  3. 0503 15: 01: 14758 :: CMapOutdoor :: Yük - LoadMonsterAreaInfo HATA

    0503 15:01:14758 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
    0503 15:01:28606 :: Exception 
    0503 15:01:28606 :: AttributeError
    0503 15:01:28606 :: : 
    0503 15:01:28606 :: "'AttachMetinDialog' object has no attribute 'hWnd'"
    0503 15:01:28606 ::  in 
    0503 15:01:28606 :: <bound method AttachMetinDialog.__del__ of <uiAttachMetin.AttachMetinDialog object at 0x05407D30>>
    0503 15:01:28606 ::  ignored

    0503 15:01:28606 :: Traceback (most recent call last):

    0503 15:01:28606 ::   File "networkModule.py", line 247, in SetGamePhase

    0503 15:01:28607 ::   File "game.py", line 99, in __init__

    0503 15:01:28607 ::   File "interfaceModule.py", line 324, in MakeInterface

    0503 15:01:28607 ::   File "interfaceModule.py", line 175, in __MakeWindows

    0503 15:01:28607 ::   File "uiInventory.py", line 264, in __init__

    0503 15:01:28607 ::   File "uiInventory.py", line 362, in __LoadWindow

    0503 15:01:28607 :: TypeError
    0503 15:01:28607 :: : 
    0503 15:01:28607 :: __init__() takes exactly 2 arguments (1 given)
    0503 15:01:28607 :: 

    çözüm nedir ?

  4. 59 minutes ago, Itachi said:

    ikarus offlineshop.
    çok iyi ve temiz kod.
    önemle tavsiye edilir.

     

    Thanks for your suggestion. I'm looking for a more nostalgic offline shop system

     

    I'm looking for something more like this

    11Od24.jpg

     

    2 hours ago, AKUROS said:

    Harika çevrimdışı mağaza -> 

    This is the hidden content, please

     

    VirüsToplam: 

    This is the hidden content, please

     

    Düzeltme 1:

    https://paste2.org/Bv0APE95

     

    Düzeltme 2:

    https://paste2.org/ajLImBNf

     

    Düzeltme 3:

    
    #include "../libgame/include/grid.h"
    
    // Aratılır.
    
    #include "../../libgame/include/grid.h"
    
    //Şeklinde değiştirilir.

     

    
    #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)
            {
                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("SHOP_MAP_MAX"));
                return;
            }
        }
    
    // Aratılır. {char.cpp}
    
            bool block = false;
    
    #ifdef SHOP_ONLY_ALLOWED_INDEX
            if (shop_max > 0)
            {
    #else
            if (shop_max == 0)
                block = true;
            else {
    #endif
                std::auto_ptr <SQLMsg> pkMsg(DBManager::instance().DirectQuery("SELECT map_index from player_shop 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;
            }
            }
    
    // Şeklinde değiştirilir.

    Diğer sistemlere karşı tavsiye ediyorum. Bu mağaza için sizden özel olarak sadece estetik olarak bazı fonksiyonlar ekleyerek para isteyecekler.

    Bu sistemi 2018'den beri sunucumda kullanıyorum.

    thanks i will look

    • Metin2 Dev 2
×
×
  • 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.