tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +04:00
tomrus88
79325c2851
Updated to 3.1.1.9806 client build
2009-04-21 14:14:43 +04:00
VladimirMangos
35970244e5
[7692] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LINE and reimplement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS.
...
Also correctly set this criteria at login.
2009-04-20 23:16:07 +04:00
AlexDereka
c4c093dac6
[7691] Added MySQL to PostgreSQL converter.
...
Tested on PostgreSQL 8.3 and MySQL 5.0.
For compile see README.
2009-04-20 22:24:30 +04:00
VladimirMangos
fc0e1ecdf1
[7690] Move GetCreature/GetGameobject to class Map.
...
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
NoFantasy
ee9ea143d1
[7689] Batter EventAI loading checks and fix one from possible crash cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
VladimirMangos
f4adf83cd7
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange.
2009-04-19 22:54:40 +04:00
VladimirMangos
82b0ff8b5d
[7687] Batter player dumps protection from not proper use.
...
* Prevent direct apply player dumps to DB
* Check expected character DB structure (revision) before apply.
2009-04-19 16:02:15 +04:00
tomrus88
2fc6e75a81
Fixed item buy packets. Thanks to yad02 for reporting.
...
Fixed client disconnect when boarding transport (by yad02 and woweur).
2009-04-19 11:03:20 +04:00
Lightguard
f97735f519
[7686] Implement aura SPELL_AURA_ADD_CASTER_HIT_TRIGGER (111).
...
Fixed bug with triggering SPELL_AURA_SPELL_MAGNET at non-magic casts (special weapon attacks).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 00:42:16 +04:00
tomrus88
66f554f74d
Merge 'master' into 310
...
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
tomrus88
3423b5dbb2
Fixed MSG_PVP_LOG_DATA. Players should be teleported to nearest GY instead of homebind location (by EvilstaR).
2009-04-18 17:11:57 +04:00
NoFantasy
b3c4e38409
[7685] Load emotes.dbc and make emotes/emotetexts accessable from script DLL. Also some enum updates.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-18 16:07:15 +04:00
VladimirMangos
e94c6755d0
[7684] Resolve possible conflict in summon property enum type and enum names (currently commented)
2009-04-18 12:44:19 +04:00
Trazom
6c62fe750c
[7683] Fixed update ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST for daily quests.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-18 00:10:59 +04:00
Trazom
718185cf8e
[7682] Implement support ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 23:41:48 +04:00
VladimirMangos
75d8c0b604
[7681] Check guid type before lookup request for seldom GO-caster case.
2009-04-17 17:04:51 +04:00
VladimirMangos
b4bc910d32
[7680] Fixed work spell effects with 17/0 spell target mode. Including many summon/teleport spells.
2009-04-17 16:44:20 +04:00
NoFantasy
f926232efb
[7679] More checks for creature EventAI loading at server startup.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 15:47:51 +04:00
VladimirMangos
09c32b5429
[7678] Implement spell target mode 7 and cleanup target mode 17.
2009-04-17 13:41:36 +04:00
VladimirMangos
650be82030
[7677] Fixed crash at error report attempt at db_script_string loading.
2009-04-17 11:23:19 +04:00
VladimirMangos
30d8be94ce
[7676] Fixed typo in [7675]
2009-04-16 18:51:25 +04:00
VladimirMangos
b576b2382d
[7675] Move spell targets in area selection code to function.
2009-04-16 18:41:35 +04:00
VladimirMangos
748ea8522a
[7674] Fixed check of DB script string ids from db_script_string at loading.
2009-04-16 13:57:25 +04:00
VladimirMangos
3e4b31debb
[7673] Fixed pet spell cooldown values send in Player::PetSpellInitialize to client.
2009-04-15 11:49:42 +04:00
VladimirMangos
78dd259c38
[7672] Move ReceiveEmote from script API to AI API.
...
This is also fix triggering ReceiveEmote for EventAI broken at it move to mangos sources.
2009-04-15 06:08:52 +04:00
Mordred
5020fcd3f1
[7671] Wrong type casts not fixed in [7667].
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-15 02:17:47 +04:00
tomrus88
9256d68882
Small update. Should work with live 3.1.0.9767 client
2009-04-14 16:36:06 +04:00
tomrus88
d6f6272f8c
Merge branch 'master' into 310
2009-04-14 15:54:43 +04:00
Lightguard
c62543fa52
[7670] Revert "Not apply/remove passive auras on aura state change (not need)"
...
This reverts commit d5f6eefd1bb3c64797e54d19cc58ccc8c4cf8a4f.
Some 3.0.x talents not work without this like 44441
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-14 14:57:57 +04:00
VladimirMangos
2289ee6b30
[7669] Some lost commented code patch for currencies trading item move to empty slot.
...
In fact it not change anything except GM item created trade:
no currency items currently that not bind at picked up.
2009-04-14 13:59:37 +04:00
VladimirMangos
d85e95295d
[7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use.
...
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
Like taunt, pet handler attack command.
* Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
Like non-dot damage, swing, negative spell landing, or fade fear/etc.
And provided by default call AttackStart if no current target.
This fix some problems, like:
* Civilian will react propertly at attack by another creature (not pet or player).
* Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.
2009-04-14 10:14:10 +04:00
VladimirMangos
69fb9736cc
[7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases.
...
Also send pointer to AI constructors ans mark constructors as explicit.
This changes allow move now some generic often used AI code to CreatureAI helper functions.
2009-04-14 06:52:16 +04:00
VladimirMangos
721e005b84
[7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName.
...
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.
2009-04-14 02:28:45 +04:00
Splash
1ebf1a5ba4
[7665] Include achievement data to pdumps.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-14 01:04:19 +04:00
Lightguard
0aaf266513
[7664] Implement work of rogue talent 58426.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also fix problems with talent 58426 and 31223 work in case
* fast stealth reapply after stealth lost
* second stealth aura apply while another active.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-13 12:44:48 +04:00
VladimirMangos
56350b32ed
[7663] Fixed crash at interrupting channeled spell. Cleanup spell interrupt code.
2009-04-13 10:48:26 +04:00
nos4r2zod
b143a300cb
[7662] Spell power coefficients for talent 48505 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-13 08:34:29 +04:00
False.Genesis
f89c2052ea
[7661] Fixed problem with not remove health regeneration from polymorph.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also fixed problem with remembering transform spell in case possible stacked negative and positive transforms.
2009-04-13 06:32:40 +04:00
Lightguard
cce772c08c
[7660] Fixed problem with lost aura 40214 in some cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-13 04:21:08 +04:00
arrai
a0ef77af5b
[7659] Added several security checks to prevent cheating using facked packets
2009-04-13 02:16:01 +02:00
VladimirMangos
bd56140537
[7658] Drop dead code.
2009-04-13 03:13:19 +04:00
DiSlord
edc51e2020
Add name for WorldMapArea.dbc field
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-13 02:22:33 +04:00
VladimirMangos
0e1997f746
[7657] Implement function for access to gameobject owned by unit and created by some spell.
2009-04-13 01:07:21 +04:00
tomrus88
9b20869a32
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-12 14:37:33 +04:00
VladimirMangos
6438bf557f
[7656] Implement hack way detection for more cave and not cave areas at new continent.
2009-04-12 13:53:31 +04:00
arrai
db7da450cd
[7655] Fixed choosing AI for pets
2009-04-12 11:01:33 +02:00
DiSlord
db429d2a20
[7654] Apply SPELLMOD_DAMAGE for %healing spells (48985 and ranks for example)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 03:56:14 +04:00
Trazom
5c660c844f
[7653] Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUESTS_IN_ZONE
...
Correct complete if ACHIEVEMENT_FLAG_SUMM set
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 02:49:17 +04:00
DiSlord
1a55952fa0
Fix ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM progress calc
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 02:48:42 +04:00