Jump to content

Winslow

Members
  • Posts

    43
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Winslow

  1. @ckegg

    I tested a specific one which is entering a instance and leaving a bot outside the instance, or before the bot get in, attack a mob, then it crashes.

    sorry that is a good one ....lol why would you do that. :o

    But at least we are farther a long than we were and that crash has stopped now there is a new one i am trying to figure out. it has to do with.

    Call stack:
    Address   Frame     Function      SourceFile
    0072D0AC  00000000  PlayerbotAI::HasAura+C
    00730E4E  00000000  PlayerbotAI::CastSpell+21E
    0083A58B  00000000  PlayerbotWarriorAI::DoNextCombatManeuver+31B
    0072E455  00000000  PlayerbotAI::DoNextCombatManeuver+135
    007307CC  00000000  PlayerbotAI::UpdateAI+67C
    004BAEB5  00000000  Player::Update+E65
    00495E16  00000000  Map::Update+D6
    0049BDC3  00000000  InstanceMap::Update+13
    007E076E  00000000  MapInstanced::Update+DE
    005FB058  00000000  MapManager::Update+128
    005DF6FB  00000000  World::Update+77B
    0042F31E  00000000  WorldRunnable::run+8E
    008728F7  00000000  ACE_Based::Thread::ThreadTask+17
    666E14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
    70CF3433  00000000  _endthreadex+44
    70CF34C7  00000000  _endthreadex+D8
    75D2E4A5  00000000  BaseThreadInitThunk+E
    77AFCFED  00000000  RtlCreateUserProcess+8C
    77AFD1FF  00000000  RtlCreateProcessParameters+4E
    ========================
    Local Variables And Parameters
    
    Call stack:
    Address   Frame     Function      SourceFile
    0072D0AC  00000000  PlayerbotAI::HasAura+C
       Local  <user defined> 'iter'
       Local  <user defined> 'this'
    punting on symbol spellId
       Local  <user defined> 'player'
    
    00730E4E  00000000  PlayerbotAI::CastSpell+21E
       Local  <user defined> 'this'
    punting on symbol spellId
       Local  <user defined> 'pSpell'
    punting on symbol targetGUID
       Local  <user defined> 'pTarget'
       Local  <user defined> 'pSpellInfo'
    
    0083A58B  00000000  PlayerbotWarriorAI::DoNextCombatManeuver+31B
       Local  <user defined> 'this'
       Local  <user defined> 'pTarget'
       Local  <user defined> 'ai'
       Local  <user defined> 'pVictim'
       Local  <user defined> 'm_bot'
    
    0072E455  00000000  PlayerbotAI::DoNextCombatManeuver+135
       Local  <user defined> 'this'
    
    007307CC  00000000  PlayerbotAI::UpdateAI+67C
       Local  <user defined> 'pSpell'
       Local  <user defined> 'this'
       Local  <user defined> 'p_time'
    punting on symbol currentTime
    
    004BAEB5  00000000  Player::Update+E65
       Local  <user defined> 'this'
    punting on symbol p_time
    punting on symbol now
       Local  <user defined> 'pet'
    
    00495E16  00000000  Map::Update+D6
       Local  <user defined> 'this'
       Local  <user defined> 't_diff'
       Local  <user defined> 'updater'
       Local  <user defined> 'world_object_update'
       Local  <user defined> 'grid_object_update'
    
    0049BDC3  00000000  InstanceMap::Update+13
       Local  <user defined> 'this'
       Local  <user defined> 't_diff'
    
    007E076E  00000000  MapInstanced::Update+DE
       Local  <user defined> 'this'
       Local  <user defined> 't'
       Local  <user defined> 'i'
    
    005FB058  00000000  MapManager::Update+128
       Local  <user defined> 'iter'
       Local  <user defined> 'this'
    punting on symbol diff
    
    005DF6FB  00000000  World::Update+77B
    punting on symbol i
       Local  <user defined> 'this'
    punting on symbol diff
       Local  unsigned int 'autobroadcaston' = 1
    
    0042F31E  00000000  WorldRunnable::run+8E
    punting on symbol diff
       Local  <user defined> 'this'
    punting on symbol realCurrTime
    punting on symbol realPrevTime
    punting on symbol prevSleepTime
    
    008728F7  00000000  ACE_Based::Thread::ThreadTask+17
    punting on symbol param
       Local  <user defined> '_task'
    
    666E14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
    
    70CF3433  00000000  _endthreadex+44
    
    70CF34C7  00000000  _endthreadex+D8
    
    75D2E4A5  00000000  BaseThreadInitThunk+E
    
    77AFCFED  00000000  RtlCreateUserProcess+8C
    
    77AFD1FF  00000000  RtlCreateProcessParameters+4E
    
    ========================
    Global Variables

    We are having fun.

  2. This does not help.

    After you switch map, and if you enter combat without bot presents, server crashes.

    @ckegg What other patches are you using I have teled every ware and went in to heroic and still no crashes

    with and with out bots been up for 3 hrs lots of testing.:)

  3. @Tiburan1

    * dunno if it mathers but i'm using Winslows version just love the extras included in his patch

    big bow for Winslow, Runsttren and ofc the rest of the dev team huge salute to all of you

    I took out the NPC Since we can add them. Sorry;)

    And added the auto announcer and being able to party with both sides. :)

  4. @Winslow: He, he, he... was just a suggestion. But it is a problem with RemoveFromWorld and ResetMap in some ways. And I think the involvment of the PlayerbotAI is just by posing an existing problem. This can be caused by loading times and other timings as well.

    @Runsttren Well I am just getting frustrated have been trying to figure this out. Sorry :confused:

    Well... now for better news! An update is coming up:

    - bots now can show soulbound items in 'Will not be traded' slot

    - added PlayerbotAI::findItemsInEquip

    - modified PlayerbotAI::TradeItem to accept a slot number

    What it does u ask?

    Now you can log in with your enchanter and enchant soulbound and/or equipped items of a bot. I do it this way:

    1) Start trading with a bot and also inspect the bot

    2) Whisper the bot type in 'nt' and shift-click the equipped item (i.e /w BOTNAME nt [Darth Vader's Helmet])

    3) Item will show in 'Will not be traded' slot

    4) Close the inspect window and open enchantment window

    5) Enchant item in NT slot

    6) Accept trade... Tadaa! Soulbound and equipped item is enchanted!

    As for the enchanting this is awesome.

  5. I have more .

    mangosd.exe!WorldObject::GetBaseMap()  Line 1584 + 0x9 bytes    C++
        mangosd.exe!WorldObject::GetZoneAndAreaId(unsigned int & zoneid=0, unsigned int & areaid=0)  Line 1115 + 0x8 bytes    C++
        mangosd.exe!Player::Update(unsigned int p_time=110)  Line 1254    C++
    >    mangosd.exe!Map::Update(const unsigned int & t_diff=110)  Line 577    C++
        mangosd.exe!MapManager::Update(unsigned int diff=47)  Line 257    C++
        mangosd.exe!World::Update(unsigned int diff=47)  Line 1579    C++
        mangosd.exe!WorldRunnable::run()  Line 66    C++
        mangosd.exe!ACE_Based::Thread::ThreadTask(void * param=0x0e181c10)  Line 161    C++
        ACE.dll!ACE_OS_Thread_Adapter::invoke()  + 0x74 bytes    C++
        msvcr90.dll!_callthreadstartex()  Line 348 + 0x6 bytes    C
        msvcr90.dll!_threadstartex(void * ptd=0x0f2a3c68)  Line 326 + 0x5 bytes    C
        kernel32.dll!75d2e4a5()     
        [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]    
        ntdll.dll!77afcfed()     
        ntdll.dll!77afd1ff()     

    hope this helps

  6. Runsttren It is also crashing on Heroics here is what i have so far.

    Revision: * * 8261 *
    Date 27:7:2009. Time 18:0 
    //=====================================================
    *** Hardware ***
    Processor: AMD Phenom(tm) II X4 940 Processor
    Number Of Processors: 4
    Physical Memory: 4194303 KB (Available: 3190744 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Windows Vista or Windows Server 2008 Home Edition Service Pack 1 (Version 6.0, Build 6001)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  004395EB 01:000385EB D:\\mangosd.exe
    
    Registers:
    EAX:00000B74
    EBX:0DF5F890
    ECX:10946E70
    EDX:00000000
    ESI:00000000
    EDI:00871BF0
    CS:EIP:0023:004395EB
    SS:ESP:002B:0F6F2834  EBP:0F6F384C
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010212
    
    Call stack:
    Address   Frame     Function      SourceFile
    004395EB  00000000  WorldObject::GetBaseMap+7B
    00437101  00000000  WorldObject::GetZoneAndAreaId+11
    004BA907  00000000  Player::Update+9A7
    00495D26  00000000  Map::Update+D6
    0049BCD3  00000000  InstanceMap::Update+13
    007DFC2E  00000000  MapInstanced::Update+DE
    005FAF68  00000000  MapManager::Update+128
    005DF60B  00000000  World::Update+77B
    0042F31E  00000000  WorldRunnable::run+8E
    00871C07  00000000  ACE_Based::Thread::ThreadTask+17
    701F14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
    70CF3433  00000000  _endthreadex+44
    70CF34C7  00000000  _endthreadex+D8
    75D2E4A5  00000000  BaseThreadInitThunk+E
    77AFCFED  00000000  RtlCreateUserProcess+8C
    77AFD1FF  00000000  RtlCreateProcessParameters+4E
    ========================
    Local Variables And Parameters
    
    Call stack:
    Address   Frame     Function      SourceFile
    004395EB  00000000  WorldObject::GetBaseMap+7B
       Local  <user defined> 'this'
    
    00437101  00000000  WorldObject::GetZoneAndAreaId+11
       Local  <user defined> 'this'
       Local  <user defined> 'zoneid'
       Local  <user defined> 'areaid'
    
    004BA907  00000000  Player::Update+9A7
    punting on symbol newzone
    punting on symbol newarea
       Local  <user defined> 'this'
    punting on symbol p_time
    punting on symbol now
       Local  <user defined> 'pet'
    
    00495D26  00000000  Map::Update+D6
       Local  <user defined> 'this'
       Local  <user defined> 't_diff'
       Local  <user defined> 'updater'
       Local  <user defined> 'world_object_update'
       Local  <user defined> 'grid_object_update'
    
    0049BCD3  00000000  InstanceMap::Update+13
       Local  <user defined> 'this'
       Local  <user defined> 't_diff'
    
    007DFC2E  00000000  MapInstanced::Update+DE
       Local  <user defined> 'this'
       Local  <user defined> 't'
       Local  <user defined> 'i'
    
    005FAF68  00000000  MapManager::Update+128
       Local  <user defined> 'iter'
       Local  <user defined> 'this'
    punting on symbol diff
    
    005DF60B  00000000  World::Update+77B
    punting on symbol i
       Local  <user defined> 'this'
    punting on symbol diff
       Local  unsigned int 'autobroadcaston' = 1
    
    0042F31E  00000000  WorldRunnable::run+8E
    punting on symbol diff
       Local  <user defined> 'this'
    punting on symbol realCurrTime
    punting on symbol realPrevTime
    punting on symbol prevSleepTime
    
    00871C07  00000000  ACE_Based::Thread::ThreadTask+17
    punting on symbol param
       Local  <user defined> '_task'
    
    701F14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
    
    70CF3433  00000000  _endthreadex+44
    
    70CF34C7  00000000  _endthreadex+D8
    
    75D2E4A5  00000000  BaseThreadInitThunk+E
    
    77AFCFED  00000000  RtlCreateUserProcess+8C
    
    77AFD1FF  00000000  RtlCreateProcessParameters+4E
    
    ========================
    Global Variables
    
    

    Debug points to

    Located in Object.cpp
    
    
    
    Map const* WorldObject::GetBaseMap() const
    {
       ASSERT(m_currMap);
       return m_currMap->GetParent();<---------------this is the line that is causing the crashes
    }
    
    
    void WorldObject::GetZoneAndAreaId(uint32& zoneid, uint32& areaid) const
    {
       GetBaseMap()->GetZoneAndAreaId(zoneid, areaid, m_positionX, m_positionY, m_positionZ);<---------------this is the line that is causing the crashes
    }

    Hope this helps try going in to a Heroic mode or raid.

  7. merged to 8177

    @rrtn thank you i have updated my branch with your updates.

    Druid

    Shaman

    Warlock

    Priest

    Hunter

    If you have noticed we added rezzing to the druid and shaman, paladin. on mine.

    Will look at the death knight but we just updated and it is working really good but that dose not mean we cant added more.

    @Tiburan1

    Does anyone else experience talent resets as soon as one recruited there characters as bots?

    Not yet.

    @Runsttren

    @Winslow: You wrote my code is not working at all. What exactly do you mean?

    We tried every thing to get it to work gave up, I know you are just starting the co order combat so it might need more stuff added.

    Like rrtn said you are way better at coding then we will be at least better then me i am a noob.

    Also i have been trying to figure out how to get the bots to stay passive or defensive.:confused:

    If anyone can figure that out it would be great.:)

  8. @rrtn Thank you I -added mangos_command_bot.sql for gm level toggle to my branch, I have not been using the other branch. Will added some of what you did to mine when i get a chance. Sorry :(

    Also i have been trying to figure out how to get the bots to stay passive or defensive. :confused:

    Also merged mine to mangos 8165

    But could one be so kind to help a noob (with a terrible toothache,so not in the mood for searching) out,

    byt telling me wich line i must use for GIT Bash

    ====git pull git://github.com ???????????

    didnt see it so far on these pages

    Look at my Signature below:) There are 2 branches.

  9. Hi all Have been busy updating playerbot classes.

    @Runsttren I have tried your new code and it just did not work ...sorry

    @Collinsp I have went a different way i want less code not more... sorry

    You guys rock, I just believe in keeping it simple. Thank you.:)

    I have updated my git to mangos 8131 and compiles fine and working great and yes you can duel and not crash. I also added thorazi code to it, So now both side's can party again.:)

    git://github.com/winslow/Playerbot.git

  10. @Runsttren thank you

    @Yad02

    2>PlayerbotAI.cpp
    2>..\\..\\src\\game\\PlayerbotShamanAI.cpp(96) : error C2039: 'Follow'*: n'est pas membre de 'PlayerbotAI'
    2>        u:\\svn\\mangos-patchs\\src\\game\\PlayerbotAI.h(16)*: voir la déclaration de 'PlayerbotAI'
    2>Player.cpp
    2>..\\..\\src\\game\\PlayerbotAI.cpp(808) : error C2039: 'AddUnitMovementFlag'*: n'est pas membre de 'Player'
    2>        u:\\svn\\mangos-patchs\\src\\game\\Player.h(905)*: voir la déclaration de 'Player'
    2>..\\..\\src\\game\\PlayerbotAI.cpp(820) : error C2039: 'RemoveUnitMovementFlag'*: n'est pas membre de 'Player'
    2>        u:\\svn\\mangos-patchs\\src\\game\\Player.h(905)*: voir la déclaration de 'Player'
    2>..\\..\\src\\game\\PlayerbotAI.cpp(1954) : error C2039: 'x'*: n'est pas membre de 'WorldLocation'
    2>        u:\\svn\\mangos-patchs\\src\\game\\Object.h(100)*: voir la déclaration de 'WorldLocation'
    2>..\\..\\src\\game\\PlayerbotAI.cpp(1954) : error C2039: 'y'*: n'est pas membre de 'WorldLocation'
    2>        u:\\svn\\mangos-patchs\\src\\game\\Object.h(100)*: voir la déclaration de 'WorldLocation'
    2>..\\..\\src\\game\\PlayerbotAI.cpp(1954) : error C2039: 'z'*: n'est pas membre de 'WorldLocation'
    2>        u:\\svn\\mangos-patchs\\src\\game\\Object.h(100)*: voir la déclaration de 'WorldLocation'
    2>..\\..\\src\\game\\Player.cpp(6339) : error C3861: 'HasUnitMovementFlag'*: identificateur introuvable

    fixed and pushed thank you

    @marry521 always pull playerbot first git://github.com/playerbot/mangos.git then pull from other's

  11. @marry521

    PlayerbotAI.cpp

    ..\\..\\src\\game\\PlayerbotAI.cpp(795) : error C2039: “AddUnitMovementFlag”: not “Player”member

    ..\\..\\src\\game\\PlayerbotAI.cpp(807) : error C2039: “RemoveUnitMovementFlag”: not “Player”member

    I just pulled and complied with no errors. Are you trying to merge with another patch.

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