silinoron
0f997162ee
Core/ScriptSystem: Refactor ScriptMgr::OnPlayerChat to no longer accept a C-style parameter of type void*.
...
Instead, use overloaded methods for the different types.
--HG--
branch : trunk
2010-09-04 12:49:39 -07: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
Machiavelli
320cd16f20
Core/ArenaTeam: Correct player_divider use in ArenaTeam::GetAverageMMR and add a sanity check
...
--HG--
branch : trunk
2010-09-04 18:11:36 +02:00
Machiavelli
e3957bd6de
DB-Schema/Characters: Store game_event_save.next_start as unix timestamp and remove runtime typecasts for this field.
...
--HG--
branch : trunk
2010-09-04 18:01:03 +02:00
Machiavelli
a9ca3d5ed1
Core/ArenaTeam: Add a check to determine if a player is account for an accurate calculation of ArenaTeam::GetAverageMMR
...
Fixes issue #3789
--HG--
branch : trunk
2010-09-04 17:39:23 +02:00
Machiavelli
f19d7c2ec7
Core/WorldRunnable: Convert the last part of autobroadcast (interval config) to Trinity standards (proper caching) as well. Patch by 41782992@qq.com.
...
Closes issue #3796
--HG--
branch : trunk
2010-09-04 17:27:28 +02:00
silinoron
c05d0722f4
Core/Game: forgotten changes from r3cc82905662712385f0d03895a426310e6cc96bd
...
--HG--
branch : trunk
2010-09-03 22:40:16 -07: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
silinoron
1e1c596dda
Core/WorldPacket: Fix the core spamming complaints about CMSG_QUEST_QUERY being sent post-logout
...
Core/Spells: A little bit of "cleanup"
--HG--
branch : trunk
2010-09-03 20:30:29 -07:00
silinoron
d2c259fe76
Core/ScriptSystem: Add a PlayerScript::OnSpellCast(Player *player, Spell *spell, bool skipCheck) function.
...
Requested by Zor.
--HG--
branch : trunk
2010-09-03 19:58:16 -07:00
click
128c60c84a
Core/PetAI: Add additional safeguard against possible crash if me->GetCharmerOrOwner() is NULL in agressiontest
...
Patch by JacB667. Fixes issue #3766 .
--HG--
branch : trunk
2010-09-03 22:47:03 +02:00
azazel
7884fd927a
Spell Scripts:
...
* moved some generic spell dummy effects to scripts
* implemented two spell scripts for quests: 8913 Sacred Cleansing (Quest 55), 44936 Quest - Fel Siphon Dummy (Quest 11515). Closes issue #3040
* did some cleanup in spell scripts and added more comments
--HG--
branch : trunk
2010-09-04 02:33:57 +06:00
click
d4e2fdad78
Core/Worldpacket: Correct size of SMSG_AUTH_RESPONSE (thanks to Ramus for orig patch, and svetilo for notification)
...
--HG--
branch : trunk
2010-09-03 22:14:42 +02:00
Shauren
8f1d660a4b
Core/Dungeon Finder: Added missing check in previous revision and moved RewardDungeonDoneFor to proper place in the file
...
--HG--
branch : trunk
2010-09-03 20:25:03 +02: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
Machiavelli
d7f9cea305
Core/WorldRunnable: Convert autobroadcast to trinity standards (properly cache configs, change function name to better reflect purpose)
...
--HG--
branch : trunk
2010-09-03 18:29:35 +02:00
Shocker
ee83ffdfca
Fix snake's HP for hunter's Snake Trap
...
--HG--
branch : trunk
2010-09-03 19:04:32 +03:00
Machiavelli
273679c5ba
Core/DBLayer
...
- Store threadbundlemask internally per database pool and prevent direct access to config file post startup
- Fix threadbundlemask flag checking for ReactorRunnable, WorldRunnable
- Remove CLI threadbundlemask flag, CLI doesn´t need a seperate mysql connection nor thread
- Remove unused Character Database connection from WorldSocketMgr / ReactorRunnable
- Add proper LoginDatabase connection to RA Runnable (soon to be overhauled)
Note: still experimental and not tested for live use
--HG--
branch : trunk
2010-09-03 10:52:32 +02:00
Shauren
277f2674ac
Core/Tickets: Fixed lag report db saving query
...
--HG--
branch : trunk
2010-09-03 09:58:26 +02:00
runningnak3d
a15c45808c
Core/Build: Fix non-PCH compile for Linux (don't know about Windows)
...
--HG--
branch : trunk
2010-09-02 17:55:55 -06:00
Machiavelli
2c1c391597
Core/DBLayer:
...
- Example implementation of prepared statement in ObjectMgr::SaveCreatureRespawntime
- #include "MYSQLThreading.h" -> #include "MySQLThreading.h" (*really* fixes Linux build)
--HG--
branch : trunk
2010-09-03 00:44:27 +02:00
Machiavelli
39027133e4
Fix Linux build
...
--HG--
branch : trunk
2010-09-03 00:04:14 +02:00
Shauren
e25846a08e
Core/Spells: Fixed crash in EffectFeedPet
...
Closes issue #3728 .
Closes issue #3752 .
--HG--
branch : trunk
2010-09-02 22:04:08 +02:00
Shauren
cd182a1e8f
Fixed build
...
Fixed wrong header includes in new database files, thx Thyros
--HG--
branch : trunk
2010-09-02 20:22:19 +02:00
Shauren
e9ff90a967
Fix *SOME* build errors
...
--HG--
branch : trunk
2010-09-02 18:20:59 +02:00
Machiavelli
0117af4c37
Core/DBLayer:
...
- Implement deriviate classes of MySQLConnection for every database type (world, realm, characters)
- Make DatabaseWorkerPool templatized and use the above mentioned classes as parameter
- Implementation of the new types in code
(This is in preparation of prepared statement interface)
--HG--
branch : trunk
2010-09-02 17:47:50 +02:00
Shauren
15880d27ea
Core/Spells: Fixed Health Leech effect, should not apply healing multiplier to damage done
...
--HG--
branch : trunk
2010-09-02 15:34:36 +02:00
Shocker
8331da627d
Some old typo fixes, closes issues #3747 , #2756 , #2607 , thanks 2010phenix/jean-michele.nefen/toshik.777
...
--HG--
branch : trunk
2010-09-02 15:25:02 +03:00
Shocker
c8dfbdac35
Conflagrate direct & DoT damage shouldn't scale with duration increases of Immolate/Shadowflame, fixes issue 3376.
...
--HG--
branch : trunk
2010-09-02 06:02:51 +03:00
silinoron
80df469a38
Oooh, C++... How I love you.
...
--HG--
branch : trunk
2010-08-31 17:41:18 -07:00
Shocker
4e067dd313
Add LoS check for melee autoattacks, fixes issue 3535
...
--HG--
branch : trunk
2010-09-01 01:16:43 +03:00
Shauren
6c3b39ac01
Scripts/Icecrown Citadel: Added Festergut script, thx Cromash for providing the base and Cyrax for sniffs
...
Scripts/Icecrown Citadel: Added Professor Putricide script handling ONLY Festergut related events
--HG--
branch : trunk
2010-08-30 11:36:15 +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
Shauren
996e7741a1
Scripts/Icecrown Citadel: Corrected vehicleId for Deathbringer Saurfang, patch by Heisenberg/bolvor
...
Closes issue #3704 .
--HG--
branch : trunk
2010-08-31 21:47:43 +02:00
John Holiver
258398ed30
Fixes Druid T10 Balance 4P bonus.
...
Fixes DK T10 Melee 4P bonus.
--HG--
branch : trunk
2010-08-31 15:01:04 -03:00
Shocker
e32ece52ea
Pet level-synchronization with owner should be done before initializing stats, closes issue 3732, thanks moriquendu
...
--HG--
branch : trunk
2010-08-31 20:40:43 +03:00
Spp
866c28fbec
Core/Groups: Fix a crash loading groups from DB
...
Fixes issue 3693
--HG--
branch : trunk
2010-08-31 11:50:07 +02:00
Spp
b9e19572c4
Core: Fix more warnings (very few left under linux 32)
...
--HG--
branch : trunk
2010-08-31 11:39:51 +02:00
Spp
849ae84f5b
Core: Fix more warnings and fix compile under linux 64
...
--HG--
branch : trunk
2010-08-31 10:23:22 +02:00
Spp
e252b8abe7
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 23:07:14 +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
Machiavelli
9f5708f4f5
Wrap guild_bank_item save queries in transactions.
...
Fixes a potential dataloss issue
--HG--
branch : trunk
2010-08-30 19:19:47 +02:00
QAston
ee8d61eaa4
*Missing function from commit r90b0ebdba9 :(.
...
--HG--
branch : trunk
2010-08-30 18:33:02 +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
d81864e7f3
Cleansing Totem should no longer pulse at spawn as of patch 3.2.2, thanks SimonDMII/olegoriy for noticing, closes issue #3702 .
...
--HG--
branch : trunk
2010-08-30 10:53:29 +03:00
silinoron
08205afcc9
Rewrite much of the GM ticket system
...
* Extract storage and manipulation of tickets to TicketMgr (from ObjectMgr)
* Extract ticket commands to TicketCommands.cpp
* Adds support for sending GM responses and GM surveys.
* Fix structure of several ticket-related packets.
* Add support for understanding lag reports.
* Thanks Zor for some of the packet structures, and Cyrax for some sniffs
* Please report any issues encountered via the tracker.
--HG--
branch : trunk
2010-08-29 20:28:14 -07:00
Liberate
1f9936399c
Add a function to calculate the ratin gain/loss, instead of calculating it seperately 5 times.
...
Thanks to proof1337 for the patch.
Closes issue #3686
--HG--
branch : trunk
2010-08-29 23:36:55 +02:00
azazel
d952c90754
Spell Scripts:
...
* add new file spell_item.cpp for spells used by items (but not by quests)
* move some dummy effects of generic spells to scripts
* implement spell for quest 12937 Relief for the Fallen. Closes issue #3070
--HG--
branch : trunk
2010-08-29 22:40:23 +06:00
QAston
d81f5facc0
*Allow SPELL_EFFECT_POWER_BURN(64) to proc with damage.
...
--HG--
branch : trunk
2010-08-29 05:26:32 +02:00