Commit graph

307 commits

Author SHA1 Message Date
Corfen
86b60901bf [8693] Fixed glyph 45785
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-20 23:54:34 +02:00
balrok
e990d5c509 [8688] proper implementation of creatures ghost-flags
this reverts 8676 (9c50d9e70314b0cd9eb0fe3bac8040d64a9965a5)
the new flag is from wdb-files so your database should be
already alright

also i've dropped the function Player::CanInteractWithNPCs
cause it was used only in one place and didn't seem to make anything
easier

NOTE for this flag:
it just means that the creature can be seen by ghost-players
too..
so they are still visible for alive players.. unless a special
aura or ther unitflag (spiritguide/healer) disables this..
(see next commit for it)
2009-10-20 23:34:13 +02:00
balrok
a2ff999fd3 [8676] implemented dead-visible creature flags_extra
with this flag you can specify a creature to be only
visible for dead players - this removes all hacks from
spiritguides/spirithealers from code and allows some other
special creatures

i decided to not implement an extra deathstate cause
actualy those creatures are almost equal to living ones
2009-10-18 21:28:36 +02:00
GalaxyMan
545218fda3 [8618] Implement glyph 42752
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix typo in mangos.sql.
2009-10-10 17:26:37 +04:00
balrok
45f6a474bf [8608] implement BattleGround Alterac Valley
sql won't be included - please look at your database
providers forum

also note, that creature_loot_template id 0
is used for the loot of dead players in this bg
(after a player died and you remove insignia from him..
he not only drops money - he drops some random items too)

further work must be done in better code for adjusting right
levels to creatures - maybe using something similar like it's
done in heroic instances

also quests and creatures needs some scripts in future

thanks to:
netsky - initial start of this patch
bogie - 2nd person writing on this patch
triply, kapatejib, vladimir - code review and suggestions
arrai - for his great tool and help
and all testers / code contributers - I won't write
down a list, else I would forget most probably one ^^
2009-10-09 18:18:22 +02:00
balrok
ed5130c1c1 [8607] more userfriendly eventcommands
.event start/stop will now output the started/stopped eventame+id
.event activelist got renamed to .event list with optional parameter "all"
so .event list - will list all active events
and .event list all - will list all events including inactive ones
2009-10-09 14:38:58 +02:00
balrok
49c52ddf9c [8600] allow unbinding instances also per map
so command can be called as
.instance unbind all
or
.instance unbind #mapid
now

output also the mapname next to the mapid
for the humanoid users among us ;)
2009-10-08 00:46:55 +02:00
VladimirMangos
793102318e [8594] Resync command data in mangos.sql with code. 2009-10-07 01:59:45 +04:00
VladimirMangos
cbfb671af3 [8593] Fixed my typo in mangos.sql. :/ 2009-10-07 01:40:49 +04:00
VladimirMangos
1d9a142237 [8591] Add switch sql update changes into mangos.sql/characters.sql 2009-10-07 00:59:15 +04:00
VladimirMangos
f37f27d3c2 [8589] Merge branch '320' - Switch to support client version 3.2.2A
You need extract new dbc/map/vmaps for correct work.
And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for prepering this switch :)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-06 12:59:26 +04:00
NeatElves
4a2ef99d70 [8584] Remove spell 28734 from mangos.sql
sql updates from [7884] not has been applied to mangos.sql in past.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-03 22:44:40 +04:00
VladimirMangos
5c0e01be8f Remove outdated spell data from mangos.sql 2009-10-03 02:29:01 +04:00
VladimirMangos
59befa2e0e Merge branch 'master' into 320 2009-10-02 19:09:06 +04:00
VladimirMangos
9ee41092df [8573] Fixed sql update name 2009-09-30 20:04:35 +04:00
VladimirMangos
47bf1dbce6 [8571] Avoid use ^ bitmask operation for bool values compare in general.
Also drop HandleSet32Bit logn unused and wrong coded chat command code.
2009-09-30 19:39:44 +04:00
VladimirMangos
fec8a8faa1 [8567] Include DB changes from [8548-8549] into mangos.sql 2009-09-30 02:40:31 +04:00
YuruY
ee884d2791 Support item levels > 255 as expected for 3.2.x clients.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-30 01:41:43 +04:00
balrok
db7c9f4fc1 [8549] Eventloading check
Through the eventsystem can be quite complex and errormessages should
be quite meaningful for finding mistakes in sql
I decided to create another table in database
This table will just contain the map,event1,event2 and a human
readable description of every event
the primary key is over map,event1,event2

