Commit graph

1800 commits

Author SHA1 Message Date
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
dc96ddfbfb [8599] removed now unneeded parameter from GetBattleGroundQueueIdFromLevel
cause alterac valley is not handled special since 3.2.2
this function also works without bgtypeid parameter
2009-10-07 15:36:43 +02:00
NoFantasy
0516ed3557 [8598] Clarify one error message and provide spellId in text.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-07 08:52:19 +02:00
Xadiaris
416f511419 [8597] Manually fix src/shared/revision_sql.h
It expected to be generated by git_id at [8596] commit
if use up-to-date git_id version...

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-07 09:06:34 +04: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
balrok
8eb9d3edd8 [8592] added missing include 2009-10-06 23:09:29 +02:00
VladimirMangos
1d9a142237 [8591] Add switch sql update changes into mangos.sql/characters.sql 2009-10-07 00:59:15 +04:00
VladimirMangos
d38866cfbc [8590] Restore build at Unix/Linux. 2009-10-06 15:34:33 +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
58c1f1158a [8588] Bump for 0.15.0 development. 2009-10-06 12:08:13 +04:00
VladimirMangos
97381d3e68 [8587] MaNGOS 0.14 release. 2009-10-06 12:06:56 +04:00
ApoC
b9168145b5 [8586] Fixed sql query to be compatible with PGSQL.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-06 03:11:22 +02:00
Triply
a0079ed59d [8585] Fixed problem with guild_bank_rights not removed when guild master deleted rank. Problem reported by leak, Thx.
Signed-off-by: Triply <triply@getmangos.com>
2009-10-04 18:22:30 +02: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
e167a567d5 [8583] Prevent crash at casting DK spells by non-DK characters. 2009-10-02 21:55:53 +04:00
VladimirMangos
5440deddea [8582] Correctly use yell range for boss textemote broadcast. 2009-10-02 04:50:23 +04:00
VladimirMangos
2e2d1013d4 [8581] Implement downgrade armor proficiency for items with scaled stats.
Original patch provided by Antonio593.
2009-10-02 04:46:24 +04:00
VladimirMangos
140b0d59bc [8580] Restore build at *nix after my recent included cleanup. 2009-10-02 01:39:58 +04:00
VladimirMangos
97c54acd92 [8579] Really make talent 51685 and ranks work, some cleanups
* Talent have spell family GENERIC, move code to correct case
* Not use caster for spells that expected self applied, avoid caster search without need in Aura::PeriodicDummyTick
2009-10-01 23:17:17 +04:00
hunuza
cedc62bd40 [8578] Fix targeting of priest spell 64843.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-10-01 20:32:47 +02:00
VladimirMangos
30105b8a0d [8577] Remove redundent #include "ObjectAccessor.h" 2009-10-01 19:30:30 +04:00
Shendor
4041121fd8 [8576] Implement spells 51689 and 51680
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-01 17:40:22 +03:00
Ambal
0cbb181479 [8575] Fixed x64 build compilation in VC2005
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-30 22:39:33 +03:00
XTZGZoReX
c5a22f775b [8574] Use map pointer in BattleGround for faster access
this avoids the HashMapHolder usage when searching
for objects
2009-09-30 18:18:33 +02:00
VladimirMangos
9ee41092df [8573] Fixed sql update name 2009-09-30 20:04:35 +04:00
VladimirMangos
1a3e8ca4d0 [8572] Add active repeatable non-daily quest in quest book at character loading also.
This fix bug with have like quest started and impossibility see and abort it.
2009-09-30 19:44:56 +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
balrok
b2e32f4ff9 [8570] allow negative spawntimesecs also when NoDamageImmune is 0
thx to crackm for report and investigations :)
2009-09-30 15:09:07 +02:00
balrok
9204ed5eb5 [8569] replace ^ by != introduced in 8552
for clarification, also ^ could create unexpeced
results if our boolean TRUE is not equal to 1

