Jump to content

supportagent11

Members
  • Posts

    10
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Bug Comments posted by supportagent11

  1. stepping into RFC with a bunch on level 9's was a mistake; the first Earthborer is level 14, and my poorly-geared group was wiped out...

    21 hours ago, Hvemklomater said:

    I think it requires DBC file edit aswell

    I actually couldn't seem to find anywhere in the code that referenced the levelMin column I had altered above, which lead me to believe the instance's minimum level requirement was saved somewhere outside of the database.

    This is as close as I had gotten to finding it in "Player.cpp", where AREA_LOCKSTATUS_LEVEL_TOO_LOW is returned:

    if (at->condition) //condition validity is checked at startup
        {
            ConditionEntry fault;
            if (!sObjectMgr.IsPlayerMeetToCondition(at->condition, this, GetMap(),NULL, CONDITION_AREA_TRIGGER, &fault))
            {
                switch (fault.type)
                {
                    case CONDITION_LEVEL:
                    {
                        if (sWorld.getConfig(CONFIG_BOOL_INSTANCE_IGNORE_LEVEL))
                            break;
                        else
                        {
                            miscRequirement = fault.param1;
                            switch (fault.param2)
                            {
                                case 0: { return AREA_LOCKSTATUS_LEVEL_NOT_EQUAL; }
                                case 1: { return AREA_LOCKSTATUS_LEVEL_TOO_LOW; }
                                case 2: { return AREA_LOCKSTATUS_LEVEL_TOO_HIGH; }
                            }
                        }

    I ended up using "Instance.IgnoreLevel" in the mangosd.conf to bypass the level requirement, but should probably withdraw the bug for now since it appears to be working as intended.

  2. the following SQL code will update any NPC that casts 'Curse of Thule' (all Rot Hides and Maggot Eye):

    Quote

    update mangos0.creature_ai_scripts
    set action1_param2 = 1
    where action1_param1 = 3237
    and action1_param2 = 0;

    also, based on a quick SQL search, the following NPCs will probably also self-cast these curses:

    Quote

    select creature_id, action1_type, action1_param1, action1_param2, action1_param3, event_flags, comment
    from mangos0.creature_ai_scripts
    where action1_type = 11
    and action1_param2 = 0
    and comment like '%cast curse of%';

    Curse of Weakness (spell 12741)
    Darbel Montrose  (npc 2598)
    Jugkar Grim'rod (npc 5771)
    Oro Eyegouge (npc 7606)
    Lady Sevine (npc 7667)
    Postmaster Malown (npc 11143)
    Morloch (npc 11657)

    Curse of Blood (spell 16098)
    Shadow Hunter Vosh'gajin (npc 9236)
    Aspect of Malice (npc 14520)

    Curse of Agony (spell 18671)
    Lady Illucia Barov (npc 10502)

    Curse of Weakness (spell 21007)
    Varo'then's Ghost (npc 6118)
    Ironspine (npc 6489)

    Curse of the Tribes (spell 21048)
    Cursed Centaur (npc 11688)

    Curse of the Elemental Lord (spell 26977)
    Lord Incendius (npc 9017)

    • Like 1
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use