Commit graph

811 commits

Author SHA1 Message Date
Triply
7dd997617e [7460] Fixed possible cheating in rated arena by ressurection after relog.
Fix: Do not allow to remove insignia from players in arena!
Fixed ending arena match when last player of team logs out.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 22:33:34 +01:00
VladimirMangos
e4a5a47178 [7459] Support case when movegen at own Finilize add another movegen. 2009-03-14 23:41:18 +03:00
=Neo2003
9b1216f21c [7458] Not reset/set some data at attack target switch that expected do at any target lost.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 23:40:57 +03:00
Triply
74006886e9 [7457] Fixed set Bg raid leader to party or raid leader who entered Bg.
Removed useless code from my previous patch.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 20:22:17 +01:00
VladimirMangos
435b53c853 [7456] Batter check for items with delayed cooldown.
This must solve problems with some still stuck until relogin items.
2009-03-14 19:21:18 +03:00
Triply
b45b075668 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid.
Patch is tested, but can cause problems / unexpected behaviour.
TODO: set raid leader of battleground raid to raid leader who entered BG
TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 17:01:30 +01:00
Lightguard
f280c96770 [7454] Support scripting for dummy spell effects.
Note: scripting calls specially added in end of function for allow calling only
      if internal implementaion absent for dummy effect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 00:21:06 +03:00
VladimirMangos
bc57ab7c58 [7453] Fixed some example data in mangos.sql 2009-03-13 22:23:53 +03:00
VladimirMangos
4e4db62da3 [7452] Drop from DB broken action button data detected at loading. 2009-03-13 20:24:28 +03:00
VladimirMangos
037840d5ba [7451] Implement correct work SPELL_AURA_PERIODIC_MANA_LEECH for percent mana cost spells.
This is fix work of spell 3034 and 5138.
2009-03-13 19:23:13 +03:00
VladimirMangos
3a5d59c0c7 [7450] Fixes and improvements in TARGET_BEHIND_VICTIM, SPELL_EFFECT_JUMP2, SPELL_EFFECT_TELEPORT_UNITS work.
* Move near teleport code for player/creature in Unit::NearTeleportTo
* Allow correctly seelct target and end point orientation for script casted spells with TARGET_BEHIND_VICTIM
* Replace use BuildTeleportAckMsg by BuildHeartBeatMsg for creature teleports. BuildTeleportAckMsg
  set active mover for targeted player to affected creature and "freeze" player.
