| View previous topic :: View next topic |
| Author |
Message |
Flynn1179
Joined: 04 Aug 2002 Posts: 92 Location: UK
|
Posted: Tue Apr 15, 2008 5:57 pm Post subject: New cooldown data |
|
|
With the April patch, cooldowns have been added into the game, and these may cause issues with some plugins.
Simply put, the cooldown information is treated almost identically to an enchantment on the player. The implementation is similar enough that CharacterFilter can't tell the difference between an enchantment and cooldown information. Consequently, you may see 'spells' on the player that have an ID that doesn't exist in SpellFilter. Any plugins which use enchantment data in any way, such as one which does a debuff hud, may potentially fail.
I know AC+ suffers from this, and the debuff hud will probably crash your client; as soon as I can I'll try to get an update out, but my time is very limited right now. I can't comment on other plugins, however.
This does also mean that if you want to track cooldowns, you can use this enchantment data. Right now however, beyond the fact that an enchantment with a spell ID that doesn't exist is probably a cooldown, I'm not sure how useful this will be yet.
Flynn |
|
| Back to top |
|
 |
Flynn1179
Joined: 04 Aug 2002 Posts: 92 Location: UK
|
Posted: Wed Apr 16, 2008 10:07 am Post subject: |
|
|
Just discovered another 'bug'. An effect which removes all enchantments, such as the death of the character, will cause CharacterFilter to forget about any cooldowns in effect; because they're treated as enchantments, it assumes they're dropped as well, when in fact, they're not.
If you're checking for the existence of a cooldown by iterating through the list of active enchantments, be aware that a recent 'drop all enchantments' effect will give you a false negative. |
|
| Back to top |
|
 |
Flipo
Joined: 01 Feb 2004 Posts: 64
|
Posted: Sun Apr 27, 2008 10:29 am Post subject: |
|
|
Another tid bit of information I saw last night when i hit a trap while doing caul recall quest.
If you use the gem and it fails to cast the cool down timer is in effect. |
|
| Back to top |
|
 |
Flynn1179
Joined: 04 Aug 2002 Posts: 92 Location: UK
|
Posted: Sun Apr 27, 2008 5:35 pm Post subject: |
|
|
| It would; the timer is on the item, not the spell it casts. |
|
| Back to top |
|
 |
|