Commit Graph

26466 Commits

Author SHA1 Message Date
Shocker
7093c16c5d Core/RBAC: Fix revoking permissions
(cherry picked from commit cb911cad00)
2016-03-12 23:33:03 +01:00
Carbenium
b637c198af Core/Player: Update some function declarations
(cherry picked from commit 0064fc2336)
2016-03-12 23:25:01 +01:00
Carbenium
bff45bbb14 Core/Player: Improve log messages 2016-03-12 23:22:10 +01:00
Carbenium
f29e380797 Core/Player:
* sprinkle some consts
* replace some C-style casts by static_cast
* replace NULL by nullptr

(cherry picked from commit b705ebeb7f)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
2016-03-12 22:36:45 +01:00
Vincent-Michael
f81488b90e Core: Revert fail
(cherry picked from commit b5329d8a03)
2016-03-12 21:46:56 +01:00
Vincent-Michael
d6f093681e Core: Added missing overrides
(cherry picked from commit 5d584116fe)
2016-03-12 21:46:37 +01:00
Vincent-Michael
509e54423a Scripts: Added missing overrides
(cherry picked from commit 00b4e8b6cc)
2016-03-12 21:45:37 +01:00
Vincent-Michael
782bc7cfaa Core/Commands: Added transport position for command .gps
(cherry picked from commit 9c99a1d0c7)
2016-03-12 21:37:40 +01:00
Shauren
2a37266269 Core/Auth: Fixed login for accounts with accented characters
Closes #16770
2016-03-12 21:22:16 +01:00
Shauren
298d70476e Core/Misc: Partial port of d9f1d6466d (refactoring) 2016-03-12 21:21:41 +01:00
Shauren
9b5adcc6fc Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
Closes #16769

(cherry picked from commit 0daba931ef)
2016-03-12 19:44:06 +01:00
Naios
cebe6122ad Core/Worldserver: Move the Realm instance into the game library
(cherry picked from commit 7c257aab5e)
2016-03-11 20:03:13 +01:00
Naios
b7f936891a Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)

(cherry picked from commit 329225b40d)
2016-03-11 20:03:12 +01:00
Naios
3a4ec8bcbe Core/Database: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
* Also instantiate the database worker pools in DatabaseEnv.cpp now.

(cherry picked from commit a8fe7f6eb7)
2016-03-11 19:51:07 +01:00
Naios
fbe724fab9 Core/Common: Generalize platform specific includes in common/Platform
(cherry picked from commit 30517cb1d3)
2016-03-11 19:09:56 +01:00
Naios
998607b106 Core/Common: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)

(cherry picked from commit 5c91586797)
2016-03-11 18:55:33 +01:00
Dr-J
d1efa0b8b1 DB/Quest: Survey Alcaz Island Credit
If you already had this quest in log prior you may need to abandon and retake/add quest before it will work as I had been trying to figure out why credit spell would not work even if cast on self, as soon as I removed and re-added quest worked

Thanks to @Kodekc
2016-03-10 16:12:02 +00:00
Dr-J
5c064e1e73 DB/Misc: Lady Jaina Proudmore
Few updates to 2b04a9c9d8 as found npc_text 7012 was assigned to gossip menu in db
2016-03-10 14:27:30 +00:00
Dr-J
c9f9e93c22 Remove Lady Jaina Proudmores CPP script from zone_dustwallow_marsh.cpp 2016-03-09 23:31:36 +00:00
Dr-J
2b04a9c9d8 DB/Quest: Survey Alcaz Island
Move Lady Jaina Proudmoore script (cw) to sai
Script turn in event for Survey Alcaz Island

Ref #16745 not closing issue yet as even though unrelated issue there maybe issue with credit (needs confirmation as works for me) but is currently delivered by spell_area which does not appear to be correct but the spell to give credit does not work otherwise not even if cast on self
2016-03-09 23:28:25 +00:00
Nyeriah
c1905771f0 Scripts/Command: Solve several format exception crashes introduced in a recent commit
Ref #16648
Closes #16751
2016-03-09 00:42:45 -03:00
treeston
f4f7e6324d Scripts/Naxxramas: Clean-up and bug-fix megacommit. Read the full commit message if you care.
- Maexxna:
  - No longer packages pets and returns them to sender. Web Wrap now only targets players.
