treeston
8c690f9edc
Pet/DK: Make Risen Ghoul and Bloodworms no longer suicidally charge into not-yet-engaged mob packs.
2016-08-17 11:38:31 +02:00
tkrokli
730680430d
[3.3.5] Core/Scripts: move npc_loramus_thalipedes to DB
...
Another chapter in core script hardcoded text removal:
- remove core script `npc_loramus_thalipedes` from zone_azshara.cpp
- add gossip, SAI script and conditions to database
- remove redundant SD2 comments from file header
2016-08-17 05:12:04 +02:00
treeston
c5549ac7e9
Revert "Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items)."
...
This reverts commit 63f577a7ef .
See discussion in commit comments.
2016-08-16 23:32:08 +02:00
treeston
63f577a7ef
Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items).
2016-08-16 15:29:18 +02:00
ariel-
7f5756804e
Core/PlayerDump: add missing character_queststatus_* columns to dump
2016-08-16 02:18:02 -03:00
ariel-
fbc521084c
Core/Battlegrounds: Properly readd player to Battleground containers after a login.
...
Closes #16141
2016-08-16 00:51:33 -03:00
ariel-
9cdbf903e2
Core/BattlegroundMgr: Update Battlegrounds each second instead of every tick (just like Battlefield).
...
There are some battleground scripts (like SOTA) performing object access every update, this should help throttle the cpu usage.
2016-08-16 00:44:31 -03:00
ariel-
82517ef462
Core/Player: Do not kick AFK player from BG if it's a GM
2016-08-16 00:41:34 -03:00
ariel-
1b44377cda
Core/Scripts: allow ".debug arena" and ".debug battleground" commands to be issued in the console
2016-08-16 00:40:56 -03:00
Chaouki Dhib
d7600f1126
Core/Units: Fixed melee range check ( #17693 )
...
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility.
* Moved melee range logic into its own function
* Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method.
2016-08-15 18:17:07 +02:00
Gerhood
4a38773e3e
Core/Auras: Increase number of auras sent to client except for group updates ( #17604 )
2016-08-15 14:37:55 +02:00
tkrokli
03bafe334c
Core/Scripts: move Pet Trainer gossip to DB
...
SQL content based on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator
- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file
Closes #14719
2016-08-15 03:17:53 +02:00
robinsch
dd67f4ed96
Core/Spell: Remove all raid auras on party leave ( #17663 )
...
Core/Spell: Remove all raid auras on party leave
2016-08-14 17:26:03 +02:00
tkrokli
e2f395863a
Core/Scripts: remove script npc_timothy_daniels ( #17779 )
...
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.
- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 12:05:24 +02:00
tkrokli
0c6eeb3abc
Core/Scripts: move npc_mortog_steamhead to DB
...
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 09:50:28 +02:00
treeston
d08efca201
Entities/Player: Fixed an edge case bug that could cause a character to get stuck in forced recustomization indefinitely if two or more appearance properties were out of bounds.
2016-08-14 00:29:37 +02:00
Duarte Duarte
829d550c1b
Merge pull request #17776 from ShinDarth/worldstate
...
Minor improvements
2016-08-13 15:42:53 +01:00
ShinDarth
54a7b8358e
Core/Worldstates: move WS_ARENA_DISTRIBUTION_TIME declaration
2016-08-13 16:32:19 +02:00
Shauren
330e5b0ebc
Core/DataStores: Reduce differences between branches - rename achievement related dbc fields
2016-08-12 18:29:21 +02:00
jackpoz
194fbd1792
Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-12 11:33:02 +02:00
ForesterDev
fdcea5c7ef
Core/Command: Check account password max length
2016-08-11 13:32:52 +02:00
tkrokli
2507b9f8af
Core/Scripts: remove 2 unused scripts ( #17759 )
...
These scripts are no longer in use:
- generic_creature
- trigger_death
2016-08-11 13:29:28 +02:00
Aokromes
43c3f3a235
Core/Arena: Teams don't lose rating after arena draw ( #17515 )
...
By Raydor, closes #16865
2016-08-11 13:00:31 +02:00
Aokromes
1ad24352ac
Core/Logs: Fine tune more logs
...
And move others to more logical appenders
2016-08-11 09:10:20 +02:00
Trond B Krokli
70b3373da1
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:11:36 +02:00
jackpoz
7616f796d0
Server/Database: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-10 16:57:21 +02:00
jackpoz
abe37e458c
Server/Database: Reduce differences between 3.3.5 and 6.x branches
...
Cherry-pick 1bea52fd46 and 543bea32 to add support to TYPE_BINARY MySQL field type
2016-08-10 16:02:22 +02:00
treeston
ac35f93c2d
Entity/Creature: Fix spawn health, for real this time. Closes #17757 . Also for real this time.
2016-08-09 00:19:22 +02:00
treeston
5b6eb29b74
Entities/Creature: Fix spawn health, fdd78d2 follow-up. Fixes and closes #17757 .
2016-08-08 23:54:47 +02:00
jackpoz
5588881be2
Common/Common: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-08 18:07:19 +02:00
Naios
68015599dc
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
(cherry picked from commit 501fd9b502 )
# Conflicts:
# src/common/Collision/Management/MMapManager.h
# src/common/Collision/VMapTools.h
# src/common/Common.cpp
# src/common/Common.h
# src/common/Cryptography/Authentication/PacketCrypt.h
# src/common/Cryptography/Authentication/WorldPacketCrypt.h
# src/common/Cryptography/HmacHash.cpp
# src/common/Cryptography/HmacHash.h
# src/common/Cryptography/SHA256.h
# src/common/GitRevision.h
# src/common/Utilities/Random.h
# src/common/Utilities/Util.h
2016-08-08 18:00:32 +02:00
Treeston
fdd78d2077
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-08 11:22:11 +02:00
ariel-
ac3bfd111d
Update ObjectMgr.cpp
2016-08-07 15:25:11 -03:00
Aokromes
e4ad88245a
Core/Log: Move log to more logical loglevel
2016-08-07 11:48:44 +02:00
Aokromes
b65d26b5b4
Core/Logs: Fine tune more logs
...
And move others to more logical appenders
2016-08-07 11:28:22 +02:00
Aokromes
e1cbd2c34a
Core/Logs: Fine tune another log
2016-08-07 07:39:38 +02:00
treeston
e9d4bbc74e
Core/Conditions: Add new CONDITION_PET_TYPE (45). Matches target player's pet against specified (value1) bitmask.
2016-08-06 20:20:07 +02:00
treeston
9785546967
Core/Conditions: Add new CONDITION_CHARMED (44). Does what it says on the tin.
2016-08-06 17:09:04 +02:00
jackpoz
4170a9357c
Common/Utilities: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-06 16:28:46 +02:00
treeston
d760219062
Scripts/Commands: Some adjustments to make shutdown commands more user-friendly.
...
- New error message if a shutdown is delayed due to force threshold.
- New status message indicating that a server shutdown was successfully cancelled.
2016-08-06 14:34:07 +02:00
Shauren
caee7dcad5
Core/Utils: Added additional argument to Tokenizer class to make it behave like strtok - not returning empty tokens in case of multiple consecutive separators in input string
...
(cherry picked from commit dd1533b315 )
2016-08-06 14:29:11 +02:00
Aokromes
b51409a5d3
Core/Logs: Fine tunning some logs
2016-08-05 21:22:12 +02:00
treeston
152b3ad5b9
Scripts/SmartAI: Some clean-up work:
...
- NULL -> nullptr
- Rename "AssistPlayerInCombat(who)" to "AssistPlayerInCombatAgainst(who)" to reflect what the method actually does
- Code style
No functionality was changed.
2016-08-05 12:41:56 +02:00
Kittnz
2c0c129a8f
Merge pull request #17733 from ForesterDev/acc_del
...
Core/Command: remove account_muted data on account deletion
2016-08-05 11:15:55 +02:00
Aokromes
6bb6bc7f1d
Update RBAC.h
2016-08-05 03:52:54 +02:00
Aokromes
a15fa423b8
Core/RBAC: Name some permissions from 7.x to stop people reuse them
...
RBAC_PERM_COMMAND_NPC_EVADE = 837,
RBAC_PERM_COMMAND_PET_LEVEL = 838,
RBAC_PERM_COMMAND_SERVER_SHUTDOWN_FORCE = 839,
conflicts with 6.x:
RBAC_PERM_COMMAND_RELOAD_CHARACTER_TEMPLATE = 837,
RBAC_PERM_COMMAND_RELOAD_QUEST_GREETING = 838,
RBAC_PERM_COMMAND_DEBUG_SEND_PLAYSCENE = 839,
2016-08-05 03:34:06 +02:00
jackpoz
206f08adbb
Common/Threading: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 23:44:55 +02:00
jackpoz
bcd5380e78
Common/Logging: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 21:53:43 +02:00
tkrokli
3c5b5f56f0
Core/Scripts: remove #define text in pyrewood_ambush
...
- remove #define text from script
- move say text to DB table creature_text
- add enum names and values
- move values in code to enum
2016-08-04 18:13:55 +02:00
jackpoz
8538151ea6
Common/Debugging: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 17:04:31 +02:00