1040 Commits

Author SHA1 Message Date
evil-at-wow
6b5f0be841 [Core] Fix crash when using DB script command 34 (TERMINATE_CONDITION). (cz2656)
Using DB script command 34 (TERMINATE_CONDITION) was triggering an array out of
bounds access when debug logging was on, causing the server to crash. The array
is accessed with ConditionSource as index, but there was no corresponding string
for CONDITION_FROM_RESERVED_1. As a result, the array was missing one string and
accessing the array with the highest possible index, CONDITION_FROM_DBSCRIPTS,
accessed the array out of bounds.

Many thanks to @Schmoozerd for debugging and suggesting a fix and to @scotty0100 for patiently running many tests!
2015-04-03 22:59:35 +01:00
evil-at-wow
5415cf16c4 [Core] Remove a useless statement from (cz2654). (cz2655)
Thank you for pointing this out, @fgreinus.
2015-04-03 22:55:55 +01:00
Evildead666
2e8761f1b0 fix typo 2015-04-03 20:47:25 +02:00
Antz
e736152cb7 [Sync] Some minor project sync 2015-04-02 18:18:45 +01:00
Antz
06b1406b35 Merge pull request #5 from Olion17/develop21
[SD2] Restore commit 'Mr Smite Weapon Correction'
2015-04-01 17:59:45 +01:00
Olion
eb688e7217 [SD2] Restore commit 'Mr Smite Weapon Correction' 2015-04-01 19:57:12 +03:00
Antz
d6dbee86bd Merge pull request #4 from Olion17/develop21
[Core/SD2] Major refactoring of SD2 script system
2015-04-01 13:53:12 +01:00
Olion
a3038cc069 [SD2] Fixing few warnings 2015-04-01 10:44:01 +03:00
Olion
d2d83d98b7 [SD2] Gcc build fix: no cbegin()/cend() container members 2015-04-01 10:28:57 +03:00
Olion
e842daa30a [SD2] Explicit conversion ObjectGuid to uint64 (gcc build fix) 2015-04-01 10:14:18 +03:00
Olion
e28a446f24 [Core/SD2] Major refactoring of SD2 script system 2015-04-01 01:34:08 +03:00
Foereaper
312e0be043 C++11 build fix 2015-03-31 21:11:20 +02:00
Foereaper
66adfff9ba Clang return error fix 2015-03-31 21:02:21 +02:00
Foereaper
7c0c79400c Fix Archlinux build
Thanks to lfxgroove
2015-03-31 20:48:00 +02:00
Foereaper
060ab0060d Update Eluna hash 2015-03-31 19:57:34 +02:00
Foereaper
a1f33ffd9f Added and updated map mthread
Thanks to the original mtmaps and openmaps creators
2015-03-31 19:52:19 +02:00
y1x2
0491c3d5a7 [Core] Add core support for spell 29201
Basic version of Corrupted Mind spell for Loatheb encounter in Naxxramas (original) (cz2654)
2015-03-31 01:51:35 +01:00
cyberium
a61bd66528 [Core] Fix "Unknown player" bug
Fixed old bug where players where all are named "Unknown" after some log in / log out (cz2653)
2015-03-31 01:35:35 +01:00
Antz
aa620b3a77 Merge pull request #3 from Olion17/develop21
[Spells] Heartbeat resist; [Core] UpdateMask refactoring
2015-03-31 01:11:18 +01:00
Olion
7fcb0bb639 UpdateMask class refactoring 2015-03-31 01:27:20 +03:00
Olion
0e963b4555 [Spells]Heartbeat resist first implementation 2015-03-31 01:01:07 +03:00
Foereaper
1eb0c33e69 Correct SD2 return values
This caused Clang to fail
2015-03-29 23:22:31 +02:00
Foereaper
fce53c9d60 Add necessary pthread flag for clang
This should hopefully fix clang build
2015-03-29 22:44:55 +02:00
Antz
4b35099b7b [Rel21] Set baseline revision 2015-03-29 21:40:26 +01:00
Foereaper
8a3750706b Update .travis.yml
Travis should now run checks for both GCC and Clang, as well as run compile tests on both Linux and OSX
2015-03-29 21:39:09 +01:00
Foereaper
83ed9c72eb Fix Out Of Tree error for Linux builds
This should also fix Travis
2015-03-29 22:06:53 +02:00
Foereaper
a46150be98 Correction to FindPlatform 2015-03-29 03:31:38 +02:00
Foereaper
057ae919a8 Merge branch 'develop21' of https://github.com/mangoszero/server into develop21 2015-03-29 01:51:50 +01:00
Foereaper
ff3f5344a9 Large rearrangement and cleanup of base cmake system
Thanks to Trinity for some conceptual inspirations!
2015-03-29 01:51:26 +01:00
Antz
7428943889 Merge pull request #2 from Evildead666/develop21
enhance readability and correct numbers
2015-03-28 16:15:20 +00:00
Evildead666
93f6f9953a enhance readability and correct numbers 2015-03-28 14:29:20 +01:00
Antz
dfe72e4234 [Clean] Some code cleanup 2015-03-26 23:29:50 +00:00
Antz
13c037972b [Core] Some minor text cleanup 2015-03-26 23:15:59 +00:00
Foereaper
28521a337b Updated Eluna hash 2015-03-26 14:48:26 +01:00
Machiavell1
0894ff4720 [Core] Fix SMSG_WHO show players matching given criteria. (c2651)
Used to be total number of players online.

