Decal Development Forums Forum Index Decal Development Forums
www.decaldev.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New cooldown data

 
Post new topic   Reply to topic    Decal Development Forums Forum Index -> Decal Development
View previous topic :: View next topic  
Author Message
Flynn1179



Joined: 04 Aug 2002
Posts: 92
Location: UK

PostPosted: Tue Apr 15, 2008 5:57 pm    Post subject: New cooldown data Reply with quote

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
View user's profile Send private message Visit poster's website
Flynn1179



Joined: 04 Aug 2002
Posts: 92
Location: UK

PostPosted: Wed Apr 16, 2008 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Flipo



Joined: 01 Feb 2004
Posts: 64

PostPosted: Sun Apr 27, 2008 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Flynn1179



Joined: 04 Aug 2002
Posts: 92
Location: UK

PostPosted: Sun Apr 27, 2008 5:35 pm    Post subject: Reply with quote

It would; the timer is on the item, not the spell it casts.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Decal Development Forums Forum Index -> Decal Development All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group