Jump to content

Bramm

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Bramm

  1. Greetings Blueboy and other Bot Developers,

    I've been a fan of this work for some time now and am fascinated with what has been accomplished in the solution over the past few years. I was thinking about developing a relative position controller as an academic excercise (Im currently in grad school studying controls), and figured this could be interesting with a squadron of bots. This would probably be more useful in non combat situations when the team is dungeon crawling or navigating a road and could prevent the pile up resulting from all bots tracking an equivalent follow the master command.

    For such a real time algorithm, it looks like everthing is in place... master xyz position, bot xyz position, and a 1 hz time update rate with the p_time variable? Also it looks like the mbot relocate command can be used for positioning... what do you think.

    Enthusiastic to make a contribution!

    Sincerely,

    Bramm

    <relevant code snippet>

    / This is called from Unit.cpp and is called every second (I think)

    void UpdateAI(const uint32 p_time

    float x, y, z; pTarget->GetContactPoint(m_bot, x, y, z, 3.666666f);

    m_bot->Relocate(x, y, z);

    <\\relevant code snippet>

  2. Good evening Blueboy, I'm not running any other patches or mods in the setup. From what I've seen, the crashes have occurred after spawning and grouping the bots and performing some amount of combat. I can't really pinpoint it to using an instance yet although this was the fact for one of the more recent occurences. I just updated to the a more current Revision 9573 and merged the updated blueboy thread and haven't seen anything yet. If I do, I will go add the monitor flag per your suggestion in #914 and report in w/ findings.

    Thanks,

    Bramm

  3. Just a quick update to help troubleshoot some of the crashes, per post #892 I've updated w/ this patch (commented the typedefs) to Revision 9518, sd2 1627 w/ the following log:

    Revision: * * 9518 7ad3aeecc84b474dd52ed90e65414bfeecefea76
    Date 10:3:2010. Time 21:34 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
    Number Of Processors: 1
    Physical Memory: 1047532 KB (Available: 105532 KB)
    Commit Charge Limit: 2520240 KB
    
    *** Operation System ***
    Microsoft Windows XP Professional Service Pack 3 (Version 5.1, Build 2600)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  007AA0FC 01:003A90FC C:\\mangos\\mangosd.exe
    
    Registers:
    EAX:00000000
    EBX:7F524158
    ECX:7F467A60
    EDX:00009729
    ESI:00000000
    EDI:008F50B0
    CS:EIP:001B:007AA0FC
    SS:ESP:0023:07E3F244  EBP:07E3F274
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010206
    
    Call stack:
    Address   Frame     Function      SourceFile
    007AA0FC  00000000  PlayerbotAI::HasAura+C
    007AE9CB  00000000  PlayerbotAI::CastSpell+17B
    007AE7F4  00000000  PlayerbotAI::CastSpell+A4
    008A7BCD  00000000  PlayerbotMageAI::DoNextCombatManeuver+27D
    007AB64A  00000000  PlayerbotAI::DoNextCombatManeuver+1CA
    007AE3D1  00000000  PlayerbotAI::UpdateAI+641
    0050784F  00000000  Player::Update+F0F
    004DF3BA  00000000  Map::Update+CA
    006904B8  00000000  MapManager::Update+128
    00630FD0  00000000  World::Update+780
    004527FE  00000000  WorldRunnable::run+8E
    008F50C9  00000000  ACE_Based::Thread::ThreadTask+19
    002A1B84  00000000  __WSAFDIsSet+FFFFFFFFFFFCCB4C
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    7C80B729  00000000  GetModuleFileNameA+1BA
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C90E514  00000000  KiFastSystemCallRet+0
    7C802542  00000000  WaitForSingleObject+12
    00259C04  00000000  __WSAFDIsSet+FFFFFFFFFFF84BCC
    002C64AA  00000000  __WSAFDIsSet+FFFFFFFFFFFF1472
    002C266F  00000000  __WSAFDIsSet+FFFFFFFFFFFED637
    0064913A  00000000  WorldSocketMgr::Wait+4A
    77B8D804  00000000  0000:00000000 
    77B8D804  00000000  0000:00000000 
    6C696146  00000000
    

  4. Hello Blueboy, very impressive work sir. I've been successfully running your patch for a few days now and I must say the AI has come a long way since I last attempted to bring in this work. Nice!

    I have run into a couple crashes occasionally after populating about 3 bots in a group -- the purpose of this message is to attempt to provide some helpful info on the nature of this crash for future dev.

    In the mean time, I'm going to update to your latest patch as described above. Please let me know if this info is helpful at all or how I may offer assistance with this effort. Thanks.

    Sincerely,

    Bramm

    MaNGOS/0.16.0-DEV, Revision 9469

    udb 0.11.6, pack 387, acid 3.0.3, sd2 1608

    from Server.log

    2010-03-04 19:25:27 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:25:27 ERROR:SESSION: received not allowed opcode CMSG_LFD_PARTY_LOCK_INFO_REQUEST (0x0371)

    2010-03-04 19:25:55 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:26:10 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:26:49 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:26:54 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:27:35 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

    2010-03-04 19:27:35 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)

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