Jump to content

Stillhard

Members
  • Posts

    47
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Stillhard

  1. Mangos Version: 10600

    Custom Patches: none

    How it SHOULD work: Enchanted item will still get it's enchanted status changed after closing the trade window

    How it DOESN'T work: Enchanted item DOESN'T get it's enchanted status changed after closing the trade window.

    I hope i made my bug report correctly.

    Thank you

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

    Typo

    * For which repository revision was the patch created?

    10523 (5c04687d47)

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

    Stillhard

    commit c6c3d54c51291c99e025d03c2ed1c19d752f6ae7
    Author: Stillhard <[email protected]>
    Date:   Fri Sep 24 00:21:32 2010 +0700
    
       Signed-off-by: Stillhard <[email protected]>
    
    diff --git a/sql/mangos.sql b/sql/mangos.sql
    index 4043f38..d72a0e5 100644
    --- a/sql/mangos.sql
    +++ b/sql/mangos.sql
    @@ -488,7 +488,7 @@ LOCK TABLES `command` WRITE;
    /*!40000 ALTER TABLE `command` DISABLE KEYS */;
    INSERT INTO `command` VALUES
    ('account',0,'Syntax: .account\\r\\n\\r\\nDisplay the access level of your account.'),
    -('account characters',3,'Syntax: .account characters [#accountId|$accountName]\\r\\n\\r\\nShow list all characters for account seelcted by provided #accountId or $accountName, or for selected player in game.'),
    +('account characters',3,'Syntax: .account characters [#accountId|$accountName]\\r\\n\\r\\nShow list all characters for account selected by provided #accountId or $accountName, or for selected player in game.'),
    ('account create',4,'Syntax: .account create $account $password\\r\\n\\r\\nCreate account and set password to it.'),
    ('account delete',4,'Syntax: .account delete $account\\r\\n\\r\\nDelete account with all characters.'),
    ('account lock',0,'Syntax: .account lock [on|off]\\r\\n\\r\\nAllow login from account only from current used IP or remove this requirement.'),
    

  3. 4>..\\..\\src\\game\\InstanceSaveMgr.cpp(338) : error C2664: 'InstanceResetScheduler::GetMaxResetTimeFor' : cannot convert parameter 1 from 'const InstanceTemplate *' to 'const MapDifficulty *'

    Maybe this can correct it?

    -                InstanceTemplate const* temp = ObjectMgr::GetInstanceTemplate(event.mapid);
    +                MapDifficulty const* temp = GetMapDifficultyData(event.mapid,event.difficulty);
                   uint32 diff = sWorld.getConfig(CONFIG_UINT32_INSTANCE_RESET_TIME_HOUR) * HOUR;
                   uint32 period = InstanceResetScheduler::GetMaxResetTimeFor(temp);
    

  4. Then you can use this patch, from Wojta's repository (branch vehicle)

    maybe He has no time to update repository, (or do not want?)

    but, warn you that still have conflict with dual-spec.

    vehicle patch for MaNGOS rev. 9795:

    http://filebeam.com/f948cd0d4b5e767f94551d18112d26fb

    Thanks to Wojta naturally! (for vehicle patch)

    Thanks to both of you

    At last I understood what was in conflict with Dual-spec

    this is a patch of 'tester20' 'some fix for ramm spells'

    or patch of Anti for vehicle energy, power, steam etc.

    remove the patches and Dual-spec will works!

    Edit:

    now I'm seek to resolve the problem. I want patches to stay and not to conflict with Dual-spec

    I'll inform here if i have them fixed too

  5. Stillhard, what do you mean by not valid as of revision 9749? Do you mean the patch's code is out of date, causes a server crash due to incompatibilities with the core, or is it merely a failed automatic merge that requires hand editing?

    Look at the codes and you'll see...

    Example:

    [9749]

        MaNGOS::MessageDeliverer post_man(*player, msg, to_self);
    -    Cell::VisitWorldObjects(player, post_man, GetVisibilityDistance());
    +    TypeContainerVisitor<MaNGOS::MessageDeliverer, WorldTypeMapContainer > message(post_man);
    +    cell.Visit(p, message, *this, *player, GetVisibilityDistance());
    

    Will make the patch invalid:

    ***************
    *** 491,497 ****
     void Map::MessageBroadcast(Player *player, WorldPacket *msg, bool to_self)
     {
         MaNGOS::MessageDeliverer post_man(*player, msg, to_self);
    -     Cell::VisitWorldObjects(player, post_man, GetVisibilityDistance());
     }
    
     void Map::MessageBroadcast(WorldObject *obj, WorldPacket *msg)
    --- 454,460 ----
     void Map::MessageBroadcast(Player *player, WorldPacket *msg, bool to_self)
     {
         MaNGOS::MessageDeliverer post_man(*player, msg, to_self);
    +     Cell::VisitCameras(player, post_man, GetVisibilityDistance());
     }
    

  6. Duplicate entry '0-5-18014398509481984-0--1--1--1-2--1--1-Spell::EffectSchoolDMG' for key 'PRIMARY'

    (    0, 5,0x0040000000000000,0x00000000,  -1,  -1,  -1,  2, -1,-1,'Shadow Bite',                        'Spell::EffectSchoolDMG'),
    (    0, 5,0x0040000000000000,0x00000000,  -1,  -1,  -1,  2, -1,-1,'Shadow Bite',                        'Spell::EffectSchoolDMG'),
    (    0, 5,0x0040000000000000,0x00000000,  -1,  -1,  -1,  2, -1,-1,'Shadow Bite',                        'Spell::EffectSchoolDMG'),
    (    0, 5,0x0040000000000000,0x00000000,  -1,  -1,  -1,  2, -1,-1,'Shadow Bite',                        'Spell::EffectSchoolDMG'),
    (    0, 5,0x0040000000000000,0x00000000,  -1,  -1,  -1,  2, -1,-1,'Shadow Bite',                        'Spell::EffectSchoolDMG'),
    

    Mistake?

  7. Use Insider42's patch.

    or if you want, use Tasssadar's too but with modification, because if you're not, the option will not show in trainers.

    Tasssadar's sql patch is wrong too, change 19 to 18.

    And don't forget to remove the if condition:

    -            if(GetSpecsCount() == 1 && !(getLevel() < 40)) //Level added manually, in original patch it was in config !
    -            {
    ...
    -            }
    

    Thx to both author

  8. *** Operation System ***
    Microsoft Windows Server 2010 BillGates Edition Service Pack 0 (Version 10, Build 0000)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  0000000140056CE1 01:0000000000055CE1 Y:\\MahGoosh\\mangosd.exe
    
    Registers:
    RAX:0000000000000000
    RBX:00000000084FF070
    RCX:000000000B253780
    RDX:0000000000000000
    RSI:000007FFEFDB32E0
    RDI:00000001402EED80
    R8: 000007FFE1424000
    R9: 8000000000000000
    R10:0000000000000000
    R11:0000000000000000
    R12:0000000000000000
    R13:0000000000000000
    R14:0000000000000000
    R15:000000000B253120
    CS:RIP:0033:0000000140056CE1
    SS:RSP:002B:000000000B2536C0  RBP:00000000
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010203
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000140056CE1  000000000B253730  Cell::CalculateCellArea+71  x:\\mahgoosh\\src\\game\\cellimpl.h line 144
    0000000140120F8E  000000000B2538D0  Cell::Visit<MaNGOS::PlayerNotifier,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+AE  x:\\mahgoosh\\src\\game\\cellimpl.h line 188
    0000000140102723  000000000B253A20  Map::UpdatePlayerVisibility+A3  x:\\mahgoosh\\src\\game\\map.cpp line 2120
    00000001400FDC86  000000000B255B60  Map::CreatureRelocation+2A6  x:\\mahgoosh\\src\\game\\map.cpp line 918
    000000014037CFF6  000000000B256CA0  DestinationHolder<Traveller<Creature> >::UpdateTraveller+236  x:\\mahgoosh\\src\\game\\destinationholderimp.h line 114
    00000001403D384E  000000000B256DC0  TargetedMovementGeneratorMedium<Creature,ChaseMovementGenerator<Creature> >::Update+3DE  x:\\mahgoosh\\src\\game\\targetedmovementgenerator.cpp line 150
    0000000140071157  000000000B256DF0  MovementGeneratorMedium<Creature,ChaseMovementGenerator<Creature> >::Update+27  x:\\mahgoosh\\src\\game\\movementgenerator.h line 85
    000000014006A9D6  000000000B256F80  MotionMaster::UpdateMotion+C6  x:\\mahgoosh\\src\\game\\motionmaster.cpp line 83
    0000000140074DAF  000000000B25E0C0  Unit::Update+4BF  x:\\mahgoosh\\src\\game\\unit.cpp line 363
    00000001400C80DA  000000000B2632C0  Creature::Update+65A  x:\\mahgoosh\\src\\game\\creature.cpp line 462
    0000000140475624  000000000B26B440  Pet::Update+534  x:\\mahgoosh\\src\\game\\pet.cpp line 577
    000000014012ED25  000000000B26B4D0  MaNGOS::ObjectUpdater::Visit+F5  x:\\mahgoosh\\src\\game\\gridnotifiersimpl.h line 48
    000000014012EC1D  000000000B26B540  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 48
    000000014012DD4D  000000000B26B570  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<Corpse,TypeNull> >+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 54
    000000014012D640  000000000B26B5A0  VisitorHelper<MaNGOS::ObjectUpdater,Player,TypeList<Creature,TypeList<Corpse,TypeNull> > >+30  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 55
    000000014012CCDD  000000000B26B5D0  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > >+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 61
    000000014012797A  000000000B26F680  Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+11A  x:\\mahgoosh\\src\\game\\map.h line 632
    00000001401207AD  000000000B26F710  Cell::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+7D  x:\\mahgoosh\\src\\game\\cellimpl.h line 47
    00000001400FC6D5  000000000B26FAA0  Map::Update+5A5  x:\\mahgoosh\\src\\game\\map.cpp line 646
    00000001401059FD  000000000B26FAD0  InstanceMap::Update+1D  x:\\mahgoosh\\src\\game\\map.cpp line 2601
    00000001405CD9DD  000000000B26FB50  MapInstanced::Update+16D  x:\\mahgoosh\\src\\game\\mapinstanced.cpp line 64
    000000014034ECAF  000000000B26FC40  MapManager::Update+19F  x:\\mahgoosh\\src\\game\\mapmanager.cpp line 259
    00000001402C9363  000000000B26FE20  World::Update+863  x:\\mahgoosh\\src\\game\\world.cpp line 1455
    0000000140040DE5  000000000B26FE60  WorldRunnable::run+A5  x:\\mahgoosh\\src\\mangosd\\worldrunnable.cpp line 61
    00000001402EEDA3  000000000B26FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000B26FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000B26FF40  _endthreadex+47
    0000000078623080  000000000B26FF70  _endthreadex+E8
    0000000077D6B71A  000000000B26FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0A3A  000000000082FAB0  ZwWaitForSingleObject+A
    0000000077D704FF  000000000082FB50  WaitForSingleObjectEx+DF
    0000000000A4B64A  000000000082FB80  __WSAFDIsSet+FFFFFFFFFFF6AFCE
    0000000000ACE8E3  000000000082FC00  __WSAFDIsSet+FFFFFFFFFFFEE267
    00000001402F0883  000000000082FC40  WorldSocketMgr::Wait+63  x:\\mahgoosh\\src\\game\\worldsocketmgr.cpp line 313
    000000014003B66D  000000000082FF00  Master::Run+75D  x:\\mahgoosh\\src\\mangosd\\master.cpp line 319
    000000014003AEDD  000000000082FF40  main+42D  x:\\mahgoosh\\src\\mangosd\\main.cpp line 180
    00000001400417BE  000000000082FF70  __tmainCRTStartup+11A  f:\\dd\\vctools\\crt_bld\\self_64_amd64\\crt\\src\\crtexe.c line 582
    0000000077D596AC  000000000082FFA0  BaseProcessStart+2C
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000337FCB0  NtDelayExecution+A
    0000000077D70616  000000000337FD50  SleepEx+96
    00000001402EF009  000000000337FDA0  ACE_Based::Thread::Sleep+39  x:\\mahgoosh\\src\\shared\\threading.cpp line 232
    00000001405C89C5  000000000337FE60  SqlDelayThread::run+35  x:\\mahgoosh\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402EEDA3  000000000337FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000337FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000337FF40  _endthreadex+47
    0000000078623080  000000000337FF70  _endthreadex+E8
    0000000077D6B71A  000000000337FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  0000000003BFFCB0  NtDelayExecution+A
    0000000077D70616  0000000003BFFD50  SleepEx+96
    00000001402EF009  0000000003BFFDA0  ACE_Based::Thread::Sleep+39  x:\\mahgoosh\\src\\shared\\threading.cpp line 232
    00000001405C89C5  0000000003BFFE60  SqlDelayThread::run+35  x:\\mahgoosh\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402EEDA3  0000000003BFFED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  0000000003BFFF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  0000000003BFFF40  _endthreadex+47
    0000000078623080  0000000003BFFF70  _endthreadex+E8
    0000000077D6B71A  0000000003BFFFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  00000000043FFCB0  NtDelayExecution+A
    0000000077D70616  00000000043FFD50  SleepEx+96
    00000001402EF009  00000000043FFDA0  ACE_Based::Thread::Sleep+39  x:\\mahgoosh\\src\\shared\\threading.cpp line 232
    00000001405C89C5  00000000043FFE60  SqlDelayThread::run+35  x:\\mahgoosh\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402EEDA3  00000000043FFED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  00000000043FFF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  00000000043FFF40  _endthreadex+47
    0000000078623080  00000000043FFF70  _endthreadex+E8
    0000000077D6B71A  00000000043FFFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF13FA  000000000B250CF0  NtGetContextThread+A
    0000000077DBFB5A  000000000B250D20  GetThreadContext+A
    000000014003F689  000000000B251260  WheatyExceptionReport::PrintTracesForAllThreads+C9  x:\\mahgoosh\\src\\shared\\wheatyexceptionreport.cpp line 370
    000000014003FA56  000000000B2522D0  WheatyExceptionReport::GenerateExceptionReport+396  x:\\mahgoosh\\src\\shared\\wheatyexceptionreport.cpp line 468
    000000014003ECEA  000000000B252580  WheatyExceptionReport::WheatyUnhandledExceptionFilter+18A  x:\\mahgoosh\\src\\shared\\wheatyexceptionreport.cpp line 109
    0000000077DC0053  000000000B252970  UnhandledExceptionFilter+223
    0000000077DBC4FF  000000000B2529A0  SetThreadStackGuarantee+1CF
    0000000077EE6593  000000000B252A30  RtlUnwindEx+213
    0000000077EE459D  000000000B252A60  RtlSizeHeap+7D
    0000000077EE60A7  000000000B253110  RtlLookupFunctionEntry+607
    0000000077EF31ED  000000000B2536B0  KiUserExceptionDispatcher+2D
    0000000140056CE1  000000000B253730  Cell::CalculateCellArea+71  x:\\mahgoosh\\src\\game\\cellimpl.h line 144
    0000000140120F8E  000000000B2538D0  Cell::Visit<MaNGOS::PlayerNotifier,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+AE  x:\\mahgoosh\\src\\game\\cellimpl.h line 188
    0000000140102723  000000000B253A20  Map::UpdatePlayerVisibility+A3  x:\\mahgoosh\\src\\game\\map.cpp line 2120
    00000001400FDC86  000000000B255B60  Map::CreatureRelocation+2A6  x:\\mahgoosh\\src\\game\\map.cpp line 918
    000000014037CFF6  000000000B256CA0  DestinationHolder<Traveller<Creature> >::UpdateTraveller+236  x:\\mahgoosh\\src\\game\\destinationholderimp.h line 114
    00000001403D384E  000000000B256DC0  TargetedMovementGeneratorMedium<Creature,ChaseMovementGenerator<Creature> >::Update+3DE  x:\\mahgoosh\\src\\game\\targetedmovementgenerator.cpp line 150
    0000000140071157  000000000B256DF0  MovementGeneratorMedium<Creature,ChaseMovementGenerator<Creature> >::Update+27  x:\\mahgoosh\\src\\game\\movementgenerator.h line 85
    000000014006A9D6  000000000B256F80  MotionMaster::UpdateMotion+C6  x:\\mahgoosh\\src\\game\\motionmaster.cpp line 83
    0000000140074DAF  000000000B25E0C0  Unit::Update+4BF  x:\\mahgoosh\\src\\game\\unit.cpp line 363
    00000001400C80DA  000000000B2632C0  Creature::Update+65A  x:\\mahgoosh\\src\\game\\creature.cpp line 462
    0000000140475624  000000000B26B440  Pet::Update+534  x:\\mahgoosh\\src\\game\\pet.cpp line 577
    000000014012ED25  000000000B26B4D0  MaNGOS::ObjectUpdater::Visit+F5  x:\\mahgoosh\\src\\game\\gridnotifiersimpl.h line 48
    000000014012EC1D  000000000B26B540  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 48
    000000014012DD4D  000000000B26B570  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<Corpse,TypeNull> >+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 54
    000000014012D640  000000000B26B5A0  VisitorHelper<MaNGOS::ObjectUpdater,Player,TypeList<Creature,TypeList<Corpse,TypeNull> > >+30  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 55
    000000014012CCDD  000000000B26B5D0  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > >+1D  x:\\mahgoosh\\src\\framework\\gamesystem\\typecontainervisitor.h line 61
    000000014012797A  000000000B26F680  Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+11A  x:\\mahgoosh\\src\\game\\map.h line 632
    00000001401207AD  000000000B26F710  Cell::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+7D  x:\\mahgoosh\\src\\game\\cellimpl.h line 47
    00000001400FC6D5  000000000B26FAA0  Map::Update+5A5  x:\\mahgoosh\\src\\game\\map.cpp line 646
    00000001401059FD  000000000B26FAD0  InstanceMap::Update+1D  x:\\mahgoosh\\src\\game\\map.cpp line 2601
    00000001405CD9DD  000000000B26FB50  MapInstanced::Update+16D  x:\\mahgoosh\\src\\game\\mapinstanced.cpp line 64
    000000014034ECAF  000000000B26FC40  MapManager::Update+19F  x:\\mahgoosh\\src\\game\\mapmanager.cpp line 259
    00000001402C9363  000000000B26FE20  World::Update+863  x:\\mahgoosh\\src\\game\\world.cpp line 1455
    0000000140040DE5  000000000B26FE60  WorldRunnable::run+A5  x:\\mahgoosh\\src\\mangosd\\worldrunnable.cpp line 61
    00000001402EEDA3  000000000B26FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000B26FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000B26FF40  _endthreadex+47
    0000000078623080  000000000B26FF70  _endthreadex+E8
    0000000077D6B71A  000000000B26FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0C1A  000000000BA6F7A0  ZwRequestWaitReplyPort+A
    0000000077EF5A91  000000000BA6F7D0  CsrClientCallServer+61
    0000000077DDD63D  000000000BA6F940  GetConsoleInputWaitHandle+39D
    0000000077DDD7C2  000000000BA6FA10  ReadConsoleA+72
    0000000077DA795E  000000000BA6FAB0  FindNextStreamW+16E
    00000000786707AE  000000000BA6FB50  _wsopen_s+266
    0000000078670E15  000000000BA6FBB0  _read+10D
    000000007862EB03  000000000BA6FBF0  _filbuf+8F
    000000007862DF8C  000000000BA6FC60  fgets+198
    0000000140014C2A  000000000BA6FE60  CliRunnable::run+BA  x:\\mahgoosh\\src\\mangosd\\clirunnable.cpp line 387
    00000001402EEDA3  000000000BA6FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000BA6FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000BA6FF40  _endthreadex+47
    0000000078623080  000000000BA6FF70  _endthreadex+E8
    0000000077D6B71A  000000000BA6FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000C257990  NtDelayExecution+A
    0000000077D70616  000000000C257A30  SleepEx+96
    00000001402EF009  000000000C257A80  ACE_Based::Thread::Sleep+39  x:\\mahgoosh\\src\\shared\\threading.cpp line 232
    000000014003BEF8  000000000C26FE60  RARunnable::run+248  x:\\mahgoosh\\src\\mangosd\\master.cpp line 182
    00000001402EEDA3  000000000C26FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000C26FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000C26FF40  _endthreadex+47
    0000000078623080  000000000C26FF70  _endthreadex+E8
    0000000077D6B71A  000000000C26FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000CA6FD30  NtDelayExecution+A
    0000000077D70616  000000000CA6FDD0  SleepEx+96
    00000001402EF009  000000000CA6FE20  ACE_Based::Thread::Sleep+39  x:\\mahgoosh\\src\\shared\\threading.cpp line 232
    000000014003BAA1  000000000CA6FE60  FreezeDetectorRunnable::run+91  x:\\mahgoosh\\src\\mangosd\\master.cpp line 80
    00000001402EEDA3  000000000CA6FED0  ACE_Based::Thread::ThreadTask+23  x:\\mahgoosh\\src\\shared\\threading.cpp line 186
    0000000000AA170B  000000000CA6FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000CA6FF40  _endthreadex+47
    0000000078623080  000000000CA6FF70  _endthreadex+E8
    0000000077D6B71A  000000000CA6FFA0  BaseThreadStart+3A
    
    ...
    

  9. Revision: * * 9299 *
    Date 4:2:2010. Time 20:48
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Xeon(R) CPU           E9905  @ 90.00GHz
    Number Of Processors: 100
    Physical Memory: 4187844 KB (Available: 1130988 KB)
    Commit Charge Limit: 87667468 KB
    
    *** Operation System ***
    Microsoft Windows Server 2003 Enterprise Edition Service Pack 2 (Version  5.2, Build 3790)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  000000014000AE76 01:0000000000009E76  X:\\MaNGOS\\mangosd.exe
    
    Registers:
    RAX:0000000000000000
    RBX:000007FF81084060
    RCX:000007FFF1A32200
    RDX:000000000905E6A0
    RSI:000007FFF0E3D800
    RDI:00000001402E28A0
    R8: 0000000002464F80
    R9: 0000000100000001
    R10:000007FFF0B3FD80
    R11:0000000000000000
    R12:0000000000000000
    R13:0000000000000000
    R14:0000000000000000
    R15:000000000905E090
    CS:RIP:0033:000000014000AE76
    SS:RSP:002B:000000000905E630  RBP:00000000
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010206
    
    Call stack:
    Address   Frame     Function      SourceFile
    000000014000AE76  000000000905E670  Group::_getMemberCSlot+26   x:\\mangos\\src\\game\\group.h line 375
    000000014000A908  000000000905E6F0  Group::GetMemberGroup+28   x:\\mangos\\src\\game\\group.h line 250
    0000000140179C14  0000000009060800  Player::_LoadGroup+114   x:\\mangos\\src\\game\\player.cpp line 16051
    0000000140172B64  0000000009075440  Player::LoadFromDB+FD4   x:\\mangos\\src\\game\\player.cpp line 14929
    000000014060B6D6  000000000907FA40  WorldSession::HandlePlayerLogin+176   x:\\mangos\\src\\game\\characterhandler.cpp line 627
    000000014060B4FC  000000000907FB20   CharacterHandler::HandlePlayerBotLoginCallback+1BC   x:\\mangos\\src\\game\\characterhandler.cpp line 160
    00000001406108A9  000000000907FB60   MaNGOS::_IQueryCallback<MaNGOS::_Callback<CharacterHandler,QueryResult  * __ptr64,SqlQueryHolder * __ptr64,void,void> >::Execute+39   x:\\mangos\\src\\framework\\utilities\\callback.h line 288
    000000014052ED84  000000000907FC20  SqlResultQueue::Update+34   x:\\mangos\\src\\shared\\database\\sqloperations.cpp line 78
    00000001402BF6EA  000000000907FC50  World::UpdateResultQueue+1A   x:\\mangos\\src\\game\\world.cpp line 2197
    00000001402BD583  000000000907FE20  World::Update+753   x:\\mangos\\src\\game\\world.cpp line 1692
    000000014003E8D5  000000000907FE60  WorldRunnable::run+A5   x:\\mangos\\src\\mangosd\\worldrunnable.cpp line 61
    00000001402E28C3  000000000907FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000907FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000907FF40  _endthreadex+47
    0000000078623080  000000000907FF70  _endthreadex+E8
    0000000077D6B71A  000000000907FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0A3A  000000000023FAE0  ZwWaitForSingleObject+A
    0000000077D704FF  000000000023FB80  WaitForSingleObjectEx+DF
    000000000045B64A  000000000023FBB0  __WSAFDIsSet+FFFFFFFFFFF6AFCE
    00000000004DE8E3  000000000023FC30  __WSAFDIsSet+FFFFFFFFFFFEE267
    00000001402E43A3  000000000023FC70  WorldSocketMgr::Wait+63   x:\\mangos\\src\\game\\worldsocketmgr.cpp line 313
    0000000140039136  000000000023FF30  Master::Run+776   x:\\mangos\\src\\mangosd\\master.cpp line 322
    000000014003898D  000000000023FF70  main+42D   x:\\mangos\\src\\mangosd\\main.cpp line 180
    000000014003F2AA  000000000023FFA0  __tmainCRTStartup+11A   f:\\dd\\vctools\\crt_bld\\self_64_amd64\\crt\\src\\crtexe.c line 582
    0000000077D596AC  000000000023FFD0  BaseProcessStart+2C
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000268FCB0  NtDelayExecution+A
    0000000077D70616  000000000268FD50  SleepEx+96
    00000001402E2B29  000000000268FDA0  ACE_Based::Thread::Sleep+39   x:\\mangos\\src\\shared\\threading.cpp line 232
    00000001405BD065  000000000268FE60  SqlDelayThread::run+35   x:\\mangos\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402E28C3  000000000268FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000268FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000268FF40  _endthreadex+47
    0000000078623080  000000000268FF70  _endthreadex+E8
    0000000077D6B71A  000000000268FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000280FCB0  NtDelayExecution+A
    0000000077D70616  000000000280FD50  SleepEx+96
    00000001402E2B29  000000000280FDA0  ACE_Based::Thread::Sleep+39   x:\\mangos\\src\\shared\\threading.cpp line 232
    00000001405BD065  000000000280FE60  SqlDelayThread::run+35   x:\\mangos\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402E28C3  000000000280FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000280FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000280FF40  _endthreadex+47
    0000000078623080  000000000280FF70  _endthreadex+E8
    0000000077D6B71A  000000000280FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000290FCB0  NtDelayExecution+A
    0000000077D70616  000000000290FD50  SleepEx+96
    00000001402E2B29  000000000290FDA0  ACE_Based::Thread::Sleep+39   x:\\mangos\\src\\shared\\threading.cpp line 232
    00000001405BD065  000000000290FE60  SqlDelayThread::run+35   x:\\mangos\\src\\shared\\database\\sqldelaythread.cpp line 39
    00000001402E28C3  000000000290FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000290FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000290FF40  _endthreadex+47
    0000000078623080  000000000290FF70  _endthreadex+E8
    0000000077D6B71A  000000000290FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF13FA  000000000905BC60  NtGetContextThread+A
    0000000077DBFB5A  000000000905BC90  GetThreadContext+A
    000000014003D179  000000000905C1D0   WheatyExceptionReport::PrintTracesForAllThreads+C9   x:\\mangos\\src\\shared\\wheatyexceptionreport.cpp line 370
    000000014003D546  000000000905D240   WheatyExceptionReport::GenerateExceptionReport+396   x:\\mangos\\src\\shared\\wheatyexceptionreport.cpp line 468
    000000014003C7DA  000000000905D4F0   WheatyExceptionReport::WheatyUnhandledExceptionFilter+18A   x:\\mangos\\src\\shared\\wheatyexceptionreport.cpp line 109
    0000000077DC0053  000000000905D8E0  UnhandledExceptionFilter+223
    0000000077DBC4FF  000000000905D910  SetThreadStackGuarantee+1CF
    0000000077EE6593  000000000905D9A0  RtlUnwindEx+213
    0000000077EE459D  000000000905D9D0  RtlSizeHeap+7D
    0000000077EE60A7  000000000905E080  RtlLookupFunctionEntry+607
    0000000077EF31ED  000000000905E620  KiUserExceptionDispatcher+2D
    000000014000AE76  000000000905E670  Group::_getMemberCSlot+26   x:\\mangos\\src\\game\\group.h line 375
    000000014000A908  000000000905E6F0  Group::GetMemberGroup+28   x:\\mangos\\src\\game\\group.h line 250
    0000000140179C14  0000000009060800  Player::_LoadGroup+114   x:\\mangos\\src\\game\\player.cpp line 16051
    0000000140172B64  0000000009075440  Player::LoadFromDB+FD4   x:\\mangos\\src\\game\\player.cpp line 14929
    000000014060B6D6  000000000907FA40  WorldSession::HandlePlayerLogin+176   x:\\mangos\\src\\game\\characterhandler.cpp line 627
    000000014060B4FC  000000000907FB20   CharacterHandler::HandlePlayerBotLoginCallback+1BC   x:\\mangos\\src\\game\\characterhandler.cpp line 160
    00000001406108A9  000000000907FB60   MaNGOS::_IQueryCallback<MaNGOS::_Callback<CharacterHandler,QueryResult  * __ptr64,SqlQueryHolder * __ptr64,void,void> >::Execute+39   x:\\mangos\\src\\framework\\utilities\\callback.h line 288
    000000014052ED84  000000000907FC20  SqlResultQueue::Update+34   x:\\mangos\\src\\shared\\database\\sqloperations.cpp line 78
    00000001402BF6EA  000000000907FC50  World::UpdateResultQueue+1A   x:\\mangos\\src\\game\\world.cpp line 2197
    00000001402BD583  000000000907FE20  World::Update+753   x:\\mangos\\src\\game\\world.cpp line 1692
    000000014003E8D5  000000000907FE60  WorldRunnable::run+A5   x:\\mangos\\src\\mangosd\\worldrunnable.cpp line 61
    00000001402E28C3  000000000907FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000907FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000907FF40  _endthreadex+47
    0000000078623080  000000000907FF70  _endthreadex+E8
    0000000077D6B71A  000000000907FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0C1A  000000000917F790  ZwRequestWaitReplyPort+A
    0000000077EF5A91  000000000917F7C0  CsrClientCallServer+61
    0000000077DDD63D  000000000917F930  GetConsoleInputWaitHandle+39D
    0000000077DDD7C2  000000000917FA00  ReadConsoleA+72
    0000000077DA795E  000000000917FAA0  FindNextStreamW+16E
    00000000786707AE  000000000917FB40  _wsopen_s+266
    0000000078670E15  000000000917FBA0  _read+10D
    000000007862EB03  000000000917FBE0  _filbuf+8F
    000000007862DF8C  000000000917FC50  fgets+198
    0000000140013D9A  000000000917FE60  CliRunnable::run+BA   x:\\mangos\\src\\mangosd\\clirunnable.cpp line 321
    00000001402E28C3  000000000917FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000917FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000917FF40  _endthreadex+47
    0000000078623080  000000000917FF70  _endthreadex+E8
    0000000077D6B71A  000000000917FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  0000000009267990  NtDelayExecution+A
    0000000077D70616  0000000009267A30  SleepEx+96
    00000001402E2B29  0000000009267A80  ACE_Based::Thread::Sleep+39   x:\\mangos\\src\\shared\\threading.cpp line 232
    00000001400399EE  000000000927FE60  RARunnable::run+25E   x:\\mangos\\src\\mangosd\\master.cpp line 185
    00000001402E28C3  000000000927FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000927FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000927FF40  _endthreadex+47
    0000000078623080  000000000927FF70  _endthreadex+E8
    0000000077D6B71A  000000000927FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0D3A  000000000937FD30  NtDelayExecution+A
    0000000077D70616  000000000937FDD0  SleepEx+96
    00000001402E2B29  000000000937FE20  ACE_Based::Thread::Sleep+39   x:\\mangos\\src\\shared\\threading.cpp line 232
    0000000140039571  000000000937FE60  FreezeDetectorRunnable::run+91   x:\\mangos\\src\\mangosd\\master.cpp line 83
    00000001402E28C3  000000000937FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
    00000000004B170B  000000000937FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    0000000078622FDF  000000000937FF40  _endthreadex+47
    0000000078623080  000000000937FF70  _endthreadex+E8
    0000000077D6B71A  000000000937FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0A3A  000000000947F9A0  ZwWaitForSingleObject+A
    000007FF771B4E3D  000000000947FB70  0001:0000000000003E3D  C:\\WINDOWS\\system32\\MSWSOCK.dll
    000007FF77312375  000000000947FC00  select+105
    0000000000468252  000000000947FC80  __WSAFDIsSet+FFFFFFFFFFF77BD6
    00000000004E0DC0  000000000947FCF0  __WSAFDIsSet+FFFFFFFFFFFF0744
    00000000004BE55D  000000000947FD20  __WSAFDIsSet+FFFFFFFFFFFCDEE1
    00000001402E3C87  000000000947FE60  ReactorRunnable::svc+77   x:\\mangos\\src\\game\\worldsocketmgr.cpp line 167
    00000000004DA171  000000000947FE90  __WSAFDIsSet+FFFFFFFFFFFE9AF5
    00000000004DA72B  000000000947FED0  __WSAFDIsSet+FFFFFFFFFFFEA0AF
    00000000004DA851  000000000947FF10  __WSAFDIsSet+FFFFFFFFFFFEA1D5
    0000000078622FDF  000000000947FF40  _endthreadex+47
    0000000078623080  000000000947FF70  _endthreadex+E8
    0000000077D6B71A  000000000947FFA0  BaseThreadStart+3A
    
    Call stack:
    Address   Frame     Function      SourceFile
    0000000077EF0A3A  000000000957F9A0  ZwWaitForSingleObject+A
    000007FF771B4E3D  000000000957FB70  0001:0000000000003E3D  C:\\WINDOWS\\system32\\MSWSOCK.dll
    000007FF77312375  000000000957FC00  select+105
    0000000000468252  000000000957FC80  __WSAFDIsSet+FFFFFFFFFFF77BD6
    00000000004E0DC0  000000000957FCF0  __WSAFDIsSet+FFFFFFFFFFFF0744
    00000000004BE55D  000000000957FD20  __WSAFDIsSet+FFFFFFFFFFFCDEE1
    00000001402E3C87  000000000957FE60  ReactorRunnable::svc+77   x:\\mangos\\src\\game\\worldsocketmgr.cpp line 167
    00000000004DA171  000000000957FE90  __WSAFDIsSet+FFFFFFFFFFFE9AF5
    00000000004DA72B  000000000957FED0  __WSAFDIsSet+FFFFFFFFFFFEA0AF
    00000000004DA851  000000000957FF10  __WSAFDIsSet+FFFFFFFFFFFEA1D5
    0000000078622FDF  000000000957FF40  _endthreadex+47
    0000000078623080  000000000957FF70  _endthreadex+E8
    0000000077D6B71A  000000000957FFA0  BaseThreadStart+3A
    ========================
    Local Variables And Parameters
    
    Call stack:
    Address   Frame     Function      SourceFile
    000000014000AE76  000000000905E670  Group::_getMemberCSlot+26   x:\\mangos\\src\\game\\group.h line 375
       Local  <user defined> 'itr'
       Local  <user defined> 'this'
       Local  unsigned int 'Guid' = 7FFF0B3FD80
    
    000000014000A908  000000000905E6F0  Group::GetMemberGroup+28   x:\\mangos\\src\\game\\group.h line 250
       Local  <user defined> 'this'
       Local  unsigned int 'guid' = 1401934A6
       Local  <user defined> 'mslot'
    
    0000000140179C14  0000000009060800  Player::_LoadGroup+114   x:\\mangos\\src\\game\\player.cpp line 16051
       Local  unsigned int 'subgroup' = DE
       Local  <user defined> 'group'
       Local  unsigned int 'leaderGuidLow' = C52E863D
       Local  <user defined> 'this'
       Local  <user defined> 'result'
    
    0000000140172B64  0000000009075440  Player::LoadFromDB+FD4   x:\\mangos\\src\\game\\player.cpp line 14929
       Local  unsigned int 'slot' = 5C
       Local  <user defined> 'this'
    punting on symbol guid
       Local  <user defined> 'holder'
       Local  unsigned int 'newDrunkenValue' = 3
       Local  <user defined> 'result'
       Local  unsigned int 'curTitle' = 4D450455
       Local  unsigned int 'difficulty' = 0
       Local  unsigned int 'bytes0' = 0
       Local  unsigned int 'time_diff' = 0
       Local  unsigned int 'transGUID' = 0
       Local  int 'logoutTime' = 7FFF0B50C31
       Local  int 'now' = 8
       Local  <user defined> 'fields'
       Local  unsigned int 'arena_currency' = 0
       Local  float 'soberFactor' = 0.000000
       Local  unsigned int 'old_safe_flags' = 20A
       Local  unsigned int 'dbAccountId' = 7FF
       Local  unsigned int 'money' = 81084000
       Local  <user defined> 'taxi_nodes'
       Local  unsigned int 'extraflags' = 0
       Local  float 'bubble1' = 0.000000
       Local  float 'bubble0' = 0.000000
       Local  unsigned int 'savedhealth' = 70700
    
    000000014060B6D6  000000000907FA40  WorldSession::HandlePlayerLogin+176   x:\\mangos\\src\\game\\characterhandler.cpp line 627
       Local  <user defined> 'this'
       Local  <user defined> 'holder'
       Local  <user defined> 'data'
       Local  <user defined> 'resultGuild'
       Local  unsigned int 'playerGuid' = 7FFF0B1D000
       Local  <user defined> 'pCurrChar'
       Local  <user defined> 'IP_str'
    
    000000014060B4FC  000000000907FB20   CharacterHandler::HandlePlayerBotLoginCallback+1BC   x:\\mangos\\src\\game\\characterhandler.cpp line 160
       Local  <user defined> 'this'
       Local  <user defined> '__formal'
       Local  <user defined> 'holder'
       Local  <user defined> 'masterSession'
       Local  <user defined> 'lqh'
       Local  <user defined> 'botSession'
    
    00000001406108A9  000000000907FB60   MaNGOS::_IQueryCallback<MaNGOS::_Callback<CharacterHandler,QueryResult  * __ptr64,SqlQueryHolder * __ptr64,void,void> >::Execute+39   x:\\mangos\\src\\framework\\utilities\\callback.h line 288
       Local  <user defined> 'this'
    
    000000014052ED84  000000000907FC20  SqlResultQueue::Update+34   x:\\mangos\\src\\shared\\database\\sqloperations.cpp line 78
       Local  <user defined> 'this'
       Local  <user defined> 'callback'
    
    00000001402BF6EA  000000000907FC50  World::UpdateResultQueue+1A   x:\\mangos\\src\\game\\world.cpp line 2197
       Local  <user defined> 'this'
    
    00000001402BD583  000000000907FE20  World::Update+753   x:\\mangos\\src\\game\\world.cpp line 1692
       Local  int 'i' = 2B
       Local  <user defined> 'this'
       Local  unsigned int 'diff' = 0
       Local  unsigned int 'autobroadcaston' = 1
    
    000000014003E8D5  000000000907FE60  WorldRunnable::run+A5   x:\\mangos\\src\\mangosd\\worldrunnable.cpp line 61
       Local  unsigned int 'diff' = 0
       Local  <user defined> 'this'
       Local  unsigned int 'realCurrTime' = 1
       Local  unsigned int 'realPrevTime' = 0
       Local  unsigned int 'prevSleepTime' = 6979A50
    
    00000001402E28C3  000000000907FED0  ACE_Based::Thread::ThreadTask+23   x:\\mangos\\src\\shared\\threading.cpp line 186
       Local  void 'param' = 78622FFC
       Local  <user defined> '_task'
    
    00000000004B170B  000000000907FF10  __WSAFDIsSet+FFFFFFFFFFFC108F
    
    0000000078622FDF  000000000907FF40  _endthreadex+47
    
    0000000078623080  000000000907FF70  _endthreadex+E8
    
    0000000077D6B71A  000000000907FFA0  BaseThreadStart+3A
    
    ========================
    Global Variables
    
    

  10. Hi All,

    I can see that this is turning into a 'Mine is better than yours' arguement. I am glad that Stillhard fix works for those who have recently wished to contribute.

    prepareGossipMenu() is only called once each time a NPC is selected, and LoadBotMenu once if the NPC is 'Pappy Looter'. Stillhard has moved the playerbot mod inside an iterative loop in the new function PrepareGossipMenu() located in Player.cpp. Now, LoadBotMenu is called 16 times, each time 'Pappy Looter' is selected.

    LoadBotMenu contains all the code necessary to display menu options for all available bots. It only needs to be called ONCE!

    'Pound to a penny' that this is a Windows 2003 vs Linux compatiblity issue. I know that KiriX uses Windows, and I suspect that Stillhard does too. It might be necessary to write conditional code, depending on which system is used.

    I hope this is clear to you all

    Dear blueboy, thx man...

    I trust you. And i think we'll find a better solution for all of us.

    I use it and I have no crashs :

    @@ -13149,12 +13149,9 @@ void Player::PrepareGossipMenu(WorldObject *pSource, uint32 menuId)
    
        GossipMenuItemsMapBounds pMenuItemBounds = sObjectMgr.GetGossipMenuItemsMapBounds(menuId);
    
       if(pSource->GetTypeId() == TYPEID_UNIT && ((Creature*)pSource)->isBotGiver())
        {
           ((Creature*)pSource)->LoadBotMenu(this);
            return;
        }
    
    
    

    I think this should be the proper way.

    Let's work together... ^_^

  11. added

    Crash:

    Call stack:
    Address   Frame     Function      SourceFile
    0065E747  00000000  ?GetScriptId@Creature@@QBEIXZ+37
    0065E6D8  00000000  ?GetScriptName@Creature@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ+18
    00731DB7  00000000  ?[b]isBotGiver[/b]@Creature@@QAE_NXZ+37
    004F975E  00000000  ?PrepareGossipMenu@Player@@QAEXPAVWorldObject@@I@Z+DE
    00668725  00000000  ?Use@GameObject@@QAEXPAVUnit@@@Z+115
    008AAE4A  00000000  ?HandleGameObjectUseOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z+16A
    005E9DB0  00000000  ?Update@WorldSession@@QAE_NI@Z+120
    005FBB83  00000000  ??0CreatureEventAI@@QAE@ABV0@@Z+8243
    005FA301  00000000  ??0CreatureEventAI@@QAE@ABV0@@Z+69C1
    00430BCE  00000000  ?getSource@?$Reference@V?$GridRefManager@VCorpse@@@@VCorpse@@@@QBEPAVCorpse@@XZ+1931E
    008C9859  00000000  ?GetFloatDefault@Config@@QAEMPBDM@Z+DC9
    00AF14D4  00000000  ?invoke@ACE_OS_Thread_Adapter@@UAEKXZ+74
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    7C82482F  00000000  GetModuleHandleA+DF

    Go to try Stillhard fix...

    added

    Stillhard, thx! I have no crash with your fix :)

    I think that Stillhard found a more proper place in the code for a given piece of code.

    I draw this conclusion based on the old version playerbot...

    Your welcome KiriX :)

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