Commit graph

3277 commits

Author SHA1 Message Date
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
tomrus88
f8740c15ef Updated to latest PTR build 10048. 2009-06-30 09:46:27 +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
tomrus88
12f05c3c78 Renamed file. 2009-06-25 19:10:56 +04:00