2009-03-13 17:08:10 +03:00
Triply
571c56ff07 [7449] Fixed BG queue invitation status showed on client. Fixed BG starting timer and BG ending timer.
TODO: make bg queue update player's status each minute.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-13 00:09:50 +01:00
Triply
e1f069e5b9 [7448] Fixed infinite honor gains in EoS.
Problem reported by LickedLurk. Thx.
Fixed Entering battleground bugged in [7447]

Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 16:29:46 +01:00
Triply
b94c78474b [7447] Fixed - do not let player who has higher level than Battleground->GetMaxLevel to enter battleground.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 15:28:09 +01:00
Triply
424c8b39df [7446] Applied mangos coding style for AB and EY.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 13:34:20 +01:00
VladimirMangos
b71759d204 [7445] Implement SPELL_EFFECT_JUMP2 used in some jump to target (unit/go/coordinates) spells. 2009-03-12 14:01:04 +03:00
VladimirMangos
1ed2f1e65d [7444] Fixed some recently added and old type conversion warnings. 2009-03-12 11:46:38 +03:00
VladimirMangos
719991d381 [7443] Better error reporting at DBC files extraction in ad.exe. No functionlity chnages in normal work case. 2009-03-12 10:03:34 +03:00
VladimirMangos
498ab2df07 [7442] Implement TARGET_DIRECTLY_FORWARD spell target mode.
It used in many cannon/rocket ike spells.
2009-03-11 22:50:15 +03:00
VladimirMangos
903b810353 [7441] Fixed reward money counting for ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_QUEST_REWARD 2009-03-11 16:34:00 +03:00
VladimirMangos
329fb3f9d1 [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use.
This in some cases make some zones not explorable if it not have server side data in current maps
but not allow cheating with zone set from client.
2009-03-11 10:08:12 +03:00
DiSlord
071a0317f0 [7439] Fix wrong liquid level in some places. Need reectract maps.
Remove some log on extract maps.
Add liquid status log to .gps command

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-11 00:04:19 +03:00
VladimirMangos
a2bb5aa9ed [7438] My typos in ObjectMgr::LoadAreaTriggerTeleports 2009-03-10 19:06:35 +03:00
balrok
b6064c373e [7437] Fixed client visible instance ids for battlegrounds. Patch provided by balrok. Thx.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-10 16:52:24 +01:00
balrok
6a24242cb5 [7436] Fixed Average Wait time for all BG/arena queue types. Patch has been made together with Balrok. Thx for help.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-10 15:38:53 +01:00
Triply
2c787373c5 [7435] Fixed Spell::EffectAddHonor to corrcetly add honor based on player's level
Signed-off-by: Triply <triply@getmangos.com>
2009-03-10 11:00:21 +01:00
rechapa79
bdd7b4f74b [7434] Fix one paladin spell bonus
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-03-10 02:48:17 +03:00
Triply
6dcb0099d9 [7433] Fixed death runes counting.
Patch provided by Rastikzzz. Thx.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 22:57:35 +01:00
balrok
aebcf212dc [7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Patch originally provided by Balrok. Thx
Correctly assigned some comments.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 22:32:11 +01:00
Lightguard
82e0e0b027 [7431] Fix the gnome racial spell
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-03-09 23:31:13 +03:00
DiSlord
2240fc49aa [7430] Fix warror ability heal amount
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-03-09 23:01:28 +03:00
Lightguard
acce72403c [7429] Fix one warrior ability bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-09 22:28:57 +03:00
DiSlord
6a90d60327 [7428] Add new .map file format use more compact data store and use
Rewrite .map extractor
 + extract more useful data
 + add "-f 0" option for disable size/accuracy optimisation
 + Compatability vs 2.4.3 client data
More fast get .map data
Implement fatigue timer
Rewrite breath timer
Allow absorb/resist for lava/slime environmental damage

Need re-extract map for work.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-09 19:38:35 +03:00
VladimirMangos
95379309e5 [7427] Sort ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE achievements by normal/heroic and check current player mode fit.
Also ignore any ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE achievements with not implemented custom requirements.
2009-03-09 19:00:05 +03:00
Triply
52696ce029 [7426] Mounted players now can capture tower point in Eye of Storm.
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 16:40:13 +01:00
Triply
1c8f8a2e13 [7425] Fixed crash in BattleGround::Update()
Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 15:10:35 +01:00
balrok
0babfec043 [7424] Codestyle: removed not needed \n in log output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-09 14:20:10 +03:00
VladimirMangos
186e0e14e3 [7423] Disable incremental limking for binaries in debug mode.
Anyway it always fail and back to non-incremental way.
2009-03-09 13:56:38 +03:00
VladimirMangos
eac584eb89 [7422] Allow localization base at guildmaster locale default guild rank names at guild creating. 2009-03-09 11:41:22 +03:00
VladimirMangos
60a3366892 [7421] Check fread result at DBC file loading.
This is more safe in general and prevent "warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result"
2009-03-09 10:13:21 +03:00
VladimirMangos
8bb451c85c [7420] Not set cdecl calling convention for x64 platform for Unic/Linux.
This will prevent generation "warning: 'cdecl' attribute ignored"
2009-03-09 10:09:59 +03:00
VladimirMangos
4dad8f40d0 [7419] Fixed some type convertion warnings. 2009-03-09 08:23:25 +03:00
VladimirMangos
bf718ea961 [7418] Implement new log filter LogFilter_AchievementUpdates that let avoid achievments updates spam in logs if not needed.
Enabled by default.
2009-03-09 07:59:27 +03:00
VladimirMangos
ebccd69b2f [7417] Fixed crash at access by unexpected NULL pointer in quest templates map.
Never never use operator[] for _access_ to elements std::map.
2009-03-09 05:47:05 +03:00
balrok
18c8e861f4 [7416] Fixed minimap icon for battlegrounds and arenas. Patch provided by Balrok. Thx.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-08 23:25:59 +01:00
Triply
bd0619ce40 [7415] Fixed removing player from battlegrounds
Probably fixed bug with not ending battlegrounds - reported in previous commit message
Fixed player will loose arena rating if
1. he doesn't click on enter rated arena window - and timer will expire
2. he logs out during time he is invited to rated arena match
3. if he logs out during fight in rated arena match
Patch is not tested, i will test it as soon as possible.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-08 22:18:53 +01:00
Triply
ee5feab3eb [7414] Fixed premature finish timer messages for battleground (va_start was broken).
Fixed typo with BattleGroundPlayerMap.
Optimized implementation for removing offline players from battleground.
Fixed typo in BattleGroundMgr::DeleteAllBattleGrounds.
Patch is tested and should work.

TODO there is a bug if you disable premature finish timer, that can cause battlegrounds to be never ending!
TODO rewrite BattleGround::RemovePlayer function - and fix bugs there!
I might not have today enough time to fix those bugs.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-08 13:28:35 +01:00
VladimirMangos
722395be75 [7413] Fixed finally problems with node names localization in BattleGroundAB messages.
Also fix build at some platforms.
2009-03-08 14:39:53 +03:00
Triply
42f579f280 [7412] Do not allow player with deserter debuff to be teleported to battleground
Signed-off-by: Triply <triply@getmangos.com>
2009-03-08 10:45:36 +01:00
VladimirMangos
f42815f04b [7411] Use similar localization classes for World::SendWorldText muti-line message. 2009-03-08 12:32:09 +03:00