Commit graph

811 commits

Author SHA1 Message Date
VladimirMangos
1ccafb2fc9 [7310] Fixed name localization in whisper message. 2009-02-20 23:54:12 +03:00
VladimirMangos
fb05143311 [7309] Allow creatures has been visible in 2 or more phases as expected for some creature. 2009-02-20 19:56:34 +03:00
NoFantasy
2399ee22cf [7308] Send source items (reagents for quest casts/crafting) to client.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Strange thing happens, years ago it has been added as internal server data field ;)
2009-02-20 19:22:43 +03:00
VladimirMangos
1ff51c5326 [7307] Add primary key for table arena_team_member. 2009-02-20 00:31:36 +03:00
NoFantasy
a716d51c82 [7306] Updated POI icons defines.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-19 21:15:10 +03:00
VladimirMangos
49255a062b [7305] Allow use datalong2 not only for set target for DB script cast but also caster (1 bit set target (target/source), 2 bit set caster (source/target)) 2009-02-19 19:58:44 +03:00
VladimirMangos
b419c0ed03 [7304] Move inner template class from parent class definition for better compatibility with some GCC versions. 2009-02-19 15:45:27 +03:00
VladimirMangos
a5f51f70d0 [7303] Fixed sql changes part of pool patch. 2009-02-19 13:14:44 +03:00
miranda.conrado
4b46374577 [7302] Fixed build at Unix/Linux.
Signed-off-by: miranda.conrado <miranda.conrado@getmangos.com>

