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
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
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
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
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
megamage
59b5210574
Finally fixed problem with joining rated arena matches.
...
Thx to balrok for help and testing. Author: Triply
--HG--
branch : trunk
2009-02-27 12:58:02 -06:00
megamage
361f4b2e3c
[7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
...
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage
31e71cef1b
[7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Author: Triply
...
--HG--
branch : trunk
2009-02-27 12:56:48 -06:00
megamage
9e392472d4
[7351] Fixed removing normal horde groups from queue. Author: Triply
...
Fixed Reflective shield - patch provided by Rastik. Thx
--HG--
branch : trunk
2009-02-27 12:56:00 -06:00
megamage
dbe18a4469
[7350] Use more compact and fast way for check class/race achievement. Author: zhenya <[email protected] >
...
--HG--
branch : trunk
2009-02-27 12:55:14 -06:00
megamage
adb19df474
[7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area. Author: VladimirMangos
...
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
aura present at character, character race/gender.
* Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
* Old hardcoded lines for similar check removed from sources and required DB support for work now.
--HG--
branch : trunk
2009-02-27 12:53:27 -06:00
megamage
2dbe092d9f
[7348] Remove hack code from IsDeathPersistentSpell. Author: VladimirMangos
...
Re-apply zone dependent auras at resurrection by triggering zone update for player.
--HG--
branch : trunk
2009-02-27 12:28:10 -06:00
megamage
4cdb56a967
[7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for other pahsemask save part for consistense and safe. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-27 12:26:40 -06:00
megamage
228e9b0322
[7346] Revert [7342] and really restore work CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION setting. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-27 12:25:52 -06:00
megamage
e2fa2e44b6
[7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0) Author: VladimirMangos Original patch provided by NoFantasy.
...
--HG--
branch : trunk
2009-02-27 12:25:10 -06:00
megamage
14a3f5f923
[7344] Ignore drop rate multipliers in loot groups. Author: Velorien
...
For grouped loot use rates create problems with impossibility loot some items including quest items.
--HG--
branch : trunk
2009-02-27 12:24:09 -06:00
megamage
2d5f3150ab
[7342] Use neutral auctionhouse id in case CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION as more expected. Author: False.Genesis
...
--HG--
branch : trunk
2009-02-27 12:22:12 -06:00
megamage
a27dd0c41a
[7341] Report about wrongly use CREATURE_FLAG_EXTRA_INSTANCE_BIND for creatures spawned at not dungeon maps. Author: NoFantasy
...
--HG--
branch : trunk
2009-02-27 12:21:28 -06:00
megamage
0c0fe3185f
[7340] Prevent standup at save in result unexpected packet send to client. Author: aerione_alt
...
--HG--
branch : trunk
2009-02-27 12:20:33 -06:00
megamage
00b7908c51
[7337] Make some methods const. Author: ApoC
...
--HG--
branch : trunk
2009-02-27 12:15:06 -06:00
megamage
472f897b0a
[7336] Implemented new BattleGroundQueue invitation system. Now it supports premade group versus premade group matches.
...
Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file.
This patch can cause crashes.
Author: Triply
[7338] Little cleanup in battleground queues code. Author: ApoC
--HG--
branch : trunk
2009-02-27 12:13:59 -06:00
megamage
85d5d94e71
[7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos
...
* Move common code in appropriate functions.
* Correct select speed and 2D/3D distance for creature/player walk/fly
--HG--
branch : trunk
2009-02-26 20:35:40 -06:00
megamage
0f9238ecb1
[7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-25 16:47:22 -06:00
megamage
c50aab0033
[7331] Normalization and corrections in mangos_commands. Author: FrenchW
...
--HG--
branch : trunk
2009-02-24 11:17:48 -06:00