zergtmn
Members-
Posts
230 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by zergtmn
-
Maybe related to spell http://www.wowhead.com/spell=66530 that was added recently?
-
Sorry but I'm still unable to find any place using 'Find In Files' in Visual Studio where m_deleted is set to true. My suggestion: http://paste2.org/p/937517
-
bool m_permanent:1; bool m_isPassive:1; bool m_isDeathPersist:1; bool m_isRemovedOnShapeLost:1; bool m_isSingleTarget:1; bool m_deleted:1; All these bools are packed into single byte. So we shouldn't care... No. Even if elements in list are sorted search in list require access to all elements in worst case. But SpellAuraHolder::IsDeleted() is still used.
-
Searching for element in list has complexity of O(n). It's slow.
-
After taking a look at commit http://github.com/mangos/mangos/commit/5003fd95f20752c1ce19b83de0296fedc56ed557 I can't find any place where m_deleted is changed to true. If I correctly understand its purpose there should be something like http://paste2.org/p/936865
-
Yea, I know. In such case GetSpellProto can return NULL or invalid pointer or even crash before return depending on configuration. Checking result of GetSpellProto every time as was recommended in first post is just stupid. Better find real double deletion bug if it exists instead of filling code with hacks.
-
Not-existing spells are NOT casted and so aura holders are NOT created for them. I think it's simple to understand. Maybe you have seen this in SpellAuraHolder contructor: ASSERT(spellproto && spellproto == sSpellStore.LookupEntry( spellproto->Id ) && "`info` must be pointer to sSpellStore element"); Think before replying, please.
-
Way to reproduce: 1. Cast any spell that apply aura on self 2. Ask someone to cast same spell on you. Spell must stack from different casters 3. Use .save 4. See error like: SQL: INSERT INTO character_aura (guid, caster_guid, spell, stackcount, remaincha rges, basepoints0, basepoints1, basepoints2, maxduration0, maxduration1, maxdura tion2, remaintime0, remaintime1, remaintime2, effIndexMask) VALUES ('9', '9', '4 8441', '1', '0', '1662', '0', '0', '18000', '0', '0', '15800', '0', '0', '1') SQL ERROR: Duplicate entry '9-48441' for key 'PRIMARY' Fix: ALTER TABLE `character_aura` DROP PRIMARY KEY; ALTER TABLE `character_aura` ADD PRIMARY KEY (`guid`,`caster_guid`,`spell`); ALTER TABLE `pet_aura` DROP PRIMARY KEY; ALTER TABLE `pet_aura` ADD PRIMARY KEY (`guid`,`caster_guid`,`spell`); (old primary key was guid + spell)
-
Mangos uses vmaps for correct detection of areas. You have to enable vmaps in config.
-
dynamic_cast is slower than static_cast + typeid check.
-
[patch] 10% healing reduction on battlegrounds and arenas
zergtmn replied to a topic in ... acceptedOld
I don't know what spell blizz use for absorb reduction. With a big chance it can be a server-side spell... -
In creature_addon guid is signed currently.
-
I think it is useless to check here because aura and effect handlers already have all required checks. I'd rather allow such funny spells to work on npcs too.
-
[hack?] Enchants and gems on heroic items
zergtmn replied to darkstalker's topic in ... under reviewOld
Yes. Flags sent in HandleItemQuerySingleOpcode are unchanged. -
This typo forces config to be saved as UTF8 in some text editors. http://paste2.org/p/928154
-
What bug does the patch fix? What features does the patch add? Implement 10% healing reduction on battlegrounds and arenas For which repository revision was the patch created? 10258 Who has been writing this patch? Please include either forum user names or email addresses. Me http://paste2.org/p/928131
-
Isn't this check useless? if(m_caster->GetTypeId() != TYPEID_PLAYER) return;
-
Was working fine for me when I tested on 10186 last time. Tested in Ulduar.
-
Ok, I have found out that Blizz use spells like http://www.wowhead.com/spell=72242 for disabling power regen. So regeneration for creatures and vehicles can be implemented in the same way. First post updated.
-
Mangos Version:10258 How it SHOULD work: Duration diminishing should be applied before any other duration reduction effects. How it DOES work: Duration diminishing is applied after other duration reduction effects. For example, when spell http://www.wowhead.com/spell=53308 is used against a PvP target with 30% root duration reduction, applied auras have 7 second duration on official server. On mangos they have 10 second duration.
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®