1. #1
    Deleted

    Boss Location - WoWAPI and Warcraftlogs

    I am looking to make a custom weakaura for my raids, but to do this I will need to know the Bosses location. I have found the UnitPosition function in the API but reading into this function on various sites tells me I can only pass "Player", "PartyN" or "RaidN" for the unit type and so "BossN" would not work. (I have not actually tested "BossN" as I am not able to get on WoW at this time)

    My question is, if I can't use the API to get the bosses location, how do logging sites like Warcraft logs get them? I know they must get them somehow, as you can play-back the encounter and it maps out players and enemy's on the map...

    Thanks

  2. #2
    Quote Originally Posted by Waterlol View Post
    if I can't use the API to get the bosses location, how do logging sites like Warcraft logs get them?
    It's quite simple: with Advanced Combat Logging being on WoW writes that information to the file containing your combat logs.

  3. #3
    Edit:
    I first said it didn't write to the combat logs, but this was actually true. Never heard of that option before
    Last edited by Ketho; 2015-09-05 at 07:06 AM.

  4. #4
    Quote Originally Posted by Sinelle View Post
    with Advanced Combat Logging being on
    Quote Originally Posted by Ketho View Post
    Location info is not written to the WoWCombatLog.txt file
    Code:
    9/5 05:47:33.176  SPELL_CAST_SUCCESS,Player-3675-06E3BBDD,"Lydár-MoonGuard",0x518,0x0,0000000000000000,nil,0x80000000,0x80000000,187935,"Dazzling Rod",0x1,0000000000000000,0000000000000000,0,0,0,0,0,0,0,0,0.00,0.00,0
    9/5 05:47:33.278  SPELL_HEAL,Player-3675-0750EA03,"Rawrkitten-MoonGuard",0x518,0x0,Player-3675-06DC53B5,"Yangshen-MoonGuard",0x518,0x0,145110,"Ysera's Gift",0x8,0000000000000000,0000000000000000,0,0,0,0,0,0,0,0,0.00,0.00,0,732,0,0,nil,nil
    9/5 05:47:33.444  UNIT_DIED,0000000000000000,nil,0x80000000,0x80000000,Creature-0-3675-0-42-76642-00006A6585,"Crashin' Thrashin' Mortar",0x1118,0x0
    9/5 05:47:34.848  SPELL_CAST_SUCCESS,Player-3675-06E40261,"Såkøyå-MoonGuard",0x518,0x0,Player-3675-07524711,"Pinkfist-MoonGuard",0x518,0x0,2061,"Flash Heal",0x2,0000000000000000,0000000000000000,0,0,0,0,0,0,0,0,0.00,0.00,0
    9/5 05:47:34.848  SPELL_AURA_APPLIED_DOSE,Player-3675-06E40261,"Såkøyå-MoonGuard",0x518,0x0,Player-3675-06E40261,"Såkøyå-MoonGuard",0x518,0x0,63735,"Serendipity",0x2,BUFF,2
    9/5 05:47:34.848  SPELL_HEAL,Player-3675-06E40261,"Såkøyå-MoonGuard",0x518,0x0,Player-3675-07524711,"Pinkfist-MoonGuard",0x518,0x0,2061,"Flash Heal",0x2,0000000000000000,0000000000000000,0,0,0,0,0,0,0,0,0.00,0.00,0,1973,1973,0,nil,nil
    This is a log with Advanced Combat Logging turned off
    Code:
    Dump: value=UnitPosition("player")
    [1]=5608.3999023438,
    [2]=4375.3002929688,
    Code:
    SWING_DAMAGE,Player-1403-05D05D66,"Evilynn-Draenor",0x511,0x0,Creature-0-3113-1153-22861-87761-00006A92B0,"Dungeoneer's Training Dummy",0x10a28,0x0,Player-1403-05D05D66,0000000000000000,485460,485460,8884,572,0,6,0,1000,5608.44,4375.33,714,9373,-1,1,0,0,0,nil,nil,nil,nil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •