• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver
KillCount.inc

Release KillCount.inc 1.0

No permission to download
Joined
Feb 6, 2007
RedCents
1,683¢
Wrote a little macro addon to track your killcount and experience over time. Spams experience gains and average time to kill each mob every 6 minutes.
Only briefly tested but should work with any macro.

Usage:
add #include killcount.inc - before your macro's sub main, somewhere near #include ninjadvloot.inc
add /call setupkillcountvaribles - before your macro's main loop, somewhere near /call SetupAdvLootVars

NOTE: spam is limited to once every 6 minutes. To change edit the line **/varset KCSpamTimer 6m** in this file
Works best for actual melee toons, casters may or may not see the slain message that triggers kill event.

- - - Updated - - -

New file uploaded - 8/18/16
Updated to correct minor XP tracking error and division by zero error.
Update 8/18/16: simplified the call routine, makes it easier to add to macro.
 
Last edited:
Just a reminder to those using this include with kissassist. You will have to add the #include and /call again after the update.
 
I am going to steal this and incorporate it into the xp message after kills in Kiss
 
I am going to steal this and incorporate it into the xp message after kills in Kiss

AWESOME someone stealing some of my code.... after all the code I borrow over the years...


Really, do you have any idea how long it took to get the formulas correct....
Actually that's exactly how it works, slain event triggers count and when timer expires it spews. Kind of awesome knowing how many mobs you killed over the last 47 hours....

I am thinking about adding tracking of loot value to this. Something like you have looted x plat in vender trash.... averaging x plat per hour or kill...

- - - Updated - - -

geezos Son, don't you evar sleep?

1. Who can sleep when the mind is active....

2. There will be plenty of time to sleep after you die....

3. I do some of my best work in the dark, in my sleep....
 
Is there a way to make this look for "you gain experience" or whatever it says, and 2nd hand looking for "slain"? That way you can help casters out immensely, while also catering for kill count in groups that don't recieve XP for one reason or another.
 
Is there a way to make this look for "you gain experience" or whatever it says, and 2nd hand looking for "slain"? That way you can help casters out immensely, while also catering for kill count in groups that don't recieve XP for one reason or another.

Certainly... I'm gonna test a bit and post changes shortly...

Took me a while to remember why... "you gain experience" mess up the count if you are doing quests, anyway for the casters...

Rich (BB code):
|**
KillCount.inc by hoosierbilly - June 2016

Tracks how many mobs you kill and how much experience you gain over time, spams data every 6 minutes.

Usage: 
add #include killcount.inc  -  before your macro's sub main, somewhere near #include ninjadvloot.inc
add /call setupkillcountvaribles  -  before your macro's main loop, somewhere near /call SetupAdvLootVars
NOTE: spam is limited to once every 6 minutes. To change edit the line **/varset KCSpamTimer 6m** in this file
Works best for melee toons, casters may or may not see the slain message that triggers kill event.
**|

|#Event KCcountevent "#*# #1# has been slain#*#"
|#Event KCcountevent "#*#you have slain#*#"
#Event KCcountevent "#*#you gain party experience#*#"
#Event KCcountevent "#*#you gain experience#*#"

Sub setupkillcountvaribles
	/declare KCStartTime	int	outer	${Macro.RunTime}
	/declare KCMobCount		int	outer	0
	/declare KCStartLevel	int	outer	${Me.Level}
	/declare KCStartAAPts	int	outer	${Me.AAPointsTotal}
	/declare KCStartPctXP	float outer	${Me.PctExp}
	/declare KCStartPctAA	float outer	${Me.PctAAExp}
	/declare KCSpamTimer	timer outer	6m
	/echo Good Morning, Hal, The KillCount variables are set.
/return

Sub Event_KCcountevent(S0,S1)
	/echo Event_KCcountevent, next spew in ${Math.Calc[${KCSpamTimer}/10]} seconds
	/doevents flush KCcountevent
	/if (${S1.Equal[pet]}) /return
	/varcalc KCMobCount ${KCMobCount}+1
	/if (${KCSpamTimer} || !${KCMobCount}) /return
	/echo What are you doing, Hal?
	/echo KillCount: You have killed ${KCMobCount} mob(s) in ${Math.Calc[(${Macro.RunTime}-${KCStartTime})/3600]} hours. 
	/echo KillCount: Averaging ${Math.Calc[((${Macro.RunTime}-${KCStartTime})/60)/${KCMobCount}]} minutes per kill. 
	/echo KillCount: You have gained ${Math.Calc[${Me.Level}-${KCStartLevel}]} level(s) and ${Math.Calc[((${Me.Level}-${KCStartLevel})*100)+(${Me.PctExp}-${KCStartPctXP})]}% Regular Exp.
	/echo KillCount: You have gained ${Math.Calc[${Me.AAPointsTotal}-${KCStartAAPts}]} AA Point(s) and ${Math.Calc[((${Me.AAPointsTotal}-${KCStartAAPts})*100)+(${Me.PctAAExp}-${KCStartPctAA})]}% AA Exp.
	/varset KCSpamTimer 6m
/return
 
Last edited:
This really is a much needed work of art. You deserve a medal for this. This is one of those things that you always needed but never got around to coding.

It proves my suspicions about what camp produces more kills than another. I am getting around 100 kills per hour, which is about half of what I thought I was getting, but, this also proves that my most productive camp is indeed the most productive, by about 20%.

Good work, as always Bud!

SlicedBread.jpg
 
Last edited:
Release KillCount.inc

Users who are viewing this thread

Back
Top
Cart