treeston
9548a8567b
Entity/Creature: Fix spawn health, for real this time. Closes #17757 . Also for real this time.
2016-08-12 11:59:44 +02:00
treeston
34a8f8473b
Entities/Creature: Fix spawn health, fdd78d2 follow-up. Fixes and closes #17757 .
2016-08-12 11:59:24 +02:00
jackpoz
1d6adef396
Common/Common: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-12 11:58:55 +02:00
Aokromes
e201c034c7
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-08-12 11:58:18 +02:00
Treeston
7d2b1128a6
Core/Creature: Fix health regeneration. Creatures immediately reset to full health upon reaching home, rather than slowly regaining it over multiple seconds, which allows players to re-engage them at less than max health. ( #17756 )
2016-08-12 11:53:12 +02:00
Aokromes
da90237b55
DB/Misc: 3.3.5a fixes
2016-08-12 11:51:37 +02:00
Aokromes
6a9c753029
Build fix, this time yes
2016-08-12 07:51:26 +02:00
Aokromes
7ab4915b13
compile fix
2016-08-11 05:05:33 +02:00
Aokromes
dfb6ab0eb9
restore code
2016-08-11 04:55:40 +02:00
Aokromes
7d9c4e1421
another missing change
2016-08-11 04:48:25 +02:00
Aokromes
decb11702e
another missing change
2016-08-11 04:33:29 +02:00
Aokromes
566b08cc73
missing change
2016-08-11 04:07:42 +02:00
Aokromes
f2cea8c9f4
missing change
2016-08-11 03:58:20 +02:00
Aokromes
64a693a4ae
Core/Chat: general cleanup and revamping: ( #17576 )
...
- Remove duplicate ObjectGuid in Channel (both as key and value member)
- Add const-ness to Channel methods
- NULL->nullptr
- const type* -> type const*
- Removed all instances of std::map::operator[] except where it is actually INTENDED to insert an element
- Use Trinity::StringFormat instead of snprintf
2016-08-11 03:56:10 +02:00
Aokromes
e51220bf87
Core/Handlers: actually check allowed trainer classes and races to avoid spoofing
2016-08-10 21:04:30 +02:00
ariel-
a544c509bd
Core/Entities: removed obsolete pragma macro (Ref: ba9e0de36d)
2016-08-10 20:58:28 +02:00
Aokromes
cb4861a7ad
Core/Movement: Do not launch pathfinding for splines turning on the spot
2016-08-10 20:27:54 +02:00
Trond B Krokli
0a09a69ab0
Core/DB/Updater: English grammar corrections ( #17207 )
...
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
(cherry picked from commit 186375d997 )
2016-08-10 18:19:01 +02:00
Aokromes
88fcea04d0
Server/Database: Reduce differences between 3.3.5 and 6.x branches
2016-08-10 17:50:36 +02:00
Aokromes
5db8edd611
Server/Database: Reduce differences between 3.3.5 and 6.x branches
2016-08-10 17:48:25 +02:00
Aokromes
085dd6a21d
Compile fix try
2016-08-10 11:11:57 +02:00
Aokromes
6245175ae5
Missing code
2016-08-10 11:00:57 +02:00
ariel-
084cb60ede
Core/Entities: rename ItemPrototype to ItemTemplate
2016-08-10 10:13:36 +02:00
ariel-
60bf76a9c9
Update ItemPrototype.cpp, codestyle and indentation cleanup
2016-08-10 10:13:14 +02:00
Aokromes
7f357ef3d5
Core/Items: Move Item::GetSkill to ItemPrototype::GetSkill
...
Also moved some methods of ItemPrototype to .cpp
Thanks to Yehonal for the original patch
2016-08-10 10:11:25 +02:00
Aokromes
fecaa647c6
Core/Misc: Moved RealmList to shared
2016-08-10 09:43:37 +02:00
Aokromes
c9d63c3cb0
Core: Removed Whitespaces
2016-08-10 09:29:13 +02:00
Aokromes
d9ec21ad5c
Compile fix (at least on linux) travis is still unhappy
2016-08-10 09:15:42 +02:00
Aokromes
1657f0f52d
remove incorrect code
2016-08-10 09:14:10 +02:00
Naios
efa3d00ebf
Core/Scripting: Fix acquiring of references between script swaps
...
* Delay unloading of shared libraries to the next update tick
to prevent crashes in the destructor of the last referenced
script instance.
* Closes #17557
2016-08-10 09:05:43 +02:00
Naios
a354feb48b
Core/EventProcessor: Check whether an event was aborted before aborting it.
...
* Fixes an assertion introduced in commit 1ad73212dc .
* Use itr = std::unordered_map<...>::erase for updating the iterator.
2016-08-10 09:05:17 +02:00
Naios
80d77dfb46
Core/EventProcessor: Wait for non deletable events to get deletable.
...
* Immediate deletion caused issues with the SpellEvent,
so we delete it at one of the next update ticks now.
* Only affects the unforced cancellation of events.
* Ref #16675
2016-08-10 09:04:55 +02:00
Naios
4065ba87c6
Core/Scripting: Don't force event cancellation when swapping creatures.
...
* EventProcessor::KillAllEvents(force = false) should only be used
by the EventProcessor.
2016-08-10 09:04:38 +02:00
Naios
b64cddabaf
Build: Throw a fatal error when the SCRIPTS variable isn't a valid option.
...
* Catches issues early that are caused through a wrong configuration.
(cherry picked from commit 2b97b32d81 )
2016-08-10 09:04:13 +02:00
Naios
d4e76b75dc
Core/Common: Add the linkage type to the version string
...
* Add platform strings for intel and apple
* Remove usage of underscore uppercase identifiers because
those are reserved for the compiler.
* Requested by Aokromes
(cherry picked from commit afa0bac669 )
2016-08-10 09:03:50 +02:00
Aokromes
9264bfaf86
Core/Game: Remove some unnecessary export macros
2016-08-10 09:03:10 +02:00
Naios
a682a01270
Core/Common: Move the query callback header to the database project
...
* Also renames the header to it's correct name QueryCallback
2016-08-10 08:59:35 +02:00
Naios
c4e7dcc04d
Core/Scripting: Kill pending unit events when swapping AI's
2016-08-10 08:58:56 +02:00
Naios
2cd46f6f05
Core/Utilities: Inherit env vars when starting external processes
2016-08-10 08:58:38 +02:00
Naios
176f3f1a87
Core/Common: Fix a std::string -> char* -> std::string conversion
...
* Thanks jackpoz for noticing
2016-08-10 08:58:09 +02:00
Naios
2ec212fdd1
Core/Scripting: Use the systems temporary path for caching shared libs
...
* Disables the shared library caching on platforms completely which
never block files on usage (like linux).
2016-08-10 08:57:12 +02:00
Naios
7a827fe435
Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
2016-08-10 08:56:37 +02:00
Naios
8289ed64d6
Core/Scripting: Add the info how much time the system took to reload
2016-08-10 08:56:11 +02:00
Naios
7da338e282
Core/Scripting: Change the INFO logger of the hotswap system to enabled
2016-08-10 08:55:43 +02:00
Naios
b7ca3ad47d
Core/Scripting: Improve the error message when the script reloader fails to create a cache entry
...
(cherry picked from commit 8fa52860ab )
2016-08-10 08:55:12 +02:00
Naios
d1e5084c27
Core/Scripting: Fix a typo in b970a684
2016-08-10 08:54:52 +02:00
Naios
65feb528e5
Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
...
* Thanks Shauren for the IsDebuggerPresent() hint.
2016-08-10 08:54:26 +02:00
Naios
3c4f4a9473
Core/Worldserver: Correct the default comment of HotSwap.EnableReCompiler
...
* Thanks jackpoz for noticing
2016-08-10 08:54:03 +02:00
Naios
9eab8427cc
Core/Scripting: Fix detection of source changes when using inotify.
...
* This fixes the source change detection in linux.
* Also simplifies the detection of observed modules
* Fixes the script rebuilding on linux
* Escape windows paths to (maybe) fix paths with spaces (#16947 )
2016-08-10 08:53:38 +02:00
Naios
273ee4f87f
Core/Scripting: Fix an assertion which was triggered at lazy unloading
...
* Also fixes 2 warnings
2016-08-10 08:53:09 +02:00