Commit Graph

7238 Commits

Author SHA1 Message Date
Alexei_Nech
608785c3a4 declared WEATHER_STATE_FOG 2013-02-17 14:08:41 +02:00
Machiavelli
6590cf4f9e Core/Vehicles: Fix another crash
Don't set Unit::m_vehicle until VehicleJoinEvent::Execute
2013-02-17 08:03:27 +01:00
Shauren
863468ec43 Core/Auras: Always run all script hooks attached to the aura to prevent leaving aura script state stack in unbalanced state 2013-02-17 02:11:13 +01:00
Shauren
e49aaab6f6 Scripts/Icecrown Citadel: Improvements to Shadowmourne quest line 2013-02-17 02:10:08 +01:00
Nay
2d861b71ce Core/SAI: Add actions to set/add/remove (104/105/106) gameobject flags 2013-02-16 18:42:26 +00:00
Shauren
13b4adc618 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2013-02-16 19:17:32 +01:00
Shauren
17d0ea6660 Core/Auras: Prevent saving vehicle auras to db for players as they require both caster and target to be in world (which cannot be guaranteed) 2013-02-16 19:16:52 +01:00
Vincent_Michael
6cfb5e13dc Core/Character: Rename engrish function 2013-02-16 18:53:44 +01:00
Vincent_Michael
166a2092fd Scripts/BWL: Fix build no. 2 2013-02-16 18:15:32 +01:00
Nay
f95ce01b15 Scripts/BWL: Fix build 2013-02-16 17:12:10 +00:00
Nay
a614dd775c Say NO to whitespace 2013-02-16 17:04:44 +00:00
Nay
e448d24f2b Merge pull request #9228 from gigatotem/BWLv2
Scripts/Blackwing Lair: Broodlord Lashlayer clean-up.
2013-02-16 08:58:26 -08:00
Gigatotem
2e08db9ce9 Scripts/BWL: Fix typo in recent commit. 2013-02-16 16:56:06 +00:00
Gigatotem
920cd0e923 Scripts/Blackwing Lair: Broodlord Lashlayer clean-up. 2013-02-16 16:42:17 +00:00
Machiavelli
35fc90c684 Core/Vehicles: Fix another crash
Fixes #9225
2013-02-16 16:12:24 +01:00
Shauren
1845ab7918 Core/Auras: Only auras that are stackable to use the same slot 2013-02-16 15:40:47 +01:00
Machiavelli
8bbcc2f37c Merge pull request #9214 from Aokromes/master
Scripts/Ulduar: Kologarn's gate should be open while in combat
2013-02-16 01:08:58 -08:00
Machiavelli
178134d86b Core/Vehicles: Fix crash introduced in my previous change 2013-02-16 09:51:46 +01:00
Vincent_Michael
49e196e6b0 Misc/Spells:
- Add some ulduar teleport pos for spells
- Add target hack for ulduar teleport spells
2013-02-16 03:26:26 +01:00
Machiavelli
60cef65b5c Core/Vehicle: Make the passenger join event asynchronous
Prevents a crash in the following scenario:
Player 1 enters vehicle X
Seat on vehicle X is taken by Player 2
Player 2 is removed from vehicle X
Vehicle X dismisses (but player 1 did not even finish AddPasssenger
call)

