View Full Version : Tracking kill totals for Titles?
Bytebait
05-19-2021, 01:19 PM
I searched and couldn't find an answer, maybe my terminology is wrong.
Is there a built in way to track player kills to give Titles?
For example, if I wanted to give a title to a player that has killed five bunnies.
Bytebait
05-24-2021, 10:59 AM
Will this require a unique DB entry for the character?
Splose
05-25-2021, 06:13 AM
I searched and couldn't find an answer, maybe my terminology is wrong.
Is there a built in way to track player kills to give Titles?
For example, if I wanted to give a title to a player that has killed five bunnies.
There's not really a built-in way, persay. But the thing you are looking for is 'data buckets'. You would have to script a data bucket to increment on event_killed_merit or event_death_complete. (I guess this could also be done through the task system by making a kill task and rewarding the title as a quest reward via a script)
There's a wiki entry on data buckets here (https://eqemu.gitbook.io/server/categories/scripting/using-data-buckets).. and a link to some examples of them in use in the code here (http://spire.akkadius.com/quest-api-explorer?lang=perl&q=set_data) and here (http://spire.akkadius.com/quest-api-explorer?lang=perl&q=get_data).
If you have any more questions on this you would be better off asking in the EQEmu Discord (https://discord.gg/QHsm7CD).. We are much more active over there and we would be glad to help you.
Bytebait
05-25-2021, 10:20 AM
There's not really a built-in way, persay. But the thing you are looking for is 'data buckets'. You would have to script a data bucket to increment on event_killed_merit or event_death_complete. (I guess this could also be done through the task system by making a kill task and rewarding the title as a quest reward via a script)
There's a wiki entry on data buckets here (https://eqemu.gitbook.io/server/categories/scripting/using-data-buckets).. and a link to some examples of them in use in the code here (http://spire.akkadius.com/quest-api-explorer?lang=perl&q=set_data) and here (http://spire.akkadius.com/quest-api-explorer?lang=perl&q=get_data).
If you have any more questions on this you would be better off asking in the EQEmu Discord (https://discord.gg/QHsm7CD).. We are much more active over there and we would be glad to help you.
Perfect! Thank you for the direction. :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.