megamage
5d5b37ab32
*Support localization for messsages in battleground. Author: VladimirMangos
...
[7411] Use similar localization classes for World::SendWorldText muti-line message. Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:00:31 -06:00
megamage
39bb92f9db
[7405] Show loaded 100% for case some player/pet/creature level data skipped as unused. Author: VladimirMangos
...
This cases have detail log output, but if detail mode disabled it look like strange not 100% load without reason.
--HG--
branch : trunk
2009-03-09 16:38:53 -06:00
megamage
f477021938
[7404] Fixed cheating in rated arena matches by alt+f4. Author: Triply
...
--HG--
branch : trunk
2009-03-09 16:36:58 -06:00
megamage
e979eb56f2
*Merge.
...
--HG--
branch : trunk
2009-03-08 13:07:59 -06:00
megamage
328345ac1a
[7403] much more unneeded includes removed Author: balrok
...
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
panaut0lordv
2826ebee2f
Codename update.
...
--HG--
branch : trunk
2009-03-08 19:04:29 +01:00
megamage
56416558fa
[7402] Fixed graveyards in WSG, prevent from cheating. Patch provided by Balrok.
...
--HG--
branch : trunk
2009-03-08 11:53:35 -06:00
megamage
88c050182c
*Fix build.
...
--HG--
branch : trunk
2009-03-08 11:31:00 -06:00
megamage
8cb6894c3d
*Merge.
...
--HG--
branch : trunk
2009-03-08 11:23:50 -06:00
megamage
520ce96257
[7399] Rewrited BattleGround starting code - moved it to battleground class. Author: Triply
...
Fixed message color for premature finish warnings.
Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
Added battleground announcer message removed in [7384].
[7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply
--HG--
branch : trunk
2009-03-07 12:05:30 -06:00
megamage
f63c07e669
[7398] Now really really fix error message Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-07 10:43:27 -06:00
megamage
99c765cec3
[7397] Implement above ground zone 4395 detection. Author: GriffonHeart
...
By hack code until proper multilevel zone data store not implemented.
--HG--
branch : trunk
2009-03-07 10:42:54 -06:00
megamage
acceab49c6
[7396] Fixed crash at group disband after some player invite decline and offline. Author: VladimirMangos
...
Correctly cleanup invites list at decline.
--HG--
branch : trunk
2009-03-07 10:42:13 -06:00
megamage
e3fa93e75f
[7395] Default MaxPlayerLevel should be 80 Author: multiplexer
...
--HG--
branch : trunk
2009-03-07 10:40:59 -06:00
megamage
4f6c96b98c
[7394] Check loot_template.maxcount for max allowed value (255) and make better report for this case. Author: VladimirMangos
...
Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes.
But limit group id to 127 max value. Check this at loading.
--HG--
branch : trunk
2009-03-06 19:39:42 -06:00
megamage
417c7c8319
[7393] Implement access to client side holiday ids. Author: VladimirMangos
...
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
* `game_event` now have new `holiday` field for store client side holiday id associated with game event
* Added new enum HolidayIds with existed at this moment holiday ids.
* New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.
--HG--
branch : trunk
2009-03-06 19:36:47 -06:00
megamage
0d53225fdc
[7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Author: ApoC
...
--HG--
branch : trunk
2009-03-06 18:14:41 -06:00
megamage
c2261e3502
[7391] Prevent achievement counter overflow, implement ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support.
...
Before overflow has been possible at 4294967295 lols for example.
ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets.
For this allow call it from scripts:
* Add Player::UpdateAchievementCriteria functiona ccessable from scripts
* In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr);
Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 18:14:05 -06:00
megamage
7915fd768a
*Merge.
...
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Paradox
7b47d509e3
New AHBot plus AuctionHouse changes
...
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
megamage
13fc3dcd7e
[7388] Fixed battleground premature warning message. SQL files are attached, you must execute them! Author: Triply
...
Fix for message's color will be soon.
--HG--
branch : trunk
2009-03-06 15:25:20 -06:00
megamage
6f595b3038
[7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables.. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-06 15:23:25 -06:00
megamage
93113cd3cc
[7385] Fixed mail price calculation Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-06 15:22:19 -06:00
megamage
50b3095312
Implement some death related achievements
...
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting)
* ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting)
Note: need fixed for cases when max allowed players different from recommended count.
* ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types)
Fixed:
* ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER
- self-kill counting as death from players
- same team player kill in opposition kills counter.
Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment.
Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 15:21:44 -06:00
megamage
80cd305082
[7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.
...
[7384] Removed some comments.
Fixed problem that queues doesn't invite new players to already running battlegrounds.
Some other fixes for announce system will be soon.
Author: Triply
--HG--
branch : trunk
2009-03-05 19:02:08 -06:00
megamage
b7363a72fe
[7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy
...
--HG--
branch : trunk
2009-03-05 18:58:58 -06:00
Blaymoira
fd2fd00c14
*Implement access_requirement table - by Iskander
...
- now check the requirements on teleport not only on areatrigger use
- moved some columns from instance_template and areatrigger_teleport to access_requirement table
--HG--
branch : trunk
2009-03-05 21:02:33 +01:00
megamage
ae55745f2a
[7378]~[7381] achievement code update. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-05 09:22:43 -06:00
megamage
7a44a9fb93
[7377] Dummy effects for portal spells used in DK starting area. Author: GriffonHeart
...
--HG--
branch : trunk
2009-03-03 18:41:44 -06:00
megamage
1cdae46468
[7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement. Author: VladimirMangos
...
Also
* Allow have in aura_spell spells with SPELL_AURA_PHASE in first effect.
* Allow negative aura_spell chaining in spell_area table.
* Better check at loading duplicate data (by requiremnt set) in spell_area table.
--HG--
branch : trunk
2009-03-03 18:41:11 -06:00
megamage
c113bf884f
factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-03 16:18:22 -06:00
megamage
0a78760b75
[7374] Fixed search free slot in Player::CanStoreItems in case specialized bag. Author: Arthorius
...
--HG--
branch : trunk
2009-03-03 16:14:15 -06:00
megamage
0cfc452093
[7373] Implement expansion check at character loading (for homebind, transport and plain coordinates). Author: VladimirMangos
...
Also move fall damage calucaltion in new function.
--HG--
branch : trunk
2009-03-02 17:15:25 -06:00
megamage
55dffa8409
[7372] Cleanup BattleGround::GetClosestGraveYard related code. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-02 17:13:12 -06:00
megamage
27cf8127b4
[7371] Correctly select closest graveyard in Player::RepoopAtGraveyard(). Patch provided by balrok Thx.
...
--HG--
branch : trunk
2009-03-02 17:09:59 -06:00
megamage
0b32a2c751
[7370] Fixed crash in CheckSkirmishForSameFaction() function, when we erased iterator which shouldn't be erased
...
Fixed crash in BattleGroundQueue::Update() by changing BGFreeSlotQueueType from deque to list. Author: Triply
--HG--
branch : trunk
2009-03-02 17:07:18 -06:00
megamage
d9d77939ba
[7369] Remove ReqSourceRef in quest_template. Author: NoFantasy
...
--HG--
branch : trunk
2009-03-02 17:06:41 -06:00
megamage
8998eba728
[7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case). Author: Lightguard
...
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
and at talent reset itself (can be enabled).
--HG--
branch : trunk
2009-03-02 17:04:46 -06:00
megamage
66809d5dc1
[7367] Restore one more time broken auctions work. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-02 17:03:36 -06:00
megamage
8f874caccd
[7366] Enabled skirmish arena matches for same faction. Author: Triply
...
Patch is tested and should not add crashes.
--HG--
branch : trunk
2009-03-02 17:02:27 -06:00
megamage
c064c2e2e1
[7365] Implement potion in combat delay proper work. Author: VladimirMangos
...
Original patch provided by miranda.conrado.
--HG--
branch : trunk
2009-03-02 17:01:41 -06:00
megamage
d7d7c3562a
[7364] Really implenent server-side anti-cheating cooldown check for spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE. Author: VladimirMangos
...
Move apply cooldown for like spells to aura apply (GO registering for owner in GO summon spell case)
Store "infinity" cooldown for like spells, ignore it at save and reapply it at aura loading.
Note: one problem still exist for like spells: at loading/far teleport spell icon lost diabled state at client.
Need sedn some unknown data in SendInitialPacketsBeforeAddToMap or SendInitialPacketsAfterAddToMap for restore it state.
--HG--
branch : trunk
2009-03-02 16:59:14 -06:00
megamage
c6fc7f7bca
[7363] Propertly set cooldown at server side for category spells at cooldown event send to client. Author: VladimirMangos
...
Also support item dependent cooldown set propetly at cooldown event send to client.
Last will used in follow potion cooldown delay in combat patch.
--HG--
branch : trunk
2009-03-02 16:55:41 -06:00
megamage
b1677c901d
[7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-02 16:53:50 -06:00
megamage
61b999fd3a
[7360] Use defines instead harcoded item prototype array sizes. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-02 16:47:20 -06:00
megamage
f503f320ad
[7359] Fixed crash when removing battleground from BGFreeSlotQueue. Author: Triply
...
Fixed player will now drop a flag before he logs out, if he is in BG.
--HG--
branch : trunk
2009-03-02 16:46:43 -06:00
megamage
e73d01182f
[7358] Fixed spell_area autocast field loading.Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-02 16:46:17 -06:00
megamage
f87dda2473
[7357] Fixed double applied playerlink in .levelup command. Author: balrok
...
--HG--
branch : trunk
2009-03-02 16:45:41 -06:00
megamage
5238b534ad
[7356] Use tabs for indent in Makefiles Author: freghar
...
--HG--
branch : trunk
2009-03-02 16:41:20 -06:00
megamage
9ba3d07fc2
Fixed crashes when inviting same faction arena groups.
...
Fixed crash in BGEndedRemoveInvites (by setting queue type from deque to list). Author: Triply
--HG--
branch : trunk
2009-03-02 16:38:36 -06:00