EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Tracking kill totals for Titles? (https://www.eqemulator.org/forums/showthread.php?t=43308)

Bytebait 05-19-2021 01:19 PM

Tracking kill totals for Titles?
 
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

Quote:

Originally Posted by Bytebait (Post 266678)
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.. and a link to some examples of them in use in the code here and here.

If you have any more questions on this you would be better off asking in the EQEmu Discord.. We are much more active over there and we would be glad to help you.

Bytebait 05-25-2021 10:20 AM

Quote:

Originally Posted by Splose (Post 266688)
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.. and a link to some examples of them in use in the code here and here.

If you have any more questions on this you would be better off asking in the EQEmu Discord.. We are much more active over there and we would be glad to help you.

Perfect! Thank you for the direction. :)


All times are GMT -4. The time now is 09:27 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.