Commit Graph

26685 Commits

Author SHA1 Message Date
Shauren
ca9237fbcd Core/Players: Intellect no longer affects mana regen from spirit 2015-06-01 00:09:31 +02:00
Naios
9a999556ec Shared/Util: Introduce a task scheduler which schedules task with c++11 techniques.
* Use std::function as callback (methods, lamdas & std::bind).
* Uses std::chrono::duration as duration type (Milliseconds, Seconds...)
  - With c++11 user defined literals we could just write "11s" for example (MSVS 2015, gcc & clang).
* Provides a lot of overloads for easier usage:
  - Static durations or random durations between min and max.
  - Named (with group ids - group id 0 is possible) or anonymous tasks.
  - Asynchronous tasks.
* Is adapted to the current needs of scripting:
  - Repeat tasks through the TaskContext
  - Schedule new tasks from the context.
  - Provides access to the times repeat counter of a task,
    this will help to schedule multi step events (dialogs for example).

See https://gist.github.com/Naios/6d143538abdc3d32fd2b for usage examples.

(cherry picked from commit da77a90aa9)
2015-05-31 20:31:29 +02:00
Shauren
eee0eebf51 Core/Items: Implemented primary stats on gear changing with character specialization (stats 71-74) 2015-05-31 00:13:41 +02:00
Shauren
83df74e3dc Core/Auras: Implemented SPELL_AURA_MOD_STAT_BONUS_PCT (467) 2015-05-31 00:12:21 +02:00
Shauren
b0c4268a6b Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks 2015-05-30 22:33:29 +02:00
Shauren
bf37446b3c Core/GameObjects: Fixed GameObjectAddon loading 2015-05-30 22:32:28 +02:00
Shauren
2f0c293266 Core/Misc: Removed some old unused enums 2015-05-30 22:17:42 +02:00
MitchesD
0cf0209741 Merge pull request #14782 from doctaweeks/fixes-for-6.x
Minor fixes for 6.x
2015-05-30 19:34:25 +02:00
Shauren
12d59623ff Merge pull request #14803 from DJScias/guildinvitefix
Core/Guilds: Disallow sending invite to people already in a guild
2015-05-30 12:09:28 +02:00
DJScias
e9c9bee8b1 Core/Guilds: Disallow sending invite to people already in a guild
- In the case this would happen the player was able to join two (or more) guilds and bug themself out heavily
- If the player declined the invite, they instead were removed from their current guild until restart, this allowed the above to loop endlessly
2015-05-30 12:08:06 +02:00
Duarte Duarte
675ad4438b Merge pull request #14801 from DJScias/6xunbanacc
Core/DBLayer: proper 6x account unban
2015-05-30 02:09:52 +01:00
DJScias
709b77f9e8 Core/DBLayer: proper 6x account unban
- Thanks @Shauren
- Unbanning accounts in 6x should set unbandate = now
(UNIX_TIMESTAMP() instead of NOW() due to unbandate being an int, not a timestamp)
- 'Active' updates remain so the "account is not banned" checks continue functioning
2015-05-30 03:06:59 +02:00
Shauren
1987d3187d Buildsystem: Removed handling for -DPREFIX shortcut for -DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2 2015-05-29 22:29:16 +02:00
Shauren
470d2bd458 Core/Quests: Implemented RewardXPMultiplier quest template field 2015-05-29 00:04:23 +02:00
glkrlos
c1bd3282f8 Core/Updater: Fix issues when connecting through unix sockets.
* closes #14766
* closes #14759

