Naios
926dfd1b57
Core/Scripting: Fix another warning when building statically
...
(cherry picked from commit 498c1e22ca )
2016-04-11 22:37:28 +02:00
Shauren
03d50a8d46
Warning fix
2016-04-11 22:14:51 +02:00
Naios
b88074086b
Core/Scripting: Fix a warning when building statically
...
(cherry picked from commit 1b909f9dac )
2016-04-11 21:59:37 +02:00
Naios
9cc97f226d
Core/Game: Rewrote the ScriptMgr to support script reloading.
...
* Finally this commit enables dynamic script hotswapping
and finished the PR #15671 .
* Split the storage layout to use optimized storages
for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
-> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
2016-04-11 21:14:00 +02:00
Naios
bc0f2b6e5a
Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
...
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.
2016-04-11 21:13:59 +02:00
Naios
59e3cf82ac
Core/Game: Move scheduled map scripts counter methods into MapManager
...
* Since those have nothing to do with core scripts and are
not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
Naios
26dcde94b3
Core/Game: Move MapScripts to game/Maps
...
* Since this class implements methods of the Map class
2016-04-11 20:07:24 +02:00
Shauren
c1c0253560
Build fix
2016-04-11 18:36:16 +02:00
Andrew Letson
45ea01fe5c
Core/AHBot: Improve AHBot seller math ( #16123 )
...
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
2016-04-11 18:30:40 +02:00
Shauren
9db2b786b0
Add missing characters.updates, also build fix
2016-04-11 18:27:43 +02:00
Gigi1237
c19172cad9
Core/Blackmarket: Implemented black market
2016-04-11 18:22:09 +02:00
pete318
7d5d79aa01
Implement AuctionHouse features: GetAll scan and search throttling
...
Implements two standard features of the Auction House.
* GetAll scan, retrieves all auctions and sends them in a single packet.
There's a limitation on how often a player can do this (Max 55000 items)
* Search throttling. For normal searches, the server can send a time
in milliseconds to the client, the client will wait that long between
searches. Delay set in config
Closes #16469
(cherry picked from commit 3aaeb57405 )
2016-04-10 17:48:29 +02:00
treeston
6dfe9d34f3
Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524 )
...
(cherry picked from commit f37682b7ed )
2016-04-10 15:27:49 +02:00
jackpoz
d9b8125ca5
Merge PR #14824 'tkrokli/spell_mod_stealth_stand_state' into 3.3.5
...
(cherry picked from commit 1511855fea )
2016-04-10 12:27:21 +02:00
Shauren
174a6142f4
Core/Networking: Fixed a crash caused by attempting to connect directly to worldserver by setting portal=worldserver address
...
Closes #16927
2016-04-10 00:08:11 +02:00
Shauren
417c19bdad
Core/Spells: Don't report spell errors to client when spell was triggered and failed some internal condition
...
(cherry picked from commit a9b4375bb7 )
2016-04-09 17:58:24 +02:00
treeston
181da2a65c
- Clean up spell facing behavior a bit. Visual target behavior should now be a lot smoother.
...
- Clean up Creature.cpp. NULL -> nullptr, gotta love it.
- Renamed some recently added members of Creature to match code style.
(cherry picked from commit 1cf1d4a1ea )
2016-04-09 17:47:45 +02:00
treeston
f1b3c9f40c
No, Travis, I do not intend to handle SPELL_GROUP_STACK_RULE_MAX. It is not a value that should ever be actually used. Go away.
...
(cherry picked from commit f8a6ab8ac5 )
2016-04-09 17:32:37 +02:00
treeston
7d8bab240b
Entities/Pet: Finally fix pets spamming Blood Pact/Fel Intelligence in some scenarios. Your eardrums will thank me.
...
(cherry picked from commit 21cfacfba7 )
2016-04-09 17:32:24 +02:00
treeston
d5ec4ce97b
Entities/Creature: Fix bugs with pets not properly reacquiring target after spell cast. Closes #16824 .
...
(cherry picked from commit accad00567 )
2016-04-09 17:28:11 +02:00
Vincent-Michael
179b521dce
Core: Remove whitespaces
...
(cherry picked from commit 5e74c2223b )
2016-04-09 17:14:08 +02:00
jackpoz
307a93839b
Core/Creatures: Fix dead creatures spawn position on restart
...
Fix dead flying creatures ignoring being spawned below the floor in instances on server restart because of not taking into account vmap height.
Fix #16777
(cherry picked from commit 912514c198 )
2016-04-09 17:10:24 +02:00
r00ty-tc
0bf70423f8
Core/Maps: Implement optional pre-loading of maps.
...
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead
(cherry picked from commit 971f4ccab8 )
2016-04-09 17:08:41 +02:00
Shauren
5c0517c6ef
Merge branch 'Golrag-sindragosa_ice_tomb_target' into 3.3.5
...
(cherry picked from commit 895878010e )
2016-04-09 17:05:24 +02:00
treeston
6eb49e4bb2
Unit/PlayerAI: Yeah, we allow charmer to be null now, should probably check for that.
...
Fixes and closes #16728 .
(cherry picked from commit 49de12b1cf )
2016-04-08 23:58:45 +02:00
MitchesD
92b74d6bdc
Merge pull request #16523 from tkrokli/smart_action_set_corpse_delay
...
[3.3.5][6.x]Core/SmartScript: create SMART_ACTION_SET_CORPSE_DELAY
(cherry picked from commit 8e152e0d4a )
2016-04-08 23:51:18 +02:00
treeston
c23a6085c3
Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh.
...
(cherry picked from commit fe707db96f )
2016-04-08 23:38:49 +02:00
Treeston
9476726edc
Merge pull request #16676 from ccrs/summonsinit
...
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
(cherry picked from commit 472e78d682 )
2016-04-08 22:58:28 +02:00
treeston
3b67e57e0e
Core/Creature: Prevent friendly vehicles from trying to attack their rider after dismounting.
...
(cherry picked from commit 89e2afb8f9 )
2016-04-08 22:48:06 +02:00
Shauren
a168a2d442
Build fix
2016-04-08 22:08:23 +02:00
treeston
caa1b82b88
Unit/AI: Making Nayd happy.
...
(cherry picked from commit 59d02322a7 )
2016-04-08 20:39:53 +02:00
treeston
3f6b215fca
Fix some behavioral weirdness resulting from 79a945d5 - thanks ccrs.
...
(cherry picked from commit bfac62c5c9 )
2016-04-08 20:39:42 +02:00
treeston
f4baf7c180
Unit/AI: Move CharmedPlayerAI logic from the SetCharmedBy/RemoveCharmedBy hooks to Player::Update -> Unit::UpdateCharmAI to guarantee thread safety and prevent race condition crashes.
...
(cherry picked from commit 5354b585e3 )
2016-04-08 20:39:30 +02:00
treeston
4726116dbc
Core/Threat: Prevent bosses (and other stuff using DoZoneInCombat) from switching off of the person pulling if they are pulled without generating threat.
...
(cherry picked from commit b5b7ce44cf )
2016-04-08 20:38:22 +02:00
Treeston
42a01d62e6
Merge pull request #16457 from Treeston/3.3.5-standstatecondition
...
[3.3.5] Add condition for unit sitting/standing
(cherry picked from commit b6720af4cb )
2016-04-08 20:28:55 +02:00
Aokromes
7c51859214
Core/Misc: Fix header
...
(cherry picked from commit 2eb9621f19 )
2016-04-08 20:24:52 +02:00
Shauren
cc2a683193
Core/PlayerAI: 6.x specific spec checks
2016-04-08 20:21:44 +02:00
treeston
604d08db52
build fix
...
(cherry picked from commit d10c698430 )
2016-04-08 20:18:07 +02:00
treeston
e394cd298b
Core/PlayerAI: Some more helper methods added. Also, charmed players no longer break crowd control.
...
(cherry picked from commit a8f760b692 )
2016-04-08 20:17:56 +02:00
treeston
f5a1b75fbd
Core/PlayerAI: More follow-up. Helper functions and some internal cleanup.
...
(cherry picked from commit 5a3a21c2d0 )
2016-04-08 20:17:40 +02:00
Treeston
adc7ee0c51
Merge pull request #16644 from Treeston/3.3.5-customcharmai
...
Core/UnitAI: Rework creature-controlled player behavior.
(cherry picked from commit 4e4b2b9a13 )
2016-04-08 20:16:15 +02:00
joschiwald
e06d4d424c
Merge pull request #16651 from ariel-/movespeedfix
...
Core/Unit: Fix typo
(cherry picked from commit 31b1da4a14 )
2016-04-08 20:01:21 +02:00
Aokromes
d4146a23ac
Merge pull request #16038 from tkrokli/grammar_and_spelling_corrections_335
...
[3.3.5] Core/Logs: English text corrections
(cherry picked from commit 4cd937140b )
2016-04-08 19:48:58 +02:00
Shauren
1460b01dde
Core/Misc: Fixed a crash happening when a db string array was NULL
...
Closes #15670
(cherry picked from commit e60f575ac8 )
2016-04-08 18:45:20 +02:00
treeston
9e07adccf4
I don't like drycoding. It's coarse and rough and irritating and it gets everywhere.
...
(cherry picked from commit d4184065b6 )
2016-04-08 18:43:18 +02:00
treeston
b2e4a962d9
Incorrect AI aggression as a consequence of the LineOfSight change, episode three, revenge of the special AIs. Also, hopefully the last. No original trilogy please.
...
(cherry picked from commit ab194d5ae3 )
2016-04-08 18:43:03 +02:00
Treeston
aca9efc47a
Merge pull request #16633 from Treeston/3.3.5-talentinspect
...
Core/Packets: Adjust 'TalentsInspecting' option
(cherry picked from commit 3e250fe4e8 )
2016-04-08 18:42:59 +02:00
Treeston
a931c7c906
Merge pull request #16637 from P-Kito/lfg_quest
...
[3.3.5/6.x] Core/Player: Fix dungeonfinder quests not rewarding
(cherry picked from commit 59e59e412f )
2016-04-08 18:22:37 +02:00
treeston
c9b24515a5
Merge remote-tracking branch 'sirikfoll/despawnAtEvade' into 3.3.5 (PR #16528 )
...
(cherry picked from commit c70e3e31a7 )
2016-04-08 18:07:34 +02:00
Shauren
1d45b2c384
Core/Items: Fixed transmog not saving item to db
2016-04-08 16:47:56 +02:00