Commit graph

544 commits

Author SHA1 Message Date
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
balrok
dc382abdf5 [8596] fixed query from last commit
now i also know what the error caused
old sql made "alter table `characters`.`bugreport`"
but my database wasn't supposed to be called "characters"
and the other db had an index defined over the type-field
2009-10-07 01:00:42 +02:00
balrok
6800ae932b [8595] fixed incompatible mysql
in 8589_06 i got an error:
ERROR 1170 (42000) at line 2: BLOB/TEXT column 'type' used in key specification without a key length

also added delete-queries for 8589_05
2009-10-07 00:31:27 +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
VladimirMangos
4e4e9b0c78 Character data field convertor. 2009-10-04 01:44:48 +04:00
VladimirMangos
8b07b82b93 Renumbering sql/320 sql updates 2009-10-03 23:05:44 +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
8ad4f0f10b Restore spell 53563 work at 3.2.x 2009-10-03 07:17:53 +04:00
VladimirMangos
ef19575a59 Update spell code base at mangos_spell_check.sql errors:
* Drop code for spell 781. Not need now for work.
* Move code for 8017 and ranks to expected effect for 3.2.x.
* Drop code for spell 26635. Not need for new way work.
2009-10-03 06:47:34 +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
tomrus88
546f7a7fe5 Merge commit 'origin/master' into 320
Conflicts:
	src/game/BattleGround.cpp
2009-09-28 19:52:54 +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
tomrus88
258e19a4a3 Merge commit 'origin/master' into 320 2009-09-22 18:14:06 +04: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
Shendor
b1cb25e92f [8516] Implement spell 53271.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-20 23:59:01 +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
NoFantasy
744c6eaac0 [8505] Set character spell 16857 active.
Applies to some characters upgraded from 2.x.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-16 11:05:42 +02: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
tomrus88
b493c840e1 Merge commit 'origin/master' into 320
Conflicts:
	sql/mangos.sql
2009-09-16 01:35:50 +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
tomrus88
6f2b9a7e80 Merge commit 'origin/master' into 320 2009-09-14 16:32:59 +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
Fog
b276b05363 [8495] Add absent ; in sql update that can create problems in merged sql update sequence.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-13 22:19:50 +04:00
VladimirMangos
610703c14b [8492] Implement talent 53563.
Original patch suggested by Arthorius.
Added data in mangos_spell_check to remember requirement update code for 3.2.x support in future.
2009-09-12 11:04:03 +04:00
VladimirMangos
692f32c82a [8491] Add absent empty line to end of sql updates.
Thanks to mns for pointing to problem.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-12 04:17:25 +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
NeatElves
b9f16d2faf New flask added in 3.2.x.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 06:04:21 +04:00
VladimirMangos
7974e1ebcb Merge branch 'master' into 320 2009-09-10 05:46:08 +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
The_Game_Master
bf7c15a5a6 [8469] Fix possible garbage in character_spell after [8416]
Removed in sql update spell not expected to be listed in character_spell
long before [8416] as dependent, but reported as partly listed. So do cleanup.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-05 04:36:04 +04:00
tomrus88
4a8431f581 Merge commit 'origin/master' into 320
Conflicts:
	src/game/DBCStructure.h
	src/game/DBCfmt.h
	src/game/MiscHandler.cpp
	src/game/ObjectMgr.cpp
2009-09-04 21:16:59 +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
tomrus88
d26712c6ba Merge commit 'origin/master' into 320
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Opcodes.cpp
	src/game/WorldSession.h
2009-08-29 12:01:39 +04:00