santa12

Member
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

1 Neutral

About santa12

  • Rank
    Neutral

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. santa12

    Game/Auth handshake vulnerability

    don't spam just give me a fix
  2. santa12

    Game/Auth handshake vulnerability

    In file included from input_db.cpp:5: desc_manager.h:116:38: error: 'TPacketGGHandshakeValidate' does not name a type void AddToHandshakeWhiteList(const TPacketGGHandshakeValidate * pack); foreman fix this mistake for me because I've tried everything
  3. santa12

    Game/Auth handshake vulnerability

    but it's not all the code many things are missing here
  4. santa12

    Game/Auth handshake vulnerability

    the worst guide I've ever seen. Are you fucked up ? all the time errors and mistakes what is this tutorial? When you were little, did you drown in the ocean? I add it 24 hours and probably never add. Massacre
  5. santa12

    open PTS spam query/async

    Good ? now I can see generally in the past I removed the code in it but I ask if I did the right thing and did not remove any function int CClientManager::Process() { int pulses; if (!(pulses = thecore_idle())) return 0; while (pulses--) { ++thecore_heart->pulse; /* //30şĐ¸¶´Ů şŻ°ć if (((thecore_pulse() % (60 * 30 * 10)) == 0)) { g_iPlayerCacheFlushSeconds = MAX(60, rand() % 180); g_iItemCacheFlushSeconds = MAX(60, rand() % 180); sys_log(0, "[SAVE_TIME]Change saving time item %d player %d", g_iPlayerCacheFlushSeconds, g_iItemCacheFlushSeconds); } */ if (!(thecore_heart->pulse % thecore_heart->passes_per_sec)) { if (g_test_server) { if (!(thecore_heart->pulse % thecore_heart->passes_per_sec * 10)) { /*pt_log("[%9d] return %d/%d/%d/%d async %d/%d/%d/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery(SQL_PLAYER), CDBManager::instance().CountReturnResult(SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished(SQL_PLAYER), CDBManager::instance().CountReturnCopiedQuery(SQL_PLAYER), CDBManager::instance().CountAsyncQuery(SQL_PLAYER), CDBManager::instance().CountAsyncResult(SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished(SQL_PLAYER), CDBManager::instance().CountAsyncCopiedQuery(SQL_PLAYER)); if ((thecore_heart->pulse % 50) == 0) sys_log(0, "[%9d] return %d/%d/%d async %d/%d/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery(SQL_PLAYER), CDBManager::instance().CountReturnResult(SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished(SQL_PLAYER), CDBManager::instance().CountAsyncQuery(SQL_PLAYER), CDBManager::instance().CountAsyncResult(SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished(SQL_PLAYER));*/ } } else { /*pt_log("[%9d] return %d/%d/%d/%d async %d/%d/%d%/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery(SQL_PLAYER), CDBManager::instance().CountReturnResult(SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished(SQL_PLAYER), CDBManager::instance().CountReturnCopiedQuery(SQL_PLAYER), CDBManager::instance().CountAsyncQuery(SQL_PLAYER), CDBManager::instance().CountAsyncResult(SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished(SQL_PLAYER), CDBManager::instance().CountAsyncCopiedQuery(SQL_PLAYER)); if ((thecore_heart->pulse % 50) == 0) sys_log(0, "[%9d] return %d/%d/%d async %d/%d/%d", thecore_heart->pulse, CDBManager::instance().CountReturnQuery(SQL_PLAYER), CDBManager::instance().CountReturnResult(SQL_PLAYER), CDBManager::instance().CountReturnQueryFinished(SQL_PLAYER), CDBManager::instance().CountAsyncQuery(SQL_PLAYER), CDBManager::instance().CountAsyncResult(SQL_PLAYER), CDBManager::instance().CountAsyncQueryFinished(SQL_PLAYER));*/ } CDBManager::instance().ResetCounter(); DWORD dwCount = CClientManager::instance().GetUserCount(); g_dwUsageAvg += dwCount; g_dwUsageMax = MAX(g_dwUsageMax, dwCount); memset(&thecore_profiler[0], 0, sizeof(thecore_profiler)); if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 3600))) UsageLog(); m_iCacheFlushCount = 0; //ÇĂ·ąŔĚľî ÇĂ·Ż˝¬ UpdatePlayerCache(); //ľĆŔĚĹŰ ÇĂ·Ż˝¬ UpdateItemCache(); //·Î±×ľĆżô˝Ă Ăł¸®- Äł˝¬ĽÂ ÇĂ·Ż˝¬ UpdateLogoutPlayer(); // MYSHOP_PRICE_LIST UpdateItemPriceListCache(); // END_OF_MYSHOP_PRICE_LIST #ifdef ENABLE_OFFLINE_SHOP UpdateOfflineShopCache(); #endif CGuildManager::instance().Update(); CPrivManager::instance().Update(); marriage::CManager::instance().Update(); } if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 5))) { ItemAwardManager::instance().RequestLoad(); } if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 10))) { /* char buf[4096 + 1]; int len itertype(g_query_info.m_map_info) it; ///////////////////////////////////////////////////////////////// buf[0] = '\0'; len = 0; it = g_query_info.m_map_info.begin(); int count = 0; while (it != g_query_info.m_map_info.end()) { len += snprintf(buf + len, sizeof(buf) - len, "%2d %3d\n", it->first, it->second); count += it->second; it++; } pt_log("QUERY:\n%s-------------------- MAX : %d\n", buf, count); g_query_info.Reset(); pt_log("QUERY: MAIN[%d] ASYNC[%d]", g_query_count[0], g_query_count[1]);*/ g_query_count[0] = 0; g_query_count[1] = 0; ///////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// /* buf[0] = '\0'; len = 0; it = g_item_info.m_map_info.begin(); count = 0; while (it != g_item_info.m_map_info.end()) { len += snprintf(buf + len, sizeof(buf) - len, "%5d %3d\n", it->first, it->second); count += it->second; it++; } pt_log("ITEM:\n%s-------------------- MAX : %d\n", buf, count); g_item_info.Reset(); pt_log("ITEM:%d\n", g_item_count);*/ g_item_count = 0; ///////////////////////////////////////////////////////////////// } if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 60))) // 60ĂĘżˇ ÇŃąř { // ŔŻ´ĎĹ© ľĆŔĚĹŰŔ» Ŕ§ÇŃ ˝Ă°ŁŔ» ş¸ł˝´Ů. CClientManager::instance().SendTime(); } if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 3600))) // ÇѽðŁżˇ ÇŃąř { CMoneyLog::instance().Save(); } }
  6. santa12

    open PTS spam query/async

    Hello ! my file is always filled with such commands, does anyone know what this is about? How to fix / disable it? File PTS in the db QUERY: MAIN[5] ASYNC[0] ITEM:0 QUERY: MAIN[8] ASYNC[0] ITEM:0 QUERY: MAIN[2] ASYNC[1] ITEM:0
  7. santa12

    open metin2 bug spiritual stone trade taskbar

    one server did it without a cooldown just don't copy an items with trade. I'm more looking for this solution but thanks for this
  8. hello i'm looking for a fix on this bug on the source side it's about reading a stone for trade and then changing ch then the stone does not disappear from the inventory
  9. Listen, I know that .... But how to add it in one command to have 3 maps and not one omg, I think you have autism if (GetMapIndex() != 1 || GetMapIndex() != 21 || GetMapIndex() != 41) it does not work if (GetMapIndex() != 1,21,41) - it doesn't work either I can't fish on any map at all times
  10. I didn't mean it ... I want to add 3 maps only with number 1/21/41
  11. do you know how to add? if (GetMapIndex() != 1 || GetMapIndex() != 21 || GetMapIndex() != 41) does not work but if there is one function it works
  12. santa12

    open Fishing only on 1 map

    Thanks
  13. I have it but I am looking for something else that I used to have but lost worked the opposite way blocked all maps and typed on which map you can only fish what you have sent works so that I have to manually lock every map and I don't want to do it anyway
  14. hello anyone knows how to block fishing on other maps?