this table will be outer joined with bg_creatures,bg_gameobject
so every inner-join part will just match those events and create no error

but every outer join part will mean there was something wrong
(either a spawn which has no existant event, or an event where no spawn is
inside)

also this table is very useful for db-developers, to see which events exist
without looking into code and understanding the logic behind the code

also please note:
those error-checks don't (and can't) report every mistake..
for example if you have an arathibasin node - and add just one creature in this
event - this system won't look, if you've spawned all needed gameobjects and so
on..
an idea would be to add to this table how much gameobjects and creatures have to
be there at minimum - but i doubt that this will be much helpful
also i won't stop battlegrounds from loading if not all events do exist
(just cause i see no need in it)
2009-09-28 16:44:02 +02:00
balrok
538c5c257e [8548] implement db supported battleground eventindexes
those eventindexes will then be used by the battleground-code to decide
which creature belongs to which objective
for example all creatures in alteracvalley which are standing around a tower
will belong to one eventindex then.. the eventindex will be defined through the code
and must be proper documented for db-devs
2009-09-28 16:41:00 +02:00
Win32
7768d5f3e7 [8521] Implement glyph 42744
Patch added with improvement in code suggested by Shendor.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-21 17:25:43 +04:00
Ambient5
64e753f169 [8514] Impmlement unleashing effect for possitive seals that not have special stored spell id for this.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-20 20:26:41 +04:00
Maxxie
81a4eabe34 [8511] Limit talent 57472 triggering to only spell spell 17 and ranks as expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-19 19:17:18 +04:00
nos4r2zod
ac56f62684 [8504] Update old spell version to spell 21084 in some playercreate_* cases.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-16 12:48:34 +04:00
NeatElves
139bceb6a0 [8499] Add data to spell_elixir for absent 3.x elixirs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-14 23:47:53 +04:00
dele
c45362a9fc [8498] Implement talent 53234 and ranks.
(cherry picked from commit 510b81f53bbe59beccbc113a802b3f9b1e669e3a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-14 12:20:48 +04:00
cccyril
da44f2efe7 [8488] Update and add some coeficents for spells in spell_bonus_data.
With related `spell_chain` data.

Added version is result additional fixes and improvments made by nos4r2zod.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 22:03:22 +04:00
VladimirMangos
eae9619f5b [8488] Use more readable style format for spell_bonus_data data.
No real changes in data.
2009-09-11 19:57:48 +04:00
nos4r2zod
d91f2c2c35 [8487] Fixes in paladin seals and related spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 06:08:40 +04:00
burned
af4c9750e3 [8482] New flasks for 3.x added to spell_elixir.
Signoff-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 05:25:28 +04:00
Athor
7f444189c6 [8462] Fix database table to allow emote id bigger than 255
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-04 02:33:24 +02:00
VladimirMangos
69fbe1e82f [8451] Implement talent 47236 and ranks.
Added changes base at merge of patches suggested by pasdVn and Astellar.
2009-09-02 06:43:00 +04:00
VladimirMangos
4d0088e7a9 [8444] Prevent spawn gameobjects with invalid displayid by command.
Also fix mangos string for not existed gameobejct entry.
2009-08-31 23:10:42 +04:00
VladimirMangos
3c22e14e53 [8423] Fixed typo in mangos.sql. 2009-08-26 08:48:34 +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
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
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
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
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
pasdVn
6a4b79cdc2 [8342] Iplement talent 53252 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-09 17:48:12 +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
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