florinrevine 1 Posted November 23, 2014 Share Posted November 23, 2014 Hello, How can I disable logs from game source? I want remove logs from tables: - log.sql - quest.sql - moneylog.quest - fishlog.quest Link to comment Share on other sites More sharing options...
Premium Galet 509 Posted November 23, 2014 Premium Share Posted November 23, 2014 quest.sql is too usefull to be delete. Link to comment Share on other sites More sharing options...
florinrevine 1 Posted November 23, 2014 Author Share Posted November 23, 2014 It's a PVP server , nothing happen if I will delete it. Link to comment Share on other sites More sharing options...
Solution safademirel 288 Posted November 23, 2014 Solution Share Posted November 23, 2014 in log.cpp void LogManager::QuestRewardLog(const char * c_pszQuestName, DWORD dwPID, DWORD dwLevel, int iValue1, int iValue2) { return; //Query("INSERT INTO quest_reward_log%s VALUES('%s',%u,%u,2,%u,%u,NOW())", //get_table_postfix(), //c_pszQuestName, //dwPID, //dwLevel, //iValue1, //iValue2); } void LogManager::MoneyLog(BYTE type, DWORD vnum, int gold) { return; /*if (type == MONEY_LOG_RESERVED || type >= MONEY_LOG_TYPE_MAX_NUM) { sys_err("TYPE ERROR: type %d vnum %u gold %d", type, vnum, gold); return; } Query("INSERT DELAYED INTO money_log%s VALUES (NOW(), %d, %d, %d)", get_table_postfix(), type, vnum, gold); */ } 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now