Possible fix, not checked (not have access currently to Unix host), but expected as working.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-19 12:53:41 +03:00
arrai
1206026b44 [7301] Partially restored linux build 2009-02-18 23:34:54 +01:00
balrok
26a0023d72 [7300] Fixed recent crashes in battleground code at player leave.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-19 00:05:06 +03:00
Neo2003
125bf4bfd6 [7299] Implemented circular loop detection for pools in pools
As a result, the last relation that makes the loop is automatically removed.
An error message is displayed and core go on loading remaining records.

Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
2009-02-18 20:20:12 +01:00
VladimirMangos
1932ce1ae7 [7298] Switch to support client 3.0.9 (3551). 2009-02-18 21:27:05 +03:00
VladimirMangos
595d1477da [7297] Fixed profession spells sorting in trainer spell list at client. 2009-02-18 21:03:32 +03:00
VladimirMangos
6793f9256f [7296] Fixed some GCC warnings. 2009-02-18 19:22:56 +03:00
NoFantasy
0be9e35b7b [7295] Make more static world data accessable for scripts use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 15:38:44 +03:00
Maxxie
1fa4ecf482 [7294] Fix: Spell 59752 now removes all movement impairing effects and all effects which cause loss of control.
(cherry picked from commit 2a2167021c751201c6884c336cfe31b881357bef)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 01:18:22 +03:00
VladimirMangos
41f85080dd [7293] Not attempt respawn/instance tables for battleground/arena templates (instance id == 0) 2009-02-18 00:37:35 +03:00
GriffonHeart
9b2a772413 [7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 00:29:05 +03:00
DiSlord
946e4fb036 [7291] Better map height calculation by use client data format.
Need re extract map files by use new ad.exe
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-17 21:07:12 +03:00
GriffonHeart
74fdc7bee7 [7290] Command .npc setdeathstate on/off.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-17 13:33:41 +03:00
GriffonHeart
25a57cca18 [7289] Make quest related check work in case absent English localization in DB.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-17 11:26:26 +03:00
NoFantasy
16cb8a5eda [7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 19:14:44 +03:00
NoFantasy
58f2c540bf [7287] Remove wrong implementation for spell 37573 dummy effect. It better implement in scripts anyway.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 18:05:12 +03:00
VladimirMangos
d47ab7e032 [7286] Remove unused local variable. 2009-02-16 17:52:07 +03:00
zhenya
8dc3586889 [7285] More code cleanups in static data structures use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 17:10:24 +03:00
VladimirMangos
f75f112bfc [7284] Avoid 2 times skill value request. 2009-02-15 23:50:54 +03:00
zhenya
22656b33e3 [7283] Use map for trainer spells for fast find data by spell id.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 22:49:12 +03:00
zhenya
cdfee0fdfc [7282] Store guilds in map for fast search by id, some other guild/arenateam related cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 14:03:29 +03:00
VladimirMangos
2817f301ad [7281] Cleanup in unused and incorrectly marked as unused aura names and comments. 2009-02-15 09:34:35 +03:00
DiSlord
56e97b4d9e [7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:08:06 +03:00
Lightguard
8d03a850c6 [7279] Allow equipped items loading at relogin to arena map.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-14 15:08:07 +03:00
NoFantasy
3b4402b88b [7278] In case gossip flag use gossip menu instead quest menu as client expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-14 14:21:16 +03:00
VladimirMangos
d9c74376b3 [7277] Correctly show guild bank tab info text for author and members not only after login but also after change. 2009-02-14 14:10:49 +03:00
Triply
1eadd9b7b4 [7276] Rewrited fix for same faction arena matches
Added better Object-oriented calls to BattleGround::Reset()
Added more checks to CreateBattleGround() method
This commit doesn't fix anything
2009-02-13 14:47:10 +01:00
balrok
bd89568993 [7275] getbattlegroundqueueidfromlevel returns now bg-specific queueids
before this commit, queueids were staticaly given for
9-19,20-29,30-39... but for instance alterac valley needs
51-60,61-70,71-80.. this patch allows this,
if you change the minlevel in battleground_template you also could make
23-32,33-42.. levelranges
not that we always use 10lvl-steps.. this is actually hardcoded..
2009-02-13 10:32:21 +03:00
domingo
6b715047a7 [7274] Fixed work of warrior talent 12296.
* Proper tick in 3 sec
* Replace amount calculation hack by more proved formula.
* Ignore in combat state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 08:59:26 +03:00
NoFantasy
93328cc861 [7273] Fix show 0-level quests in gossip quest list. Another case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 00:22:20 +03:00
freghar
f04ec2b98b [7272] Trailing whitespace cleaning
The "please use git diff --check before commit" thing.

Signed-off-by: freghar <compmancz@gmail.com>
2009-02-12 15:14:40 +01:00
rilex
d952b7ebcf [7271] Implement mangosd stop and pause if it work as Windows service.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 15:13:17 +03:00
VladimirMangos
671a942d14 [7270] Apply mangos code style. 2009-02-12 15:05:14 +03:00
balrok
b75157946c [7269] Use enum type for battleground queue type ids, and related cleanups.
* renamed a variable to make the content of it more clear: type->arenaslot
* renamed BattleGroundQueueTypeId-variables to bgQueueTypeId
  just to make it easier reading the code (cause there existed
  3 different names for this..)
* renamed GetBattleGroundQueueId to GetBattleGroundQueueTypeId
  again this is just for better understanding
* Renamed [GS]etQueueType and m_Queue_type
* Renamed to [GS]etQueueId and m_QueueId

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 09:00:28 +03:00
NoFantasy
109813be29 [7268] Fix show 0-level quests in gossip quest list.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 06:00:10 +03:00
VladimirMangos
50b6bfd7f1 [7267] Drop auctionhouse.location. 2009-02-12 04:54:15 +03:00
VladimirMangos
2d242c86a8 [7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
Note: `auctionhouse`.`location` field not used after this. But not removed to simplify backporting to mangos-0.12.
2009-02-12 04:52:02 +03:00
DiSlord
bb7d68347f [7265] Move feral bonus get to struct ItemPrototype
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-11 02:04:20 +03:00
DiSlord
4792d20b4e [7264] Use AP fields as signed integer
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-11 00:09:31 +03:00
DiSlord
14be347015 [7263] Fixed AP calculation in some cases
Fixed use AP dynamic mods (bonuses from stats)
Apply ITEM_MOD_ATTACK_POWER for ranged AP
Implement feral AP from weapon dps for druids

Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-10 21:24:45 +03:00
VladimirMangos
edfa757020 [7262] Check security level of target for .die command for case when this command have lesser security level from default setting.
Original patch provided by NewAge.
2009-02-10 12:12:13 +03:00
VladimirMangos
f58d1a179a [7261] Better check DB corrdinates for bg entry at player loading. 2009-02-10 10:14:31 +03:00