99 Commits

Author SHA1 Message Date
Foereaper
dab1c06b4e Fixed PCH warnings and bot add command 2015-04-04 13:53:00 +02:00
Foereaper
7fb0d3631e [Bots] Fix Linux build 2015-04-04 03:36:14 -07:00
Foereaper
25a40d4b4e [Bots] Accidental edit in last commit 2015-04-04 12:05:55 +02:00
Foereaper
55d91ec6c6 [Bots] Include location fix
TODO: Clean up all the includes..
2015-04-04 12:02:26 +02:00
Foereaper
6ee9bc9e9d Fix bot PCH
On unix builds, the PCH would collide with Games PCH
2015-04-04 11:38:55 +02:00
Antz
e4e4f60fff [Revert] reapply Properly display creatures with waypoint when they enter player range 2015-04-04 02:02:55 +01:00
Foereaper
7550dfca0e Merge branch 'develop21' of https://github.com/mangoszero/server into develop21 2015-04-04 01:21:38 +02:00
Foereaper
ee336830b5 Implement Playerbots
This is the first, rough implementation of Playerbot AI by Ike3, originally playerbot by blueboy

There's still TONS of work left to do on this, but it should compile and build

This introduces a new cmake option, playerbots. Disabled by default
2015-04-04 01:21:17 +02:00
Antz
43bbfeae1d [Fix] Fix incorrect enum in previous commit 2015-04-03 23:36:37 +01:00
neo2003
9217fbf53e [Core] reapply Properly display creatures with waypoint when they enter player range (b95d077a408ca33c7094d304276848f50ffc8e8b) 2015-04-03 23:19:31 +01:00
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
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