Server Files MmoTutkunları Windows Altyapı Server Files

neyse kral boşver demek ki başlamamak en iyisi
Player.sql güncellemesi verildi. Dosyalardan tam verim alabilmek için lütfen yeni güncellemeyi indirin. İtem kaydolma sorunu çözüldü. Başka problemler yaşarsan bize bildir ki bizde çözelim. Herkese iyi forumlar.
 
İlginiz için teşekkürler test edeceğim
rica ederim. diğer yorumlarda da belirttiğim gibi bu forumda size yardım için varız. aldığınız hatalar yüzünden filese küsmek yerine hataları yorumda ya da soru cevapta belirtirseniz burada çözüme kavuşturup topluluğa daha sorunsuz bir dosya sağlayabiliriz. iyi forumlar tekrardan.
 
0125_225142.jpg


teşekkürler
 
%100 drop sorunu çözümü

../libthecore/src/utils.c(xx) İlk satırlarda uygun yere ekle::
#include <random>
../libthecore/src/utils.c(xx) 'de bu fonksiyonu bul.::
int number_ex(int from, int to, const char *file, int line)
{
    if (from > to)
    {
    int tmp = from;

    sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

    from = to;
    to = tmp;
    }

    int returnValue = 0;

    if ((to - from + 1) != 0)
        returnValue = ((thecore_random() % (to - from + 1)) + from);
    else
        sys_err("number(): devided by 0");

    return returnValue;
}
Bununla değiştir:::
int number_ex(int from, int to, const char *file, int line)
{
    // We only need (and want) to initialize the mersenne twister generator once
    static std::random_device rd;
    static std::mt19937 mt(rd());
    static std::uniform_int_distribution<int> dist; // not too expensive to create, though

    if (from > to)
    {
        int tmp = from;

        sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

        from = to;
        to = tmp;
    }

    // Set the range we'd like our distribution to be on, and generate the number
    return dist(mt, std::uniform_int_distribution<int>::param_type(from, to));
}
 
%100 drop sorunu çözümü

../libthecore/src/utils.c(xx) İlk satırlarda uygun yere ekle::
#include <random>
../libthecore/src/utils.c(xx) 'de bu fonksiyonu bul.:'de bu fonksiyonu bul.::
int number_ex(int from, int to, const char *file, int line)
{
    if (from > to)
    {
    int tmp = from;

    sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

    from = to;
    to = tmp;
    }

    int returnValue = 0;

    if ((to - from + 1) != 0)
        returnValue = ((thecore_random() % (to - from + 1)) + from);
    else
        sys_err("number(): devided by 0");

    return returnValue;
}
Bununla değiştir:::
int number_ex(int from, int to, const char *file, int line)
{
    // We only need (and want) to initialize the mersenne twister generator once
    static std::random_device rd;
    static std::mt19937 mt(rd());
    static std::uniform_int_distribution<int> dist; // not too expensive to create, though

    if (from > to)
    {
        int tmp = from;

        sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

        from = to;
        to = tmp;
    }

    // Set the range we'd like our distribution to be on, and generate the number
    return dist(mt, std::uniform_int_distribution<int>::param_type(from, to));
}
deneyip dönüş yapar konuya eklerim teşekkürler
 
%100 drop sorunu çözümü

../libthecore/src/utils.c(xx) İlk satırlarda uygun yere ekle::
#include <random>
../libthecore/src/utils.c(xx) 'de bu fonksiyonu bul.:'de bu fonksiyonu bul.::
int number_ex(int from, int to, const char *file, int line)
{
    if (from > to)
    {
    int tmp = from;

    sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

    from = to;
    to = tmp;
    }

    int returnValue = 0;

    if ((to - from + 1) != 0)
        returnValue = ((thecore_random() % (to - from + 1)) + from);
    else
        sys_err("number(): devided by 0");

    return returnValue;
}
Bununla değiştir:::
int number_ex(int from, int to, const char *file, int line)
{
    // We only need (and want) to initialize the mersenne twister generator once
    static std::random_device rd;
    static std::mt19937 mt(rd());
    static std::uniform_int_distribution<int> dist; // not too expensive to create, though

    if (from > to)
    {
        int tmp = from;

        sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line);

        from = to;
        to = tmp;
    }

    // Set the range we'd like our distribution to be on, and generate the number
    return dist(mt, std::uniform_int_distribution<int>::param_type(from, to));
}
Emin naber uzun zamandır yoksun ortalıkta fix için teşekkürler
 
Dude, coding is also for Kanal99

I'm trying to add; in the initial state
***********
başlat.bat

@echo off
cd "db"
start "db" "db.exe"

cd "../auth"
start "authgame" "authgame.exe"

cd "../channel1"
start "game" "game.exe"

cd "../channel99"
start "99game" "99game.exe"

*******
server stop .bat

title Shutting down...


taskkill /f /im game.exe
taskkill /f /im 99game.exe
taskkill /f /im authgame.exe
taskkill /f /im db.exe
taskkill /f /im cmd.exe
cls
color A
echo Successfully shutted down

************


into notepad

If you buy the encodings separately

It is a server code that opens and closes.

channel99
for ; Tried adding 99game.exe

This provides a separate log menu
 
Coding arrangements have started to increase the number of Windows infrastructure games, which helps to increase the number of developers.
 
Geri
Üst