Jump to content

some help with a custom patch [zero]


kupix

Recommended Posts

Posted

i'm looking for some hints rather then solution (at least i'll learn something).

i'm trying to add some statistics to zero-server, like killed creatures, droped items from creatures. all stored in db.

in retail player could see how many creatures killed. on websites like wowhead, you could find info about specific item droped from various creatures (with percentage values).

kupix

Posted

Those datas on various websites most likely comes from third party programms people had running while playing. Such programms gather informations about nearby ores, flowers, dead creatures and their loot and so on. Blizzard don't provide any data to such websites.

So now in order to log certain events to the database you only have to find the key spot for doing this. Once you've found the right spot it's just a simple insert statement into your table.

For example if you want to log whenever a creature's slain by a player, you'll probably do this in the function [tt]JustKilledCreature[/tt].

Note that excessive logging can cause massive CPU load and increased IO rate, which can lead to lags.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use