Bul: char szQuery[1024]; snprintf(szQuery, sizeof(szQuery), "UPDATE account SET last_play=NOW() WHERE id=%u", dwID); Üstüne Ekle: #ifdef ENABLE_GM_ONLY_SERVER bool bServerStatus = false; BYTE server_status = 0; std::unique_ptr serverstatusquery(DBManager::instance().DirectQuery("SELECT status FROM account.server")); if (!serverstatusquery->uiSQLErrno) { if (serverstatusquery->Get()->uiNumRows) { while (MYSQL_ROW row_server = mysql_fetch_row(serverstatusquery->Get()->pSQLResult)) { str_to_number(server_status, row_server[0]); if (server_status == 0)//gm only bServerStatus = true; } } } if (bServerStatus == true) { std::unique_ptr _gm_login(DBManager::instance().DirectQuery("SELECT mAccount FROM common.gmlist WHERE mAccount='%s'", pinfo->login)); if (!_gm_login->uiSQLErrno) { if (_gm_login->Get()->uiNumRows < 1) { LoginFailure(d, "GM_ONLY"); M2_DELETE(pinfo); bServerStatus = false; break; } } } #endif service.h ekle: #define ENABLE_GM_ONLY_SERVER intrologin.py bul: self.loginFailureMsgDict={ içine ekle: "GM_ONLY" : localeInfo.LOGIN_FAILURE_GM_ONLY, locale_game.txt ekle LOGIN_FAILURE_GM_ONLY Sunucu henüz açılmadı.