Spawn logging?
Posted: Tue May 18, 2004 10:25 am
What I'd like to do is just write a simple macro that would log all spawns in a zone. Name, class, level, and loc. (Hmmm, can we get spawntime too?) Just a simple run into a zone, and log data for a couple days. Seems simple enough when I first though about doing it, but I don't know how I'd check to make sure I got all new spawns and not overlap with the old ones. I'm not a macro novice so it seems like I should be able to figure it out.
I'm sure somehow I need to use LastSpawn and keep track of it, but somehow the exact logic is escaping me. How would I deal with multiple spawns happening at once? If that's the case I can't just check every 1s and log the last one, but I'm sure that's kinda close.
I've just never used LastSpawn and Spawn.Prev and Spawn.Next so I'm looking for some direction. But this seems simple enough that any example that someone could give me on how to use these commands would pretty much be the whole macro anyway. :)
I guess the next step after logging all the spawns is to log their deaths to see if there is any pattern to some of those rares out there. (Quillimane, AC, Pyzjn, or any other pseudo-random rare.) That should be easy to code once I have a basic example of keeping track of a zonewide spawnlist.
Thanks for any help!
-SimpleMynd
I'm sure somehow I need to use LastSpawn and keep track of it, but somehow the exact logic is escaping me. How would I deal with multiple spawns happening at once? If that's the case I can't just check every 1s and log the last one, but I'm sure that's kinda close.
I've just never used LastSpawn and Spawn.Prev and Spawn.Next so I'm looking for some direction. But this seems simple enough that any example that someone could give me on how to use these commands would pretty much be the whole macro anyway. :)
I guess the next step after logging all the spawns is to log their deaths to see if there is any pattern to some of those rares out there. (Quillimane, AC, Pyzjn, or any other pseudo-random rare.) That should be easy to code once I have a basic example of keeping track of a zonewide spawnlist.
Thanks for any help!
-SimpleMynd