Rat
5de3183180
Core/ConditionMgr: You can now add conditions to QuestAccept (at CanTakeQuest check)
...
--HG--
branch : trunk
2010-09-19 19:49:23 +02:00
_manuel_
c4ed3430cf
Core/Players: Better check for weekly quests in RewardQuest function.
...
--HG--
branch : trunk
2010-09-19 13:24:21 -03:00
Shauren
97aeb251b8
Core/Players: Added support for single character bans
...
Core/Commands: Renamed .ban character to .ban playeraccount (.ban character will ban only the player, not account)
This revision reaches 10000, congratulations and thanks to everyone who contributed!
--HG--
branch : trunk
2010-09-19 17:02:14 +02:00
linencloth
9739bea487
Core/Loot: Reimplement the proper check for loot recipient to prevent rewarding loot without tagging the creature by the player.
...
Also fix the related skinning problem, and do not set the skinnable flag for creatures without any loot recipient.
--HG--
branch : trunk
2010-09-15 17:44:56 +02:00
linencloth
52bc2478c9
Core/Creature: Do not reward XP for creatures without any loot recipient. (XP fix part for the "pet-only"-kills)
...
--HG--
branch : trunk
2010-09-15 17:37:03 +02:00
Shauren
a72fc44f9a
Core/Loot: Reverted part of revision fe39cb058b75, fixes skinning loot
...
Core/Loot: Some logic fixes for group looting
Buildsystem/MSVC: Fixed compile warning
Config: Added missing description for Rate.Drop.Item.ReferencedAmount
Closes issue #4004 .
--HG--
branch : trunk
2010-09-15 13:44:40 +02:00
Spp
cce61839f8
Core/Player: after removing player from group, if group is deleted assign pointer to NULL to make sure no garbage pointer is used later in code
...
--HG--
branch : trunk
2010-09-14 20:14:10 +02:00
Spp
61bbd284de
Core/Player: Add default remove Method to RemoveFromGroup
...
--HG--
branch : trunk
2010-09-14 16:38:08 +02:00
click
a6efc4dad5
Core/Loothandling: Make sure "pet-only"-kills doesn't drop loot (when pet is killing a creature on its own without any assistance from player)
...
(Also fix unintended typo from r701f212a00)
--HG--
branch : trunk
2010-09-13 22:49:20 +02:00
Shauren
6d0a031a77
Core/Quests: Some cleanup in quest relation accessing
...
--HG--
branch : trunk
2010-09-13 13:18:27 +02:00
Shocker
4908187578
Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd
...
--HG--
branch : trunk
2010-09-13 01:42:14 +03:00
Shauren
1f7064efee
Core/Items: Use proper method for returning item max stack size
...
--HG--
branch : trunk
2010-09-12 10:43:40 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Shauren
d714d0eb20
Core/Loot: Reverted revision 44a1f284dd3e
...
Core/Loot: Implemented automatic currency distribution in better way, applying all conditions and updating achievements
Closes issue #3912 .
--HG--
branch : trunk
extra : rebase_source : 35c2a59d213793ee29dfd0fc1acb7c15b375b049
2010-09-11 21:28:55 +02:00
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Spp
9e9c39244b
Code/Groups: use enum as parameter in Group::RemoveMember
...
--HG--
branch : trunk
2010-09-10 13:37:55 +02:00
Shauren
2cf5bfb150
Core/Quests: Fixed quest relying on KillCredit fields in creature_template, guid search for real entry should not be performed since we explicitly need the entry from credit
...
Closes issue #3882 .
--HG--
branch : trunk
2010-09-08 16:15:22 +02:00
Shocker
f19336e455
Core/Packets: Fix packet size and info for SMSG_SET_PROFICIENCY, original code by zhenya
...
--HG--
branch : trunk
2010-09-08 13:26:40 +03:00
Shocker
3bb2dc3588
Core/Arena: Don't ignore GM visibility in arena pre-start visibility check, fixes issue 3862
...
--HG--
branch : trunk
2010-09-08 07:57:14 +03:00
silinoron
be7d94f24e
Add support for character race and faction transfers.
...
Based (loosely) on patch by Ner'zhul, DarkXuan, and [email protected] .
Fixes issue #3429 .
--HG--
branch : trunk
2010-09-05 13:12:24 -07:00
Shauren
de59ac3bc3
Core/Quests: Fixed quest kill crediting in heroic instances
...
--HG--
branch : trunk
2010-09-05 19:51:14 +02:00
Shauren
0f9fe8dbeb
Core/Players: Don't set instanceId to 0 when player is on transport during loading, there CAN be transports inside instances
...
Core/Scripts: Added waypoint id to OnRelocate transport hook
Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances)
Core/Transports: Call InstanceScript::EventInform for transport events
Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now)
Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore)
Closes isssue #3749 .
--HG--
branch : trunk
2010-09-02 10:40:32 +02:00
silinoron
5179d3149a
Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
...
--HG--
branch : trunk
2010-09-03 21:55:57 -07:00
Shauren
d5115ca687
Core/Dungeon Finder: Added support for rewards for random dungeons
...
Core/Quests: Simplified rewarding money from quests, now ModifyMoney and UpdateAchievementCriteria are called only once per quest
Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_LFD_TO_GROUP_WITH_PLAYERS
--HG--
branch : trunk
2010-09-03 20:11:14 +02:00
Shauren
6048d2ec5e
Core/Achievements: Pass killed unit pointer to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE (use in scripts)
...
--HG--
branch : trunk
2010-08-31 21:47:44 +02:00
Machiavelli
376958d474
Call _SaveTalents along side of _SaveSpells in Player::resetTalents.
...
Please leave feedback on how this affects your character_spell duplicate entry errors.
--HG--
branch : trunk
2010-08-30 22:15:42 +02:00
QAston
a8de57559b
*Allow channeled spells to be casted on dead target
...
*Define relted spell attributes
--HG--
branch : trunk
2010-08-30 17:32:51 +02:00
Spp
405f312918
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
Shocker
e3b92f9630
Implement .reload all_gossips, .reload quest_poi, .reload locales_gossip_menu_option. Original code by VladimirMangos, ported by Ramus. Closes issue #3466 , issue #3637 and issue #3477
...
--HG--
branch : trunk
2010-08-28 01:44:35 +03:00
Liberate
9bd804dece
Updates the arena rating system to use Matchmaker Rating.
...
The arena_team_stats sql in this commit sets all ratings to 0.
You start with 0 Team Rating and 1500 Matchmaker Rating.
Personal rating is moved to character_arena_stats, and will not reset when disbanding an arena team.
This new system is based on all the info I could get, but Blizzard didn't leak much info about the new system.
At least this system is really close to the official system.
Any issues found should be reported in an issue.
Huge thanks go to Aokromes for the intensive testing he has done with me.
Also thanks to Parzival for hearing me out and giving his ideas.
Fixes issue #3189
--HG--
branch : trunk
2010-08-27 18:18:26 +02:00
Shocker
9cf892b8f2
No need to hardcore spellid for arena visibility check
...
--HG--
branch : trunk
2010-08-27 10:24:20 +03:00
QAston
c1ac063ba1
*Remove m_currentBasePoints from spell class, use m_spellValue instead.
...
--HG--
branch : trunk
2010-08-27 06:40:23 +02:00
Shocker
55b09e7a9c
Fix arena visibility (no more seeing opponents before arena starts, also fixes visibility for partners' pets)
...
--HG--
branch : trunk
2010-08-27 06:48:26 +03:00
azazel
e3c2bdb722
Core/Cleanup: move repeating code for locale strings retrieval into separate method. Related code cleanup.
...
--HG--
branch : trunk
2010-08-27 00:57:49 +06:00
azazel
5fa14f58dc
Core/Cleanup:
...
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know)
* fix 'signed/unsigned' warnings (at least in VS)
* fix some other warnings and cleanup relative code
--HG--
branch : trunk
2010-08-26 15:54:56 +06:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
silinoron
b940a92415
Fix CRLF.
...
--HG--
branch : trunk
2010-08-24 17:02:39 -07:00
enjoi
25c8ab63f8
Core/Player: Add new function AddItem. Useful in the scriptsystem for custom scripts.
...
--HG--
branch : trunk
2010-08-24 18:18:31 -05:00
silinoron
aaaeecc916
Add support for vehicle scaling based on item level.
...
Requires database data.
Fixes issue #2754
--HG--
branch : trunk
2010-08-24 15:04:34 -07:00
Shocker
4a30a2815b
Force offhand weapon unequip when player doesn't have Dual Wield anymore
...
--HG--
branch : trunk
2010-08-24 08:19:17 +03:00
silinoron
8649bee17f
Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.
...
Also fix a warning from a previous commit.
--HG--
branch : trunk
2010-08-23 19:56:47 -07:00
azazel
caa3a58213
Core:
...
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable
* fix some signed/unsigned warnings and some typos
--HG--
branch : trunk
2010-08-23 22:58:32 +06:00
Spp
16d95d3115
Core: Fix some warnings
...
--HG--
branch : trunk
2010-08-23 07:51:19 +02:00
silinoron
5cbae843d5
Core/Game: fix all warnings related to converting doubles and floats.
...
--HG--
branch : trunk
2010-08-22 12:39:39 -07:00
azazel
399e35f8f5
Core:
...
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings
* fix some other warnings here and there
--HG--
branch : trunk
2010-08-22 23:46:40 +06:00
click
670964803f
Core: Fix more warnings, add new function sLog.outStaticDebug() that replaces DEBUG_LOG
...
--HG--
branch : trunk
2010-08-22 01:57:04 +02:00
Spp
572f7bbd1d
Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
...
--HG--
branch : trunk
2010-08-21 23:08:54 +02:00
Spp
a136403dee
Core: Remove "suggest parentheses around ‘&&’ within ‘||’" and "suggest parentheses around assignment used as truth value" warnings
...
--HG--
branch : trunk
2010-08-21 21:54:41 +02:00
Spp
c15c605a11
Core: Remove "unused variable 'xxx'" warnings
...
--HG--
branch : trunk
2010-08-21 21:14:35 +02:00
Spp
e7856a831c
Core: Remove "enumeration value 'xxx' not handled in switch" warnings
...
--HG--
branch : trunk
2010-08-21 20:55:31 +02:00