Commit graph

295 commits

Author SHA1 Message Date
VladimirMangos
7677a61c6f [7994] Include in mangos.sql/characters.sql changes from sql/updates/7988_*.sql
Also fix old typos in item_template data in mangos.sql
2009-06-11 20:20:56 +04:00
VladimirMangos
f7fd6961c1 [7988] Merge branch '310' - Switch to support client version 3.1.3
Thanks to TOM_RUS for most work to make this switch possible ;)
2009-06-10 21:18:24 +04:00
VladimirMangos
9588b43d0c Merge commit 'origin/master' into 310 2009-06-10 18:56:29 +04:00
VladimirMangos
5a417a1970 [7985] One more my typo... now in mangos.sql 2009-06-09 21:20:57 +04:00
VladimirMangos
11b88ad5bb Cleanup spell related tables from outdated spells. 2009-06-09 21:16:44 +04:00
VladimirMangos
05b1bda879 Merge commit 'origin/master' into 310 2009-06-09 09:51:34 +04:00
NoFantasy
6a1b4e5729 [7980] Implement item use target requirements store and check (new table item_required_target).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

* Also implement this table reload
* Static Spell::SendCastResult function for call not from spell code.
  Can be also used in scripts where need send explicitly spell cast error to client.
2009-06-09 00:26:36 +04:00
x3mal
370054a6c5 Character's data convertor.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-08 00:31:29 +04:00
tomrus88
1f87157edf Merge commit 'origin/master' into 310
Conflicts:
	src/game/UpdateData.cpp
2009-06-07 21:42:02 +04:00
VladimirMangos
3e4036855c [7975] Not remove spell 34090 in 7067_03_characters_character_spell.sql. Spell can be learned independently from form. 2009-06-07 15:37:45 +04:00
tomrus88
cffbb8661b Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
NoFantasy
82f16a6579 [7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-02 14:47:13 +04:00
charlie2025
65dd5e568d [7938] Use same type for account ids in different tables related to used in code uint32 type for it.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 14:40:43 +04:00
VladimirMangos
7d6bf1fdbf [7932] Store in DB only spell part of pet action bar, set other to default state (reaction saved). 2009-06-01 04:44:02 +04:00
tomrus88
84ed071e16 Merged and fixed some whitespaces. 2009-05-29 10:40:13 +04:00
NoFantasy
84464e5f3f [7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 05:51:17 +04:00
Seizerkiller
2fc277fdb6 [7904] Change creature damage calculation formula.
* Add new creature_template field `dmg_multiplier`
* Make attackpower include in creature damage not dependent from attack speed.

NOTE: included in sql update recalculation for creature damage related fields only make
temporary possible usable values. Real values need revisited by DB devs for correctness.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-28 20:10:42 +04:00
tomrus88
f6e2b55e2c Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-28 10:16:02 +04:00
VladimirMangos
0614a9eb75 [7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount.
* Other pet spell types auto-learned at level setup/load.
* Code will cleanup pet_spell table from non-talents spell if detect any at load.
* Free talents points recalculated at loading and levelup so store its in DB useless.

Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.
2009-05-28 03:36:28 +04:00
AlexDereka
c87e51dae5 [7902] Speed up Creature and GO loads. 2009-05-28 00:00:22 +04:00
AlexDereka
a32d2c5f5c Fixed gameobject_template. 2009-05-27 22:09:59 +04:00
tomrus88
885d1256b2 Added new fields to database. 2009-05-27 16:44:50 +04:00
NoFantasy
56e86ff05f [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 18:16:15 +04:00
tomrus88
2f15546120 Merge commit 'origin/master' into 310 2009-05-25 21:57:59 +04:00
VladimirMangos
f271fd6819 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". 2009-05-25 06:31:17 +04:00
VladimirMangos
7ee675cd71 Update spell_chain to 3.1.2 state 2009-05-25 04:39:08 +04:00
tomrus88
afd82229d7 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
VladimirMangos
c56ef09fa3 [7887] Drop pet spell teaching code, including field in character_pet. 2009-05-24 07:20:13 +04:00
VladimirMangos
8171bb57dd [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

* Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
* Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
* Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.
2009-05-24 06:39:29 +04:00
Sephiroth1983
2bf4660129 [7884] DB cleanup from obsolete 28734 spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:21:00 +02:00
Tanatos
a59de33941 [7879] Fixed proc for 31571 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:21:14 +02:00
VladimirMangos
f72a8bc6dc Merge commit 'origin/master' into 310 2009-05-23 01:55:33 +04:00
freghar
fd074a71fb [7868] Added guard sql queries and 7867_01_realmd_account.sql to Makefile
"the stuff I forgot in previous commit", sorry

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 19:13:08 +02:00
freghar
34ee1cffa2 [7867] Change default IP in account and banned_ip tables
As IP of 0.0.0.0 is, unlike 127.0.0.1, more clearly recognized as invalid.

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 18:47:29 +02:00
tomrus88
ebb03b7b9f Merge commit 'origin/master' into 310
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +04:00
Seizerkiller
c014560b45 [7855] Add description command to pool_* tables for simplify DB development.
Note: this fields not used and not loaded by mangos.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-19 23:40:06 +04:00
VladimirMangos
0838475415 [7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'. 2009-05-19 01:03:39 +04:00
VladimirMangos
1f2670facf [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
* New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
  or if not provided by current seelction with error cases processing.
* Property apply mute/unmute in case use different character name from loggined currently for account.
* .reset commands can be used from console now
* .repairitems comamnd can be used from console now but only to online player.
2009-05-17 14:29:55 +04:00
tomrus88
6734694a90 Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-16 00:47:37 +04:00
byeolpyo
ac67ac8c28 [7830] Spell chain data for 54424 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-14 23:41:21 +04:00
DiSlord
640d46ce1f [7823] Fix ScalingStatValue field size in item_template table.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 11:49:06 +04:00
Brueggus
f81cc0bf6a [7817] Add missing sql-updates to mangos.sql (7776, 7777, 7782) (cherry picked from commit dd26ba3edf339277a94301aa10caf26d33aab576)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-13 17:27:10 +04:00
tomrus88
3c43e9dd52 Merge commit 'origin/master' into 310 2009-05-09 16:03:32 +04:00
VladimirMangos
fffaec6d71 [7802] Use more appropriate field types in character_achievement* tables. Better check data at loading. 2009-05-08 19:45:04 +04:00
tomrus88
b5548f9f12 Small fixes. 2009-05-08 18:09:53 +04:00
tomrus88
c9f5062955 Merge commit 'origin/master' into 310 2009-05-08 15:31:27 +04:00
VladimirMangos
a587590ab5 [7796] Implement .lookup taxinode and .go taxinode commands. 2009-05-07 19:37:14 +04:00
tomrus88
6821c24268 Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-06 09:40:35 +04:00
pasdVn
952474f22d [7782] Fixed dummy proc from spell 34074
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 00:25:48 +02:00
Corfen
e70fdad6b7 [7777] Fixed talent 30299 and ranks procing also from holy dmg.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 22:05:54 +02:00