Jump to content

Johnny69

Bronze
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    0%

Community Answers

  1. Johnny69's post in mysql bigint > long long c++ was marked as the answer   
    Try it like this:
    long long playerOfflineYang = 0; long long playerOfflineWon = 0; // Add LIMIT 1 SQLMsg * pkMsg(DBManager::instance().DirectQuery("SELECT collected_yang, collected_won")); SQLResult * pRes = pkMsg->Get(); if (pRes->uiNumRows > 0){ MYSQL_ROW row = mysql_fetch_row(pRes->pSQLResult); if(row) { str_to_number(playerOfflineYang, row[0]); str_to_number(playerOfflineWon, row[1]); } }  
  2. Johnny69's post in [binary]Gem setting success rate set~ was marked as the answer   
    Are you talking about broken stones in a weapon if the real stone fail to add ? 
    If yes try char_item.cpp => "case ITEM_METIN" . In this case 10-20 lines above you find "if (number(1, 100) <= 30)", increase that 30.
    If you talking about gaya/gem system I think the quest is the first choice to search for succes chance.
  3. Johnny69's post in Do you have this bug? was marked as the answer   
    I actualy have this "bug" but the damage is 0 without arrows.
    Is just one horse skill that use arrows (140) and you can use client check for arrows to fix it.
    // PythonPlayerSkill.cpp // Search: if (!pSkillData->IsHorseSkill()) { if (__CheckShortArrow(rkSkillInst, *pSkillData)) return false; if (pSkillData->IsNeedBow()) { if (!__HasEnoughArrow()) return false; } } // Replace with: if (!pSkillData->IsHorseSkill() || pSkillData->dwSkillIndex == 140) { if (__CheckShortArrow(rkSkillInst, *pSkillData)) return false; if (pSkillData->IsNeedBow()) { if (!__HasEnoughArrow()) return false; } }  
     
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.