Jump to content

safademirel

Inactive Member
  • Posts

    104
  • Joined

  • Last visited

  • Feedback

    0%

Community Answers

  1. safademirel's post in Get skill count - New Pet System was marked as the answer   
    int CNewPetActor::GetSkillCount() { int skillCount = 0; for (int i = 0; i < 3; i++) { if (m_dwskillslot[i] >= 0) ++skillCount; } return skillCount; } pSummonItem->SetForceAttribute(7, 1, GetSkillCount());
     
    try something like that.
  2. safademirel's post in [C++]Disable Logs was marked as the answer   
    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); */ }
  3. safademirel's post in 4 Inventory- (uiInventory.py, line 465) was marked as the answer   
    Look at your tabs or 
    This is the hidden content, please Sign In or Sign Up  try with this one.
  4. safademirel's post in PetName like the horse how-to ? was marked as the answer   
    You should edit source
     
    PetSystem.cpp
    std::string petName = m_pkOwner->GetName(); to
    std::string petName = ""; It works
     

  5. safademirel's post in Official Pet system?? was marked as the answer   
    You are looking wrong place it's mob proto
     
    Here is an example
    53001 ºÒ»çÁ¶¼Òȯ±Ç ITEM_QUEST 0 1 ANTI_DROP | ANTI_SELL | ANTI_GIVE | ANTI_STACK | ANTI_MYSHOP LOG NONE NONE 0 0 0 0 0 LEVEL 0 REAL_TIME 604800 APPLY_MELEE_MAGIC_ATTBONUS_PER 15 APPLY_MAX_HP 1500 APPLY_NONE 0 600 0 0 0 0 0 0 0 0
×
×
  • 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.