silinoron
71c2698faf
Core/Auras: Really add forgotten changes (as in do it properly).
...
--HG--
branch : trunk
2010-12-05 08:34:01 -08:00
Machiavelli
b845b9d0fd
Core/DBLayer:
...
- Make time format of MaxPingTime consistent between authserver and worldserver. Note that the value is in minutes, update your config files accordingly if needed.
- Remove obsolete atomic uint32 and prevent concurrent calls to vector::size() in DatabaseWorkerPool
--HG--
branch : trunk
2010-12-05 16:48:47 +01:00
Machiavelli
82ccfa9830
Really fix nonPCH build. With thanks to Aokromes
...
--HG--
branch : trunk
2010-12-04 23:42:23 +01:00
Machiavelli
1c385ea036
Merge
...
--HG--
branch : trunk
2010-12-04 23:16:22 +01:00
Machiavelli
533f27e732
Core: Fix non-PCH build (sorry)
...
--HG--
branch : trunk
2010-12-04 23:14:37 +01:00
silinoron
141a9017d4
Core/Auras: Add forgotten changes from r91eb5c3bd59e63d3025fd7ec9ca4f1f05924a517.
...
Thanks tassader1000 for telling me it was important.
--HG--
branch : trunk
2010-12-04 14:02:55 -08:00
Machiavelli
f5d6319d4d
Core/DBLayer:
...
- Make the mysql connectionpool shared for async and syncrhonous connections.
- Allow configurable amount of connections for the pool
- Allow configurable amount of delaythreads
Note that delaythreads now only represent in-core threads. Whenever they execute a task they will pick a free connection from the pool instead of using their previously unique assigned connection.
The purpose of this design change is better distribution of SQL requests (no bottlenecks paired with idling) among available resources.
This also prevents a ¨memory waste¨ of preparing async prepared statements on synchronous connections (that were never called) - and vice versa. Now, connections aren´t explicitly async or synchronous, they serve both purposes.
Use at own risk, might cause instabilities.
Don´t forget to update your config files and clear your cmake cache.
--HG--
branch : trunk
2010-12-04 21:50:36 +01:00
silinoron
b8bf37264b
Core/Authserver: Cleanup.
...
--HG--
branch : trunk
2010-12-04 11:19:41 -08:00
silinoron
3201338eac
Core/Auras: Allow spell 64381 to stack four times.
...
Patch by Lopin.
--HG--
branch : trunk
2010-12-04 10:59:45 -08:00
silinoron
1b5ff62314
Core/Auras: Replenishment should stack duration, not several instances.
...
Patch by dr.tenma.
Fixes issue #4370 .
--HG--
branch : trunk
2010-12-04 10:59:06 -08:00
silinoron
3661ed8231
Core/Auras: Fix wrong durations on certain reflected spells.
...
Patch by dr.tenma.
Fixes issue #3611 .
--HG--
branch : trunk
2010-12-04 10:51:46 -08:00
linencloth
4cd2f3dae6
Core/Traveller: Calculate the travel time correctly for zero distance
...
Closes issue #4857
--HG--
branch : trunk
2010-12-04 17:25:33 +01:00
Machiavelli
b9fb7554c5
Core/Disables: Add flags SPELL_DISABLE_MAP and SPELL_DISABLE_AREA for sourceType DISABLE_TYPE_SPELL.
...
This will allow you to disable spells on certain maps/areas. Note that you must have at least flag SPELL_DISABLE_PLAYER or SPELL_DISABLE_CREATURE or SPELL_DISABLE_PET set too, as they take preference.
The parameters for mapIds and areaIds are defined in new columns params_0 and params_1 respectively, in a comma-seperated string.
Example:
INSERT INTO disables VALUES(0, 8921, (1+16+32), "571,1", "1519", "Moonfire Example");
This will disable spell moonfire for players in maps 571,1 and area 1519.
--HG--
branch : trunk
2010-12-04 18:29:14 +01:00
Rat
3240a4ec33
Core/SmartScripts: Fix a typo in action 'set instance data'
...
--HG--
branch : trunk
2010-12-04 15:04:46 +01:00
Shauren
04b4364908
Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel script
...
Closes issue #5017 .
--HG--
branch : trunk
2010-12-04 12:53:01 +01:00
Machiavelli
bbf619c20d
Core/Spells: Fix spell damage/healing multipliers for spells that affect multiple targets (ie. Heart Strike, Chain Lightning, Chain Healing)
...
Author: dr.tenma
Closes issue #4506
Closes issue #1874
--HG--
branch : trunk
2010-12-04 10:31:14 +01:00
Machiavelli
737aeae50c
Core/Gridnotifiers: Fix a possible crash in MessageDistDeliverer::SendPacket
...
Updates issue #5016
Please try to re-reproduce
--HG--
branch : trunk
2010-12-04 10:14:12 +01:00
Liberate
526c15336d
Scripts/Pit of Saron: Fix a crash at Scourgelord Tyrannus.
...
Closes issue #4601
--HG--
branch : trunk
2010-12-04 02:20:32 +01:00
Liberate
418f704e92
Core/Battlegrounds: Actually remove 16 rating from the teams if the match was ended because of the 45 minutes time limit.
...
--HG--
branch : trunk
2010-12-03 23:14:38 +01:00
Shauren
e0c992a8ba
Scripts/Icecrown Citadel: Added script for Blood Queen Lana'Thel
...
Scripts/Icecrown Citadel: Fixed Invocation of Blood announcement emote for Blood Prince Council
Scripts/Icecrown Citadel: Fixed intro for Lady Deathwhisper
Scripts/Icecrown Citadel: Fixed Bone Spike for Lord Marrowgar
--HG--
branch : trunk
2010-12-03 17:47:33 +01:00
Shauren
892f56c37d
Fixed compile, missed these changes
...
--HG--
branch : trunk
2010-12-03 14:14:08 +01:00
Shauren
96ab1a102f
Scripts/Trial of the Crusader: Fixed crashes in Gormok the Impaler
...
Closes issue #4515 .
--HG--
branch : trunk
2010-12-03 14:02:41 +01:00
Shauren
3badf69b63
Core/Spells: Fixed bad Z coordinate for Spell::EffectBind with location stored in database
...
Core/Scripts: Corrected few mistakes in misc scripts
--HG--
branch : trunk
2010-12-03 13:54:00 +01:00
Shauren
bd4b47af0e
Core/SQL: Added missing scriptnames to full sql, fixed typos and corrected delete statement in 10418_world_spell_script_names.sql (no need to reapply)
...
--HG--
branch : trunk
2010-12-03 13:36:14 +01:00
click
1ec9f7b828
Core/Scripts: Adjust SQL-update for 10462 to include a delete-query for the affected spell (prevents a possible reinsert-error during import)
...
Thanks to leak for noticing.
--HG--
branch : trunk
2010-12-03 00:26:48 +01:00
click
e672793a3c
Core/Battlegrounds: Add dampening-spells for battlegrounds and arenas (thanks to Dr.Tenma and Svetilo/przem-something)
...
Additional data required for this commit :
http://forum.trinitycore.org/topic/30684-10555-add-dampening-spells-for-battlegrounds-arenas-and-wintergrasp/
--HG--
branch : trunk
2010-12-02 23:50:36 +01:00
click
cf5e7b255d
Core/Battleground: Fix compile - forgot to remove one '(' when pushing
...
(AND YES IT WAS TESTED - I was just thinking of cleaning it slightly, dropped it, and forgot I had changed it)
--HG--
branch : trunk
2010-12-02 23:14:26 +01:00
click
28c2e270db
Core/Battlegrounds: Implement power resets on arena-fight preparations (first 60 seconds before arena-fight kicks off) (Thanks to Kaelima)
...
Restores all player powers every 5 seconds untill arena starts (fixes possible exploit with entering arena battle with full rage or runic power)
(The 5 second timer is not 100% confirmed, as official pages only states that the power is reset after prep-time - needs feedback)
Closes issue 4805
--HG--
branch : trunk
2010-12-02 22:50:30 +01:00
click
2338eae0ff
Core/Battlegrounds: Stop arena matches after 45 minutes of no win/loss candidate, and deduct 16 points from each team (blizzlike) - Thanks to Alez
...
Closes issue 2017
--HG--
branch : trunk
2010-12-02 22:25:32 +01:00
click
94fd1487d0
Core/Chat: Fix issues introduced in 177d6f86ca
...
+ Wrong update-query for the channels-table (SQL from 10548 sorted properly)
+ Add a small correction on Channel.cpp say handling (thanks to Lazzalf/Leak)
--HG--
branch : trunk
2010-12-02 17:30:48 +01:00
click
0efefa6854
Tag revision 10532 as stable
...
--HG--
branch : trunk
2010-12-02 16:29:19 +01:00
click
590a426d16
And remove the patch, yeye...
...
--HG--
branch : trunk
2010-12-02 03:56:57 +01:00
click
bc098658c6
Core/Chat: Configure automatic owner declaration for custom chat channels (patch by leak)
...
Closes issue 4974.
--HG--
branch : trunk
2010-12-02 03:54:52 +01:00
Shocker
0c44bd33ee
Core/Items: Enforce item attributes stored in DBC files by default and add config option to allow overriding with database values, patch by ZxBiohazardZx.
...
Closes issue 4785.
--HG--
branch : trunk
2010-12-01 21:20:28 +02:00
Shocker
a23ae5c94c
Core/Spells: Implement SPELL_EFFECT_WMO_CHANGE, patch by Heisenberg
...
Closes issue 4984.
--HG--
branch : trunk
2010-12-01 20:59:05 +02:00
click
1d52e3a7b5
Core/Database: Rename update-file for previous commit, it's for characters, not for world ... danged old habbits...
...
--HG--
branch : trunk
rename : sql/updates/10543_world_group_member.sql => sql/updates/10543_characters_group_member.sql
2010-12-01 18:30:02 +01:00
click
aa35190c42
Core/Database: Adjust character database fields to have an existing default value (group_member) - fixes a transactionerror
...
--HG--
branch : trunk
2010-12-01 18:17:33 +01:00
Shauren
4e0735196e
Core/Spells: Spell id being cast by player can now be changed depending on map difficulty
...
--HG--
branch : trunk
2010-12-01 14:12:08 +01:00
Shauren
445dc511f3
Core/Auras: Implemented aura SPELL_AURA_OVERRIDE_SPELLS (293), base patch by Heisenberg, research by TOM_RUS
...
Closes issue #4969 .
--HG--
branch : trunk
2010-11-30 21:32:00 +01:00
click
782731f7e8
Revert an unintended change from 99a3929104
...
--HG--
branch : trunk
2010-11-30 00:20:58 +01:00
click
e308d5cb44
Core: Fix creature_respawn handling in Outdoor PvP system, thanks to sombre for noticing
...
Closes issue 4971.
--HG--
branch : trunk
2010-11-30 00:18:17 +01:00
azazel
3cb4a52d59
Core/Misc: fix some warnings. As a result removed one redundant hook from FormulaScript.
...
--HG--
branch : trunk
2010-11-29 15:50:38 +06:00
Spp
dd4b5f7b33
Fix typo in previous commit
...
--HG--
branch : trunk
2010-11-29 09:18:38 +01:00
Spp
25ac835507
Core/Groups: Move all function definition from .h to .cpp
...
Core/Groups: Remove Group.h dependency from any .h file
--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
Spp
116d845601
Fix compile
...
--HG--
branch : trunk
2010-11-29 07:50:15 +01:00
click
6c495df702
Core/AuctionHouse: Correction on AH deposit value, minimum 1 silver required (blizzlike)
...
--HG--
branch : trunk
2010-11-29 07:20:28 +01:00
click
efeb512fbf
Core/AuctionHouse: Calculate deposit taken for item(s) being auctioned properly + pick up correct number of items being auctioned (Thanks to Paradox)
...
Comment issue 4958
Added and pending further testing. Also need testing for issue 3681 (related to AH packetsize?).
Closes issue 4089.
Closes issue 4919.
--HG--
branch : trunk
2010-11-29 00:59:02 +01:00
click
3fccb2b7bf
Core/Chat: Disallow visual emotes when an entity is in dead-state (thanks to Vladimir)
...
Closes issue 4942.
--HG--
branch : trunk
2010-11-28 20:12:33 +01:00
Spp
916c0f98df
Core/Dungeon Finder: Fix members of premade group not being teleported to dungeon after a proposal success
...
--HG--
branch : trunk
2010-11-28 14:11:22 +01:00
Spp
c2791232c3
Core/Dungeon Finder: After a proposal success only teleport new players
...
--HG--
branch : trunk
2010-11-28 00:43:21 +01:00
Spp
9bb043d5b5
Core/Dungeon Finder: Fix Proposal not being shown to players in LFG group trying to do a new dungeon
...
(Missing code from rev 77918d0138)
--HG--
branch : trunk
2010-11-28 00:37:34 +01:00
click
0fde30f185
Core: Adjust packetsize for SMSG_RESYNC_RUNES - thanks to False.Genesis ( and to Svetilo12 for the heads up )
...
Closes issue 4943.
--HG--
branch : trunk
2010-11-28 00:40:20 +01:00
Spp
c4a7d18306
Core/Dungeon Finder: Show player selected dungeon in proposal window only if its a new dungeon
...
--HG--
branch : trunk
2010-11-27 23:23:39 +01:00
Spp
74ddff0c4e
Core/Dungeon Finder: Fix role check algorithm (Some valid combinations were
...
being marked as invalid)
--HG--
branch : trunk
2010-11-27 22:41:49 +01:00
click
777fb1a04a
DB/Data: Correction on script_texts for quest Discrediting the Deserters (11133) when not using default (english) language- thanks to Dark0r for noticing
...
REIMPORT THE FIXED SQL.
--HG--
branch : trunk
2010-11-27 09:29:18 +01:00
Shauren
eb0a5467c2
Scripts/Icecrown Citadel: Fixed possible exploits in Deathbringer Saurfang's script
...
--HG--
branch : trunk
2010-11-26 22:46:09 +01:00
Spp
c628685d59
Core/Dungeon Finder: Fix a crash in Join
...
Closes issue 4939
--HG--
branch : trunk
2010-11-26 17:16:21 +01:00
Spp
4ace88e909
Core/Dungeon Finder: Properly remove players from queue (or readd) after a proposal failed
...
--HG--
branch : trunk
2010-11-26 04:44:57 +01:00
Spp
bbe955c5ab
Core/Dungeon Finder: Multiple changes in Join function
...
- Reformat some code to make it easier to read
- Safe leave and rejoin queue when already queued and trying to rejoin to different dungeons (it was giving error earlier)
- Do not allow to select another dungeon while im the middle of a Lfg dungeon not completed (any dungeon selected is changed by current dungeon)
- Fix error that prevented groups to join another dungeon after completing the current lfg dungeon
Core/Dungeon Finder: Remove references to player from SendLfgUpdateParty and SendLfgUpdatePlayer handlers
--HG--
branch : trunk
2010-11-26 04:43:07 +01:00
click
46d39f17b4
Fix typo from revision 3f0577c8e6
...
--HG--
branch : trunk
2010-11-26 02:37:56 +01:00
click
025d070752
Core/Unit: Fix pets aggromode - do not set player in combat untill pet has actually done damage to target (fix by Kaelima)
...
Closes issue 4894.
--HG--
branch : trunk
2010-11-26 02:02:05 +01:00
click
54b8bca155
Merge
...
--HG--
branch : trunk
2010-11-26 01:36:44 +01:00
click
8f57339301
Core/PetHandler: Correction of SMSG_PET_NAME_QUERY response packet sizes and structure (fix by Ramus)
...
(Client automatically handles re-queries if name is not supplied)
Closes issue 4924.
--HG--
branch : trunk
2010-11-26 01:35:32 +01:00
Spp
08b43a1e69
Core/Groups: Properly read CMSG_GROUP_ACCEPT and CMSG_GROUP_INVITE opcodes
...
--HG--
branch : trunk
2010-11-26 01:24:31 +01:00
click
cacf75ae60
Fix a small typo in worldserver.conf.dist leading to errors during config load on "fresh" installs
...
--HG--
branch : trunk
2010-11-24 20:48:39 +01:00
Shauren
3fa97ad538
Core/Spells: Phaseshift auras can now be stacked
...
--HG--
branch : trunk
2010-11-24 16:58:57 +01:00
Spp
ce989d701a
Core/Battleground: Do not allow to join queue if anyone in the party is using dungeon system
...
--HG--
branch : trunk
2010-11-24 15:37:22 +01:00
Spp
90bf2d93ba
Core/Dungeon Finder: Do not allow to join Queue if someone in party is using Battleground/Arena System
...
Core/Dungeon Finder: Minor code style fix
--HG--
branch : trunk
2010-11-24 15:37:03 +01:00
Shauren
04c23ae7de
Core/Loot: Removed unused parameter from LootTemplate::Process
...
--HG--
branch : trunk
2010-11-24 15:32:50 +01:00
Shauren
650f62796a
Core/Commands: Simplified .kick command handler and fixed possible crashes there
...
--HG--
branch : trunk
2010-11-24 15:31:20 +01:00
click
03925d7324
* Remove CRLF from configfiles
...
--HG--
branch : trunk
2010-11-24 14:03:45 +01:00
click
20ffbcfa28
Fix missing change in SendNotification() (forgot to diff it)
...
--HG--
branch : trunk
2010-11-24 14:00:23 +01:00
click
5753be3271
Core/Configs: Use "oldstyle" configfile method - includes configfile cleanups and also restructuring it so every option is explained properly
...
Fix by leak. Closes issue 4913.
--HG--
branch : trunk
2010-11-24 13:48:00 +01:00
click
6fa169810b
Core/Reputation: Implement a more generic solution for reputation spillover (fix by Lynx3d, port by Kaelima)
...
* Sorts out issues with factions 1037 and 1052
* Give a more correct client output when reputation is assigned to parent faction
* reputation_spillover_template can still be used to override spillover from dbc
Closes issue 4915.
--HG--
branch : trunk
2010-11-24 13:41:20 +01:00
click
c786f08146
Core: Fix issues with builds after rf68255d6ac
...
( and a minor int32->uint32 change for SendNotification() )
--HG--
branch : trunk
2010-11-24 13:20:36 +01:00
Spp
fa97598594
Core/Dungeon Finder: Move vote kick initialization from Group code to Scripts
...
--HG--
branch : trunk
2010-11-23 20:49:57 +01:00
Spp
d3c9478153
Core/Groups: Add kicker and kick reason to RemoveMember
...
--HG--
branch : trunk
2010-11-23 20:49:36 +01:00
click
f25cbacf72
Core/Commands: Forgot one GetIntConfig->GetBoolConfig -entry in previous commit
...
--HG--
branch : trunk
2010-11-23 19:53:42 +01:00
click
f18cbadf7f
Core/Commands: Reintroduce CONFIG_SHOW_KICK_IN_WORLD-handling after a long absensce in the 'commented out code'-world
...
Closes issue 4042.
--HG--
branch : trunk
2010-11-23 19:49:48 +01:00
Spp
825dcbec53
Fix typo in previous commit
...
--HG--
branch : trunk
2010-11-23 15:57:43 +01:00
Spp
4dcdb396ad
Core/Dungeon Finder: Fix role check algorithm (Some valid combinations were being marked as invalid)
...
--HG--
branch : trunk
2010-11-23 15:01:15 +01:00
Spp
9ec77e0b63
Core/Dungeon Finder: Add missing change from 653b579755 that prevented to join random dungeons
...
--HG--
branch : trunk
2010-11-22 18:36:08 +01:00
Spp
f9d38be8c1
Core/Dungeon Finder: Fix a crash when trying to join raid browser as a group
...
--HG--
branch : trunk
2010-11-22 17:00:31 +01:00
click
d1ade6f6b8
Revert r5dcfc475b8 (we're still investigating why it does what it does though)
...
--HG--
branch : trunk
2010-11-22 16:07:32 +01:00
Spp
abb4f8f551
Core/Dungeon Finder: Fix visual bug that showed wrong needed roles after joined queue
...
--HG--
branch : trunk
2010-11-22 14:20:48 +01:00
Spp
a5833f2307
Core/Dungeon Finder: Check lock status of dungeons when joining non-random dungeons (Fixes not checking if raid was closed for the selected difficulty)
...
Core/Dungeon Finder: Fix some memory leaks when Joining
Core/Dungeon Finder: Do not allow to join dungeon raid browser (Not supported yet)
--HG--
branch : trunk
2010-11-22 13:16:09 +01:00
Spp
a7d262ce03
Core/Dungeon Finder: Do not allow to join if selected dungeons and raids
...
--HG--
branch : trunk
2010-11-22 12:28:06 +01:00
Spp
a2ef7e18a1
Core/Dungeon Finder: Give rewards only to players that joined selecting random dungeon
...
--HG--
branch : trunk
2010-11-22 10:19:54 +01:00
Spp
6b5ff1ca25
Core: Fix some warnings
...
--HG--
branch : trunk
2010-11-22 10:10:46 +01:00
click
ea9e88a48c
Core/Scripts: Add support for questID 25444 (Da Perfect Spies)
...
--HG--
branch : trunk
2010-11-21 23:43:44 +01:00
click
634ddae566
Core/Commands: Fix issues with crashes related to .gobject near command usage (thanks to Josh for finding the bug and culprit)
...
--HG--
branch : trunk
2010-11-21 23:00:03 +01:00
click
b62f587c30
Core/UnitAI: Fix some warnings
...
--HG--
branch : trunk
2010-11-21 22:40:22 +01:00
silinoron
fc832122cc
Core/Vehicle: Some code-style cleanup.
...
--HG--
branch : trunk
2010-11-21 10:07:51 -08:00
Machiavelli
733b72d29c
Core/DBLayer: Add method DirectExecute for synchronous execution of prepared statements (without resultset)
...
Author: [M]axx
--HG--
branch : trunk
2010-11-21 18:50:11 +01:00
Machiavelli
92a7d02184
Core/Player: Invoke global cooldown when equipping relic slot items during combat.
...
Please report any issues you find regarding this changeset.
--HG--
branch : trunk
2010-11-21 16:48:08 +01:00
Shauren
632a976b05
Scripts/Icecrown Citadel: More code style cleanup
...
--HG--
branch : trunk
2010-11-20 23:50:09 +01:00
Shauren
2a039e726a
Scripts/Icecrown Citadel: Added basic threat support for Blood Prince council in no-damage mode
...
--HG--
branch : trunk
2010-11-20 23:10:32 +01:00
Shauren
6d244e8f13
Scripts/Forge of Souls: Cleaned up code style
...
Scripts/Forge of Souls: Fixed a possible crash
Closes issue #4660 .
--HG--
branch : trunk
2010-11-20 21:27:10 +01:00
Shauren
417b29af24
Scripts/Forge of Souls: Fixed typo in instance script, thx Ramus for spotting it
...
--HG--
branch : trunk
2010-11-20 21:06:00 +01:00
Rat
5bde001407
Core/AI: hooked AI()->GossipHello to HandleGameobjectReportUse
...
--HG--
branch : trunk
2010-11-20 13:54:45 +01:00