Signed-off-by: Naios <naios-dev@live.de>
2015-05-28 18:28:04 +02:00
Daniel M. Weeks
b6e926fa2f Remove unnecessary semicolons 2015-05-27 21:16:06 -04:00
Daniel M. Weeks
7e474418d8 Mark overriding functions 2015-05-27 21:13:48 -04:00
Daniel M. Weeks
3e1afa6386 Fix annotations 2015-05-27 21:13:43 -04:00
Daniel M. Weeks
6d0710967c Remove duplicate include 2015-05-27 21:13:37 -04:00
Daniel M. Weeks
0b826e09e0 Mark static variables 2015-05-27 21:13:31 -04:00
Shauren
d7c53c30fb Core/Stats: Removed bonus max mana from intellect 2015-05-28 00:47:41 +02:00
Rushor
24db69b342 DB/Quest: Breakout!
closes #14475
2015-05-27 22:02:16 +02:00
Shocker
cc3ddf23ce Core/Spells: Fix spell scripts for effect hooks greater than EFFECT_7 2015-05-27 18:33:51 +03:00
Warpten
8c75402199 Merge pull request #14778 from DJScias/addonprefix
Core/PacketsIO: Updated and enabled SMSG_CHANNEL_NOTIFY, CMSG_CHAT_RE…
2015-05-27 17:23:04 +02:00
DJScias
b5aebf40a8 Core/PacketsIO: Updated and enabled SMSG_CHANNEL_NOTIFY, CMSG_CHAT_REGISTER_ADDON_PREFIXES, CMSG_CHAT_UNREGISTER_ALL_ADDON_PREFIXES
- Thanks to @MitchesD for all his help, you're awesome!
- Packets have been sniffed & parsed and they all check out.
2015-05-27 16:56:06 +02:00
Shauren
fe52844012 Core/Quests: Defined missing quest objective type 2015-05-27 01:12:53 +02:00
MitchesD
1f71eb7210 Core/Packets: fixed logic fail caused by misunderstanding of multistrike
* when multistrike is implemented, we have to do some changes here
2015-05-27 00:23:31 +02:00
MitchesD
ca5ea3c85d Core/PacketIO: updated structure of SMSG_SPELL_PERIODIC_AURA_LOG
* debug info is no implemented since we don't know the right usage
2015-05-26 21:51:01 +02:00
Shauren
735606bc73 Core/DataStores: Load AnimKit.dbc to validate anim kit usage 2015-05-26 00:04:47 +02:00
DDuarte
a66cbab73b Core/Channel: Update enum ChatNotify 2015-05-25 01:28:54 +01:00
Shauren
acd4b6fb50 Core/Entities: Allow all object types to use anim kits, not only players/creatures 2015-05-25 01:50:03 +02:00
Duarte Duarte
fc85f0e30f Update worldserver.conf.dist
Fix typo in ClientCacheVersion
2015-05-24 23:20:40 +01:00
MitchesD
3552c4bd72 Core/PacketIO: updated structure of SMSG_ITEM_COOLDOWN, SMSG_ITEM_ENCHANT_TIME_UPDATE 2015-05-24 22:06:58 +02:00
Shauren
c44273ec93 Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_RECRUIT_GARRISON_FOLLOWER 2015-05-24 02:23:49 +02:00
Shauren
61b0889e6c Core/Garrisons: Fixed loading building spawns when logging in on garrison map 2015-05-23 12:09:23 +02:00
Shauren
b3a754cd7b Core/Garrisons: Implemented follower class/spec abilities and saving them to database 2015-05-22 00:17:48 +02:00
Warpten
1d29328769 Scripts/RubySanctum: Remove duplicate code. 2015-05-21 19:14:52 +02:00
Gacko
b9842fb8aa Fix warnings. 2015-05-21 18:04:50 +02:00
joschiwald
266c09f8a9 Core/GameObject: fixed typo in 46acf64d0f 2015-05-21 14:02:50 +02:00
DDuarte
280f0016ec DB/Quest: The Horse Hollorer
Fix http://www.wowhead.com/quest=12415/the-horse-hollerer again after script for this quest was removed when http://www.wowhead.com/quest=12414/mounting-up was fixed in 2c6500a231 this commit removed script for this quest which had previously been fixed prior to this commit.
(cherry picked from commit fa5931189d)
2015-05-21 01:32:47 +01:00
Shauren
f85605b5f7 Scripts/Icecrown Citadel: Fixed Ice Tomb during phase 3 of Sindragosa encounter 2015-05-21 00:02:33 +02:00
Gacko
da31ec0fd6 Fix non pch build. 2015-05-20 21:36:55 +02:00
Carbenium
6d12297ffa Scripts/Commands: Fix LANG_PINFO_MUTED in HandlePInfoCommand
Closes #14560
Thanks @Mack36
2015-05-20 17:48:53 +02:00
Duarte Duarte
4faa5e4b14 Merge pull request #14725 from xerkoss/patch-1
Core/Packets: Fixed SMSG_PARTY_INVITE unnecessary FlushBits
2015-05-20 01:41:05 +01:00
xerkoss
dd758f4e01 Core/Packets: Fixed SMSG_PARTY_INVITE unnecessary FlushBits 2015-05-20 02:39:24 +02:00
Aokromes
14f8186596 DB/Item: Fix Bobbing apple
By Kilyana, closes #11142
(cherry picked from commit c0f6391a47)
2015-05-20 00:02:17 +01:00
Aokromes
545a780539 DB/Misc: Fix Storm Peaks minefield
By Killyana, closes #965
(cherry picked from commit 2023dd4a32)
2015-05-20 00:02:16 +01:00
Aokromes
695db8d1a0 DB/Creature: Script Time Keeper
By Killyana, closes #2465
(cherry picked from commit 6acffca64d)
2015-05-20 00:02:15 +01:00
Aokromes
8743fd9c6f DB/Quest: Fix multiples spawn for A Taste of Flame
By Killyana, closes #2752
(cherry picked from commit 10edd860ee)
2015-05-20 00:02:15 +01:00
DDuarte
f0cdc80333 DB/Creature: Some npcs don't respond to aggro if player is in water
By Killyana, closes #5405
(cherry picked from commit 25f6b642e8)

Conflicts:
	sql/updates/world/2015_04_18_00_world.sql
2015-05-20 00:02:14 +01:00