Fixes #4271
2013-02-16 02:11:42 +01:00
Shauren
f74b874e93 Core/Auras: Allow auras that cannot create a separate stack for each caster to stack on one slot 2013-02-15 18:08:15 +01:00
w1sht0l1v3
1ce1ec0775 Scripts/TheStormPeaks: Cosmetic changes. 2013-02-15 16:36:01 +02:00
w1sht0l1v3
7d881a0739 Scripts/TheStormPeaks: Cold Hearted quest update.
Fix a crash.Thx @DDuarte.
Closes #8865
Move waypoint data from script  to DB table.
2013-02-15 15:51:18 +02:00
WishToDie
45363b8216 Scripts/Gundrak: Drakkari Colossus
Drakkari Colossus should not move when in freeze phase.
2013-02-14 22:54:06 +02:00
Shauren
d232977ec4 Core/Maps: Prevent creating maps without a valid Map.dbc entry
Closes #9181
2013-02-14 16:54:31 +01:00
Machiavelli
771598b67a Core/Handlers: Missing returns after KickPlayer() call 2013-02-14 16:12:58 +01:00
Machiavelli
1093abb1ad Core/Handlers: Prevent some cheating in CharacterHandler
Prevents factionchanging and char customising of characters that do not
belong to the current account.
2013-02-14 16:07:36 +01:00
Machiavelli
877a7e9968 Core/Handlers: Fix a crash in HandleCharFactionOrRaceChange
Ensure there's always valid character name data present, even for
characters that were manually inserted into the database, by adding
character name data on char enum if needed.
2013-02-14 15:43:26 +01:00
Machiavelli
8befbdcc56 Core/LFG: Fix a crash
Fix a crash in case a player is recognized as in a LFG dungeon, but without a valid group
2013-02-14 15:01:33 +01:00
Machiavelli
203cf7cbf0 Core/RA: Addition to previous crashfix
To make sure it also works for sessions that use more than 1 command
before closing.
2013-02-14 13:30:51 +01:00
Machiavelli
b4be224004 Core/RA: Fix a possible crash
Caused when RASocket::handle_close (event-driven) would delete the underlying object before RASocket::commandFinished callback was executed for that object. Dereferencing freed pointers is bad.
2013-02-14 11:57:43 +01:00
Shauren
944d7290ad Core/Loot: Minor change to previous commit, thanks Vincent_Michael for reminding me about this method in Map class 2013-02-14 11:41:20 +01:00
Aokromes
b38fc89db3 Scripts/Ulduar: Kologarn's gate should be open while in combat
Source: personal experience and http://youtu.be/JcOiyNaKDlg?t=18s
2013-02-14 09:48:46 +01:00
Shauren
ca280dbe05 Core/Loot: Only 3 items of the same entry can drop on 25 man raid difficulties and 1 everywhere else (non-raid or 10 man) 2013-02-13 20:24:23 +01:00
Shauren
d926ad63c0 Core/Spells: Fixed charge effects with non-explicit targets 2013-02-13 20:21:26 +01:00
Shauren
20cd6cfc61 Scripts/Icecrown Citadel: Fixed possible crash for Necrotic Plague (if cast outside of ICC)
Closes #9188
2013-02-12 12:39:48 +01:00
Nay
db0b81e8e7 Core/RealmSocket: Remove a not required #ifndef MSG_NOSIGNAL / #define MSG_NOSIGNAL 0
Somewhere in ACE overloads of send(), flags are default'ed  to 0 if not provided
2013-02-11 03:33:02 +00:00
Nay
42e660e2a2 Core/Sockets: Always try to send MSG_NOSIGNAL in peer().send()
Fixes RASocket::authenticate crash

"MSG_NOSIGNAL:
If you send() to a remote host which is no longer recv()ing, you'll typically get the signal SIGPIPE. Adding this flag prevents that signal from being raised."

Closes #5040
Thanks to @derex for the hint
2013-02-11 02:59:37 +00:00
Shauren
38eb090e9a Core/Objects: Rewritten UpdateMask class to perform bit operations faster at the cost of higher memory use and moved building the mask for packet to a separate method.
Closes #9127
2013-02-09 23:59:09 +01:00
zwerg
e5e970baec Core/Spells: Fix cooldown problems for Val'anyr, Hammer of Ancient Kings
Closes #9162
2013-02-09 23:19:18 +01:00
Shauren
985de41421 Core/SAI: Rewrite SmartAI::RemoveAuras in a safer way 2013-02-09 17:57:27 +01:00
Gacko
a7eef6a598 Script/Quest: Kodo Roundup
Closes #943
2013-02-09 16:24:31 +01:00
Nay
f902362ad1 Core/DBLayer: Avoid a crash when calling mysql_get_server_version if connection was not open 2013-02-08 23:06:25 +00:00
Nay
c4d285828a Merge pull request #9166 from thomas33/typo
Core/Scripts: Coding style
2013-02-08 10:07:05 -08:00
Shauren
97e876209e Core/Players: Fixed crash when mute expired while player was ingame 2013-02-08 18:18:26 +01:00
Shauren
d6c0afa71c Core/AI: Fixed merge error 2013-02-08 14:15:24 +01:00
Shauren
b6e56e42ea Core/Auth: Reverted part of fb43a92cc2 - session key is still needed after logging in to be able to switch realms 2013-02-08 01:03:56 +01:00
Shauren
fb43a92cc2 Core/Accounts: sessionkey field in account table is only a temporary storage to pass data from authserver to worldserver and should only be used as such. Clearing sessionkey from database after a successful login to prevent possible exploits. 2013-02-07 16:15:23 +01:00
thomas33
82c31e50bb typo 2013-02-07 16:10:10 +01:00
Vincent_Michael
5b45a87da5 Core: More clean up whitespace 2013-02-07 00:24:00 +01:00