Commit graph

2164 commits

Author SHA1 Message Date
ApoC
d17a49f6dc [8112] Fixed proc conditions for 63156 and ranks
* Fixed proc spell flags.
* Fixed proc only on victim's certain level of HP.

signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 11:41:38 +02:00
ApoC
aab121fcb2 [8111] Implemented support for implicit specify owner when initializing stats for summoned pets.
* Speedup of summoning pets (no need to seach owner by guid)
* Fixed problem that summond pets from NPC had not initialized stats
  (pet was not in world in time of stat init thus owner was not found)

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-03 19:28:22 +02:00
Lightguard
06dcbce4ee [8110] Implement aura SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE (229).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 13:41:36 +04:00
zuudu
7091e84f38 Fixed old typo in disarm diminishing selection.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 12:59:52 +04:00
Lightguard
b768bbb8ff [8109] Implement some more PvP aura duration limits.
Thanks for reseach to Alez.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 12:56:08 +04:00
lukaasm
1498f93e49 [8108] Fixed a case in resetting group binds where the actual map reset was done even though it had permanent binds.
This is a temp fix as the function should be rewritten to be more clear / less error prone.

Signed-off-by: Wyk3d <Wyk3d@getmangos.com>
2009-07-02 15:41:01 +03:00
GriffonHeart
fbfbdf6d13 [8107] Fixed sql queries included in [8098].
Old version break stored action spell ids, but this is not critical damage so
restore data at applied damage not done in fix. But it will fix errors at new characters creating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:22:20 +04:00
VladimirMangos
8089b3bc91 [8106] Revert "Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty."
This reverts commit 655bb6125abcba28318b2074e1624bb4eb21cadd.

