Jump to content

MasterTomas

Members
  • Posts

    45
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by MasterTomas

  1. Revision: 9649

    2010-03-31 17:58:15 ERROR:HandleMoveNotActiveMover: incorrect mover guid: mover is 0000000000000002 and should be 0000000000000002 instead of 2
    2010-03-31 18:06:15 ERROR:HandleMoveNotActiveMover: incorrect mover guid: mover is 0000000000000002 and should be 0000000000000002 instead of 2

  2. What bug does the patch fix? What features does the patch add?

    Fix console error Table `creature` have creature (GUID: XXX Entry: XXX) with `MovementType`=0 (idle) have `spawndist`<>0, set to 0.

    For which repository revision was the patch created?

    9649

    Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

    No see any

    Who has been writing this patch? Please include either forum user names or email addresses.

    Me

    commit f8f6befafbbcc28b74dcf5c179f1e91cba4489ba
    Author: Xadiaris <[email protected]>
    Date:   Wed Mar 31 14:51:17 2010 +0300
    
       [FIX] Console error if adding NPC with command .npc add
    
    diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
    index c299d2b..3a55282 100644
    --- a/src/game/Creature.cpp
    +++ b/src/game/Creature.cpp
    @@ -115,7 +115,7 @@ Creature::Creature(CreatureSubtype subtype) :
    Unit(), i_AI(NULL),
    lootForPickPocketed(false), lootForBody(false), m_groupLootTimer(0), m_groupLootId(0),
    m_lootMoney(0), m_lootRecipient(0),
    -m_deathTimer(0), m_respawnTime(0), m_respawnDelay(25), m_corpseDelay(60), m_respawnradius(5.0f),
    +m_deathTimer(0), m_respawnTime(0), m_respawnDelay(25), m_corpseDelay(60), m_respawnradius(0),
    m_subtype(subtype), m_defaultMovementType(IDLE_MOTION_TYPE), m_DBTableGuid(0), m_equipmentId(0),
    m_AlreadyCallAssistance(false), m_AlreadySearchedAssistance(false),
    m_regenHealth(true), m_AI_locked(false), m_isDeadByDefault(false), m_needNotify(false),

    ALTER TABLE creature 
       CHANGE COLUMN spawndist spawndist FLOAT DEFAULT '0' NOT NULL;

  3. Core 9620

    commit 3d9de856bbd7ddaad905b4a3dd71d945d2d921b1
    Author: Xadiaris <[email protected]>
    Date:   Sat Mar 13 13:21:34 2010 +0200
    
       Improved quest POI's code now with db support Quest Tracking Feature is full working
    
    diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
    index b6997b7..308aef3 100644
    --- a/src/game/ObjectMgr.cpp
    +++ b/src/game/ObjectMgr.cpp
    @@ -6438,8 +6438,8 @@ void ObjectMgr::LoadQuestPOI()
    
        uint32 count = 0;
    
    -    //                                                0        1         2      3     4     5     6
    -    QueryResult *result = WorldDatabase.Query("SELECT questId, objIndex, mapId, unk1, unk2, unk3, unk4 FROM quest_poi");
    +    //                                                0        1      2         3      4       5        6     7
    +    QueryResult *result = WorldDatabase.Query("SELECT questId, poiId, objIndex, mapId, areaId, floorId, unk3, unk4 FROM quest_poi");
    
        if(!result)
        {
    @@ -6460,16 +6460,17 @@ void ObjectMgr::LoadQuestPOI()
            bar.step();
    
            uint32 questId  = fields[0].GetUInt32();
    -        int32 objIndex  = fields[1].GetInt32();
    -        uint32 mapId    = fields[2].GetUInt32();
    -        uint32 unk1     = fields[3].GetUInt32();
    -        uint32 unk2     = fields[4].GetUInt32();
    -        uint32 unk3     = fields[5].GetUInt32();
    -        uint32 unk4     = fields[6].GetUInt32();
    +        uint32 poiId    = fields[1].GetUInt32();
    +        int32 objIndex  = fields[2].GetInt32();
    +        uint32 mapId    = fields[3].GetUInt32();
    +        uint32 areaId   = fields[4].GetUInt32();
    +        uint32 floorId  = fields[5].GetUInt32();
    +        uint32 unk3     = fields[6].GetUInt32();
    +        uint32 unk4     = fields[7].GetUInt32();
    
    -        QuestPOI POI(objIndex, mapId, unk1, unk2, unk3, unk4);
    +        QuestPOI POI(poiId, objIndex, mapId, areaId, floorId, unk3, unk4);
    
    -        QueryResult *points = WorldDatabase.PQuery("SELECT x, y FROM quest_poi_points WHERE questId='%u' AND objIndex='%i'", questId, objIndex);
    +        QueryResult *points = WorldDatabase.PQuery("SELECT x, y FROM quest_poi_points WHERE questId='%u' AND poiId='%i'", questId, poiId);
    
            if(points)
            {
    diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h
    index c16b3d7..5b193e9 100644
    --- a/src/game/ObjectMgr.h
    +++ b/src/game/ObjectMgr.h
    @@ -260,16 +260,17 @@ struct QuestPOIPoint
    
    struct QuestPOI
    {
    +    uint32 PoiId;
        int32 ObjectiveIndex;
        uint32 MapId;
    -    uint32 Unk1;
    -    uint32 Unk2;
    +    uint32 AreaId;
    +    uint32 FloorId;
        uint32 Unk3;
        uint32 Unk4;
        std::vector<QuestPOIPoint> points;
    
    -    QuestPOI() : ObjectiveIndex(0), MapId(0), Unk1(0), Unk2(0), Unk3(0), Unk4(0) {}
    -    QuestPOI(int32 objIndex, uint32 mapId, uint32 unk1, uint32 unk2, uint32 unk3, uint32 unk4) : ObjectiveIndex(objIndex), MapId(mapId), Unk1(unk1), Unk2(unk2), Unk3(unk3), Unk4(unk4) {}
    +    QuestPOI() : PoiId(0), ObjectiveIndex(0), MapId(0), AreaId(0), FloorId(0), Unk3(0), Unk4(0) {}
    +    QuestPOI(uint32 poiId, int32 objIndex, uint32 mapId, uint32 areaId, uint32 floorId, uint32 unk3, uint32 unk4) : PoiId(poiId), ObjectiveIndex(objIndex), MapId(mapId), AreaId(areaId), FloorId(floorId), Unk3(unk3), Unk4(unk4) {}
    };
    
    typedef std::vector<QuestPOI> QuestPOIVector;
    diff --git a/src/game/QueryHandler.cpp b/src/game/QueryHandler.cpp
    index 5e3f8c8..67bac84 100644
    --- a/src/game/QueryHandler.cpp
    +++ b/src/game/QueryHandler.cpp
    @@ -485,7 +485,7 @@ void WorldSession::HandleQueryQuestsCompleted( WorldPacket & /*recv_data */)
        SendPacket(&data);
    }
    
    -void WorldSession::HandleQuestPOIQuery(WorldPacket& recv_data)
    +void WorldSession::HandleQuestPOIQuery( WorldPacket & recv_data )
    {
        uint32 count;
        recv_data >> count;                                     // quest count, max=25
    @@ -520,16 +520,15 @@ void WorldSession::HandleQuestPOIQuery(WorldPacket& recv_data)
                    data << uint32(questId);                    // quest ID
                    data << uint32(POI->size());                // POI count
    
    -                int index = 0;
                    for(QuestPOIVector::const_iterator itr = POI->begin(); itr != POI->end(); ++itr)
                    {
    -                    data << uint32(index);                  // POI index
    -                    data << int32(itr->ObjectiveIndex);     // objective index
    -                    data << uint32(itr->MapId);             // mapid
    -                    data << uint32(itr->Unk1);              // unknown
    -                    data << uint32(itr->Unk2);              // unknown
    -                    data << uint32(itr->Unk3);              // unknown
    -                    data << uint32(itr->Unk4);              // unknown
    +                    data << uint32(itr->PoiId);             // POI index
    +                    data << int32(itr->ObjectiveIndex);     // Objective index
    +                    data << uint32(itr->MapId);             // Mapid
    +                    data << uint32(itr->AreaId);            // WorldMapArea index
    +                    data << uint32(itr->FloorId);           // Floorid
    +                    data << uint32(itr->Unk3);              // Unknown
    +                    data << uint32(itr->Unk4);              // Unknown
                        data << uint32(itr->points.size());     // POI points count
    
                        for(std::vector<QuestPOIPoint>::const_iterator itr2 = itr->points.begin(); itr2 != itr->points.end(); ++itr2)
    @@ -537,7 +536,6 @@ void WorldSession::HandleQuestPOIQuery(WorldPacket& recv_data)
                            data << int32(itr2->x);             // POI point x
                            data << int32(itr2->y);             // POI point y
                        }
    -                    ++index;
                    }
                }
                else
    @@ -553,7 +551,6 @@ void WorldSession::HandleQuestPOIQuery(WorldPacket& recv_data)
            }
        }
    
    -    data.hexlike();
        SendPacket(&data);
    }
    
    

  4. Revision: * * 9614 d9d9c01bb633bffacf839cc42af3942c41268f8f
    Date 26:3:2010. Time 11:56 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
    Number Of Processors: 4
    Physical Memory: 4193296 KB (Available: 2176004 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Windows Vista or Windows Server 2008 Professional (Version 6.1, Build 7600)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  091A86CA 01:001276CA Z:\\MaNGOS\\Server1\\mangosscript.dll
    
    Registers:
    EAX:00000000
    EBX:FF5A6840
    ECX:00000000
    EDX:00000000
    ESI:00000000
    EDI:008BE690
    CS:EIP:0023:091A86CA
    SS:ESP:002B:0969C6E0  EBP:0969C6E4
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010202
    
    Call stack:
    Address   Frame     Function      SourceFile
    091A86CA  00000000  ?getIValue@ThreatRefStatusChangeEvent@@QBEHXZ+A
    090881FC  00000000  ?GetSession@Player@@QBEPAVWorldSession@@XZ+4AC
    0908911F  00000000  ?GetSession@Player@@QBEPAVWorldSession@@XZ+13CF
    091B5F87  00000000  GossipHello+47
    007E1EF5  00000000  ?HandleGossipHelloOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z+1F5
    00622900  00000000  ?Update@WorldSession@@QAE_NI@Z+120
    00632683  00000000  ??0CreatureEventAI@@QAE@ABV0@@Z+69E3
    00630F15  00000000  ??0CreatureEventAI@@QAE@ABV0@@Z+5275
    0045251E  00000000  ?getSource@?$Reference@V?$GridRefManager@VCorpse@@@@VCorpse@@@@QBEPAVCorpse@@XZ+3AD5E
    008BE6A9  00000000  ?GetFloatDefault@Config@@QAEMPBDM@Z+DC9
    6FCE1B84  00000000  ?invoke@ACE_OS_Thread_Adapter@@UAEKXZ+74
    70573433  00000000  _endthreadex+44
    705734C7  00000000  _endthreadex+D8
    76C93677  00000000  BaseThreadInitThunk+12
    772E9D72  00000000  RtlInitializeExceptionChain+63
    772E9D45  00000000  RtlInitializeExceptionChain+36
    ========================
    Local Variables And Parameters
    
    
    
    

  5. Mangos: 9582

    SD2: 1639

    UDB 388

    Revision: * * 9582 cee592b7c9646d51ef98c1da494b0891a2a1b56e
    Date 14:3:2010. Time 18:29 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
    Number Of Processors: 4
    Physical Memory: 4193296 KB (Available: 2807920 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Windows Vista or Windows Server 2008 Professional (Version 6.1, Build 7600)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  00740B5C 01:0033FB5C Z:\\MaNGOS\\Server1\\mangosd.exe
    
    Registers:
    EAX:00000000
    EBX:FF5F0C48
    ECX:FB026400
    EDX:FB026400
    ESI:00000000
    EDI:008BDAE0
    CS:EIP:0023:00740B5C
    SS:ESP:002B:096330F0  EBP:09637220
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010286
    
    Call stack:
    Address   Frame     Function      SourceFile
    00740B5C  00000000  AchievementCriteriaRequirement::Meets+60C
    00740C9E  00000000  AchievementCriteriaRequirementSet::Meets+6E
    007428FB  00000000  AchievementMgr::UpdateAchievementCriteria+36B
    0078B6BB  00000000  BattleGround::EndBattleGround+6BB
    00858C9C  00000000  BattleGroundWS::EndBattleGround+9C
    00857B18  00000000  BattleGroundWS::EventPlayerCapturedFlag+358
    008589CF  00000000  BattleGroundWS::HandleAreaTrigger+15F
    0088F115  00000000  WorldSession::HandleAreaTriggerOpcode+8A5
    006227C0  00000000  WorldSession::Update+120
    00632523  00000000  World::UpdateSessions+C3
    00630DB5  00000000  World::Update+365
    004526AE  00000000  WorldRunnable::run+8E
    008BDAF9  00000000  ACE_Based::Thread::ThreadTask+19
    70F81B84  00000000  __WSAFDIsSet+FFFFFFFFFFFCCB4C
    70A13433  00000000  _endthreadex+44
    70A134C7  00000000  _endthreadex+D8
    76173677  00000000  BaseThreadInitThunk+12
    778A9D72  00000000  RtlInitializeExceptionChain+63
    778A9D45  00000000  RtlInitializeExceptionChain+36
    ========================
    Local Variables And Parameters
    
    Call stack:
    Address   Frame     Function      SourceFile
    00740B5C  00000000  AchievementCriteriaRequirement::Meets+60C
       Local  <user defined> 'data'
       Local  <user defined> 'map'
       Local  <user defined> 'this'
    punting on symbol criteria_id
       Local  <user defined> 'source'
       Local  <user defined> 'target'
    punting on symbol miscvalue1
    
    00740C9E  00000000  AchievementCriteriaRequirementSet::Meets+6E
       Local  <user defined> 'itr'
       Local  <user defined> 'this'
       Local  <user defined> 'source'
       Local  <user defined> 'target'
    punting on symbol miscvalue
    
    007428FB  00000000  AchievementMgr::UpdateAchievementCriteria+36B
       Local  <user defined> 'data'
       Local  <user defined> 'achievementCriteria'
       Local  <user defined> 'achievement'
       Local  <user defined> 'i'
       Local  <user defined> 'this'
       Local  <user defined> 'type'
    punting on symbol miscvalue1
    punting on symbol miscvalue2
       Local  <user defined> 'unit'
    punting on symbol time
       Local  <user defined> 'achievementCriteriaList'
    
    0078B6BB  00000000  BattleGround::EndBattleGround+6BB
       Local  <user defined> 'plr'
    punting on symbol team
       Local  <user defined> 'bgQueueTypeId'
       Local  <user defined> 'itr'
       Local  <user defined> 'this'
    punting on symbol winner
    punting on symbol winmsg_id
       Local  <user defined> 'winner_arena_team'
       Local  <user defined> 'loser_arena_team'
    punting on symbol loser_rating
       Local  <user defined> 'data'
    punting on symbol winner_rating
    
    00858C9C  00000000  BattleGroundWS::EndBattleGround+9C
       Local  <user defined> 'this'
    punting on symbol winner
    
    00857B18  00000000  BattleGroundWS::EventPlayerCapturedFlag+358
       Local  <user defined> 'this'
       Local  <user defined> 'Source'
    punting on symbol winner
    
    008589CF  00000000  BattleGroundWS::HandleAreaTrigger+15F
       Local  <user defined> 'this'
       Local  <user defined> 'Source'
    punting on symbol Trigger
    
    0088F115  00000000  WorldSession::HandleAreaTriggerOpcode+8A5
       Local  <user defined> 'this'
       Local  <user defined> 'recv_data'
    punting on symbol quest_id
       Local  <user defined> 'at'
       Local  <user defined> 'delta'
    punting on symbol Trigger_ID
       Local  <user defined> 'atEntry'
       Local  <user defined> 'pl'
    
    006227C0  00000000  WorldSession::Update+120
       Local  <user defined> 'opHandle'
       Local  <user defined> 'this'
    punting on symbol __formal
       Local  <user defined> 'packet'
    punting on symbol currTime
    
    00632523  00000000  World::UpdateSessions+C3
       Local  <user defined> 'next'
       Local  <user defined> 'itr'
       Local  <user defined> 'this'
    punting on symbol diff
       Local  <user defined> 'sess'
    
    00630DB5  00000000  World::Update+365
    punting on symbol i
       Local  <user defined> 'this'
    punting on symbol diff
    
    004526AE  00000000  WorldRunnable::run+8E
    punting on symbol diff
       Local  <user defined> 'this'
    punting on symbol realCurrTime
    punting on symbol realPrevTime
    punting on symbol prevSleepTime
    
    008BDAF9  00000000  ACE_Based::Thread::ThreadTask+19
    punting on symbol param
       Local  <user defined> '_task'
    
    70F81B84  00000000  __WSAFDIsSet+FFFFFFFFFFFCCB4C
    
    70A13433  00000000  _endthreadex+44
    
    70A134C7  00000000  _endthreadex+D8
    
    76173677  00000000  BaseThreadInitThunk+12
    
    778A9D72  00000000  RtlInitializeExceptionChain+63
    
    778A9D45  00000000  RtlInitializeExceptionChain+36
    
    ========================
    Global Variables
    
    

  6. final patch no work say

    $ patch -p1 < ../commit-bf21846

    missing header for unified diff at line 12 of patch

    can't find file to patch at input line 12

    Perhaps you used the wrong -p or --strip option?

    The text leading up to this was:

    --------------------------

    |Author: Blizzy <[email protected]> 2010-03-10 04:56:19

    |Committer: Blizzy <[email protected]> 2010-03-10 04:56:19

    |Parent: 6486fa3ad2ab23852ccca67f99e33faffd3de644 ([9559] Update AiReaction enum

    .)

    |Branch: master

    |Follows: v0.16-dev1

    |Precedes:

    |

    | Improved quest POI's code now with db support Quest Tracking Feature is ful

    l working

    |

    |---------------------------- src/game/ObjectMgr.cpp ---------------------------

    -

    |index 7fea7af..69f18c6 100644

    --------------------------

    File to patch:

    any help pls

    thanks

×
×
  • 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