6 Commits
Author SHA1 Message Date
Anubisss ca17e1c7e4 Add a missing semicolon (;) to a SQL.
Signed-off-by: Anubisss <[email protected]>
2012-02-26 05:15:20 +01:00
Anubisss ccb80da1e1 Fixed crash in the Twin Valkyrs encounter in ToC. closes #4915 2012-02-15 19:57:57 -05:00
Anubisss 1b0843194f Fix gender exploit.
Now check that character has a valid gender (and not an invalid via packet modifications).
This check works when trying to create a character or when building the character list.
If gender is invalid (neither male nor female): can't create the character and can't see in the characters' list (and also can't login with it via packet modding).

Signed-off-by: Anubisss <[email protected]>
2011-04-01 05:05:13 +02:00
Anubisss 5fe6c225e2 Fix a login exploit.
Make a list of GUIDs that purpose is which characters can login per account.
This fixes an exploit that player can login (but shouldn't) with packet manipulation.

Signed-off-by: Anubisss <[email protected]>
2011-04-01 03:11:57 +02:00
Anubisss 806794d4ce Fix a crash in Spell::CheckCast().
This crash happens when effect is SPELL_EFFECT_TALENT_SPEC_SELECT and the caster is not a player.
You should always check object's type (or sure that object is 101% a player) before you use ToPlayer() casting function.

Signed-off-by: Anubisss <[email protected]>
2011-01-12 02:06:06 +01:00
Anubisss 80da87f015 Add one more check to EffectDispel.
Passive auras are not dispelable.
This fixes a bug like spell Omen of Clarity (16864) can be dispelled by Purge (370) if you have a non passive aura like Mark of the Wild (1126).

Signed-off-by: Anubisss <[email protected]>
2011-01-02 22:43:36 +01:00