After discussion with Wyk3d fix considered as wrong way.
2009-07-02 00:01:43 +04:00
Ambal
3f7351ec25 [8105] Compile fix under Linux/BSD systems.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-01 14:22:27 +02:00
BonDit
cac105f83e Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-01 14:50:21 +04:00
VladimirMangos
131978c529 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-01 14:31:42 +04:00
Ambal
9f938a9ed4 [8103] More wide use IsInWorld checks and delayed at teleport operations.
* IsInWorld used to prevent return unexpected not in world objects.
* Delayed operations need to process its in world state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-01 14:00:29 +04:00
VladimirMangos
9f41772828 [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
* Create Gameobject version to make GO with owner more safe for remove
2009-07-01 11:09:34 +04:00
VladimirMangos
dc10620148 [8101] Prevent use talents as quest rewards or spell_learn_spell learned spells. 2009-07-01 06:43:27 +04:00
VladimirMangos
2b71634187 [8100] Include known MaNGOS EULA. 2009-07-01 01:13:55 +04:00
VladimirMangos
29493ef779 [8099] Small not detected uint16 cases for spell ids. 2009-06-30 12:38:50 +04:00
VladimirMangos
1baec77845 [8098] Support uint32 spell ids in code.
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
2009-06-30 11:25:32 +04:00
ApoC
c24e041794 [8097] Updated comment based on research.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-29 20:24:09 +02:00
ApoC
7d79f8168a [8096] Fixed dummy effect for 34665
* Removed dynamic cast
* Little effect code clean up

Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-29 19:39:41 +02:00
freghar
1eb308a2eb [8095] Added gitignore for src/bindings/
Signed-off-by: freghar <compmancz@gmail.com>
2009-06-29 13:59:43 +02:00
VladimirMangos
c8d07d6e72 [8094] Overwrite max durability for item at item loading from prototype. 2009-06-29 14:52:23 +04:00
ApoC
cd913c1f92 [8093] Fixed effect of spell 25771.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-29 12:50:44 +02:00
VladimirMangos
f80f45e3c4 [8092] No, one more not safe place found.
Patch inspired bug report connected with alt.patch written by Machiavelli.
2009-06-29 13:35:23 +04:00
VladimirMangos
ac7a7417fe [8091] Check bag size at item protos loading and item slots at invetory loading.
This is single not safe places in work with bag slots in current code.
2009-06-29 12:49:34 +04:00
VladimirMangos
f420fdde77 [8090] Fixed build problems. 2009-06-29 12:06:09 +04:00
VladimirMangos
24ee9c7105 [8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects.
Last fix let for example correct charge for flight creatures...
2009-06-29 11:16:27 +04:00
ApoC
5d0f5f5421 [8088] Fixed min_range checking for spell casts.
Skip in check values 0.0f from DBC, this spells
do not have min range limitation.

This should fix some inappropriate target too close messages.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-29 01:11:53 +02:00
NoFantasy
2f3aa9bd71 [8087] Cleanup code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-29 02:21:17 +04:00
ApoC
96875173af Allow NPCs to apply taunt.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-28 21:01:51 +02:00
Maxxie
14a4e0ec53 [8086] Restore work spell 11196.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-28 11:28:25 +04:00
duckman
7bb9c42e9d [8085] Apply talent rate to all talents points.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-28 04:03:02 +04:00
VladimirMangos
2dec2ccbe4 [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. 2009-06-28 02:11:57 +04:00
VladimirMangos
97721109ff [8083] New debug command: .debug setaurastate for test target/caster aura states.
Also fix wrong (!args) checks in debug commands.
2009-06-28 00:06:57 +04:00
Lightguard
df064ebd9f [8082] Update Diminishing Returns.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-27 11:32:52 +04:00
Ambient
1b085414ab [8081] Remove player only targeting limitation for spell 25899, 20911 for triggering part.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-27 05:58:42 +04:00
VladimirMangos
a7d9ace55f [8080] Portability fixes for some Unix platforms.
* Add #include <stdio.h> to some fiels where related functions call.
* Avoid template dependent lookup for fields in class LockedQueue.
2009-06-27 02:21:58 +04:00
VladimirMangos
95ce1eed1c [8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h). 2009-06-26 23:30:39 +04:00
VladimirMangos
2719ae2efa [8078] Fixed typos in character data loading after recently added new field.
* Really use race/class/gender fields instead `data` field values.
* Load extra flags (gm mode onm gm fly mode, gm invisibility and etc) from proper field.

NOTE: recommedned reset characters.extra_flags field to 0 for all characters.
It can be corrupted in time login/logout before this fix.
2009-06-26 04:15:51 +04:00
VladimirMangos
21a6a26386 [8077] Resolve mixed store and use 2 different flags values types in single field.
* Create new monster move field in Creature class and use it in all cases when expected use MONSTER_MOVE_* flags.
* Store and use MOVEMENTFLAG_* values in field in MovementInfo structure of Player class.
* Cleanups and fix related code.

NOTE: DB in creature_addon store values similar MONSTER_MOVE_* flags, scritps also expected set only this flags.
2009-06-26 01:57:34 +04:00
thenecromancer
00fc1d7593 [8076] Fixed well known walk-after-taxi bug.
Also thanks to jolan, yad02, nos4r2zod for deep reseach problem.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-25 09:17:10 +04:00
NoFantasy
8198da72a9 [8075] Effect at remove for aura of spell 42783.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-24 05:29:45 +04:00
nos4r2zod
aabde1030c [8074] Fixed typo in money save.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-24 03:43:12 +04:00
hunuza
517697768a [8073] Use new database fields in offline player answer to CMSG_NAME_QUERY.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 19:47:54 +02:00
hunuza
8a32a19bad [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

It's recommended to backup your character database before applying this patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 17:51:48 +02:00
VladimirMangos
f34ce077c0 [8071] Restore work .modify tp command. Allow apply it to selected character's pet. 2009-06-23 04:46:13 +04:00
VladimirMangos
7175007aba [8070] Restore spell casting loot items and recipes.
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0

Note: required DB support in `spell_loot_termplate`
2009-06-23 03:46:27 +04:00
Saeba
e455ee7da7 [8069] Fixed copy/paste mistake in achievement error output.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-22 22:21:51 +02:00
SeT
d4017afadd [8068] Fixed crash from 33201 and ranks, remove outdated rank case.
Signed-off-by: SeT <can15@ngs.ru>
(cherry picked from commit e52f1f4e530a435edb156de5083e39b2ef23bbb5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 15:59:47 +04:00
VladimirMangos
634fda8475 [8067] Fixed tabs and trailing whitespaces in code. 2009-06-22 15:43:47 +04:00
Ambal
c402d3ec26 [8066] Fixed typo in Teleport call.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 13:43:27 +04:00