Also limit shown players to 49 which is how it used to be on retail.
2015-03-26 13:43:35 +00:00
stfx
4edda934a8 [Core] Clarify weather packet (c2649)
Also clamp weather density for .wchange command instead of just return an error

Thanks to @Laizerox for info and @cala for testing
2015-03-26 13:32:25 +00:00
Rochet2
63343716b5 Eluna: Remove travis script for getting last eluna
Get the designed eluna version instead.
2015-03-26 15:31:27 +02:00
stfx
d6fc18dc37 [Core] Remove unused function parameters (c2647) 2015-03-26 13:14:51 +00:00
Flying--Dutchman
271b031265 [Core] Normalize Username so that Telnet users can use lower case usernames (c2646)
Username wasn't changed to uppercases, therefore the SHA1 hash is always wrong when users have lowercases in their username.
Result: Users cannot log in with telnet.
2015-03-26 12:40:59 +00:00
xfurry
64c781f42e [Core] Start dbscripts_on_spell for SPELL_EFFECT_TRIGGER_MISSILE with missing spell id (c2645) 2015-03-26 12:25:02 +00:00
krullgor
25cb227e14 [Core] Fix item Lifegiving Gem, in classic it was providing 15% health (c2644)
Was changed to 1500 in tbc.
2015-03-26 12:15:54 +00:00
krullgor
c68ae831b6 [Core] Fix Improved Shield Block Talent Its additional charge was removed by a Dummy Effect (ZERO Only) (c2642) 2015-03-26 12:08:48 +00:00
schmoozerd
c9d7879cd9 [DBScripts] Implement SCRIPT_COMMAND_SEND_MAIL (c2639)
Attention DB-Devs:

The fields quest_template.RewMailTemplateId and .RewMailDelaySecs are scheduled to be removed
2015-03-26 11:53:27 +00:00
virusav
5feded2664 [Core] Pool-System: Allow pooling non-lootable gameobjects (c2638) 2015-03-26 11:38:31 +00:00
cala
4a8a482151 [Core] Allow creatures to handle several EVENT_T_RECEIVE_EMOTE instead of one. (c2633)
Some NPCs can react to several emotes from player not only one.
Thanks @cyberium on nailing this.
2015-03-26 11:31:48 +00:00
kvipka
f119a6119b [Core] Fix channeling spells for unit (will not cast channeling spells when walking, attacking etc.) (c2632) 2015-03-26 11:27:36 +00:00
cyberium
606bcfc495 [Core] Fix spell 19714 is buff instead of debuff. May fix also other spells that use same aura. (c2628) 2015-03-26 11:15:10 +00:00
VelVet
c6d699e8ef xxx 2015-03-26 11:11:36 +00:00
Foereaper
5432d5e621 Merge branch 'develop21' of https://github.com/mangoszero/server into develop21 2015-03-26 11:55:35 +01:00
Foereaper
7cf82e2b2a Partial revert of PCH changes
Linux didn't like game and sd2 sharing the same pch structure
2015-03-26 11:55:14 +01:00