VladimirMangos
67f307d5f7
[7398] Now really really fix error message :/
2009-03-07 10:50:54 +03:00
GriffonHeart
13ca8d7064
[7397] Implement above ground zone 4395 detection.
...
By hack code until proper multilevel zone data store not implemented.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-07 09:15:16 +03:00
VladimirMangos
1727657ab5
[7396] Fixed crash at group disband after some player invite decline and offline.
...
Correctly cleanup invites list at decline.
2009-03-07 07:50:25 +03:00
multiplexer
2159dee379
[7395] Default MaxPlayerLevel should be 80
2009-03-07 05:04:55 +03:00
VladimirMangos
42b5130931
[7394] Check loot_template.maxcount for max allowed value (255) and make better report for this case.
...
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.
2009-03-07 03:54:31 +03:00
VladimirMangos
be74937146
[7393] Implement access to client side holiday ids.
...
* 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.
2009-03-07 03:00:17 +03:00
ApoC
4523a47155
[7392] Fixed SQL query for storing pending arena points for offline players for PGSQL.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-03-06 23:39:38 +01:00
VladimirMangos
5a8f379a70
[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);
2009-03-06 22:28:34 +03:00
NoFantasy
83affb51fd
[7390] Implement heroic instance quest requirement in areatrigger_teleport.
...
Also more fixes for prev. sql update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-06 18:23:38 +03:00
VladimirMangos
bda5dffcdb
[7389] Fixed sql update order protection data after recent commit.
2009-03-06 18:10:02 +03:00
Triply
17100c67a8
[7388] Fixed battleground premature warning message. SQL files are attached, you must execute them!
...
Fix for message's color will be soon.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-06 13:24:55 +01:00
tomrus88
6aadc16d7d
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/QueryHandler.cpp
2009-03-06 08:03:34 +03:00
tomrus88
ded3b8a00d
Player.cpp
2009-03-06 07:58:12 +03:00
tomrus88
18ecba8b5f
Equipment set fix
2009-03-06 07:47:39 +03:00
VladimirMangos
a07718fe29
[7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables..
2009-03-06 04:58:26 +03:00
VladimirMangos
0e7d940b90
[7386] Remove from mangos.sql content of instance_template table.
...
From this point expected that this table filled from another sources.
2009-03-06 04:30:32 +03:00
VladimirMangos
649653956a
[7385] Fixed mail price calculation broken recently by me.
2009-03-06 04:26:59 +03:00
VladimirMangos
c18d20782b
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.
2009-03-06 04:26:48 +03:00
Triply
bfa785fdb8
[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.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-05 22:25:39 +01:00
Triply
5179230901
[7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-05 16:48:00 +01:00
tomrus88
2884b06b0a
One more attempt to fix free talent points amount
2009-03-05 17:14:51 +03:00
NoFantasy
167b192ff2
[7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-05 16:17:43 +03:00
tomrus88
ef65518690
Fix free talent points amount in case preview learning
2009-03-05 16:09:25 +03:00
VladimirMangos
10f2648455
[7381] Sort cases in AchievementMgr::UpdateAchievementCriteria and mark some case as not used.
2009-03-05 15:48:12 +03:00
tomrus88
329b06d1e3
Learn preview talents fix
2009-03-05 14:44:40 +03:00
VladimirMangos
8928df7f07
[7380] Implement highest value achievements support. Implement some auction achievements
...
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_AUCTION_BID:
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_AUCTION_SOLD: (FIXME: only for online player)
2009-03-05 13:49:37 +03:00
VladimirMangos
bff0cb8c75
[7379] Implement some money related achievement criteria.
...
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_TALENTS:
* ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_QUEST_REWARD:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_TRAVELLING:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_AT_BARBER:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_MAIL:
* ACHIEVEMENT_CRITERIA_TYPE_LOOT_MONEY:
2009-03-05 02:49:40 +03:00
VladimirMangos
49322fa20a
Restore save tutorials only at character save and implement this for EquipmentSets
2009-03-04 19:17:59 +03:00
tomrus88
5afdde9f9e
Added lost sql update
2009-03-04 16:19:48 +03:00
tomrus88
058e77a740
Added lost code
2009-03-04 16:10:36 +03:00
tomrus88
e6a66cdc54
Updated to new client build
2009-03-04 14:58:11 +03:00
VladimirMangos
2d6b8bf068
[7378] Fixed check for ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL for non-class/race specific case.
2009-03-04 04:13:11 +03:00
GriffonHeart
e409b32c71
[7377] Dummy effects for portal spells used in DK starting area.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-04 02:40:28 +03:00
VladimirMangos
fee3278e57
[7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement.
...
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.
2009-03-04 01:27:56 +03:00
pasdVn
0d96837d48
[7375] Typos in dynamic object registering and deleting for owner.
...
This let have more then one persistent aura in same time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-03 23:53:28 +03:00
VladimirMangos
03273a49da
factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work.
2009-03-03 17:13:11 +03:00
tomrus88
2197da6407
Fixed player name response (chat now working)
2009-03-03 12:38:16 +03:00
Arthorius
3ab8264189
[7374] Fixed search free slot in Player::CanStoreItems in case specialized bag.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-03 07:40:47 +03:00
tomrus88
8f1edbf513
Implemented learn preview talents, fixed talents/glyph display
2009-03-03 02:01:16 +03:00
VladimirMangos
02dd431846
[7373] Implement expansion check at character loading (for homebind, transport and plain coordinates).
...
Also move fall damage calucaltion in new function.
2009-03-03 00:47:30 +03:00
tomrus88
5a967caef4
Moved some code
2009-03-02 19:01:01 +03:00
VladimirMangos
9983286280
[7372] Cleanup BattleGround::GetClosestGraveYard related code.
2009-03-02 15:56:37 +03:00
Triply
f454ddf6d0
[7371] Correctly select closest graveyard in Player::RepoopAtGraveyard(). Patch provided by balrok Thx.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-02 10:38:08 +01:00
Triply
a50606d225
[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.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-02 09:50:31 +01:00
NoFantasy
94de4437f8
[7369] Remove ReqSourceRef in quest_template.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-02 03:31:18 +03:00
Lightguard
2f02dc7642
[7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
and at talent reset itself (can be enabled).
2009-03-02 02:46:59 +03:00
VladimirMangos
98750bd95b
[7367] Restore one more time broken auctions work. Sorry :(
2009-03-01 19:02:52 +03:00
tomrus88
9e1e845e54
Fixed talents display and inspect
2009-03-01 18:20:22 +03:00
Triply
aa5f021d28
[7366] Enabled skirmish arena matches for same faction.
...
Patch is tested and should not add crashes.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-01 12:20:11 +01:00
VladimirMangos
de51363151
[7365] Implement potion in combat delay proper work.
...
Original patch provided by miranda.conrado.
2009-03-01 11:33:08 +03:00