Jump to content
Araştır
  • Diğer seçenekler ...
Sonuçları bul ...
Sonuçları bul ...

4Maestro

Uzaklaştırılmış
  • İçerik sayısı

    147
  • Katılım

  • Son ziyaret

  • Puan

    2,784 [ Bağış Yap ]

İletiler : 4Maestro


  1. Alıntı
    Anladım..

    bunu bak eksik varsa ekle..


    bool CLuaEngine::ExecuteScript(CUser * pUser, CNpc * pNpc, int32 nEventID, int8 bSelectedReward, const char * filename)
    {
    ScriptBytecodeMap::iterator itr;
    bool result = false;

    m_lock->AcquireReadLock();
    itr = m_scriptMap.find(filename);
    if (itr == m_scriptMap.end())
    {
    // Build full path to script
    std::string szPath = LUA_SCRIPT_DIRECTORY;
    szPath += filename;

    // Release the read lock (we're not reading anymore)
    m_lock->ReleaseReadLock();

    // Attempt to compile
    BytecodeBuffer bytecode;
    bytecode.reserve(LUA_SCRIPT_BUFFER_SIZE);
    if (!SelectAvailableScript()->CompileScript(szPath.c_str(), bytecode))
    {
    printf("ERROR: Could not compile Lua script.
    ");
    printf("FILE: %s
    ", szPath.c_str());
    printf("USER: %s
    ", pUser->GetName().c_str());
    printf("ZONE: %d
    ", pUser->GetZoneID());
    printf("NPC ID: %d
    ", pNpc->m_sSid);
    printf("-
    ");
    return false;
    }

    // Acquire the write lock (we're adding the compiled script)
    m_lock->AcquireWriteLock();

    #if !defined(LUA_SCRIPT_CACHE_DISABLED)
    // Add the script to our map
    m_scriptMap[filename] = bytecode;
    #endif


    // Now that we have the bytecode, we can use it.
    result = SelectAvailableScript()->ExecuteScript(pUser, pNpc, nEventID, bSelectedReward,
    filename, bytecode);

    // Done using the lock.
    m_lock->ReleaseWriteLock();
    }
    else
    {
    // Already have the bytecode, so now we need to use it.
    result = SelectAvailableScript()->ExecuteScript(pUser, pNpc, nEventID, bSelectedReward,
    filename, itr->second);

    // Done using the lock.
    m_lock->ReleaseReadLock();
    }

    return result;
    }

    Saolasın baba bakiyorum

  2. Alıntı
    Sourceler Nerdeyse Tamamen Fix Gözden Kaçmış Bazı Şeyler Olabilir Socket Yapıları İyi


    Bot Sistemi Ekli + bot 83 3 83
    Bot Sistemi +bot (saniye)(3,4,5 oturan ölü olan tip felan (Level))
    Botlara İtem Ekledim Komple
    Source Tarafında Speed Hack Gibi Özellikler Engelli
    Gmyi Görünür Yaptım Komple
    İp Ayarlarını Database SETTINGS_LOGIN Adlı Tablodan Yapıyorsunuz

    Database Özellikleri
    +10 No Reb Silah Ve İtem Başlangıç
    +3 Takı Set

    Farm Çevirmek İstersenizde Create New Chardaki Beginner İtemi Kaldırın


    Rar Şifresi : www.kodevelopers.com
    Source Satmaya Çalışanlara İnat :)

    *** hidden content ***

    aiDv2q.png
    JgvaVO.jpg
    wv7sOZ.jpg
    7feQ1N.jpg
    1Zryn3.jpg
    NtO7zk.jpg
    vYJHtq.jpg
    ipZFve.jpg
    MRLmRd.jpg
    f6rSOg.jpg


    Merhaba Kardeşim Bu şekilde Bir Hata Alıyorum ama Sebebi Nedir Acaba

    z0BoE7.jpg
    -- mesaja ek olarak --
    SAveEvent
×
×
  • Yeni Oluştur...