- Heigan the Unclean: Ripped its guts out.
  - Instance script hacks are gone.
  - GO spawns (done using the time-honored TC tradition of "eh, this'll work") are gone. You could say I evacuated the dance floor.
  - Sniffed spawns for all segments of the room. Because if you don't dance - well, you're no friends of mine.
- Loatheb:
  - First spore now spawns properly after 18 seconds on 10-man (down from 36 seconds). Time between subsequent spawns is unchanged.
- Thaddius:
  - Instance script hacks are gone. Again. Feels good man.
  - Players no longer drop out of combat during the phase transition. Put your snacks away, this is supposed to be a tense situation!
  - Thaddius will no longer savagely punish the main tank for stepping out of melee range for a fraction of a second by turning around and ball lightning-ing someone in the face. Typically a healer. He hates healers.
  - Thaddius will instead take out his frustration on another melee range target if available by smacking them in the face with his fists. It hurts, but a Ball Lightning would've hurt more. Blame the tank.
  - Feugen and Stalagg have been re-educated to improve their patience when a new target is flying towards them. They will no longer move while Magnetic Pull targets are mid-air, which should prevent them from running off their platform while the warrior helplessly flails trying to get them back.
- Instructor Razuvious:
  - Razuvious has been informed that Rubik's Cubes become noticably easier to solve if you buy six-colored ones. Thus, he will no longer take out his frustration out on raid groups by throwing unsolved two-colored variants at them. Fixes and closes #14966.
  - Death Knight Understudies will now realize that their situation is Hopeless even if they're currently mind controlled by a player. Apparently, if your situation is hopeless you take 5000% extra damage. No, that is supposed to be three zeroes.
- Gothik the Harvester:
  - Gothik has been schooled in proper Shadow Bolt spamming etiquette and will now take a brief pause to catch a breath and recompose himself between bolts.
- The Four Horsemen:
  - Will no longer stop and stare at the group sometimes when engaged instead of starting the encounter.
  - Horsemen can no longer be affected by stun, snare and shackle (heh, yeah, you could totally shackle Baron Rivendare) effects. It's called "Four Horsemen" after all, not "Three Horsemen that never attack because their friend can't move".
- Sapphiron:
  - When attempting to FREEZE THE BLOOD IN YOUR VEINS... Wait, no. Wrong boss. I was thinking of #16634.
  - Anyways, when freezing people into an Ice Block, Sapphiron now takes care to actually place the block on top of the frozen player, even if they were moving or jumping when the bolt hit them. Yay for positioning clarity!
  - Sapphiron has been sent to take multiple mandatory courses in "How to treat raid parties fairly while attempting to murder them" and will thus...
    - ...now properly pause after taking off to allow players to get into position before smacking them with ice bolts
    - ...no longer deal damage to players inside an Ice Block while they cannot fight back.
  - Being forced to attend the courses mentioned above has led to a large amount of pent-up frustration, which Sapphiron relieves by quite forcefully flapping his wings during take-off. Players immediately below him are now properly knocked back.
  - In addition, Kel'thuzad was sick of Sapphiron's continous pouting and allowed him to make Blizzard more malicious in exchange. Blizzard will now properly spawn near players and chase them down instead of pathing randomly.
- Also, tons of code style cleanups and hack removal that wasn't mentioned above. Read the diff if you really care.
2016-03-08 13:36:57 +01:00
DDuarte
a41bd8e943 Tools/MMaps: Add format library linking to mmaps_generator
(Very) partial cherry pick of ed75b0649a
2016-03-07 17:30:06 +00:00
Aokromes
7ee7548b94 DB/Misc: Fix some engrish
By tkrokli closes #16648
2016-03-07 10:35:33 +01:00
Aokromes
f7a05eba63 DB/Gameobject: Fix respawn time of few Quest GameObjects
By Tauriella, closes #16701
2016-03-07 10:32:57 +01:00
Duarte Duarte
2e1e608450 Merge pull request #16696 from TrinityCore/realm6xto335
Core: Backport 6.x realm changes
2016-03-07 00:06:37 +00:00
DDuarte
7b687be4ba Core/Auth: Fix the "Added realm" spam 2016-03-07 00:06:13 +00:00
Dr-J
83e8deaa8f DB/Quest: Troll Patrol: High Standards
Closes #16734
2016-03-06 21:59:07 +00:00
Dr-J
ce0e1c0fbe DB/Misc: A few updates
1) Delete the duplicated spawns from 8aabb087f0
2) Correct targeting for text which was bought up on irc yesterday
3) Correct phasing for objects involved with http://www.wowhead.com/quest=13220/putting-olakin-back-together-again
2016-03-06 21:28:52 +00:00
DDuarte
6cd63ca3d4 Core/Authserver: Partial port of 56cf7ff2a8
Change the "UpdateIfNeed" logic to a deadline_timer
2016-03-06 19:46:59 +00:00
DDuarte
2ea31027e5 Core: Backport 6.x realm changes
Make acessible all the info about current realm (e.g name) anywhere, not only realm id
Reduce the number of differences between the two branches