thx to vladimir for pointing it out + explanation
2009-09-30 14:37:39 +02:00
Ambal
09c50ab921 [8568] Use more correct spell target coordinates calculation for implicit target types 72, 73, 86
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-30 14:57:12 +03:00
VladimirMangos
fec8a8faa1 [8567] Include DB changes from [8548-8549] into mangos.sql 2009-09-30 02:40:31 +04:00
balrok
4f35eaebd5 [8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend()
proposed by vladimir
2009-09-29 19:16:34 +02:00
Triply
8246a8c310 [8565] Fixed crash added in [8560]. Thx to KAPATEJIb.
Signed-off-by: Triply <triply@getmangos.com>
2009-09-29 19:13:57 +02:00
VladimirMangos
8f31cf63bd [8564] Not allow use -l -s options unsupported combination in git_id call. 2009-09-29 20:42:16 +04:00
balrok
bf8e801ab0 [8563] fixed buffobject despawning in wsg
cause those objects are spawned through db
old buff-handling code only threw errors
2009-09-29 16:38:58 +02:00
balrok
5ddd66712f [8562] added missing spiritguide-spawn in wsg
thx to Tenthu for reporting and testing
2009-09-29 16:18:46 +02:00
VladimirMangos
734426a6f6 [8561] Replace another auras code call by explicit code
This better by reasons:
* More explcitly clear how work aura code
* One from "sub-auras" already applied only in player only case
* Another "sub-aura have lot code related to appling for specific weapon types that not need in this aura code
2009-09-29 17:58:09 +04:00
Triply
0356924cf9 [8560] Optimized guild and arena team loading at startup.
Signed-off-by: Triply <triply@getmangos.com>
2009-09-29 15:41:17 +02:00
Wojta
e412e10de1 [8559] Fixed item 42455
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-29 11:03:20 +03:00
balrok
3de0c8f3dd [8558] fixed typo which disabled accidently some spells 2009-09-28 22:59:03 +02:00
balrok
0ecd93fdc9 [8557] fixed revision_sql.h
sorry i used a too old git_id tool :-/
2009-09-28 18:40:36 +02:00
qsa
8cda413ddc [8556] Implement implicit target 36. Qsa is on rampage today, somebody stop him! :)
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-28 19:04:34 +03:00
balrok
a59c6bb0d9 [8555] removed now unused spelldefinition
SPELL_WAITING_FOR_RESURRECT isn't used anymore
2009-09-28 17:47:02 +02:00
balrok
7e1213232f [8554] last changes moved battleground objects to database
this empty commit is just for clarification..
also all users, please look at your database-providers
and script-providers forum for sql and scripts
cause right after those commits mangos won't spawn
any gameobjects and creatures in battlegrounds anymore

and spiritguides (=spirithealer from bg) won't work withouth
scripting support
(as noted in last commit scripting support is just very simple
and maybe can even done with eventai)
2009-09-28 16:52:59 +02:00
balrok
1f9b4ca4c3 [8553] removed spiritguide from code
they basicaly should
*autocast 22011
*give player after gossiphello buff 2584
*port players away to another spiritguides, when they die

so this can be done by a script
and maybe eventai
2009-09-28 16:45:06 +02:00
balrok
2da82a8c68 [8552] implemented spells which can be casted while dead
i added a function IsDeathOnlySpell() which returns true
if this spell can ONLY be casted while dead, so i haven't
implemented all spells which could be cast while dead..
2009-09-28 16:44:49 +02:00
balrok
5385b385bc [8551] code cleanup
moved arena/battleground check from spell::checkcast
to SpellMgr::GetSpellAllowedInLocationError

also i adjusted some spell_fail-codes related to battleground
cause a spell_fail_wrong_area always requires the areaid, else it
would output "not in area %s"

then we don't need to check for map->isarena() when player is already in an
arena

----
in Spell.h
i moved "isTargetableForAttack()" to the top - cause it was anyway used
in every case of that switch

and isTargetableForAttack for attack also checks for isAlive
and isInFlight

so this could get simplified
2009-09-28 16:44:37 +02:00