Is there a Lua script/mod that will do this...... ?

Discussion in 'Lua Discussions' started by FrostII, Dec 19, 2019.

Thread Status:
Not open for further replies.
  1. FrostII

    FrostII Bug Hunter

    Messages:
    5,884
    Likes Received:
    11,033
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    Is there a current script/mod that would allow us to see the loot drop for any single mob in the game ?

    I would like to be able to filter the API and look for the following:

    All loot dropped in any specific time frame - by a specific mob "type", IE say all Elite Skeleton Archers as an example of mob "type".

    All loot dropped in any specific time frame -by any specific "named" boss.

    The specific time/(or scene if applicable) of the above.

    Thx in advance for your input....... ;)
     
  2. FrostII

    FrostII Bug Hunter

    Messages:
    5,884
    Likes Received:
    11,033
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    Oh, and I'd also love to be able to search for specific loot items (IE arty's) and see exactly when and where they dropped and by what mob/boss.
     
    Mhtic likes this.
  3. DavidDC

    DavidDC Programmer Moderator SOTA Developer

    Messages:
    1,532
    Likes Received:
    3,236
    Trophy Points:
    113
    Gender:
    Male
    Its impossible to know what monster you have looted right now, since its just going over the top of many monster and aoe looting anything around (you dont get the name of the monster when you loot an item on chat log) so yeah :\ will take sometime, unless someone already have a whole list of that which can be included anytime..
     
    Anpu likes this.
  4. FrostII

    FrostII Bug Hunter

    Messages:
    5,884
    Likes Received:
    11,033
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    The chat log gives that info (what monster was looted and what the loot was), so you're saying the API does not have the basic info that the chat log does?
     
  5. DavidDC

    DavidDC Programmer Moderator SOTA Developer

    Messages:
    1,532
    Likes Received:
    3,236
    Trophy Points:
    113
    Gender:
    Male
    When you loot a monster, the chatlog only says the item you get, not from what monster if im right...
     
    Anpu likes this.
  6. FrostII

    FrostII Bug Hunter

    Messages:
    5,884
    Likes Received:
    11,033
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Pacific Northwest
    The monster appears right above the loot by saying "such and such has been slain " ...

    Edit:
    There is a complication in parsing the chat log and that is if you kill a half dozen mobs and then go back and loot, there's no way of knowing which corpse held what... hmmm

    I guess it can't be done unless a person loots each corpse in order of killing them, which can be tough...

    It would work on bosses 'tho, since they are one off kills for the most part... hmmm
     
    Last edited: Dec 20, 2019
  7. Toular

    Toular Avatar

    Messages:
    661
    Likes Received:
    631
    Trophy Points:
    93
    If the chat logs are "enhanced" to something like:
    [12/19/2019 10:50:11 PM] You looted an item (Corpse Wax x3) from a Lich Mage.

    Then it would be trivial, but there's a further complication in that most mobs have tiers, and each tier can have different loot.
     
    FrostII and Mhtic like this.
  8. DavidDC

    DavidDC Programmer Moderator SOTA Developer

    Messages:
    1,532
    Likes Received:
    3,236
    Trophy Points:
    113
    Gender:
    Male
    I know that when you open a corpse you can see the name top of the loot window, if the devs add to that the hp of the monster, that will give us a hint of what tier it is (even if we dont really know the tier, we know its higher than the preceding one with less hp) but then we can put the loot specifically to that kind.

    So the devs need to return us a way to get this event just like the OnGui or OnUpdate function, but OnLoot, with a variable that hold the monsterName,monsterHealth,items values
     
    Anpu and FrostII like this.
Thread Status:
Not open for further replies.