• Visit Rebornbuddy
  • Enemies in range.

    Discussion in 'Community Developer Forum' started by Exmortem, Apr 10, 2014.

    1. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Any idea why some enemies appear as multiple enemies? ie: Titan triggers AOE when AOE is set at EnemiesInRange(5) > 3
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,231
      Likes Received:
      364
      Trophy Points:
      83
      I think that fight has a bunch of invisible copies of ifrit flying around. Dump the local objects.

      Code:
      ClearLog();
      foreach(var x in GameObjectManager.GameObjects.OrderBy(r=>r.Distance()))
      {
      Log("Name:{0} Visible:{1} Type:{2} Distance:{3} ObjectType:{4}",x,x.IsVisible,x.Type,x.Distance(),x.GetType());
      }
      
       
    3. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Interesting, i'll do some research, doesn't just happen with Titan so i'll try to find a common denominator.
       
    4. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Can RB make the distinction between normal mobs and bosses? Some bosses appear with multiple copies of themselves thus triggering aoe.

      Code:
      Name:Catoblepas 0x143E8E30 Visible:True Type:BattleNpc Distance:78.65954 ObjectType:ff14bot.Objects.BattleCharacter
      Name:Catoblepas 0x143B8230 Visible:True Type:BattleNpc Distance:78.96015 ObjectType:ff14bot.Objects.BattleCharacter
      Name:Catoblepas 0x143D4930 Visible:True Type:BattleNpc Distance:79.26123 ObjectType:ff14bot.Objects.BattleCharacter
      Name:Catoblepas 0x143BC330 Visible:True Type:BattleNpc Distance:79.44606 ObjectType:ff14bot.Objects.BattleCharacter
      
      Thats in Halatali.
       
      Last edited: Apr 12, 2014
    5. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,231
      Likes Received:
      364
      Trophy Points:
      83
      Check the object id.
       
    6. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      0x14 is bosses only?
       
    7. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,231
      Likes Received:
      364
      Trophy Points:
      83
      What...? Check the object id property.....
       
    8. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      I never did any programming till I started getting into RB, so sorry if what I said was retarded. What I mean is I noticed that event NPCs names when dumped into the log have 0x12 after them, normal mobs have 0x13 and that one boss had 0x14 - so I thought maybe boss mobs had 0x14 in their names. ObjectId returns their id number, nothing else as far as I can tell, I was just hoping it was possible to have an attribute like IsFate but would be IsBoss but I know that wouldn't be possible if the game doesn't make the distinction between normal mobs and boss mobs.
       
    9. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,231
      Likes Received:
      364
      Trophy Points:
      83
      The number after their name is their location in memory.

      Code:
      ClearLog();
      foreach(var x in GameObjectManager.GameObjects.OrderBy(r=>r.Distance()))
      {
      Log("Name:{0} Visible:{1} Type:{2} Distance:{3} ObjectType:{4} ObjectID:{5}",x,x.IsVisible,x.Type,x.Distance(),x.GetType(),x.ObjectId);
      }
      
       

    Share This Page