Commit graph

393 commits

Author SHA1 Message Date
tomrus88
fdc20af337 Some fixes. 2009-08-28 22:33:52 +04:00
tomrus88
2d65ce8b87 Merge commit 'origin/master' into 320 2009-08-28 17:26:09 +04:00
VladimirMangos
fdb2842f60 [8425] Implement SPELL_EFFECT_LEAP_BACK and spell 781
* Move CMSG_MOVE_KNOCK_BACK_ACK (player case) to Unit::KnockBackFrom
* Implement creature case, most at hack way currently :(
  Need information about expected server packet, and possible some disorientation movegen apply at short time.
* In adition of spell 781 implement related creature versions.

* Fixed warnings spawn at reading CMSG_MOVE_KNOCK_BACK_ACK, CMSG_MOVE_HOVER_ACK, CMSG_MOVE_WATER_WALK_ACK.
2009-08-27 05:27:45 +04:00
tomrus88
3882772658 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-08-27 01:54:04 +04:00
VladimirMangos
3c22e14e53 [8423] Fixed typo in mangos.sql. 2009-08-26 08:48:34 +04:00
VladimirMangos
8231eed7bf [8420] Update and continue fill mangos_spell_check.sql. Small related code cleanups. 2009-08-26 02:33:03 +04:00
VladimirMangos
208c84556e [8416] Fixed problem with double cast form passives at loading.
* Drop learning form passives at form psell learning, and cast it explictly from code in all cases.
* Drop cast form passives at learning.
* Note: talents that have dependent form time passives still work in original way: learned and casted at learn if need.
* Drop hack for spell 24907 casting at form apply: it casted fines as result normal triggered effect in related form spell.

Original patch provided by nos4r2zod.
2009-08-25 08:45:49 +04:00
VladimirMangos
261ad1c5df [8412] Update some new and old client supported shift-links to proper format.
* List all client and server side supported shift-link types updated in Chat.cpp
* Now Henchant anf Hglyph links can be used in commands as spell links.
* Hitem and Hquest links changed to client supported form.
2009-08-24 02:44:19 +04:00
tomrus88
33149b8f04 Merge commit 'origin/master' into 320 2009-08-24 00:58:11 +04:00
Triply
efa24ced49 [8409] Fixed guild creation date loading, and added another guild loading optimization - last one.
Signed-off-by: Triply <triply@getmangos.com>
2009-08-23 18:13:09 +02:00
tomrus88
935c0a44c2 Merge commit 'origin/master' into 320 2009-08-23 18:57:07 +04:00
Triply
38fa6b241c [8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
Added config options to set count of eventlog records stored in DB.
Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
Renamed few variables in Guild class.
Signed-off-by: Triply <triply@getmangos.com>
2009-08-21 09:42:21 +02:00
nos4r2zod
e07a0d9652 [8399] Prevent stacking well fed buffs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-21 06:00:08 +04:00
VladimirMangos
ab38b58b12 [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +04:00
NoFantasy
9fdfd9f487 [8397] Remove no longer needed ranks of spell 7386.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-08-21 00:49:27 +02:00
tomrus88
fec1a1954c Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
2009-08-20 16:24:37 +04:00
VladimirMangos
9eb5a3eea1 [8394] Fixes for some non-self only positive spells.
* Propertly reject self targeting for pet spell 2947 and ranks, and spell 54646.
* Some related fixes for pet spells with target mode TARGET_SINGLE_FRIEND_2
* Implement original caster bonus part of spell 54646.
2009-08-20 00:26:34 +04:00
Den
055aa46a8f [8392] Implement 47569 and ranks work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-19 07:05:44 +04:00
tomrus88
f553cf2887 Merge commit 'origin/master' into 320
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/DuelHandler.cpp
	src/game/ItemHandler.cpp
	src/game/Mail.cpp
	src/game/MiscHandler.cpp
	src/game/MovementHandler.cpp
	src/game/TaxiHandler.cpp
	src/game/WorldSession.h
	src/game/WorldSocket.cpp
2009-08-17 10:31:02 +04:00
VladimirMangos
c26c7395a1 [8377] Resolve some spell_area problems in GM and non-GM mode.
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove.
  And drop related spell_area possible existed data.
* In general restore apply area limitations to spell casting in GM mode.
2009-08-17 00:40:19 +04:00
arrai
e7b63e759f [8376] Fixed mangos.sql after 8364 2009-08-16 16:46:19 +02:00
tomrus88
48a470dfc1 Merge commit 'origin/master' into 320 2009-08-15 10:16:27 +04:00
Fog
4aee78d2fb [8364] Implement possibility reset client cache data from server side.
Implemented 2 way set cache data "version":
* New db_version.cache_id field let set cache data version by DB content creators.
  This can be used for content releases by seting some unique value at each release.
  This value used by default.
* New mangosd.conf config option let set (overwrite DB value) or use 0 for ignore.
  This can be used by serever admin for reset cache at some local changes.

Note: values use at client login and then must be unique for long period time to avoid ignored
      at login some long not connected client with old same cache version value.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-13 21:08:36 +04:00
VladimirMangos
964046eb3a [8361] Avoid apply bonuses to item 32262 drain life. 2009-08-13 03:49:48 +04:00
tomrus88
f07363e9e0 Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
	src/game/Player.cpp
2009-08-09 20:18:41 +04:00
pasdVn
6a4b79cdc2 [8342] Iplement talent 53252 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-09 17:48:12 +04:00
ApoC
6d9448dd7f [8339] Improved storing/restoring BG entry point
* Introduced new table character_battleground_data
* Entry point is now stored on BG enter event not join event
* Entry point for dungeons is now correctly set to nearest graveyard
  (this prevent well known assert in GetInstance because of porting to already destroyed instance)
* Teleporting from BG correctly restore mount state
* Teleporting from BG correctly restore taxi flight
  (in multipath flight you will end up in nearest transition point on the route)

Signed-off-by: ApoC <apoc@nymfe.net>
2009-08-09 11:00:37 +02:00
VladimirMangos
a2b952b15e [8333] Move sql updates related to 0.13 release to sql/updates/0.13
You can still used its (for example to upgrade DB from 0.12 state)
but its will not included in installed sql updates list at Unix/Linus
for speedup 'make install'.
2009-08-09 02:31:38 +04:00
rilex
175d1c5551 [8332] Add non-unique key accid for realmcharacters table for speedup queries by this field.
Just note about related _not_ mangos bug: this table _expected_ to have primary key by pair (`realmid`,`acctid`).
If used DB not have it for table, then this wrongly setup of DB.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-09 01:49:59 +04:00
tomrus88
f97da77cbd Merge commit 'origin/master' into 320 2009-08-05 14:52:29 +04:00
Nevan
0a534fda64 [8310] Implement item set 73/824 (4) bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 01:51:15 +04:00
Necro
4841fae910 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 09:44:48 +04:00
VladimirMangos
ebac9a23de [8293] Some progress in spell_check fill. 2009-08-02 01:39:47 +04:00
tomrus88
b99565ef42 Merge commit 'origin/master' into 320 2009-08-01 09:22:30 +04:00
VladimirMangos
3fc547e6e6 [8283] Implement 3.x way work for double damage from 35290 and ranks 2009-07-31 17:09:54 +04:00
tomrus88
be8eaf4e46 Just merge commit 'origin/master' into 320
Conflicts:
	src/game/MiscHandler.cpp
2009-07-28 17:05:38 +04:00
Lutik
f0a878bf1e [8265] Add boss spells 64422 and 64688 to divided damage spells list.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 14:29:14 +04:00
Alez
a4baef0c47 [8254] Internal cooldowns for some item effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add lost chain data part to mangos.sql from prev. commit.
2009-07-26 20:49:09 +04:00
Den
110ff906e8 [8253] Some spell proc fixes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 20:33:31 +04:00
tomrus88
299f40ac0c Merge commit 'origin/master' into 320 2009-07-26 10:52:21 +04:00
VladimirMangos
7ac4dc6f13 [8251] Store in some DB tables only data for first rank.
* Allow add to DB data only for first rank in table `mangos_spell_bonus_data` and `mangos_spell_proc_event`.
* Copy data for other ranks for speedup use at loading for this data and data from `spell_proc_item_enchant`.
2009-07-26 10:46:36 +04:00
nos4r2zod
fd2eb3cfee [8250] Cleanup code and data for spell_threat
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
* Drop from table not existed spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 05:49:17 +04:00
nos4r2zod
13b709a10b [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
  With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.

* Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
  That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.

Thanks to MaS0n as author alternative patch that partly used in this patch.
Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 04:58:46 +04:00
nos4r2zod
983264737e [8247] Some data for spell_bonus_data for DK spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-25 08:06:30 +04:00
Lynx3d
e947acd59c [8237] Apply attack power multiplier to creature bonus attackpower.
Note: mindmg/maxdmg in creature_template expected including attackpower part in its.
attackpower field only show part of attackpower not affected by AP multiplier.

Thanks also to Seizer for take part in reseach and patch review.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-24 16:55:37 +04:00
raftom
c4ceafcf56 [8228] Implement talent 49203 (main functionality).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 10:03:25 +04:00
VladimirMangos
6170497643 [8227] Fix sql update name and add refs to it to proper places. 2009-07-22 09:00:25 +04:00
Astellar
467e47df7c [8226] Fixed spell proc data for spell 63730 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-22 08:47:30 +04:00
tomrus88
4c709772c1 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
	src/game/Totem.cpp
2009-07-21 08:22:30 +04:00
rechapa79
680ab810e0 [8216] More fixes in spell 47897 and talent 17962 and ranks work.
* Implement DoT apply for 47897 and ranks.
* Implement propertly aura state update at add/remove 47897/348 and ranks
* Update checks for 29722 and ranks for bonus damage

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 07:26:19 +04:00