Commit graph

7311 commits

Author SHA1 Message Date
VladimirMangos
8d2dab1093 [8119] Speedup code and prevent crash at pet stats reset in time owner not in world. 2009-07-05 13:58:16 +04:00
tomrus88
54cc2dcb53 Merge commit 'origin/master' into 320 2009-07-05 13:19:54 +04:00
tomrus88
5af8fb89d0 Fix 2009-07-05 13:19:37 +04:00
Lightguard
0e1d03baeb [8118] More diminishing returns for mage case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-04 23:29:42 +04:00
ApoC
24f13bdcb7 [8117] Fixed spell 6343 and ranks, now getting bonus from AP
signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 21:26:56 +02:00
VladimirMangos
9798dbe5e2 [8116] Fixed low ranks relearn bug, correctly show tlanes at command spell learn.
* Bug showup as paladin talents reset. Thanks to ApoC for reseach problem.
* Now at .learn command use for learn some talent this talent must correctly show as learned in talent dialog.
2009-07-04 23:06:35 +04:00
VladimirMangos
bc0397695c [8115] Replace table contecnt by expected data from mangos.sql
For finally fix problem with new crated characters in addition to [8107].
2009-07-04 21:36:16 +04:00
ApoC
cece592b5f [8114] Fixed uint16 to uint32 for spell id in SkillDiscoveryEntry
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 17:29:49 +02:00
m4cm4n
7c5f254012 [8113] Fixed setting mover for Posses/Charm auras and Vehicle enter/exit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 12:51:15 +02:00
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
tomrus88
62327e7af0 Merge commit 'origin/master' into 320
Conflicts:
	sql/updates/8098_01_characters_character_action.sql
	sql/updates/8098_02_mangos_playercreateinfo_action.sql
	src/game/Player.cpp
	src/game/Player.h
	src/game/SpellEffects.cpp
	src/shared/revision_nr.h
2009-07-02 09:38:10 +04: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
tomrus88
41b400dac9 Fix 2009-07-02 09:21:43 +04:00
tomrus88
835a8da42a Added placeholders for new battlegrounds, some other stuff. 2009-07-02 09:21:43 +04:00
VladimirMangos
a75d9893a6 [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 09:20:45 +04:00
Ambal
f08046f4a5 [8105] Compile fix under Linux/BSD systems.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:20:14 +04:00
BonDit
ae0cb69135 Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:20:13 +04:00
VladimirMangos
90800416d1 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-02 09:18:44 +04:00
Ambal
2baccbebc3 [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-02 09:18:43 +04:00
VladimirMangos
a8288b311e [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-02 09:18:42 +04:00
VladimirMangos
91f26272ec [8101] Prevent use talents as quest rewards or spell_learn_spell learned spells. 2009-07-02 09:18:41 +04:00
VladimirMangos
a7cbc7d8ec [8100] Include known MaNGOS EULA. 2009-07-02 09:18:41 +04:00
VladimirMangos
008240678b [8099] Small not detected uint16 cases for spell ids. 2009-07-02 09:18:40 +04:00
VladimirMangos
c9fbd99579 [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-07-02 09:18:39 +04:00
ApoC
f1284882a9 [8097] Updated comment based on research.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
ApoC
2d33a8d220 [8096] Fixed dummy effect for 34665
* Removed dynamic cast
* Little effect code clean up

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
freghar
81d0e303d2 [8095] Added gitignore for src/bindings/
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-02 09:18:37 +04:00
VladimirMangos
3cdc1f2792 [8094] Overwrite max durability for item at item loading from prototype. 2009-07-02 09:18:37 +04:00
ApoC
d09b4b96be [8093] Fixed effect of spell 25771.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:36 +04:00
VladimirMangos
8e05eb53d3 [8092] No, one more not safe place found.
Patch inspired bug report connected with alt.patch written by Machiavelli.
2009-07-02 09:18:35 +04:00
VladimirMangos
5a8640a69b [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-07-02 09:18:34 +04:00
VladimirMangos
fad9c4c0b3 [8090] Fixed build problems. 2009-07-02 09:18:34 +04:00
VladimirMangos
cceb334533 [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-07-02 09:18:33 +04:00
ApoC
ed8a3a39cc [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-07-02 09:18:32 +04:00
NoFantasy
55a383cbd0 [8087] Cleanup code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:32 +04:00
ApoC
f232421069 Allow NPCs to apply taunt.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:31 +04:00
Maxxie
b7f699d89b [8086] Restore work spell 11196.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
duckman
d7a4665aaf [8085] Apply talent rate to all talents points.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
VladimirMangos
a656bc36fa [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. 2009-07-02 09:18:29 +04:00
VladimirMangos
34d5620a91 [8083] New debug command: .debug setaurastate for test target/caster aura states.
Also fix wrong (!args) checks in debug commands.
2009-07-02 09:18:28 +04:00
Lightguard
7eef6d2638 [8082] Update Diminishing Returns.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:28 +04:00
Ambient
d23f80924c [8081] Remove player only targeting limitation for spell 25899, 20911 for triggering part.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:27 +04:00
VladimirMangos
cc23cf4653 [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-07-02 09:18:26 +04:00
VladimirMangos
0a8f9ac6e9 [8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h). 2009-07-02 09:18:26 +04:00
VladimirMangos
fc5dde85c4 [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-07-02 09:18:25 +04:00