mavzermete 1
mavzermete
Bvural41 1
Bvural41
Hikaye Ekle

Game Server Açıldığında Oto Mining Bot'ları Başlatma

  • Konuyu başlatan Konuyu başlatan CoderPia
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 1
  • Görüntüleme Görüntüleme 31

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Selamlar,




Kod:
Gameserverdlg.h

void AddBotMiningStart();

Gameserverdlg.cpp

void CGameServerDlg::AddBotMiningStart()
{
    int Minute = 999999, Restie = 1, minlevel = 83, sCount = 101;
    //////////////////////////////////////////////////////////////////////////////////////////////////////
    for (int i = 0; i < sCount; i++) //Moradon
    {
        float Bonc = myrand(1, 15) * 1.0f;
        float Bonc2 = myrand(1, 15) * 1.0f;

        g_pMain->SpawnUserBot(Minute, 21, 642.700012f + Bonc, 11.500000f, 374.899994f + Bonc2, Restie, minlevel);
    }
    //////////////////////////////////////////////////////////////////////////////////////////////////////
    for (int i = 0; i < sCount; i++) //EMC - 1
    {
        float Bonc = myrand(1, 15) * 1.0f;
        float Bonc2 = myrand(1, 15) * 1.0f;

        g_pMain->SpawnUserBot(Minute, 2, 1427.300049f + Bonc, 12.400000f, 379.500000f + Bonc2, Restie, minlevel);
    }
    for (int i = 0; i < sCount; i++) //EMC - 2
    {
        float Bonc = myrand(1, 15) * 1.0f;
        float Bonc2 = myrand(1, 15) * 1.0f;

        g_pMain->SpawnUserBot(Minute, 2, 1697.300049f + Bonc, 23.400000f, 570.200012f + Bonc2, Restie, minlevel);
    }
    //////////////////////////////////////////////////////////////////////////////////////////////////////
    for (int i = 0; i < sCount; i++) //LUFER - 1
    {
        float Bonc = myrand(1, 15) * 1.0f;
        float Bonc2 = myrand(1, 15) * 1.0f;

        g_pMain->SpawnUserBot(Minute, 1, 644.099976f + Bonc, 11.400000f, 1653.900024f + Bonc2, Restie, minlevel);
    }
    for (int i = 0; i < sCount; i++) //LUFER - 2
    {
        float Bonc = myrand(1, 15) * 1.0f;
        float Bonc2 = myrand(1, 15) * 1.0f;

        g_pMain->SpawnUserBot(Minute, 1, 347.100006f + Bonc, 18.100000f, 1471.199951f + Bonc2, Restie, minlevel);
    }
}

Gameserverdlg.cpp (Startup içine)
    AddBotMiningStart();
 

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

Geri
Üst