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
VladimirMangos
48caaaffcf
[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-07-02 09:18:24 +04:00
thenecromancer
9bc57c8512
[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-07-02 09:17:30 +04:00
NoFantasy
4baf32d05f
[8075] Effect at remove for aura of spell 42783.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:29 +04:00
nos4r2zod
93d3edfc15
[8074] Fixed typo in money save.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:28 +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