Original changes by Shauren

Partial port of bacc90b6ba and 63def8aa32
2016-03-06 19:46:59 +00:00
jackpoz
510bb30b2c Scripts/Misc: Fix issues reported by static analysis 2016-03-06 16:11:55 +01:00
Shauren
7fe5a77f5e Warning fix 2016-03-05 20:17:37 +01:00
Shauren
3d0b065135 Core/Commands: Fixed a crash in .wp mod by @Magnifikator
Closes #16732
2016-03-05 20:16:42 +01:00
Shauren
e73d5a7bf4 Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
Updates #16732
2016-03-05 20:14:58 +01:00
treeston
49de12b1cf Unit/PlayerAI: Yeah, we allow charmer to be null now, should probably check for that.
Fixes and closes #16728.
2016-03-05 13:29:49 +01:00
Dr-J
431da2ffc9 DB/Quest: Drag and Drop
Updates my previous script from before I actually sniffed this

The Aldur'thar Sentry will now actually grab the Dark Subjugator and drop of edge,
2016-03-05 01:26:26 +00:00
sirikfoll
c4e4ee3ae1 Core/Scripts: Fixed Yogg-Saron Portals
Closes #16390
Closes #16708
2016-03-04 20:45:28 +01:00
sirikfoll
99df5f489a Core/Scripts Implemented Boss Ahune
Implemented Midsummer Fire Festival event Boss, Ahune
2016-03-04 14:17:21 -03:00
treeston
f46a0e7eb3 Instance/SunkenTemple: Some cleanup. 2016-03-04 17:52:07 +01:00
Aokromes
d55d32fa0f Misc/Extractor: Add batch file for extractors
You must copy it to your wow directory with the tools and run it.
Linux version is welcomed.
2016-03-04 14:58:09 +01:00
MitchesD
a1b18a13fa Rename 2016_03_03_NPC_THRALL_WARCHIEF_world_335.sql to 2016_03_04_02_world_335.sql 2016-03-04 10:50:31 +01:00
MitchesD
e081bc36dc Merge pull request #16720 from tkrokli/npc_thrall_warchief
Core/Scripts: npc_thrall_warchief hardcoded text
2016-03-04 10:49:57 +01:00
Aokromes
361e5640ae Rename 016_03_04_01_world.sql to 2016_03_04_01_world.sql 2016-03-04 08:11:44 +01:00
Aokromes
6cdd29611b DB/Misc: Fix startup error
Closes #16721
2016-03-04 06:10:40 +01:00
durotar
768a5cf354 Scripts/SunkenTemple: Quest 3447 Secret of the Circle Thanks to Tkrokli, Kilyana and Nayd Closes #808
Signed-off-by: MitchesD

Closes https://github.com/TrinityCore/TrinityCore/pull/16367
2016-03-04 00:05:52 +01:00
MitchesD
8e152e0d4a Merge pull request #16523 from tkrokli/smart_action_set_corpse_delay
[3.3.5][6.x]Core/SmartScript: create SMART_ACTION_SET_CORPSE_DELAY
2016-03-03 23:16:59 +01:00
Dr-J
1cb718d9e7 DB/Quest: Killing Two Scourge with One Skeleton
* script turn in event with ghostwing grabbing Olakin Sainrith
* phasing at Blackwatch

will also kill Table `vehicle_template_accessory`: creature template entry 31432 has no data in npc_spellclick_spells from previous commit
2016-03-03 21:02:51 +00:00
tkrokli
2bbe00e5f4 Core/Scripts: npc_thrall_warchief hardcoded text
7 more text lines removed in the ongoing series:
"Remove hardcoded text from core scripts".

Core script for quest 6566, What The Wind Carries
(part of the Horde Onyxia quest chain)

- create new gossip_menu_option entries
- link the options via the table gossip_menu
- remove hardcoded text from the script
2016-03-03 21:40:39 +01:00
treeston
fe707db96f Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh. 2016-03-03 20:57:03 +01:00