Compare commits

...

350 Commits

Author SHA1 Message Date
mik1893 ee6f1523f4 [AZTH] Crossfaction battleground: fixed cache reset on disconnects 2016-08-17 02:00:26 +02:00
mik1893 ec7a174be2 [AZTH] Crossfaction Battleground - log polishing 2016-08-17 01:29:00 +02:00
mik1893 7730641136 [DEV-OP] Refix logs 2016-08-17 00:00:33 +02:00
mik1893 fc576bf504 [DEV-OP] Correct logging 2016-08-16 23:48:37 +02:00
mik1893 aa3d8c88d9 Core/Custom: Empowered crossfaction BG and additional logging 2016-08-16 23:22:03 +02:00
Yehonal 9a3347c017 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git into custom 2016-08-16 07:43:56 +02:00
mik1893 3111119b94 Core/Pet: correct pet loading - summoning 2016-08-16 07:42:13 +02:00
mik1893 7eb8f1571c [DEV-OP] Code formatting 2016-08-16 07:42:00 +02:00
Yehonal db996df38f [AZTH] disable warning on item.dbc 2016-08-16 07:41:35 +02:00
Yehonal 1c5ae23b3f Fix compilation of cs_debug script with clang 2016-08-16 00:00:08 +02:00
Yehonal 20aaf650b1 [CMAKE] More compatible definitions 2016-08-15 23:59:30 +02:00
Yehonal 855bf9caa0 [BASH] Now scripts will use default language 2016-08-15 23:59:09 +02:00
mik1893 fa817a9d98 [AZTH] Fix code placement, formatting, etc in Hearthstone mode 2016-08-15 11:12:05 +01:00
Yehonal 8a0541c160 fixed bash hook functions 2016-08-15 08:48:50 +02:00
Yehonal 739db841f1 Merge branch 'master' into custom 2016-08-15 08:39:56 +02:00
Yehonal 4dae311f11 Merge branch 'custom' of gitlab.com:azerothshard/azerothcore into custom 2016-08-15 08:38:03 +02:00
Yehonal e7a755ae71 [AZTH] Default debug compilation 2016-08-15 08:37:47 +02:00
mik1893 5de7bae617 Core/Battleground: New CrossFaction Battleground queue system with enabled premades and pre-balancing system 2016-08-14 13:31:19 +01:00
mik1893 aaa5f2ec67 [Core/Custom] Implement new Crossfaction Battleground mechanics 2016-08-14 08:59:49 +01:00
mik1893 f77a6bc8e1 Core/Custom: random battleground - setting native display IDs 2016-08-14 08:59:49 +01:00
mik1893 d056932a4f Core/Scripts: add new hook OnPlayerAddToBattleground 2016-08-14 08:59:48 +01:00
mik1893 6838c9a8ac Core/Unit: enable setting and retrieval of a temporary race for players 2016-08-14 08:59:48 +01:00
Yehonal 2f45024b63 Move sql updates under archive 2016-08-14 06:44:58 +02:00
MadAgos be7a23ebd9 [SQL/Creature] fix movement type Fizzle Darkstorm and Burning Blade Fanatic 2016-08-13 22:24:37 +02:00
Yehonal 921861c19f Merge branch 'master' into custom
# Conflicts:
#	modules/acore/framework/Database/Implementation/CharacterDatabase.cpp
#	src/game/Groups/GroupMgr.cpp
2016-08-13 20:41:35 +02:00
Yehonal d0d3ba67bc [AZTH] default conf for extra db 2016-08-13 20:26:17 +02:00
Yehonal da3d8e2f4e implemented db_exporter 2016-08-13 20:25:56 +02:00
Yehonal e4f51a353b created hw-core bash libraries
will be traited as a git subtree
2016-08-13 20:25:34 +02:00
Yehonal f2143ef4ef minor updates to mysql-tools 2016-08-13 20:22:49 +02:00
Yehonal ab241be66e renamed mysql_tools 2016-08-13 19:48:25 +02:00
mik1893 c606ac4bfe Core/Player: Implement original race variable at unit level and initialize it (for future customizations) 2016-08-13 15:50:32 +01:00
Yehonal 2ae721dc16 Merge commit 'd4213c19608fe15e06fca31782151eca4e903c9f' as 'modules/uwd/mysql_tools' 2016-08-13 14:02:18 +02:00
Yehonal d4213c1960 Squashed 'modules/uwd/mysql_tools/' content from commit d76f949
git-subtree-dir: modules/uwd/mysql_tools
git-subtree-split: d76f949e480d06fd4b33dd58249e8419238e9ca9
2016-08-13 14:02:18 +02:00
Yehonal db75da8c75 removed useless redefinition from db_assembler 2016-08-13 14:00:22 +02:00
mik1893 21411e1147 Core/Custom: Hearthstone mode, loading of criterias at startup 2016-08-13 12:32:39 +02:00
Gargarensis fd04220e28 Merge branch 'custom' of https://gitlab.com/azerothshard/azerothcore into custom 2016-08-13 11:50:26 +02:00
Gargarensis 7520efdb26 beginning of pvp quest for hearthstone mode 2016-08-13 11:47:11 +02:00
mik1893 80d31ecf0d Core/Spells: fix greater blessings selection issues (pet class on player class) 2016-08-13 11:30:52 +02:00
mik1893 2acdc82891 Core/Spells: fix removal of Disarm (scorpid sting) cooldown with Readiness 2016-08-13 11:10:20 +02:00
mik1893 b5a91a8a64 Merge remote-tracking branch 'origin/custom' 2016-08-12 15:49:20 +02:00
mik1893 0ccff18437 Merge branch 'nonshared-id' 2016-08-12 15:27:54 +02:00
Yehonal ba04de9c97 Merge branch 'master' into custom 2016-08-12 07:48:17 +02:00
Yehonal 4e46092b62 Merge branch 'master' into custom 2016-08-12 03:33:51 +02:00
Yehonal 86211c5137 [AZTH] Add missing tags and code/conf cleaning 2016-08-12 03:32:35 +02:00
Yehonal d11a9a8561 Merge branch 'master' into custom 2016-08-12 03:00:57 +02:00
Yehonal c3a8a04990 Added template files for github 2016-08-12 02:38:05 +02:00
Yehonal e80aeedb9e Another big repo refactoring, should be latest
I've restored old paths for scripts and flattened the src structure
2016-08-12 02:37:42 +02:00
Yehonal 3e05d84dde [DEV-OP] [AZTH] cmake path fixing 2016-08-12 00:56:12 +02:00
Yehonal c88297db83 Continuing cmake path fixing 2016-08-12 00:55:18 +02:00
Yehonal edd301e54a Fixed paths for cmake 2016-08-12 00:52:12 +02:00
Yehonal 31591a2327 Refactoring part 2 [W.I.P] 2016-08-12 00:46:43 +02:00
Yehonal f6f4762c53 Merge branch 'master' into custom 2016-08-12 00:30:13 +02:00
Yehonal b3214eb5c0 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git into custom 2016-08-11 21:14:34 +02:00
Yehonal 3d1243197b [AZTH] imported git-bdiff 2016-08-11 21:00:48 +02:00
Yehonal 8f4c92b5bb Merge branch 'master' into custom 2016-08-11 20:54:09 +02:00
Yehonal 8944475e99 Merge branch 'master' into custom
# Conflicts:
#	bin/bash_shared/defines.sh
2016-08-11 20:38:53 +02:00
Yehonal d11d3851aa [AZTH] Fix cmake 2016-08-11 20:08:57 +02:00
Yehonal 4b959267f9 Rewritten cmakes allowing compilation with new structure 2016-08-11 20:07:14 +02:00
Yehonal 8ced823acf Big re-organization of repository [W.I.P] 2016-08-11 19:18:36 +02:00
Yehonal 0d17ee120b removed server-stats folder
Has been uploaded on our cloud drive archive
2016-08-11 18:34:23 +02:00
Yehonal a6dde657de Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 17:27:09 +02:00
Yehonal 804982cfec always set cmake $CONF_DIR and add in preprocessor defines 2016-08-11 17:05:52 +02:00
mik1893 e52f71f972 [DEV-OP] Remove actual crossfaction BG system 2016-08-11 16:09:55 +02:00
Yehonal e5c88fd7ee Merge branch 'master' into custom 2016-08-11 14:57:52 +02:00
Yehonal c0be39dbd9 Removed extras folders
its content has been moved in dedicated
repositories / cloud drives
2016-08-11 10:49:29 +02:00
mik1893 4a49049a2e Core/Instance: Shared normal/heroic ID is now a configurable feature (default: deactivated) 2016-08-10 16:03:21 +01:00
Yehonal 8030f98d8d Merge branch 'master' into custom 2016-08-10 12:41:58 +02:00
Yehonal 5f3a03e48d Merge branch 'custom' of git@gitlab.com:azerothshard/azerothcore.git into custom 2016-08-10 12:39:33 +02:00
Yehonal 5771ea740d [CORE] Allowing compilation with c++11 2016-08-10 12:39:25 +02:00
Gargarensis f0f1139d2c fix heroism/bloodlust stack based on ShinDarth previous fix on TrinityCore 2016-08-08 16:34:03 +02:00
Yehonal 3e0270d0eb [AZTH] updated gitlogger 2016-08-08 15:25:04 +02:00
Yehonal 663698a1d2 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git into custom 2016-08-08 15:13:56 +02:00
Yehonal b878f2217e [AZTH] removed sql imported in public repo 2016-08-08 15:13:20 +02:00
Yehonal a99323aa1b Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git
# Conflicts:
#	src/server/worldserver/worldserver.conf.dist
2016-08-08 12:28:38 +02:00
Yehonal 968d75e658 Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-08 12:20:33 +02:00
Yehonal 20c0e83954 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git
# Conflicts:
#	src/server/game/Battlegrounds/ArenaTeam.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/BattleGroundHandler.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Scripting/ScriptMgr.h
#	src/server/game/World/World.h
#	src/server/shared/Database/Implementation/CharacterDatabase.cpp
#	src/server/shared/Database/Implementation/CharacterDatabase.h
#	src/server/worldserver/worldserver.conf.dist
2016-08-08 12:16:55 +02:00
Yehonal 4d30f27d87 Merge branch 'gh-master' 2016-08-08 12:14:22 +02:00
Yehonal 9ae79b282f multiple changes to sync with public repository
* Some AZTH has been converted to official changes for public repo
2016-08-08 12:14:04 +02:00
mik1893 274cc9fa3b Remove arena points test - working fine 2016-08-07 15:48:44 +02:00
mik1893 084b216e82 [Dev-Op] TEST ArenaPoints (to be removed) 2016-08-07 15:35:03 +02:00
Yehonal 7a9d176088 Merge branch 'gh-master'
# Conflicts:
#	.gitignore
#	data/sql/updates/world/2016_07_28_00.sql
#	src/server/game/Battlegrounds/Battleground.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/scripts/Pet/pet_dk.cpp
2016-08-07 12:59:26 +02:00
Yehonal a1c27e7fe6 Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-07 11:38:13 +02:00
Yehonal 8bbc6efdad [AZTH] fixed gitlogger 2016-08-07 11:37:54 +02:00
Yehonal e11f78f8b6 [BASH] improved db assembler with more effective md5 check 2016-08-07 11:36:00 +02:00
Yehonal f44112280f [AZTH] implemented bash inclusion for azerothshard module 2016-08-07 11:34:59 +02:00
Yehonal 9eb07a6174 [AZTH] re-organized old files 2016-08-07 11:34:11 +02:00
Gargarensis 198c725616 now it compiles on unix too 2016-08-07 02:36:46 +02:00
Yehonal 016ac50336 [CORE] force reloading of logs configurations at start
allowing sScriptMgr to change logs confs
2016-08-06 20:50:35 +02:00
Yehonal c9aa9cc93f [AZTH] Removed Gargarensis code to allow unix compilation
must be reapplied next
2016-08-06 17:13:48 +02:00
Yehonal a75a109499 [AZTH] updated azth_mod.conf 2016-08-06 17:05:23 +02:00
Yehonal 20f7615cbd Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-06 16:38:44 +02:00
Yehonal 3506fd51f2 [AZTH] Moved properties to AzthPlayer instance 2016-08-06 16:38:28 +02:00
MadAgos eb3c1e965d Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-08-06 15:02:19 +02:00
MadAgos 511bd0982e minor fix 2016-08-06 15:01:31 +02:00
Gargarensis 671e3a6f30 i forgot something 2016-08-06 13:07:44 +02:00
Gargarensis 415436d802 patch item and player gossip 2016-08-06 01:10:13 +02:00
Gargarensis 8f187edc2a hotfix rele price 2016-08-05 13:11:01 +02:00
Yehonal 084998bf7b Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-05 09:31:32 +02:00
Yehonal 3549874ee4 [AZTH] Some changes to GM commands 2016-08-05 09:31:21 +02:00
Gargarensis 28787faee8 gossip item patch + first gossip item morph 2016-08-05 01:38:02 +02:00
mik1893 1c865973e0 Core/Custom: removed Crossfaction disable warning message 2016-08-04 18:23:09 +01:00
mik1893 c1495f1efa Core/Custom: Implement RATE_ARENA_POINTS and fixed arena points distribution! 2016-08-04 18:02:50 +01:00
mik1893 00181d53df Core/Spells: Fix Spirit Heal (battleground), abilities with rage/energy should also have no cost 2016-08-04 16:57:45 +01:00
mik1893 fe948f4c45 Fix Gargoyle dk being feared/confused properly 2016-08-04 08:46:24 +01:00
mik1893 ca684ee8d6 Guildhouse - fix npc factions 2016-08-04 08:02:35 +01:00
mik1893 f016238291 Modify battleground unified queue debug 2016-08-04 08:02:18 +01:00
mik1893 6cbeb93542 Fix compile and additional logging 2016-08-03 22:50:51 +01:00
mik1893 4ffa5ac079 Core/Custom: Updated Crossfaction
- now force updates of all groups every 10 seconds
- correctly delete a group leader from the offline map when group disbanded
2016-08-03 22:40:21 +01:00
mik1893 1ab3c39460 Some faction fixes 2016-08-03 21:06:48 +01:00
mik1893 b7704ee8a4 Toc5 - Fix also heroic factions 2016-08-03 21:06:47 +01:00
mik1893 03596e61ce Core/Unit: fix the 1/10000 chance to miss with 100% chance 2016-08-03 18:30:21 +01:00
Yehonal 60a3397307 [AZTH] usefull sql 2016-08-03 19:27:54 +02:00
Yehonal fa118cdb85 [AZTH] updated gm commands 2016-08-03 19:27:30 +02:00
Yehonal 208debed6c [AZTH] added crossfaction disable zone for faction capitals 2016-08-03 19:27:05 +02:00
Yehonal dc7f1bd087 [AZTH] added comment to pve stats table field 2016-08-03 19:26:38 +02:00
Yehonal 4e7307e900 [AZTH] modified conf for premade groups and message delay 2016-08-03 19:26:05 +02:00
mik1893 27467a8305 Fix instance binding 2016-08-03 17:48:45 +01:00
Yehonal 8b7c806cba Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-03 16:02:33 +02:00
Yehonal 44bb9877b6 [CORE] guild safety check only when two side guild interaction is disabled 2016-08-03 15:55:37 +02:00
Yehonal 7ffeeb8131 [AZTH] Commented out kick on login because it causes issues with change faction safety checks 2016-08-03 15:54:43 +02:00
mik1893 4757e0e42c Fix Zul Aman 2016-08-03 09:14:08 +01:00
mik1893 b465fcfe71 Ensure team is switched before joining BG 2016-08-03 08:48:47 +01:00
mik1893 eb2fd1555d DB/Spell: Fix spell area issue with spell WGA Phase 2016-08-03 08:26:29 +01:00
mik1893 f6d8f23174 Guildhouses - remove guards 2016-08-03 08:11:53 +01:00
Yehonal 36b0b2f87f [AZTH] fixed kick for players with change flags 2016-08-03 01:03:44 +02:00
mik1893 57fe23b0e0 Core/Spells: Fix Chain Heal 2016-08-02 19:37:10 +01:00
Yehonal 426400f5ba Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-08-02 16:15:58 +02:00
Yehonal 4f20475d12 [AZTH] hack for kick-login if change flag active 2016-08-02 16:15:24 +02:00
mik1893 c8d92ee54c correct queuing system 2016-08-02 10:43:24 +01:00
mik1893 9b6c2d863d Core/BG: Single Random Battleground queue counting 2016-08-01 21:39:40 +01:00
mik1893 6fd2a17bf2 debug test 2016-08-01 17:59:23 +01:00
mik1893 5100fec5cf Core/RandomQueueCrossfaction: correction to ensure only random bg is considered 2016-08-01 17:59:13 +01:00
mik1893 55f0f4f648 Core/ToC5: Fix faction issues on champion bosses 2016-08-01 16:26:14 +01:00
mik1893 c8656531d8 Core/Custom: Fix Trial of the Champion crossfaction issues 2016-08-01 13:50:46 +01:00
Yehonal 9a266af87c [AZTH] Removed custom confs from worldserver.conf.dist 2016-08-01 10:03:00 +00:00
mik1893 5ea1c073c9 Core/Spells: Judgements do not require facing 2016-08-01 07:44:42 +01:00
Yehonal a6a8be75ef [DB] fix for wrong update file 2016-07-31 19:44:21 +02:00
Yehonal 3fd2ae1b2b [AZTH] fix for transmog npc sql 2016-07-31 19:43:51 +02:00
Yehonal 98f16b041e [AZTH] uploaded sql converters 2016-07-31 18:56:24 +02:00
Yehonal 34641f3b15 [AZTH] filled azth_mod.conf with our custom configurations 2016-07-31 17:55:35 +02:00
Yehonal a00795f11c [AZTH] Re-organized sql 2016-07-31 16:24:10 +02:00
Yehonal a916149f7c Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-07-31 14:26:11 +02:00
Yehonal 4aabdb981b [AZTH] updated scripts for to support ConfigLoad hooks and implemented custom conf file 2016-07-31 14:25:50 +02:00
Yehonal 4b815dcc90 [CORE] Rewritten ScriptMgr to be initialized before server load
Now ScriptMgr can be initialized before config allowing

to create scripts that can change the behaviour of

server before loading anything
2016-07-31 14:23:32 +02:00
mik1893 392861ae31 Commented BUFF MAN from Guildhouse NPC 2016-07-31 10:51:31 +01:00
mik1893 320c880e8e small correction to teams in guildhouses 2016-07-31 10:32:08 +01:00
mik1893 4559131f55 Guildhouses - enable teleport npc - delete lotto npc 2016-07-31 10:28:48 +01:00
Yehonal 2bc3369755 [BASH] allow additional custom config for cmake 2016-07-31 10:51:09 +02:00
mik1893 c805698a3f Core/Pet: Casting pet spells on enemies at a distance - now the pet goes at casting distance and does the cast 2016-07-31 09:11:11 +01:00
mik1893 19620c35b1 Core/Pet: better fix for Gargoyle targeting Ghoul target 2016-07-31 08:24:02 +01:00
mik1893 5c43420133 Core/Spells: DK Dancing Rune weapon diseases now count towards Heart Strike bonus damage 2016-07-30 20:40:46 +01:00
mik1893 f6477b1b04 Fix DRW 2016-07-30 18:45:44 +01:00
Yehonal 2047847df1 Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-07-30 18:14:48 +02:00
Yehonal acbf08a793 [CORE] implemented multiple configuration files loading
currently it's used to load the default [auth|world]server.conf.dist

but you can use sConfigMgr->LoadMore to load your custom config

in your modules to add/overwrite properties
2016-07-30 18:14:38 +02:00
mik1893 a10d275c82 Fix issue in db query 2016-07-30 12:15:40 +01:00
mik1893 a642ec9f67 Fix Compile 2016-07-30 11:57:03 +01:00
mik1893 793d9774d7 Core/Tickets: Ticket System updated 2016-07-30 11:37:23 +01:00
Yehonal 28cad03b99 Merge branch 'master' of git@gitlab.com:azerothshard/azerothcore.git 2016-07-30 11:29:41 +02:00
Yehonal 441dff4103 [AZTH] added blank include.sh for bash system and gitignore 2016-07-30 11:16:09 +02:00
Yehonal 636ee9b246 Fixed .gitignore to support modules inclusion 2016-07-30 11:15:39 +02:00
Yehonal 65a74bfea3 loading modules for bash system 2016-07-30 10:54:53 +02:00
Yehonal a9210a557e [DB] implemented automatic version retrieving 2016-07-30 10:53:19 +02:00
mik1893 96e7bd4808 Corrected guildhouse SQL 2016-07-30 09:51:12 +01:00
Yehonal dfc94133fa fixed db_assembler script 2016-07-30 10:16:30 +02:00
Yehonal 2694c8bc5f [DB] Renamed databases -> base 2016-07-30 10:08:32 +02:00
Yehonal dbcc34f9e9 [DB] moved full databases in folder
to support splitted sql files soon
2016-07-30 10:07:42 +02:00
mik1893 a1720db43b Revert wrong logic - bg crossfaction 2016-07-29 20:46:55 +01:00
Yehonal 9882f6e9ca [AZTH] loading azth plugins/scripts using cmake 2016-07-29 19:42:13 +02:00
Yehonal 0eabe1ae38 ignoring conf for db_assembler 2016-07-29 19:41:43 +02:00
Yehonal f2dc4d08a7 fix buildpath in compilation script 2016-07-29 19:41:31 +02:00
Yehonal effc63905b [Core/Cmake] Scripts are now added dynamically
You can now add your scripts using cmake inside your module
instead patch core cpp files
2016-07-29 19:41:14 +02:00
MadAgos 0394672e52 alter table azth_achievement_stats 2016-07-29 11:51:05 +02:00
Yehonal 621407756f Merge branch 'PveStats' of git@gitlab.com:azerothshard/azerothcore.git 2016-07-29 11:33:07 +02:00
mik1893 b02b94dceb Core/Custom: Let the leaders be leaders 2016-07-29 08:52:12 +01:00
mik1893 1364696651 Core/Custom: Random Battleground - faction randomizer 2016-07-29 08:19:28 +01:00
mik1893 1edee3ce69 Core/Wintergrasp: Fix Wintergrasp tenacity 2016-07-28 22:58:54 +01:00
MadAgos d907db9f2e [AZTH] PvEstats save Criteria and Achievements on achievement_stats and minor fix 2016-07-28 20:51:58 +02:00
mik1893 8e01118225 Core/Battleground: Fix reputation assignment in case of switched team 2016-07-28 19:06:33 +01:00
mik1893 a25bbcfa3e Core/Player: Check original faction in case of quest-reputations-items 2016-07-28 15:55:28 +01:00
Yehonal fe563bc34a fixed cmake and compilation 2016-07-28 16:55:20 +02:00
Yehonal 3786420788 some fixes to bash config files 2016-07-28 16:39:19 +02:00
Gargarensis 3fb85e9a53 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-28 15:18:18 +02:00
Gargarensis 7b8278d587 fix loot for mindless servant 2016-07-28 15:17:49 +02:00
mik1893 c726225983 Core/Pet: Gargoyle now attacks Ghoul target, thx Harlock 2016-07-28 14:03:15 +01:00
Yehonal e2a2fb587b Merge branch 'master' of git@gitlab.com:azerothshard/azerothcore.git 2016-07-28 13:33:49 +02:00
Yehonal 8eb6dd8017 starting bash rewriting job [WIP] 2016-07-28 13:33:10 +02:00
Yehonal b6d8853979 skip inclusion of modules without CMakeLists
+ added hook for after load conf
2016-07-28 13:31:07 +02:00
Gargarensis e91b9e8896 spawn for vendors and update to t3 quests 2016-07-28 12:58:18 +02:00
Gargarensis 9fe14bd6d1 T3 vendor, T3 quests, Heirloom vendor 2016-07-28 12:52:51 +02:00
Yehonal cc7d27ce94 updated docs with latest revision 2016-07-28 11:43:34 +02:00
Yehonal 7a38c36867 created install script
It works on all platform that supports basic bash

( windows, linux, osx etc )
2016-07-28 11:43:10 +02:00
mik1893 6a9a5f89ab Allow rewarding kills from same ip address 2016-07-27 17:41:19 +01:00
Yehonal b7186bb424 [CMAKE] Hooks for after binaries cmakes 2016-07-27 09:22:49 +02:00
Yehonal 7736b45a00 Merge branch 'PveStats' of git@gitlab.com:azerothshard/azerothcore.git 2016-07-26 19:40:29 +02:00
mik1893 31bcbfaebf Codestyle and improved logging for crossfaction 2016-07-26 17:58:12 +01:00
MadAgos 1ee1bec7f0 [AZTH] PvEStats, recover Max Level group after a crash 2016-07-26 18:38:52 +02:00
MadAgos 5c9740d42b Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore into PveStats 2016-07-26 18:36:22 +02:00
Yehonal 87ff8c7828 [AZTH] Fixed bug on GetTeamId, reverse condition 2016-07-26 13:06:23 +02:00
Yehonal f80cef2783 [AZTH] Fixed crash with our crossfaction system 2016-07-26 10:41:15 +02:00
Yehonal 1183d226bf Rewritten commands following issue specification 2016-07-26 06:47:09 +00:00
mik1893 5de76284ca Core/Custom: Crossfaction - added offline group leader caching and corrected wrong reset behaviour 2016-07-26 07:29:43 +01:00
Gargarensis b5b90ea317 removed 2 wip lines from hearthstone cpp 2016-07-26 01:24:13 +02:00
Gargarensis e3afe19ce8 some modifications to gm commands sql 2016-07-26 01:11:23 +02:00
MadAgos 37fddfcf4e Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore into PveStats 2016-07-25 17:49:35 +02:00
Yehonal e7d0e2487a configuration system for cmake
- moved cmake options under conf
and created default/custom configuration system for cmake
2016-07-25 17:29:20 +02:00
Gargarensis 64cc5eaf0f relentless price reduction 2016-07-25 01:43:43 +02:00
Gargarensis 9dc9391922 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-25 00:46:15 +02:00
Gargarensis 2d82ba863f updated archived sqls 2016-07-25 00:45:37 +02:00
ShinDarth d2ee88a631 Fix import del rate exp dei BG 2016-07-24 12:50:15 +02:00
MadAgos ebcf6e86f6 AZTH WIP PvEstats second working wave 2016-07-22 17:07:17 +02:00
MadAgos 95b808860b [AZTH] WIP Pve Stats, added code for party in outworld 2016-07-22 02:42:55 +02:00
mik1893 6d921faa2a fix compile 2016-07-21 20:18:13 +01:00
mik1893 9ab406c175 Core/CrossFaction: riscrittura crossfaction eliminando collegamenti diretti su player - modulo a se stante, utilizza solo scripts 2016-07-21 19:39:49 +01:00
mik1893 19dd2bef2e Fix honor calculation for ranks and correctly apply BG XP Modifier 2016-07-20 18:05:14 +01:00
Yehonal e5b9edad60 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-20 09:16:14 +02:00
Yehonal bfdb21c6a6 commented out log instruction 2016-07-20 09:14:52 +02:00
Yehonal 6284104427 [AZTH] Hack to remove big BG from rbg
TODO: Weight must be implemented ( see comment in code )
2016-07-20 09:14:20 +02:00
MadAgos 6da0b64ac4 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-20 00:47:45 +02:00
MadAgos c99db43b59 una parentesi di troppo 2016-07-20 00:46:08 +02:00
Yehonal d190843d4b Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-07-20 00:36:34 +02:00
Yehonal f18b91f619 [AZTH] some fixes for TEAM defines 2016-07-20 00:36:17 +02:00
Yehonal 010473c97e [AZTH] removed useless inclusion 2016-07-19 23:59:23 +02:00
Yehonal 3bf17370b3 [Core] Fix compile when include InstanceSaveMgr 2016-07-19 23:59:05 +02:00
mik1893 43bbcc3909 useless scriptname 2016-07-19 22:57:49 +01:00
Yehonal 764ad2f578 Merge branch 'PveStats' of git@gitlab.com:azerothshard/azerothcore.git
# Conflicts:
#	modules/azerothshard/src/server/game/AzthPlayer.cpp
2016-07-19 23:39:28 +02:00
Yehonal ae30ae6a1e uploaded MPQEditor 2016-07-19 23:36:56 +02:00
Yehonal 078592a6ca Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-07-19 23:12:48 +02:00
Yehonal 7d2b2c3530 [AZTH] fixed CanUseItem 2016-07-19 23:11:49 +02:00
mik1893 a205dfdbd2 Fix Linux Compile 2016-07-19 21:02:38 +01:00
Yehonal 96b77774cb Merge branch 'master' of gitlab.com:azerothshard/azerothcore 2016-07-19 21:45:36 +02:00
Yehonal 939b9d222b [AZTH] funny team switcher for battlegrounds, just to test for a future real implementation 2016-07-19 21:45:16 +02:00
mik1893 4b81965188 Dancing Rune Weapon - missing autoattack dmg 2016-07-19 20:38:02 +01:00
Gargarensis 0336271cc0 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-19 21:29:49 +02:00
Gargarensis a583f1f329 new chances 2016-07-19 21:28:39 +02:00
Gargarensis 4fbc6a5000 non-common item from box now starts at quality 3 (blue) 2016-07-19 21:22:41 +02:00
Yehonal c9ffd1bece [AZTH] moved zone check in our setFactionForRace function 2016-07-19 20:44:06 +02:00
Yehonal fd8d79c037 [AZTH] imported custom setFactionForRace injection 2016-07-19 19:44:50 +02:00
Gargarensis e36407514e less duplicate items 2016-07-19 14:39:28 +02:00
MadAgos 11c910b9a6 [AZTH] W.I.P. import PveStas 2016-07-19 12:02:27 +02:00
Gargarensis bcfb7b3888 new reputation: from 1082->948 2016-07-19 01:27:49 +02:00
Gargarensis 71f3c38958 fix quest rep and removed non-trasmog items 2016-07-19 00:44:00 +02:00
Gargarensis b035256fd1 fix to npc gossip, negative reputation, hearthstone sack's message, quality 7 chance 2016-07-18 15:47:56 +02:00
Gargarensis 45020e05dd new dk start set vendor 2016-07-18 01:32:35 +02:00
Gargarensis 59db86ba38 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-18 00:59:11 +02:00
Gargarensis 35e1c44f98 some fixes to hearthstone mode 2016-07-18 00:58:29 +02:00
Yehonal 5e21af60f1 [AZTH] fixed dbc 2016-07-17 23:47:19 +02:00
mik1893 babb00c6b4 Fixed Crossfaction - now working as intended 2016-07-17 16:45:54 +01:00
mik1893 389aabb7b5 Implemented basic crossfaction disable log when loading 2016-07-17 16:43:43 +01:00
mik1893 f653bbbc4a Correct guildhouse log output 2016-07-17 16:43:25 +01:00
Gargarensis 1329a3fbca new npc to receive quests 2016-07-17 13:14:29 +02:00
Gargarensis 477f344b16 introduced marks of azeroth, new dbc prices, some updates 2016-07-17 01:34:04 +02:00
Yehonal 031efac6c0 [AZTH] fixed crash at start 2016-07-16 16:17:47 +02:00
Yehonal ea31ca4852 Added missing code for extra db initialization 2016-07-16 16:17:32 +02:00
Yehonal 91ad3cb9b0 [AZTH] Added missing AddSC for HearthStone mode 2016-07-16 16:17:02 +02:00
Yehonal fbf7b415c5 [AZTH] fixed unix compilation 2016-07-16 14:51:00 +02:00
Yehonal bf89d86f6e [AZTH] added some rows to ItemExtendedCost 2016-07-16 13:33:41 +02:00
Yehonal 33d5e5046f exported csv of original ItemExtendedCost for customization 2016-07-16 13:33:41 +02:00
Yehonal 453b685207 moved hearthstone sources under our module 2016-07-16 13:33:40 +02:00
Yehonal c96788de29 [AZTH] Import dynamic xp rates, maxskill and qc commands
# Conflicts:
#	modules/azerothshard/src/server/plugins/AzthPlgLoader.cpp
2016-07-16 13:33:33 +02:00
Gargarensis 15a3af5dff HearthStone mode 2016-07-16 13:31:53 +02:00
mik1893 c6a489091b Added disable log 2016-07-16 12:02:17 +01:00
mik1893 7761e7e24e SQL Correction 2016-07-16 11:35:33 +01:00
mik1893 548cd20f11 Core/Custom: CrossFaction 2.0 - featuring:
- Disable crossfaction on specific map-zones-areas
- Fully handled by external class and scripts
2016-07-16 11:29:20 +01:00
mik1893 41ff1efdae Custom/Crossfaction - Enable full crossfaction by default 2016-07-15 14:58:00 +01:00
mik1893 c1e8f107da New guildhouse available and corrected SQL 2016-07-15 13:32:25 +01:00
mik1893 256439ad94 Guildhouse logging 2016-07-15 11:31:51 +01:00
mik1893 87e20c1f61 Enable Battleground and Arena announcer by default 2016-07-14 22:54:32 +01:00
Yehonal 9b380f3058 Merge branch 'gh-master' 2016-07-14 23:04:24 +02:00
Yehonal ada1246271 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore.git 2016-07-14 22:57:22 +02:00
Yehonal 6f0541e270 fixed alter table for update sql 2016-07-14 22:55:43 +02:00
mik1893 4c8153c878 [Core/Script] As the crow flies - delete horrible hack and properly fix 2016-07-14 21:36:42 +01:00
mik1893 75ac39f116 Core/Custom: New in-game mail functionality, and playerscript for level 10 gold bonus. Added BG XP RATE 2016-07-14 19:19:46 +01:00
Yehonal d6e096d54a Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git 2016-07-14 18:49:00 +02:00
mik1893 d8889922a1 Core/Battlegrounds: Implement Balancing with even - almost even teams 2016-07-14 17:34:25 +01:00
MadAgos 48d52eeb43 [AZTH] Final work on arena 1v1 2016-07-11 23:08:01 +02:00
Yehonal 4d194480c1 Merge branch 'master' of git@gitlab.com:azerothshard/azerothcore.git
# Conflicts:
#	src/server/game/World/World.h
2016-07-11 17:07:03 +02:00
Yehonal f8b18de27f adapted db structure for 1vs1 arena npc 2016-07-11 17:05:39 +02:00
Yehonal a6aa6f2e0c moved old TC sql to archive, must be adapted for this core 2016-07-11 17:05:14 +02:00
Yehonal 583e1e9320 enabled npc_1v1arena 2016-07-11 17:04:06 +02:00
Yehonal 54a4cc43e2 Merge branch 'PVP1v1' of git@gitlab.com:azerothshard/azerothcore.git 2016-07-11 16:13:25 +02:00
mik1893 f24d2e384d Core/Custom: Implemented pvp rank patch 2016-07-11 11:18:14 +01:00
mik1893 9fec073dad Refactored Guildhouse spawns SQL 2016-07-11 10:47:45 +01:00
mik1893 791d6f6b7f Core/Battleground: Inserted deserter tracker 2016-07-10 23:30:25 +01:00
Yehonal edc9079424 Merge branch 'gh-master' 2016-07-10 18:35:18 +02:00
Yehonal 8de23e95f5 moved @lellonicole sql update under correct folder
adding versioning too
2016-07-10 18:18:50 +02:00
Yehonal c7323b038c Merge branch 'master' of https://github.com/azerothcore/azerothcore.git 2016-07-10 18:14:37 +02:00
Yehonal 426321af6c Merge pull request #3 from lellonicole/master
[Core/Boss] Oculus/Orum, fix spawn mob position
2016-07-10 17:28:26 +02:00
Yehonal 1b1b11606f Merge branch 'gh-master' 2016-07-10 17:17:50 +02:00
Yehonal 8db2860cd4 rewritten transmogrification, including azth changes 2016-07-10 17:05:14 +02:00
Yehonal 75ad551018 fixed anticheat and mail_external sql for db-extra 2016-07-10 17:04:30 +02:00
Yehonal de7491aa2f removed useless files from various data 2016-07-10 17:03:33 +02:00
Yehonal 611d6a0f66 updated characters db with pvpstats tables 2016-07-10 17:03:09 +02:00
Yehonal 0b9a801ba0 updated auth with autobroadcast table 2016-07-10 17:02:48 +02:00
Yehonal 0b001fb95e minor change on config.sh.dist 2016-07-10 17:02:22 +02:00
mik1893 13b6d34a7f Added custom scripts to azeroth module - disabled anticheat (for now) 2016-07-10 13:24:51 +01:00
mik1893 29c34ca470 Disable Npc teleporter 2016-07-10 12:34:12 +01:00
mik1893 b835608b39 Core/Guildhouses: missing SQL for char db 2016-07-10 11:45:13 +01:00
mik1893 2b5e51c350 Core/Scripts: Enable guildhouse npcs 2016-07-10 11:34:56 +01:00
mik1893 9610a76e52 Core/Custom: Trilogy Guildhouse system (thx Lazzalf) 2016-07-10 11:04:10 +01:00
mik1893 4e7b7750bd Core/Custom: send mails in game from external db 2016-07-10 00:32:47 +01:00
mik1893 2119233899 Force CMAKE to check for MYSQL libraries - do not use mysql sources 2016-07-09 23:56:08 +01:00
mik1893 ddf815caef Fix compile VS2015 2016-07-09 23:11:29 +01:00
MadAgos ff2b10139c WIP imported arena 1v1 2016-07-09 21:46:00 +02:00
Yehonal ff4dd42c18 moved anticheat under azerothshard module 2016-07-09 20:32:12 +02:00
Yehonal f5f96d99c4 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore.git 2016-07-09 20:23:30 +02:00
Yehonal d5694977ff reorganized sql 2016-07-09 20:23:15 +02:00
Yehonal aadb304bd1 implemented first version of db_assembler script 2016-07-09 20:23:02 +02:00
mik1893 088b54140f Added configurations for AntiCheat and ExtraDB 2016-07-09 18:55:53 +01:00
mik1893 226cdcb735 Fix compile - missing sql and worldserver.conf.dist 2016-07-09 18:48:35 +01:00
mik1893 b105551ed2 Core/Custom: Implemented EXTRA Database 2016-07-09 18:20:57 +01:00
mik1893 47f5794dba Core/Custom: implemented Trilogy active anticheat 2016-07-09 18:09:50 +01:00
Yehonal 24c882445a Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore.git 2016-07-09 15:05:36 +02:00
Yehonal 14dd238111 moved transmog files under our module 2016-07-09 15:05:06 +02:00
Yehonal 67c7741ad1 added 2 cmake hooks for game library 2016-07-09 15:04:29 +02:00
Yehonal 70bf73ea04 fixed AzthPlgLoader 2016-07-09 13:57:29 +02:00
mik1893 1f88ae40b3 Reset cooldowns on duel end 2016-07-09 12:55:33 +01:00
mik1893 5ff185adc7 Fix linux Compile 2016-07-09 10:06:35 +01:00
mik1893 81f15b070b Core/Custom: rework transmogrifier - now works 2016-07-09 09:59:54 +01:00
Yehonal 9912f0df1a compilation fixed 2016-07-09 08:27:30 +02:00
Yehonal 5f81ee0a9e make sure azerothshard module will be loaded after dep
using before_src_load hook
2016-07-09 07:27:20 +02:00
Yehonal 645931f55d importing AzerothShard MODULE
mostly commented out.
must be fixed and other mods to main /src, must be imported
2016-07-09 06:37:24 +02:00
Yehonal b61e4bafec ignoring bash compiler configuration 2016-07-09 06:35:42 +02:00
Yehonal f65472446a fixed path inclusion 2016-07-09 06:33:04 +02:00
Yehonal ae0469f373 removed deprecated defines 2016-07-09 06:32:40 +02:00
Yehonal 5d55f2059c improved cmake hook system 2016-07-09 05:30:04 +02:00
Yehonal 99703371c0 Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore.git 2016-07-09 04:57:53 +02:00
Yehonal 3432e07cb7 Implemented dynamic module loading and hooks system for cmake 2016-07-09 04:57:07 +02:00
mik1893 65bfe7baf0 Core/Custom: Fix Transmogrification 2016-07-09 01:17:03 +01:00
Yehonal 063bebed0e ignoring IDE & other softwares specific files 2016-07-09 00:29:05 +02:00
Yehonal 004f43592d added github wiki repo ( submodule ) as doc folder 2016-07-09 00:28:04 +02:00
Yehonal f83f4f7873 Merge branch 'gh-master' 2016-07-09 00:04:33 +02:00
Yehonal a0611404f7 restructured repository based on following standards:
https://github.com/HW-Core/directory-structureStuff again
2016-07-08 23:45:24 +02:00
mik1893 13c8394bf1 revert last 2 commits 2016-07-08 21:25:31 +01:00
Yehonal 72a182cbc3 ( missing files ) restructured repository based on following standards:
https://github.com/HW-Core/directory-structure
2016-07-08 19:05:37 +02:00
Yehonal af7135620a restructured repository based on following standards:
https://github.com/HW-Core/directory-structure
2016-07-08 19:01:07 +02:00
mik1893 01a2d34a9f Core/Custom: Corrections to Transmog and PVPSTATS 2016-07-06 18:33:04 +01:00
mik1893 7e719daf27 Set maximum level given from commands to 80 2016-07-06 18:13:51 +01:00
mik1893 5a9a91e8d7 Another linux compile error. 2016-07-06 15:49:10 +01:00
mik1893 23f998b27e Fix linux compile 2016-07-06 15:15:00 +01:00
yehonal 71f88abd26 readme for compiler scripts 2016-07-06 15:27:06 +02:00
yehonal afd5db6e82 commented security hacks 2016-07-06 15:26:52 +02:00
yehonal 2b8c7a0fcc Merge branch 'master' of https://gitlab.com/azerothshard/azerothcore 2016-07-06 14:46:42 +02:00
mik1893 22397e0cfa Fix Compile 2016-07-06 09:00:06 +01:00
mik1893 3090970ded Implemented PVP STATS system 2016-07-06 08:51:37 +01:00
mik1893 0f738c3942 Full implementation of Transmogrifier 2016-07-05 18:32:57 +01:00
mik1893 859d91e624 Fix Compile Unix 2016-06-29 09:29:54 +01:00
mik1893 067bc18345 Fix Unix/Windows Compile (timezone issue) 2016-06-29 08:10:12 +01:00
mik1893 0459e353a0 Fix VS2015 Compile - Part 2 2016-06-29 07:22:43 +01:00
mik1893 e270260544 Fix VS2015 Compile 2016-06-29 07:21:50 +01:00
yehonal 987ce0e786 flags for compiler 2016-06-27 16:42:59 +02:00
321 changed files with 61567 additions and 143 deletions
+6 -2
View File
@@ -1,3 +1,6 @@
# force default language for applications
LC_ALL=C
AC_PATH_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
AC_PATH_SHARED="$AC_PATH_BIN/bash_shared"
@@ -6,8 +9,9 @@ source "$AC_PATH_SHARED/defines.sh"
source "$AC_PATH_MODULES/hw-core/bash-lib-event/src/hooks.sh"
alias registerHooks="hwc_event_register_hooks"
alias runHooks="hwc_event_run_hooks"
function registerHooks() { hwc_event_register_hooks "$@"; }
function runHooks() { hwc_event_run_hooks "$@"; }
source "$AC_PATH_CONF/config.sh.dist" # "hack" to avoid missing conf variables
+7 -7
View File
@@ -28,20 +28,20 @@ CCOMPILERCXX="/usr/bin/g++"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# enable/disable warnings during compilation
CWARNINGS=1
CWARNINGS=OFF
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=0
CDEBUG=OFF
# specify compilation type
CTYPE=Release
# compile scripts
CSCRIPTS=1
CSCRIPTS=ON
# compile server
CSERVERS=1
CSERVERS=ON
# compile tools
CTOOLS=0
CTOOLS=OFF
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
CSCRIPTPCH=1
CCOREPCH=1
CSCRIPTPCH=ON
CCOREPCH=ON
# you can add your custom definitions here ( -D )
CCUSTOMOPTIONS=""
+33
View File
@@ -0,0 +1,33 @@
/*
Insert MovementType to Fizzle Darkstorm (GUID = 6455) and Burning Blade Fanatic (GUID = 6432) npc
-- Date: 2016-08-13 17:18
*/
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_10_01 2016_08_13_00 bit;
DELETE FROM `waypoint_data` WHERE `id` IN (645500,643200);
-- Fizzle Darkstorm
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
('645500', '1', '870.331', '-4202.85', '-14.0742', '0', '45000', '0', '0', '100', '0'),
('645500', '2', '869.751', '-4190.07', '-14.1105', '0', '45000', '0', '0', '100', '0'),
-- Burning Blade Fanatic
('643200', '1', '843.944', '-4207.75', '-9.11563', '0', '0', '0', '0', '100', '0'),
('643200', '2', '855.389', '-4212.85', '-9.99841', '0', '0', '0', '0', '100', '0'),
('643200', '3', '867.336', '-4204.73', '-13.9766', '0', '0', '0', '0', '100', '0'),
('643200', '4', '879.138', '-4186.37', '-13.9981', '0', '0', '0', '0', '100', '0'),
('643200', '5', '898.795', '-4170.9', '-9.24759', '0', '0', '0', '0', '100', '0'),
('643200', '6', '894.318', '-4165.13', '-9.10758', '0', '0', '0', '0', '100', '0'),
('643200', '7', '881.809', '-4167.77', '-13.8924', '0', '0', '0', '0', '100', '0'),
('643200', '8', '864.355', '-4183.45', '-14.0399', '0', '0', '0', '0', '100', '0'),
('643200', '9', '847.975', '-4191.54', '-10.0094', '0', '0', '0', '0', '100', '0'),
('643200', '10', '847.094', '-4194.71', '-9.9878', '0', '0', '0', '0', '100', '0');
-- Fizzle Darkstorm
UPDATE `creature_addon` SET `path_id`='645500' WHERE `guid`='6455';
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6455';
-- Burning Blade Fanatic
DELETE FROM `creature_addon` WHERE `guid` = 6432;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES ('6432', '643200', '0', '0', '0', '0', '0');
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6432';
+1
View File
@@ -84,6 +84,7 @@
#include <map>
#include <queue>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <vector>
@@ -37,10 +37,12 @@
#include "Implementation/LoginDatabase.h"
#include "Implementation/CharacterDatabase.h"
#include "Implementation/WorldDatabase.h"
#include "Implementation/ExtraDatabase.h" //[AZTH]
extern WorldDatabaseWorkerPool WorldDatabase;
extern CharacterDatabaseWorkerPool CharacterDatabase;
extern LoginDatabaseWorkerPool LoginDatabase;
extern ExtraDatabaseWorkerPool ExtraDatabase; //[AZTH]
#endif
@@ -341,7 +341,9 @@ void CharacterDatabaseConnection::DoPrepareStatements()
PrepareStatement(CHAR_UPD_PETITION_NAME, "UPDATE petition SET name = ? WHERE petitionguid = ?", CONNECTION_ASYNC);
PrepareStatement(CHAR_INS_PETITION_SIGNATURE, "INSERT INTO petition_sign (ownerguid, petitionguid, playerguid, player_account) VALUES (?, ?, ?, ?)", CONNECTION_ASYNC);
PrepareStatement(CHAR_UPD_ACCOUNT_ONLINE, "UPDATE characters SET online = 0 WHERE account = ?", CONNECTION_ASYNC);
PrepareStatement(CHAR_INS_GROUP, "INSERT INTO groups (guid, leaderGuid, lootMethod, looterGuid, lootThreshold, icon1, icon2, icon3, icon4, icon5, icon6, icon7, icon8, groupType, difficulty, raidDifficulty, masterLooterGuid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", CONNECTION_ASYNC);
//[AZTH]
PrepareStatement(CHAR_INS_GROUP, "INSERT INTO groups (guid, leaderGuid, lootMethod, looterGuid, lootThreshold, icon1, icon2, icon3, icon4, icon5, icon6, icon7, icon8, groupType, difficulty, raidDifficulty, masterLooterGuid, MaxLevelGroup) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", CONNECTION_ASYNC);
//[/AZTH]
PrepareStatement(CHAR_REP_GROUP_MEMBER, "REPLACE INTO group_member (guid, memberGuid, memberFlags, subgroup, roles) VALUES(?, ?, ?, ?, ?)", CONNECTION_ASYNC);
PrepareStatement(CHAR_DEL_GROUP_MEMBER, "DELETE FROM group_member WHERE memberGuid = ? AND guid = ?", CONNECTION_ASYNC);
PrepareStatement(CHAR_UPD_GROUP_LEADER, "UPDATE groups SET leaderGuid = ? WHERE guid = ?", CONNECTION_ASYNC);
@@ -564,4 +566,15 @@ void CharacterDatabaseConnection::DoPrepareStatements()
// Deserter tracker
PrepareStatement(CHAR_INS_DESERTER_TRACK, "INSERT INTO battleground_deserters (guid, type, datetime) VALUES (?, ?, NOW())", CONNECTION_ASYNC);
// [AZTH]
// PvEStats
PrepareStatement(CHAR_INS_PVESTATS, "INSERT INTO azth_achievement_stats (playerGuid, achievement, type, level, levelParty, date) VALUES (?, ?, ?, ?, ?, ?)", CONNECTION_ASYNC);
PrepareStatement(CHAR_INS_INDIVIDUAL_XP_RATE, "INSERT INTO character_xp_rate (guid, xp_rate) VALUES (?, ?)", CONNECTION_ASYNC);
PrepareStatement(CHAR_DEL_INDIVIDUAL_XP_RATE, "DELETE FROM character_xp_rate WHERE guid = ?", CONNECTION_ASYNC);
PrepareStatement(CHAR_SEL_INDIVIDUAL_XP_RATE, "SELECT xp_rate FROM character_xp_rate WHERE guid = ?", CONNECTION_SYNCH);
PrepareStatement(CHAR_UPD_INDIVIDUAL_XP_RATE, "UPDATE character_xp_rate SET xp_rate = ? WHERE guid = ?", CONNECTION_ASYNC);
// [/AZTH]
}
@@ -501,6 +501,15 @@ enum CharacterDatabaseStatements
CHAR_INS_DESERTER_TRACK,
// [AZTH]
CHAR_UPD_QUEST_TRACK_GM_COMPLETE,
CHAR_INS_PVESTATS,
CHAR_INS_INDIVIDUAL_XP_RATE,
CHAR_DEL_INDIVIDUAL_XP_RATE,
CHAR_SEL_INDIVIDUAL_XP_RATE,
CHAR_UPD_INDIVIDUAL_XP_RATE,
// [/AZTH]
MAX_CHARACTERDATABASE_STATEMENTS
};
@@ -0,0 +1,28 @@
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ExtraDatabase.h"
void ExtraDatabaseConnection::DoPrepareStatements()
{
if (!m_reconnecting)
m_stmts.resize(MAX_EXTRADATABASE_STATEMENTS);
//PrepareStatement(EXTRA_ADD_ITEMSTAT, "INSERT INTO item_stats (guid, item, state, group_guid) VALUES (?, ?, ?, ?)", CONNECTION_ASYNC);
PrepareStatement(EXTRA_GET_EXTERNAL_MAIL, "SELECT id, receiver, subject, message, money, item, item_count FROM mail_external ORDER BY id ASC", CONNECTION_SYNCH);
PrepareStatement(EXTRA_DEL_EXTERNAL_MAIL, "DELETE FROM mail_external WHERE id = ?", CONNECTION_ASYNC);
}
@@ -0,0 +1,51 @@
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _EXTRADATABASE_H
#define _EXTRADATABASE_H
#include "DatabaseWorkerPool.h"
#include "MySQLConnection.h"
class ExtraDatabaseConnection : public MySQLConnection
{
public:
//- Constructors for sync and async connections
ExtraDatabaseConnection(MySQLConnectionInfo& connInfo) : MySQLConnection(connInfo) {}
ExtraDatabaseConnection(ACE_Activation_Queue* q, MySQLConnectionInfo& connInfo) : MySQLConnection(q, connInfo) {}
//- Loads databasetype specific prepared statements
void DoPrepareStatements();
};
typedef DatabaseWorkerPool<ExtraDatabaseConnection> ExtraDatabaseWorkerPool;
enum ExtraDatabaseStatements
{
/* Naming standard for defines:
{DB}_{SET/DEL/ADD/REP}_{Summary of data changed}
When updating more than one field, consider looking at the calling function
name for a suiting suffix.
*/
EXTRA_ADD_ITEMSTAT,
EXTRA_GET_EXTERNAL_MAIL,
EXTRA_DEL_EXTERNAL_MAIL,
MAX_EXTRADATABASE_STATEMENTS,
};
#endif
@@ -89,4 +89,7 @@ void WorldDatabaseConnection::DoPrepareStatements()
PrepareStatement(WORLD_INS_DISABLES, "INSERT INTO disables (entry, sourceType, flags, comment) VALUES (?, ?, ?, ?)", CONNECTION_ASYNC);
PrepareStatement(WORLD_SEL_DISABLES, "SELECT entry FROM disables WHERE entry = ? AND sourceType = ?", CONNECTION_SYNCH);
PrepareStatement(WORLD_DEL_DISABLES, "DELETE FROM disables WHERE entry = ? AND sourceType = ?", CONNECTION_ASYNC);
// [AZTH]
PrepareStatement(WORLD_SEL_QUESTCOMPLETER, "SELECT bugged FROM quest_bugged WHERE ID = ?", CONNECTION_SYNCH);
// [/AZTH]
}
@@ -110,6 +110,9 @@ enum WorldDatabaseStatements
WORLD_SEL_DISABLES,
WORLD_INS_DISABLES,
WORLD_DEL_DISABLES,
// [AZTH]
WORLD_SEL_QUESTCOMPLETER,
// [/AZTH]
MAX_WORLDDATABASE_STATEMENTS
};
+5
View File
@@ -53,6 +53,11 @@ enum DebugLogFilters
LOG_FILTER_TRANSPORTS = 0x00400000, // Transport related
LOG_FILTER_WARDEN = 0x00800000, // Warden related
LOG_FILTER_BATTLEFIELD = 0x01000000, // Battlefield related
//[AZTH]
LOG_FILTER_TRANSMOG = 0x02000000, // Transmog debug
LOG_FILTER_GUILDHOUSE = 0x04000000, // Guildhouse debug
LOG_FILTER_CROSSFACTION = 0x04000000, // CrossFaction
//[/AZTH]
};
enum LogTypes
+50
View File
@@ -0,0 +1,50 @@
!.gitignore
!*
#
#Generic
#
.directory
.mailmap
*.orig
*.rej
*~
.hg/
*.kdev*
.DS_Store
CMakeLists.txt.user
*.bak
*.patch
*.diff
*.REMOTE.*
*.BACKUP.*
*.BASE.*
*.LOCAL.*
#
# IDE & other softwares
#
/.settings/
/.externalToolBuilders/*
# exclude in all levels
nbproject/
.sync.ffs_db
*.kate-swp
#
# Eclipse
#
*.pydevproject
.metadata
.gradle
tmp/
*.tmp
*.swp
*~.nib
local.properties
.settings/
.loadpath
.project
.cproject
+8
View File
@@ -0,0 +1,8 @@
CU_SET_PATH("CMAKE_AZTH_DIR" "${CMAKE_CURRENT_LIST_DIR}")
CU_SET_PATH("CMAKE_AZTH_SRC_DIR" "${CMAKE_CURRENT_LIST_DIR}/src/")
CU_ADD_HOOK(AFTER_WORLDSERVER_CMAKE "${CMAKE_AZTH_SRC_DIR}/cmake/after_ws.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/src/CMakeLists.txt")
+223
View File
@@ -0,0 +1,223 @@
Copyright (C) 2006 - 2016 AzerothShard All rights reserved.
Acceptable Use; Safety-Critical Systems. Your use of the AzerothShard Materials must comply with the AzerothShard Acceptable Use Policy.
The AzerothShard Materials are not intended for use with life-critical or safety-critical systems, such as use in operation
of medical equipment, automated transportation systems, autonomous vehicles, aircraft or air traffic control, nuclear facilities,
manned spacecraft, or military use in connection with live combat. However,
this restriction will not apply in the event of the occurrence (certified by the United States Centers for Disease Control or successor body)
of a widespread viral infection transmitted via bites or contact with bodily fluids that causes human corpses to reanimate and seek to consume
living human flesh, blood, brain or nerve tissue and is likely to result in the fall of organized civilization.
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based on the Program.
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.
+57
View File
@@ -0,0 +1,57 @@
# AzerothShard Development standards
AzerothShard follows an **open development model**, we share with the Open Source project all our blizzlike fixes.
So if you have a blizzlike fix for AzerothShard, try to merge it into Open Source project too. In this way your code helps the global development and can be reviewed by many more developers, and **everyone gains**.
Following guidelines describe how to handle all of the custom code.
With **custom**, we mean all stuff we need that **can't** be merged into the Open Source project (for any reason).
## Custom Commits
- Every commit that introduces custom changes should be labelled with the **[AZTH]** tag in its commit name
- Try to [squash commits](https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/) when they are all about the same thing
## Custom Code
With **custom code** we mean all code that is not currently part of the Open Source project. Example of custom code can be custom features, hackfixes or even blizzlike fixes that for some reasons are not yet merged into the Open Source project.
All custom code must be surrounded by ```// [AZTH]``` and ```// [/AZTH]``` tags, specifying the name of the author. Example:
```
// [AZTH] AuthorName,RevisorName.. :
// motivation/usage/comment
// custom code
// [/AZTH]
```
## Custom SQL files
### Directory structure
All custom SQL files are placed under **/azerothshard/data/sql** folder
Subdivided in 3 folders, one for each database:
- db-world
- db-characters
- db-auth
there is also a "tool" folder that contains various usefull sql to use occasionally
### File names
Every SQL file must be named using the following format: azth_*database*_*description*.sql
Example: **azth_world_queue_announcer.sql**
For structure SQL files the *description* should be the *table name*.
### SQL code format
Every SQL file must be **re-executable**. That means that you have to ```DELETE``` before ```INSERT```, and ```DROP TABLE``` before ```CREATE TABLE IF NOT EXIST```.
In order to ensure that your SQL code is re-executable, try to **run it twice before committing it**.
@@ -0,0 +1,3 @@
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../../../azth/bin/compiler/includes/includes.sh"
@@ -0,0 +1,28 @@
#!/bin/bash
# set preferred compilers
CCOMPILERC="/usr/bin/clang-3.6"
CCOMPILERCXX="/usr/bin/clang++-3.6"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# enable/disable warnings during compilation
CWARNINGS=ON
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=OFF
# compile scripts
CSCRIPTS=static
# compile server
CSERVERS=ON
# compile tools
CTOOLS=OFF
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
CSCRIPTPCH=ON
CCOREPCH=ON
# compile azth custom plugins
CAZTH_CUSTOM_PLG=ON
# compile azth plugins
CAZTH_PLG=ON
# enable unit test on TC load
CAZTH_UNIT_TEST=OFF
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-dev/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-dev/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=2
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-live/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-live/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=2
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-test/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-test/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# specify compilation type
CCTYPE=Release
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-live/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-trilogy/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,7 @@
function azth_custom_after_build() {
cp -rvf "$AZTH_PATH_CUSTOM/conf/"*.conf "$CONFDIR"
cp -rvf "$AZTH_PATH_CUSTOM/bin/runners/"* "$INSTALL_PATH/bin/"
}
registerHooks "ON_AFTER_BUILD" azth_custom_after_build
@@ -0,0 +1,5 @@
source "../../bash_shared/includes.sh"
AZTH_PATH_CUSTOM_COMPILER="$AZTH_PATH_CUSTOM/bin/compiler"
source "$AZTH_PATH_CUSTOM_COMPILER/includes/custom.sh"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
clean
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
configure
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
build
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
BASE_BRANCH="master"
if [ -z "$1" ]
then
read -p "Write branch with whom compare your current branch ( leave blank to use master ): " branch
BASE_BRANCH=${branch:-$BASE_BRANCH} # branch or default
else
BASE_BRANCH=$1
fi
git config diff.tool meld
git difftool -d $BASE_BRANCH
@@ -0,0 +1,23 @@
#!/bin/bash
git config --global credential.helper store
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
git pull
cd $DIR
rm old.log
mv new.log old.log
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
git log origin/custom --no-merges --pretty=format:'<%an> %s' > $DIR/new.log
cd $DIR
awk '!/DEV-OP/' new.log > temp && mv temp new.log
comm -13 <(sort -u old.log) <(sort -u new.log) > shout.log
while read p; do
echo "announcing $p\n"
screen -X -S worldserver-live -p 0 stuff "announce DEV: $p ^M"
sleep 1
done <shout.log
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-live/debug/bin/"
export GDB="auth.gdb"
export CONFIG="../../../etc/auth.conf"
export SERVERBIN="authserver"
export SERVERPID="auth.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="authserver"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-dev/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-dev.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-dev"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=1
export BINPATH="../server-live/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-live.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-live"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-test/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-test.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-test"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-trilogy/release/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-trilogy.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-trilogy"
######################
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/auth
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-dev
restarter
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source ./run-engine
source ./conf/world-live
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-test
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-trilogy
restarter
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/auth
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-dev
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-live
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-test
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-trilogy
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
@@ -0,0 +1,527 @@
[worldserver]
Motd = "Benvenuti nel reame di AzerothShard!"
BirthdayTime = 1420822800
StartPlayerMoney = 9000
Quests.LowLevelHideDiff = -1
PlayerLimit = 600
HeroicCharactersPerRealm = 10
DeletedCharacterTicketTrace = 1
Channel.RestrictedLfg = 0
Channel.SilentlyGMJoin = 1
ChatLevelReq.Channel = 10
ChatLevelReq.Whisper = 10
ChatLevelReq.Say = 10
Rate.Drop.Item.Poor = 9
Rate.Drop.Item.Normal = 5
Rate.Drop.Item.Uncommon = 4
Rate.Drop.Item.Rare = 4
Rate.Drop.Item.Epic = 4
Rate.Drop.Item.Legendary = 1
Rate.Drop.Item.Artifact = 1
Rate.Drop.Item.Referenced = 1
Rate.Drop.Money = 1.5
Rate.XP.Quest = 6
Rate.XP.Explore = 3
Rate.XP.BattlegroundKill = 30
Rate.Auction.Deposit = 0
Rate.Auction.Cut = 0.1
Rate.Honor = 1.5
SkillGain.Defense = 5
SkillGain.Weapon = 5
AutoBroadcast.On = 1
AutoBroadcast.Timer = 50000
Battleground.QueueAnnouncer.Enable = 1
Battleground.QueueAnnouncer.PlayerOnly = 1
Battleground.GiveXPForKills = 1
Battleground.StoreStatistics.Enable = 1
Battleground.TrackDeserters.Enable = 1
Arena.RatingDiscardTimer = 10000
Arena.AutoDistributePoints = 1
Arena.AutoDistributeInterval = 4
Arena.QueueAnnouncer.Enable = 1
Arena.ArenaStartRating = 1000
Arena.ArenaStartPersonalRating = 1000
Rate.ArenaPoints = 1
CharDelete.Method = 1
CharDelete.MinLevel = 15
CharDelete.KeepDays = 30
Guild.AllowMultipleGuildMaster = 1
ShowKickInWorld = 1
PlayerDump.DisallowPaths = 0
PlayerDump.DisallowOverwrite = 0
BattleGround.PremadeGroupWaitForMatch = 60000
ChatFlood.MessageDelay = 0
# 1 - Anything related to units that doesn't fit in other
# categories.
# 2 - Anything related to pets.
# 4 - Anything related to vehicles.
# 8 - Anything related to C++ AI, instance scripts, etc.
# 16 - Anything related to DB AI, such as SAI, EAI, CreatureAI
# 32 - Anything related to DB map scripts
# 64 - Anything related to network input/output,
# such as packet handlers and netcode logs
# 128 - Anything related to the spellsystem and aurasystem
# 256 - Anything related to the achievement system
# 512 - Anything related to the condition system
# 1024 - Anything related to the pool system
# 2048 - Anything related to the auction house
# 4096 - Anything related to arena's and battlegrounds
# 8192 - Anything related to outdoor PVP
# 16384 - Anything related to the chat system
# 32768 - Anything related to the LFG system
# 65536 - Anything related to maps, instances (not scripts),
# grids, cells, visibility, etc.
# 131072 - Anything related to player loading from DB
# (Player::_LoadXXX functions)
# 262144 - Anything related to items
# 524288 - Anything related to player skills
# (do not confuse with spells)
# 1048576 - Anything related to loot
# 2097152 - Anything related to guilds
# 4194304 - Anything related to transports
# 8388608 - Anything related to Warden anti cheat
# 16777216 - Anything related to Battlefields
# 33554432 - Anything related to Transmog
# [AZTH]
# Battleground.RandomCrossFaction.Enable
# Description: Enable random battleground crossfaction randomizing system
# Default: 0 - (Disabled)
# 1 - (Enabled)
Battleground.RandomCrossFaction.Enable = 1
# [AZTH]
# Battleground.InvitationType
# Description: Set Battleground invitation type.
# Default: 0 - (Normal, Invite as much players to battlegrounds as queued,
# Don't bother with balance)
# 1 - (Experimental, Don't allow to invite much more players
# of one faction)
# [AZTH]
# 2 - (Experimental, start when teams are even)
Battleground.InvitationType = 2
###################################################################################################
# PLAYER INTERACTION
#
# AllowTwoSide.Accounts
# Description: Allow creating characters of both factions on the same account.
# Default: 1 - (Enabled)
# 0 - (Disabled)
AllowTwoSide.Accounts = 1
#
# AllowTwoSide.Interaction.Calendar
# Description: Allow calendar invites between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Calendar = 1
#
# AllowTwoSide.Interaction.Chat
# Description: Allow say chat between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Chat = 1
#
# AllowTwoSide.Interaction.Channel
# Description: Allow channel chat between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Channel = 1
#
# AllowTwoSide.Interaction.Group
# Description: Allow group joining between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Group = 1
#
# AllowTwoSide.Interaction.Guild
# Description: Allow guild joining between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Guild = 1
#
# AllowTwoSide.Interaction.Auction
# Description: Allow auctions between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Auction = 1
#
# AllowTwoSide.Interaction.Mail
# Description: Allow sending mails between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Interaction.Mail = 1
#
# AllowTwoSide.WhoList
# Description: Show characters from both factions in the /who list.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.WhoList = 1
#
# AllowTwoSide.AddFriend
# Description: Allow adding friends from other faction the friends list.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.AddFriend = 1
#
# AllowTwoSide.Trade
# Description: Allow trading between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)
AllowTwoSide.Trade = 1
#
# TalentsInspecting
# Description: Allow inspecting characters from the opposing faction.
# Doesn't affect characters in gamemaster mode.
# Default: 1 - (Enabled)
# 0 - (Disabled)
TalentsInspecting = 1
#
###################################################################################################
###################################################################################################
# Transmogrification config
###################################################################################################
#
# SETTINGS
#
# Logger.custom.transmog
# Description: Transmogrification logging setting, see logger settings
# Default: 3, Console Server
#
# Transmogrification.EnableTransmogInfo
# Description: Enables / Disables the info button for transmogrification
# Default: 1
#
# Transmogrification.TransmogNpcText
# Description: The npc_text entry of the info menu for transmogrification
# Default: 50000
#
# Transmogrification.Allowed
# Description: A list of item entries that are allowed for transmogrification (skips quality and CanUseItem check)
# Example: "25 35674 5623"
# Default: ""
#
# Transmogrification.NotAllowed
# Description: A list of item entries that are NOT allowed for transmogrification
# Example: "25 35674 5623"
# Default: ""
Transmogrification.EnableTransmogInfo = 1
Transmogrification.TransmogNpcText = 50000
Transmogrification.Allowed = ""
Transmogrification.NotAllowed = ""
#
# COPPER COST
#
# Transmogrification.ScaledCostModifier
# Description: A multiplier for the default gold cost (change to 0 for no default cost)
# Default: 1.0
#
# Transmogrification.CopperCost
# Description: Cost added on top of other costs (can be negative)
# Default: 0
#
# For custom gold cost set ScaledCostModifier to 0.0 and CopperCost to what ever cost you want
Transmogrification.ScaledCostModifier = 1.0
Transmogrification.CopperCost = 0
#
# TOKEN COST
#
# Transmogrification.RequireToken
# Description: Adds/disables token cost
# Default: 0
#
# Transmogrification.TokenEntry
# Description: Entry of the token item
# Default: 49426
#
# Transmogrification.TokenAmount
# Description: Amount of tokens required
# Default: 1
Transmogrification.RequireToken = 1
Transmogrification.TokenEntry = 47241
Transmogrification.TokenAmount = 3
#
# REQUIREMENTS
#
# Transmogrification.AllowPoor
# Description: Allow poor quality items to be used as source and target items
# Default: 0
#
# Transmogrification.AllowCommon
# Description: Allow common quality items to be used as source and target items
# Default: 0
#
# Transmogrification.AllowUncommon
# Description: Allow uncommon quality items to be used as source and target items
# Default: 1
#
# Transmogrification.AllowRare
# Description: Allow rare quality items to be used as source and target items
# Default: 1
#
# Transmogrification.AllowEpic
# Description: Allow epic quality items to be used as source and target items
# Default: 1
#
# Transmogrification.AllowLegendary
# Description: Allow legendary quality items to be used as source and target items
# Default: 0
#
# Transmogrification.AllowArtifact
# Description: Allow artifact quality items to be used as source and target items
# Default: 0
#
# Transmogrification.AllowHeirloom
# Description: Allow heirloom quality items to be used as source and target items
# Default: 1
#
# Transmogrification.AllowMixedArmorTypes
# Description: Allow cloth items to be transmogrified with plate for example
# Default: 0
#
# Transmogrification.AllowMixedWeaponTypes
# Description: Allow axe to be transmogrified with dagger for example
# Default: 0
#
# Transmogrification.AllowFishingPoles
# Description: Allow fishing poles to be transmogrified
# Default: 0
#
# Transmogrification.IgnoreReqRace
# Description: Ignore required race for source items
# Default: 0
#
# Transmogrification.IgnoreReqClass
# Description: Ignore required class for source items
# Default: 0
#
# Transmogrification.IgnoreReqSkill
# Description: Ignore required skill for source items
# Default: 0
#
# Transmogrification.IgnoreReqSpell
# Description: Ignore required spell for source items
# Default: 0
#
# Transmogrification.IgnoreReqLevel
# Description: Ignore required level for source items
# Default: 0
#
# Transmogrification.IgnoreReqEvent
# Description: Ignore required event for source items
# Default: 0
#
# Transmogrification.IgnoreReqStats
# Description: Ignore stat count > 0 requirement for source items
# Default: 0
Transmogrification.AllowPoor = 1
Transmogrification.AllowCommon = 1
Transmogrification.AllowUncommon = 1
Transmogrification.AllowRare = 1
Transmogrification.AllowEpic = 1
Transmogrification.AllowLegendary = 1
Transmogrification.AllowArtifact = 1
Transmogrification.AllowHeirloom = 1
Transmogrification.AllowMixedArmorTypes = 1
Transmogrification.AllowMixedWeaponTypes = 1
Transmogrification.AllowFishingPoles = 0
Transmogrification.IgnoreReqRace = 0
Transmogrification.IgnoreReqClass = 0
Transmogrification.IgnoreReqSkill = 0
Transmogrification.IgnoreReqSpell = 0
Transmogrification.IgnoreReqLevel = 0
Transmogrification.IgnoreReqEvent = 0
Transmogrification.IgnoreReqStats = 0
#
# SET FEATURE
#
# Transmogrification.EnableSets
# Description: Enables / Disables the set feature. If you want permanent disable, check Transmogrification.h
# Default: 1
#
# Transmogrification.MaxSets
# Description: Maximum amount of sets a player can save (hardcap at 25)
# Default: 10
#
# Transmogrification.EnableSetInfo
# Description: Enables / Disables the info button for set fature
# Default: 1
#
# Transmogrification.SetNpcText
# Description: The npc_text entry of the info menu for the set feature
# Default: 50001
#
# Transmogrification.SetCostModifier
# Description: A multiplier for the default gold cost (all costs summed together) (change to 0 for no default cost)
# Default: 3.0
#
# Transmogrification.SetCopperCost
# Description: Cost added on top of other costs (can be negative)
# Default: 0
Transmogrification.EnableSets = 1
Transmogrification.MaxSets = 10
Transmogrification.EnableSetInfo = 1
Transmogrification.SetNpcText = 50001
Transmogrification.SetCostModifier = 3.0
Transmogrification.SetCopperCost = 0
#
###################################################################################################
# ANTICHEAT
#
# Anticheat.Enable
# Description: Enables or disables the Anticheat System functionality
# Default: 1 - (Enabled)
# 0 - (Disabled)
Anticheat.Enable = 1
# Anticheat.ReportsForIngameWarnings
# Description: How many reports the player must have to notify to GameMasters ingame when he generates a new report.
# Default: 70
Anticheat.ReportsForIngameWarnings = 15
# Anticheat.DetectionsEnabled
# Description: It represents which detections are enabled.
#
# SPEED_HACK_DETECTION = 1
# FLY_HACK_DETECTION = 2
# WALK_WATER_HACK_DETECTION = 4
# JUMP_HACK_DETECTION = 8
# TELEPORT_PLANE_HACK_DETECTION = 16
# CLIMB_HACK_DETECTION = 32
#
# Default: 31
Anticheat.DetectionsEnabled = 31
# Anticheat.MaxReportsForDailyReport
# Description: How many reports must the player have to make a report that it is in DB for a day (not only during the player's session).
# Default: 70
Anticheat.MaxReportsForDailyReport = 30
#
###################################################################################################
######################
### PVP RANK PATCH ###
######################
PvPRank.Rate.ExtraHonor = 1
PvPRank.HKPerRank = 10,50,100,200,450,750,1300,2000,3500,6000,9500,15000,21000,30000
###################################################################################################
Azth.Rate.Arena1v1 = 0.2;
###################################################################################################
# CUSTOM PLAYER XP CONFIGS
###################################################################################################
# Player.customXP.security
# Description: Needed security level to run ".azth xp" command
# Default: 3
#
# Player.customXP.maxValue
# Description: Maximum custom XP multiplier. Watch out: The xp gained is calculated this way: (XP * Rate.XP) * Player.customXP
# Default: 1 (Default XP rate)
#
# Player.customXP.showOnLogin
# Description: Show custom xp value on login
# Default: 0 (Don't show message)
Player.customXP.security = 0
Player.customXP.maxValue = 6
Player.customXP.showOnLogin = 1
###################################################################################################
+50
View File
@@ -0,0 +1,50 @@
#!/bin/bash
DATABASES+=(
"EXTRA"
)
#
# CUSTOM
#
DB_CHARACTERS_CUSTOM_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/db-characters/"
)
DB_AUTH_CUSTOM_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/db-auth/"
)
DB_WORLD_CUSTOM_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/db-world/"
)
#
# EXTRA
#
DB_EXTRA_CUSTOM_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/db-extra/"
)
DB_EXTRA_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
#
# UPDATES
#
DB_CHARACTERS_UPDATE_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/updates/char/"
)
DB_WORLD_UPDATE_PATHS+=(
$AZTHSD_PATH_ROOT"/data/sql/updates/world/"
)
# specify compilation type
CTYPE=Debug
@@ -0,0 +1,9 @@
[authserver]
LogsDir = "../../logs"
SourceDirectory = "../../usr/server-live"
MySQLExecutable = "/usr/bin/mysql"
Azth.Conf.Private="../../../etc/auth-priv.conf"
@@ -0,0 +1,91 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# DEV - RELATED
#
CleanCharacterDB = 0
# zero on dev
MaxCoreStuckTime = 0
# symbolic link
SourceDirectory = "../../usr/server-dev"
Azth.Conf.Private="../../../etc/world-dev-priv.conf"
#
# DEV/TEST SHARED CONF
#
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame di sviluppo e test di AzerothShard"
# world + extra + char
Updates.EnableDatabases = 14
Warden.Enabled = 0
Wintergrasp.Enable = 1
Wintergrasp.BattleTimer = 30
Wintergrasp.NoBattleTimer = 1
Ra.Enable = 0
SOAP.Enabled = 0
Log.Async.Enable = 0
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,DB
Logger.warden=3,DB
irc.active = 0
@@ -0,0 +1,449 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
ProcessPriority = 1
DataDir = "../../data"
LogsDir = "../../logs"
# symbolic link
SourceDirectory = "../../usr/server-live"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Benvenuti su AzerothShard!"
MaxCoreStuckTime = 30
# world + extra + char + auth
Updates.EnableDatabases = 15
Warden.Enabled = 1
Warden.ClientCheckFailAction = 1
RealmID = 1
ThreadPool = 6
CleanCharacterDB = 1
Transmogrification.RequireToken = 1
Transmogrification.TokenEntry = 47241
Transmogrification.TokenAmount = 5
#PlayerStart.String = "Benvenuto su AzerothShard."
Wintergrasp.Enable = 0
Azth.Conf.Private="../../../etc/world-live-priv.conf"
# Logger config values: Given a logger "name"
# Logger.name
# Description: Defines 'What to log'
# Format: LogLevel,AppenderList
#
# LogLevel
# 0 - (Disabled)
# 1 - (Trace)
# 2 - (Debug)
# 3 - (Info)
# 4 - (Warn)
# 5 - (Error)
# 6 - (Fatal)
#
# AppenderList: List of appenders linked to logger
# (Using spaces as separator).
#
Log.Async.Enable = 1
Allow.IP.Based.Action.Logging = 1
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=4,Console Server
Logger.server=4,Console Server
Logger.sql.dev=3,DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=3,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM DB
Logger.commands.ra=2,DB
Logger.sql.sql=3,DBLogs
Logger.cheat=2,DB
Logger.warden=3,DB
# to catch deletion
Logger.entities.player.character=2,DB
# to catch instant80 too
Logger.entities.player.dump=2,DB
Logger.bg.arena=2,DB
Logger.bg.battlefield=2,DB
Logger.bg.battleground=2,DB
#
# BIG
#
Logger.chat.log.say=2,DB
Logger.chat.log.emote=2,DB
Logger.chat.log.yell=2,DB
Logger.chat.log.whisper=2,DB
#Logger.chat.log.addon.whisper=2,DB
#Logger.chat.log.addon.party=2,DB
Logger.chat.log.party=2,DB
#Logger.chat.log.addon.raid=2,DB
Logger.chat.log.raid=2,DB
#Logger.chat.log.addon.bg=2,DB
Logger.chat.log.bg=2,DB
#Logger.chat.log.addon.guild=2,DB
Logger.chat.log.guild=2,DB
Logger.chat.log.guild.officer=2,DB
Logger.chat.log.channel=2,DB
#Logger.chat.log=2,DB <-- this logs everything
#Logger.chat.system=2,DB
Logger.entities.player.items=3,DB
#Logger.loot=2,DB
Logger.network.soap=2,DB
#Logger.achievement=3,Console Server
#Logger.addon=3,Console Server
#Logger.ahbot=3,Console Server
#Logger.auctionHouse=3,Console Server
#Logger.calendar=3,Console Server
#Logger.condition=3,Console Server
#Logger.entities.pet=3,Console Server
#Logger.entities.player=3,Console Server
#Logger.entities.player.loading=3,Console Server
#Logger.entities.player.skills=3,Console Server
#Logger.entities.transport=3,Console Server
#Logger.entities.unit=3,Console Server
#Logger.entities.vehicle=3,Console Server
#Logger.gameevent=3,Console Server
#Logger.guild=3,Console Server
#Logger.lfg=3,Console Server
#Logger.loot=3,Console Server
#Logger.maps.script=3,Console Server
#Logger.maps=3,Console Server
#Logger.misc=3,Console Server
#Logger.network=3,Console Server
#Logger.network.opcode=3,Console Server
#Logger.outdoorpvp=3,Console Server
#Logger.pool=3,Console Server
#Logger.rbac=3,Console Server
#Logger.scripts=3,Console Server
#Logger.scripts.ai=3,Console Server
#Logger.server.authserver=3,Console Server
#Logger.spells=3,Console Server
#Logger.spells.periodic=3,Console Server
#Logger.sql.driver=3,Console Server
#########################################################
# TriniChat IRC BOT For Trinity Core Configuration File #
#########################################################
# irc.active
# Enable TriniChat Addon
# Default: 1 - Enable
# 0 - Disable
#
irc.active = 0
##################################################
# irc.icc
# IRC connect code
# Default: 001 - Welcome To Network msg
# 375 - Beginning Of MOTD
# 376 - End Of MOTD
#
irc.icc = 001
##################################################
# irc.host
# IRC server to have TriniChat connect to
#
irc.host = "irc.rizon.net"
##################################################
# irc.port
# IRC server port to use
#
irc.port = "6669"
##################################################
# irc.user
# The username to have TriniChat use to connect to the IRC server
# irc.nick
# IRC nickname to be used by the bot
# irc.pass
# The password to be used to identify to NickServ (IRC NickName Enforcement Services)
#
irc.user = "azth-gamechat-bot"
irc.nick = "azth-gamechat-bot"
irc.pass = "ServicesPass"
##################################################
# irc.auth
# IRC Authentication Method
# Default: 0 - Disable
# 1 - NickServ - Normal Method - PRIVMSG NickServ :IDENTIFY Password
# 2 - NickServ - Alternate Method To Identify To A Different Nick - PRIVMSG NickServ :IDENTIFY irc.auth.nick Password
# 3 - QuakeNet - Normal Method - PRIVMSG Q@CServe.quakenet.org :AUTH irc.nick Password
# 4 - QuakeNet - Alternate Method To Identify To A Different Nick - PRIVMSG Q@CServe.quakenet.org :AUTH irc.auth.nick Password
# irc.auth.nick
# IRC Nickname to use if Auth method 2 or 4 is used
#
irc.auth = 0
irc.auth.nick = "AuthNick"
##################################################
# irc.ldef
# Leave a defined IRC channel on server connect
# Default: 0 - Disable
# 1 - Enable
# irc.defchan
# IRC channel to leave on server connect if irc.ldef is on
#
irc.ldef = 0
irc.defchan = "lobby"
##################################################
# irc.wct
# Time to wait before (re)attemptimg connection to IRC server
# Default: 30000 - (30 Seconds)
# irc.maxattempt
# Maximum attempts to try IRC server
# Default: 20
#
irc.wct = 30000
irc.maxattempt = 20
##################################################
# irc.auto.announce
# Time to wait in Minutes to announce random messages from database.
# Default: 30 - (30 Minutes)
#
irc.auto.announce = 30
##################################################
# irc.autojoin_kick
# Autojoin IRC channel if kicked
# Default: 1 - Enable
# 0 - Disable
#
irc.autojoin_kick = 1
##################################################
# irc.command_prefix
# IRC command prefix
# Example: (.)online all
#
irc.command_prefix = "\"
##################################################
# irc.joinmsg
# irc.rstmsg
# irc.kickmsg
# TriniChat bot join/restart/kick messages
#
irc.joinmsg = "E' possibile parlare con i giocatori in game tramite il nostro server discord. Corri a provare!"
irc.rstmsg = "La chat IRC di AzerothShard si sta riavviando, Ritornerà a breve"
irc.kickmsg = "Do Not Kick Me Again, Severe Actions Will Be Taken!"
##################################################
# irc.chan_#
# wow.chan_#
# IRC and WOW channels to link. Leave # out of IRC channel. Both channels _ARE_ case sensitive
# NOTE: you can have more than 1 IRC channel linked to wow channels, as in example:
# Example: irc.chan_1 = "Trinity"
# irc.chan_2 = "trinity2"
# wow.chan_1 = "world"
# wow.chan_2 = "LookingForGroup"
# irc.pass_#
# Passwords for said IRC channels (IRC server side)
# Example:
# irc.pass_1 = "password" password for irc channel #1
# irc.pass_2 = "password2" password for irc channel #2
irc.chan_1 = "azerothshard"
wow.chan_1 = "world"
irc.pass_1 = "pass"
##################################################
# irc.staff_link
# if set to 1 will link gm name announce to irc channel
# Default: 0
# irc.staff_chan
# Print IRC messages to GM Name Announce and Gm Name Announce to IRC Channel
# Default: "staff"
# irc.ignore_bots
# enter nicks of bots to ignore seprated by commas
# Default: ""
#
irc.staff_link = 0
irc.staff_chan = "staff"
irc.ignore_bots = ""
##################################################
# irc.StatusChannel
# Channel Name To Display Status Messages In (AuctionHouse, Levels, Deaths, Etc)
# Default: ""
# irc.AnnounceChannel
# Channel Name To Display Announcements In (Announces, Notifies, Event)
# Default: ""
# irc.Tickets
# Channel Name To Display Ticket Announcment in (Create, Edit, Closed, lag Reports)
# Default: ""
# Note: Botmask : Enable Ticket Announment must be activ
#
irc.StatusChannel = ""
irc.StatusChannelPW = ""
irc.AnnounceChannel = "azerothshard"
irc.AnnounceChannelPW = ""
irc.Tickets = ""
irc.TicketsPW = ""
##################################################
# irc.op_gm_login
# Op The GM In All Channels The Bot Is On When They Log In To TriniChat
# Default: 0 - Disable
# 1 - Enable
# irc.op_gm_level
# The Minimum GM Level Required To Have The Bot Op The User
# Default: 3 - GM Level 3
#
irc.op_gm_login = 0
irc.op_gm_level = 3
##################################################
# irc.ajoin (Experimental/Under Development)
# Force players to autojoin a WOW in game channel
# Atleast one player must be in the channel on server start, and atleast one person online for invite to work
# Default: 0 - Disable
# 1 - Enable
# irc.ajchan
# Channel to join if above is Enabled.
#
irc.ajoin = 1
irc.ajchan = "world"
##################################################
# irc.online.result
# Maximum number of results per line for the online command
#
irc.online.result = 30
##################################################
# chat.*** (Defineable Strings) (maybe more in future)
# wow_* - String is displayed in IRC channel
# irc_* - String is displayed in WOW channel
# Options: $Name, $Level, $Class, $Msg, $GM (not all options work in every string)
#
chat.wow_irc = "<WoW>[$Name($Level)[$Class]] $Msg"
chat.irc_wow = "<IRC>[$Name]: $Msg"
chat.join_wow = "12>>04 $GM$Name Joined The $Channel Channel!"
chat.join_irc = "[$Name]: Has Joined IRC!"
chat.leave_wow = "12<<04 $GM$Name Left The $Channel Channel!"
chat.leave_irc = "[$Name]: Has Left IRC!"
chat.change_nick = "<> $Name Is Now Known As $NewName!"
##################################################
# Botmask
# This defines what the bot announces, if its 0 everything is disabled
# simply add the values of the elements you want to create this mask.
# Example: WoW join/leaves are 1 and IRC join/leaves are 2, if you want both of these active then the BotMask is 3.
# (1)Display WoW Chan Join/Leaves In IRC
# (2)Display IRC Chan Join/Leaves/NickChanges In WoW
# (4)Display Unknown Command Message When Trigger Is Used And No Command Exists
# (8)Announce Security Level > 0 As GM At Login
# (16)Announce GM In GM ON State AS GM At Login
# (32)Return Errors To Notice. (If disabled then default is Private Message)
# (64)Display WoW Status Messages (Levels/Deaths)
# (128)Display Nick Changes From IRC In WOW
# (256)Display WoW Announces/Notifies In IRC
# (512)Do Not Let Players Use Commands On Higher GM Level Players
# (1024)Enable AuctionHouse Announcements !!DISSABLED!!
#
Botmask = 1856
##################################################
# irc.gmlog
# Minimum GM level to not show login/pass info in IRC logs
# irc.logfile.prefix
# The prefix of the IRC logfile. Directories can be added here.
# Example: "IRC/IRC_" outputs IRC_YYYY-MM-DD.log to the IRC subdirectory in your logs dir
# irc.logchannel
# Specefies the channel where logged output gets broadcasted.
# Default: "" (none)
# irc.logchannelpw
# The password for the log channel.
# irc.logmask
# Bitmask, see Botmask for explanation. Determines what gets logged to the logchannel.
# (0) Do not broadcast into logchannel.
# (1) Broadcast IRC Commands into logchannel.
# (2) Broadcast Ingame GM Commands into logchannel.
# (3) Broadcast both IRC Commands and GM Commands into logchannel.
irc.gmlog = 1
irc.logfile.prefix = "IRC_"
irc.logchannel = ""
irc.logchannelpw = ""
irc.logmask = 3
##################################################
# irc.fun.games (Experimental/Under Development)
# Enable TriniChat Games
# Default: 0 - Disable
# 1 - Enable
#
irc.fun.games = 0
##################################################
# irc.gm#
# GM tag to append to (GM onjoin / online command) IRC color codes are acceptable
#
irc.gm1 = "[Supporter]"
irc.gm2 = "[Protector]"
irc.gm3 = "[GM]"
irc.gm4 = "[Moderator]"
irc.gm5 = "[Game Master]"
irc.gm6 = "[Admin]"
irc.gm7 = "[Developer]"
irc.gm8 = "[Owner]"
#
###################################################################################################
#
###################################################################################################
###################################################################################################
@@ -0,0 +1,91 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# TEST - RELATED
#
CleanCharacterDB = 1
# zero on dev
MaxCoreStuckTime = 30
# symbolic link
SourceDirectory = "../../usr/server-test"
Azth.Conf.Private="../../../etc/world-test-priv.conf"
#
# DEV/TEST SHARED CONF
#
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame di sviluppo e test di AzerothShard"
# world + extra + char
Updates.EnableDatabases = 14
Warden.Enabled = 0
Wintergrasp.Enable = 1
Wintergrasp.BattleTimer = 30
Wintergrasp.NoBattleTimer = 1
Ra.Enable = 0
SOAP.Enabled = 0
Log.Async.Enable = 0
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,DB
Logger.warden=3,DB
irc.active = 0
@@ -0,0 +1,76 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# performances
#
vmap.enableLOS = 0
vmap.enableHeight = 0
mmap.enablePathFinding = 0
vmap.enableIndoorCheck = 0
DetectPosCollision = 0
TargetPosRecalculateRange = 5.0
UseProcessors = 1
ProcessPriority = 0
# zero on dev
MaxCoreStuckTime = 30
# symbolic link
SourceDirectory = "../../usr/server-trilogy"
Azth.Conf.Private="../../../etc/world-trilogy-priv.conf"
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame per il merging di trilogy"
# only world
Updates.EnableDatabases = 6
Ra.Enable = 0
SOAP.Enabled = 1
Log.Async.Enable = 1
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,Server
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,Server
Logger.warden=3,Server
irc.active = 0
@@ -0,0 +1,4 @@
DELETE FROM `rbac_linked_permissions` WHERE `linkedId` = 1004;
DELETE FROM `rbac_permissions` WHERE `id` = 1004;
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (1004,'PVP Custom Commands');
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (195,1004);
@@ -0,0 +1,19 @@
delete from rbac_permissions where id = 1003;
insert into rbac_permissions(id, name) values (1003, 'Command azth custom xp rate');
delete from rbac_linked_permissions where linkedId = 1003;
insert into rbac_linked_permissions (id, linkedId) values
(192, 1003),
(193, 1003),
(194, 1003),
(195, 1003);
delete from rbac_permissions where id = 1002;
insert into rbac_permissions(id, name) values (1002, 'Command azth custom maxskill');
delete from rbac_linked_permissions where linkedId = 1002;
insert into rbac_linked_permissions (id, linkedId) values
(192, 1002),
(193, 1002),
(194, 1002),
(195, 1002);
@@ -0,0 +1,414 @@
#
# AzerothShard RBAC Structure
#
# Current original Roles are:
# 198 Moderator Commands
# 197 GameMaster Commands
# 196 Administrator Commands
#
# 195: Player 0
# 194: Moderator 1
# 193: GameMaster 2
# 192: Administrator 3
#
# AzerothShard custom roles: 100000+
#
# IMPORTANT RULE: do NOT insert duplicate linked permissions for multiple non-custom roles
#
# EDIT DEFAULT PERMISSIONS
#
# Set general custom permission
UPDATE IGNORE `rbac_linked_permissions` SET `id` = 195 WHERE `id` < 100000 AND `linkedId` IN (
25, # Allow say chat between factions
26, # Allow channel chat between factions
27, # Two side mail interaction
28, # See two side who list
29, # Add friends of other faction
51 # Allow trading between factions
);
# Move to GM level 3 some dangerous commands
UPDATE IGNORE `rbac_linked_permissions` SET `id` = 192 WHERE `id` < 100000 AND `linkedId` IN (
772, # Command: wp unload
771, # Command: wp modify
770, # Command: wp load
769, # Command: wp event
768, # Command: wp add
595, # Command: npc move
591, # Command: npc set spawntime
590, # Command: npc set spawndist
589, # Command: npc set phase
588, # Command: npc set movetype
587, # Command: npc set model
586, # Command: npc set link
585, # Command: npc set level
584, # Command: npc set flag
583, # Command: npc set factionid
580, # Command: npc set
579, # Command: npc add follow stop
578, # Command: npc add follow
577, # Command: npc add delete item
576, # Command: npc add delete
575, # Command: npc add temp
574, # Command: npc add move
573, # Command: npc add item
572, # Command: npc add formation
571, # Command: npc add
399, # Command: gobject turn
397, # Command: gobject set state
396, # Command: gobject set phase
395, # Command: gobject set
393, # Command: gobject move
391, # Command: gobject delete
390, # Command: gobject add temp
389, # Command: gobject add
370, # Command: event stop
369, # Command: event start
532, # Command: unmute
515, # Command: mute
597, # Command: npc say
598, # Command: npc texemote
599, # Command: npc whisper
600 # Command: npc yell
);
SET FOREIGN_KEY_CHECKS=0; -- disable temporary FKEY check
#
# Create AzerothShard custom Roles
#
DELETE FROM `rbac_linked_permissions` WHERE `id` >= 100000 OR `linkedId` >= 100000;
DELETE FROM `rbac_permissions` WHERE `id` >= 100000;
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
('100000', 'Role: Azeroth GM Tier 0 ( Shared Interface )'),
('100001', 'Role: Azeroth GM Tier 1 ( Supporter )'),
('100002', 'Role: Azeroth GM Tier 2 ( Protector )'),
('100003', 'Role: Azeroth GM Tier 3 ( da definire )'),
('100004', 'Role: Master Entertainer'),
('100005', 'Role: Entertainer'),
('100006', 'Role: Master Story Teller'),
('100010', 'Role: Story Teller'),
('100011', 'Role: Test Player'),
('100012', 'Role: Azeroth Player'),
('100013', 'Role: Test GM'),
('100014', 'Role: Master Test GM'),
('200000', 'DISABLED COMMANDS');
#
# Create Other AS Custom Permissions
#
DELETE FROM `rbac_permissions` WHERE `id` IN ('1000');
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
('1000', 'Quest completer command');
-- Disable dangerous commands
UPDATE `rbac_linked_permissions` SET `id` = 200000 WHERE `id` < 100000 AND `linkedId` IN (
717 # Command: reset all
);
SET FOREIGN_KEY_CHECKS=1; -- re-enable foreign key check
# Add default permissions
# test
DELETE FROM `rbac_default_permissions` WHERE `permissionId` >= 100000;
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 2);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 2);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 2);
# development
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 3);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 3);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 3);
# next
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES ('0', '100012');
# Query to check current used permissions
# SELECT * FROM rbac_permissions WHERE id IN (SELECT linkedId FROM rbac_linked_permissions WHERE id >= 100000);
#
### LIVE SERVER ROLES ###
#
# [100012] Azeroth player
INSERT INTO `rbac_linked_permissions` VALUES (100012, 195); # inheriting from PLAYER
INSERT INTO `rbac_linked_permissions` VALUES (100012, 309); # Command: debug hostil
INSERT INTO `rbac_linked_permissions` VALUES (100012, 442); # Command: lookup
INSERT INTO `rbac_linked_permissions` VALUES (100012, 443); # Command: lookup area
INSERT INTO `rbac_linked_permissions` VALUES (100012, 444); # Command: lookup creature
INSERT INTO `rbac_linked_permissions` VALUES (100012, 445); # Command: lookup event
INSERT INTO `rbac_linked_permissions` VALUES (100012, 446); # Command: lookup faction
INSERT INTO `rbac_linked_permissions` VALUES (100012, 447); # Command: lookup item
INSERT INTO `rbac_linked_permissions` VALUES (100012, 448); # Command: lookup itemset
INSERT INTO `rbac_linked_permissions` VALUES (100012, 449); # Command: lookup object
INSERT INTO `rbac_linked_permissions` VALUES (100012, 450); # Command: lookup quest
INSERT INTO `rbac_linked_permissions` VALUES (100012, 456); # Command: lookup spell
INSERT INTO `rbac_linked_permissions` VALUES (100012, 457); # Command: lookup spell id
INSERT INTO `rbac_linked_permissions` VALUES (100012, 458); # Command: lookup taxinode
INSERT INTO `rbac_linked_permissions` VALUES (100012, 460); # Command: lookup title
INSERT INTO `rbac_linked_permissions` VALUES (100012, 461); # Command: lookup map
INSERT INTO `rbac_linked_permissions` VALUES (100012, 718); # Command: server
INSERT INTO `rbac_linked_permissions` VALUES (100012, 1000); # Command: qc
INSERT INTO `rbac_linked_permissions` VALUES (100012, 736); # Command: server motd
# [100000] TIER 0: Interface shared by all GMs
#
# PERMISSIONS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000, 11); # log gm trades
INSERT INTO `rbac_linked_permissions` VALUES (100000, 45); # join channel without announce
INSERT INTO `rbac_linked_permissions` VALUES (100000, 46); # change channel settings without be a Moderator
#
# COMMANDS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000, 194); # inheriting from GM 1
INSERT INTO `rbac_linked_permissions` VALUES (100000, 100012); # inheriting from Azeroth Player
INSERT INTO `rbac_linked_permissions` VALUES (100000, 373); # Command: gm fly
INSERT INTO `rbac_linked_permissions` VALUES (100000, 459); # Command: lookup tele
INSERT INTO `rbac_linked_permissions` VALUES (100000, 593); # Command: npcinfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 796); # Command: instance getbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100000, 517); # Command: pinfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 556); # Command: modify phase
INSERT INTO `rbac_linked_permissions` VALUES (100000, 513); # Command: maxskill
INSERT INTO `rbac_linked_permissions` VALUES (100000, 522); # Command: respawn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 523); # Command: revive
INSERT INTO `rbac_linked_permissions` VALUES (100000, 526); # Command: set skill
INSERT INTO `rbac_linked_permissions` VALUES (100000, 558); # Command: modify rep
INSERT INTO `rbac_linked_permissions` VALUES (100000, 451); # Command: lookup player
INSERT INTO `rbac_linked_permissions` VALUES (100000, 452); # Command: lookup player ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 453); # Command: lookup player account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 454); # Command: lookup player email
INSERT INTO `rbac_linked_permissions` VALUES (100000, 455); # Command: lookup skill [ can inspect other players skills ]
INSERT INTO `rbac_linked_permissions` VALUES (100000, 417); # Command: learn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 418); # Command: learn all
INSERT INTO `rbac_linked_permissions` VALUES (100000, 419); # Command: learn all my
INSERT INTO `rbac_linked_permissions` VALUES (100000, 420); # Command: learn all my class
INSERT INTO `rbac_linked_permissions` VALUES (100000, 421); # Command: learn all my pettalents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 422); # Command: learn all my spells
INSERT INTO `rbac_linked_permissions` VALUES (100000, 423); # Command: learn all my talents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 424); # Command: learn all gm
INSERT INTO `rbac_linked_permissions` VALUES (100000, 425); # Command: learn all crafts
INSERT INTO `rbac_linked_permissions` VALUES (100000, 426); # Command: learn all default
INSERT INTO `rbac_linked_permissions` VALUES (100000, 427); # Command: learn all lang
INSERT INTO `rbac_linked_permissions` VALUES (100000, 428); # Command: learn all recipes
INSERT INTO `rbac_linked_permissions` VALUES (100000, 429); # COmmand: unlearn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 251); # Command: banlist ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 250); # Command: banlist character
INSERT INTO `rbac_linked_permissions` VALUES (100000, 249); # Command: banlist account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 248); # Command: banlist
INSERT INTO `rbac_linked_permissions` VALUES (100000, 247); # Command: baninfo ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 246); # Command: baninfo character
INSERT INTO `rbac_linked_permissions` VALUES (100000, 245); # Command: baninfo account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 244); # Command: baninfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 521); # Command: repairitems
INSERT INTO `rbac_linked_permissions` VALUES (100000, 711); # Command: reset achievements
INSERT INTO `rbac_linked_permissions` VALUES (100000, 712); # Command: reset honor
INSERT INTO `rbac_linked_permissions` VALUES (100000, 713); # Command: reset level
INSERT INTO `rbac_linked_permissions` VALUES (100000, 714); # Command: reset spells
INSERT INTO `rbac_linked_permissions` VALUES (100000, 715); # Command: reset stats
INSERT INTO `rbac_linked_permissions` VALUES (100000, 716); # Command: reset talents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 710); # Command: reset
INSERT INTO `rbac_linked_permissions` VALUES (100000, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100000, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100000, 287); # Command: levelup
INSERT INTO `rbac_linked_permissions` VALUES (100000, 231); # Command: achievement add
INSERT INTO `rbac_linked_permissions` VALUES (100000, 602); # Command: quest
INSERT INTO `rbac_linked_permissions` VALUES (100000, 603); # Command: quest add
INSERT INTO `rbac_linked_permissions` VALUES (100000, 604); # Command: quest complete
INSERT INTO `rbac_linked_permissions` VALUES (100000, 605); # Command: quest remove
INSERT INTO `rbac_linked_permissions` VALUES (100000, 606); # Command: quest reward
INSERT INTO `rbac_linked_permissions` VALUES (100000, 578); # Command: npc follow
INSERT INTO `rbac_linked_permissions` VALUES (100000, 579); # Command: npc follow stop
INSERT INTO `rbac_linked_permissions` VALUES (100000, 777); # Command: mailbox
INSERT INTO `rbac_linked_permissions` VALUES (100000, 284); # Command: character rename
INSERT INTO `rbac_linked_permissions` VALUES (100000, 274); # Command: character customize
INSERT INTO `rbac_linked_permissions` VALUES (100000, 275); # Command: character changefaction
INSERT INTO `rbac_linked_permissions` VALUES (100000, 276); # Command: character changerace
INSERT INTO `rbac_linked_permissions` VALUES (100000, 795); # Command: instance setbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100000, 529); # Command: unaura
INSERT INTO `rbac_linked_permissions` VALUES (100000, 500); # Command: die
INSERT INTO `rbac_linked_permissions` VALUES (100000, 439); # Command: list object
INSERT INTO `rbac_linked_permissions` VALUES (100000, 512); # Command: listfreeze
INSERT INTO `rbac_linked_permissions` VALUES (100000, 398); # gobject target
INSERT INTO `rbac_linked_permissions` VALUES (100000, 390); # gobject add temp
INSERT INTO `rbac_linked_permissions` VALUES (100000, 394); # gobject near
INSERT INTO `rbac_linked_permissions` VALUES (100000, 388); # gobject near
INSERT INTO `rbac_linked_permissions` VALUES (100000, 497); # command: cooldown
INSERT INTO `rbac_linked_permissions` VALUES (100000, 575); # command: npc add temp
INSERT INTO `rbac_linked_permissions` VALUES (100000, 680); # command: reload rbac
INSERT INTO `rbac_linked_permissions` VALUES (100000, 505); # command: gps
INSERT INTO `rbac_linked_permissions` VALUES (100000, 406); # command: guild rank
#
# WORLD CHANGE COMMANDS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000,772); # Command: wp unload
INSERT INTO `rbac_linked_permissions` VALUES (100000,771); # Command: wp modify
INSERT INTO `rbac_linked_permissions` VALUES (100000,770); # Command: wp load
INSERT INTO `rbac_linked_permissions` VALUES (100000,769); # Command: wp event
INSERT INTO `rbac_linked_permissions` VALUES (100000,768); # Command: wp add
INSERT INTO `rbac_linked_permissions` VALUES (100000,595); # Command: npc move
INSERT INTO `rbac_linked_permissions` VALUES (100000,591); # Command: npc set spawntime
INSERT INTO `rbac_linked_permissions` VALUES (100000,590); # Command: npc set spawndist
INSERT INTO `rbac_linked_permissions` VALUES (100000,589); # Command: npc set phase
INSERT INTO `rbac_linked_permissions` VALUES (100000,588); # Command: npc set movetype
INSERT INTO `rbac_linked_permissions` VALUES (100000,587); # Command: npc set model
INSERT INTO `rbac_linked_permissions` VALUES (100000,586); # Command: npc set link
INSERT INTO `rbac_linked_permissions` VALUES (100000,585); # Command: npc set level
INSERT INTO `rbac_linked_permissions` VALUES (100000,584); # Command: npc set flag
INSERT INTO `rbac_linked_permissions` VALUES (100000,583); # Command: npc set factionid
INSERT INTO `rbac_linked_permissions` VALUES (100000,580); # Command: npc set
INSERT INTO `rbac_linked_permissions` VALUES (100000,577); # Command: npc add delete item
INSERT INTO `rbac_linked_permissions` VALUES (100000,576); # Command: npc add delete
INSERT INTO `rbac_linked_permissions` VALUES (100000,574); # Command: npc add move
INSERT INTO `rbac_linked_permissions` VALUES (100000,573); # Command: npc add item
INSERT INTO `rbac_linked_permissions` VALUES (100000,572); # Command: npc add formation
INSERT INTO `rbac_linked_permissions` VALUES (100000,571); # Command: npc add
INSERT INTO `rbac_linked_permissions` VALUES (100000,399); # Command: gobject turn
INSERT INTO `rbac_linked_permissions` VALUES (100000,397); # Command: gobject set state
INSERT INTO `rbac_linked_permissions` VALUES (100000,396); # Command: gobject set phase
INSERT INTO `rbac_linked_permissions` VALUES (100000,395); # Command: gobject set
INSERT INTO `rbac_linked_permissions` VALUES (100000,393); # Command: gobject move
INSERT INTO `rbac_linked_permissions` VALUES (100000,391); # Command: gobject delete
INSERT INTO `rbac_linked_permissions` VALUES (100000,389); # Command: gobject add
# [100001] TIER 1: Supporter
INSERT INTO `rbac_linked_permissions` VALUES (100001, 100000); # inheriting from TIER 0
INSERT INTO `rbac_linked_permissions` VALUES (100001, 743); # Command: ticket assign
INSERT INTO `rbac_linked_permissions` VALUES (100001, 515); # Command: mute
# [100002] TIER 2: Protector - Moderator
INSERT INTO `rbac_linked_permissions` VALUES (100002, 193); # inheriting from GM 2
INSERT INTO `rbac_linked_permissions` VALUES (100002, 100001); # inherit from TIER 1
INSERT INTO `rbac_linked_permissions` VALUES (100002, 554); # Command: modify money [ dangerous ]
INSERT INTO `rbac_linked_permissions` VALUES (100002, 256); # Command: unban playeraccount
INSERT INTO `rbac_linked_permissions` VALUES (100002, 255); # Command: unban ip
INSERT INTO `rbac_linked_permissions` VALUES (100002, 254); # Command: unban character
INSERT INTO `rbac_linked_permissions` VALUES (100002, 253); # Command: unban account
INSERT INTO `rbac_linked_permissions` VALUES (100002, 252); # Command: unban
INSERT INTO `rbac_linked_permissions` VALUES (100002, 243); # Command: ban playeraccount
INSERT INTO `rbac_linked_permissions` VALUES (100002, 242); # Command: ban ip
INSERT INTO `rbac_linked_permissions` VALUES (100002, 241); # Command: ban character
INSERT INTO `rbac_linked_permissions` VALUES (100002, 240); # Command: ban account
INSERT INTO `rbac_linked_permissions` VALUES (100002, 239); # Command: ban
INSERT INTO `rbac_linked_permissions` VALUES (100002, 542); # Command: morph
INSERT INTO `rbac_linked_permissions` VALUES (100002, 543); # Command: demorph
INSERT INTO `rbac_linked_permissions` VALUES (100002, 532); # Command: unmute
# [100003] TIER 3
INSERT INTO `rbac_linked_permissions` VALUES (100003, 193); # inheriting from GM LVL 2
INSERT INTO `rbac_linked_permissions` VALUES (100003, 100002); # inherit from TIER 2
# [100005] Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100005, 100000); # inherit from TIER 0
INSERT INTO `rbac_linked_permissions` VALUES (100005, 542); # Command: morph
INSERT INTO `rbac_linked_permissions` VALUES (100005, 543); # Command: demorph
INSERT INTO `rbac_linked_permissions` VALUES (100005, 535); # Command: wchange
INSERT INTO `rbac_linked_permissions` VALUES (100005, 597); # Command: npc say
INSERT INTO `rbac_linked_permissions` VALUES (100005, 596); # Command: npc playemote
INSERT INTO `rbac_linked_permissions` VALUES (100005, 598); # Command: npc textemote
INSERT INTO `rbac_linked_permissions` VALUES (100005, 599); # Command: npc whisper
INSERT INTO `rbac_linked_permissions` VALUES (100005, 600); # Command: npc yell
INSERT INTO `rbac_linked_permissions` VALUES (100005, 480); # Command: pet create
# [100004] Master Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100004, 100005); # inheriting from Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100004, 193); # inheriting from GM LVL 2
# [100010] Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100010, 100005); # inherit from Entertainer
# [100006] Master Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100006, 100010); # inheriting Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100006, 193); # inheriting from GM LVL 2
### TEST SERVER ROLES ###
# Special: test realm player
INSERT INTO `rbac_linked_permissions` VALUES (100011, 100012); # inheriting from Azeroth Player
INSERT INTO `rbac_linked_permissions` VALUES (100011, 291); # Command: cheat
INSERT INTO `rbac_linked_permissions` VALUES (100011, 294); # Command: cheat explore
INSERT INTO `rbac_linked_permissions` VALUES (100011, 298); # Command: cheat taxi
INSERT INTO `rbac_linked_permissions` VALUES (100011, 377); # Command: go
INSERT INTO `rbac_linked_permissions` VALUES (100011, 378); # Command: go creature
INSERT INTO `rbac_linked_permissions` VALUES (100011, 442); # Command: lookup
INSERT INTO `rbac_linked_permissions` VALUES (100011, 447); # Command: lookup item
INSERT INTO `rbac_linked_permissions` VALUES (100011, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100011, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100011, 287); # Command: levelup
INSERT INTO `rbac_linked_permissions` VALUES (100011, 554); # Command: modify money
INSERT INTO `rbac_linked_permissions` VALUES (100011, 737); # Command: tele
INSERT INTO `rbac_linked_permissions` VALUES (100011, 459); # Command: lookup tele
INSERT INTO `rbac_linked_permissions` VALUES (100011, 593); # Command: npcinfo
INSERT INTO `rbac_linked_permissions` VALUES (100011, 796); # Command: instance getbossstate
# Special: test realm GM
INSERT INTO `rbac_linked_permissions` VALUES (100013, 193); # inheriting from GM LVL 2
INSERT INTO `rbac_linked_permissions` VALUES (100013, 100011); # inherit from test player
INSERT INTO `rbac_linked_permissions` VALUES (100013, 100010); # inherit from common GM interface
INSERT INTO `rbac_linked_permissions` VALUES (100013, 498); # Command: damage
INSERT INTO `rbac_linked_permissions` VALUES (100013, 500); # Command: die
INSERT INTO `rbac_linked_permissions` VALUES (100013, 795); # Command: instance setbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100013, 796); # Command: instance getbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100013, 370); # Command: event stop
INSERT INTO `rbac_linked_permissions` VALUES (100013, 369); # Command: event start
INSERT INTO `rbac_linked_permissions` VALUES (100013, 373); # Command: gm fly
INSERT INTO `rbac_linked_permissions` VALUES (100013, 517); # Command: pinfo
INSERT INTO `rbac_linked_permissions` VALUES (100013, 513); # Command: maxskill
INSERT INTO `rbac_linked_permissions` VALUES (100013, 522); # Command: respawn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 523); # Command: revive
INSERT INTO `rbac_linked_permissions` VALUES (100013, 526); # Command: set skill
INSERT INTO `rbac_linked_permissions` VALUES (100013, 558); # Command: modify rep
INSERT INTO `rbac_linked_permissions` VALUES (100013, 455); # Command: lookup skill [ can inspect other players skills ]
INSERT INTO `rbac_linked_permissions` VALUES (100013, 556); # Command: modify phase
INSERT INTO `rbac_linked_permissions` VALUES (100013, 417); # Command: learn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 418); # Command: learn all
INSERT INTO `rbac_linked_permissions` VALUES (100013, 419); # Command: learn all my
INSERT INTO `rbac_linked_permissions` VALUES (100013, 420); # Command: learn all my class
INSERT INTO `rbac_linked_permissions` VALUES (100013, 421); # Command: learn all my pettalents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 422); # Command: learn all my spells
INSERT INTO `rbac_linked_permissions` VALUES (100013, 423); # Command: learn all my talents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 424); # Command: learn all gm
INSERT INTO `rbac_linked_permissions` VALUES (100013, 425); # Command: learn all crafts
INSERT INTO `rbac_linked_permissions` VALUES (100013, 426); # Command: learn all default
INSERT INTO `rbac_linked_permissions` VALUES (100013, 427); # Command: learn all lang
INSERT INTO `rbac_linked_permissions` VALUES (100013, 428); # Command: learn all recipes
INSERT INTO `rbac_linked_permissions` VALUES (100013, 429); # COmmand: unlearn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 521); # Command: repairitems
INSERT INTO `rbac_linked_permissions` VALUES (100013, 711); # Command: reset achievements
INSERT INTO `rbac_linked_permissions` VALUES (100013, 712); # Command: reset honor
INSERT INTO `rbac_linked_permissions` VALUES (100013, 713); # Command: reset level
INSERT INTO `rbac_linked_permissions` VALUES (100013, 714); # Command: reset spells
INSERT INTO `rbac_linked_permissions` VALUES (100013, 715); # Command: reset stats
INSERT INTO `rbac_linked_permissions` VALUES (100013, 716); # Command: reset talents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 710); # Command: reset
INSERT INTO `rbac_linked_permissions` VALUES (100013, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100013, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100013, 231); # Command: achievement add
INSERT INTO `rbac_linked_permissions` VALUES (100013, 602); # Command: quest
INSERT INTO `rbac_linked_permissions` VALUES (100013, 603); # Command: quest add
INSERT INTO `rbac_linked_permissions` VALUES (100013, 604); # Command: quest complete
INSERT INTO `rbac_linked_permissions` VALUES (100013, 605); # Command: quest remove
INSERT INTO `rbac_linked_permissions` VALUES (100013, 606); # Command: quest reward
INSERT INTO `rbac_linked_permissions` VALUES (100013, 777); # Command: mailbox
INSERT INTO `rbac_linked_permissions` VALUES (100013, 284); # Command: character rename
INSERT INTO `rbac_linked_permissions` VALUES (100013, 274); # Command: character customize
INSERT INTO `rbac_linked_permissions` VALUES (100013, 275); # Command: character changefaction
INSERT INTO `rbac_linked_permissions` VALUES (100013, 276); # Command: character changerace
INSERT INTO `rbac_linked_permissions` VALUES (100013, 529); # Command: unaura
# [100014] Master Test GM
INSERT INTO `rbac_linked_permissions` VALUES (100014, 100013); # inheriting from Test GM
@@ -0,0 +1,2 @@
ALTER TABLE instance ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER data;
ALTER TABLE character_achievement ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER date;
@@ -0,0 +1,8 @@
/*
-- Query: select * from spell_script_names where scriptname like 'spell_dru_cyclone_check'
LIMIT 0, 1000
-- Date: 2016-04-13 21:28
*/
DELETE FROM `spell_script_names` where `ScriptName` = 'spell_dru_cyclone_check';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (33786,'spell_dru_cyclone_check');
@@ -0,0 +1,81 @@
/**
* Table structure for irc_commands
*/
DROP TABLE IF EXISTS `irc_commands`;
CREATE TABLE `irc_commands` (
`Command` varchar(10) NOT NULL default '',
`Description` varchar(350) default NULL,
`gmlevel` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`Command`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_commands` VALUES ('acct', '[acct <Player> <(un)lock/email/pass/rename/gmlevel>] : Perform Action To <Player> Account.', '3');
INSERT INTO `irc_commands` VALUES ('ban', '[ban <Player/IP> <ip/acct/unban/reason>] : Ban/Unban <Player>', '3');
INSERT INTO `irc_commands` VALUES ('chan', '[chan <op/deop/voice/devoice> <*IRC Nick*>] : Set Mode On Yourself, If <IRC Nick> Is Specified Then Set mode On Nick.', '3');
INSERT INTO `irc_commands` VALUES ('char', '[char <Player> <mailcheat/taxicheat/maxskill/setskill/combatstop/quest/mod>] : Perform Action To Character.', '3');
INSERT INTO `irc_commands` VALUES ('fun', '[fun <Player> <Sound/Say>] : Do Selected Fun Action To <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '3');
INSERT INTO `irc_commands` VALUES ('inchan', '[inchan <Channel>] : Display Users In Selected In Game <Channel>', '3');
INSERT INTO `irc_commands` VALUES ('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '3');
INSERT INTO `irc_commands` VALUES ('item', '[item <Player> <add> <ItemID/[ItemName]> <Amount>] : Additem To <Player>, Use <ItemID> Or <[Exact Item Name]>.', '3');
INSERT INTO `irc_commands` VALUES ('jail', '[jail <Player> <release/Reason>] : Jail Selected <Player> For <Reason>. Using release As <Reason> Releases Player.', '3');
INSERT INTO `irc_commands` VALUES ('kick', '[kick <Player> <Reason>] : Kick <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('kill', '[kill <Player> <Reason>] : Kill <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('level', '[level <Player> <NewLevel>] : Level <Player> To <NewLevel>. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('login', '[login <UserName> <Password>] : Login To TriniChat Admin Mode. (Must Be Done In A PM)', '3');
INSERT INTO `irc_commands` VALUES ('logout', '[logout] : Logout Of TriniChat Admin Mode.', '3');
INSERT INTO `irc_commands` VALUES ('lookup', '[lookup <acct/char/creature/faction/go/item/quest/skill/spell/tele> <ID/Name>] : ', '3');
INSERT INTO `irc_commands` VALUES ('money', '[money <Player> <(-)Money>] : Give Money To <Player>, Use - To Take Money. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('mute', '[mute <Player> <release/TimeInMins> <Reason>] : Mute Player For Reason, For <TimeInMins>. Using release As Time Releases Player. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('online', '[online] : Display All Users Logged In Game.', '3');
INSERT INTO `irc_commands` VALUES ('pm', '[pm <Player> <Message>] : Whisper <Player> In WoW <Message>.', '3');
INSERT INTO `irc_commands` VALUES ('reload', '[reload] : Reload TriniChat Config Options And Security Level From DataBase.', '3');
INSERT INTO `irc_commands` VALUES ('restart', '[restart] : Restart TriniChat, NOT Trinity Core World Server Itself. Forces Reconnection To IRC Server.', '3');
INSERT INTO `irc_commands` VALUES ('revive', '[revive <Player>] : Revive <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('saveall', '[saveall] : Forces Trinity Core To Save All Players.', '3');
INSERT INTO `irc_commands` VALUES ('server', '[server setmotd [<motd>]/flusharenapoints]', '3');
INSERT INTO `irc_commands` VALUES ('shutdown', '[shutdown <TimeInSeconds>] : Shuts The Server Down In <TimeInSeconds>, Use 0 For Immediate Shut Down', '3');
INSERT INTO `irc_commands` VALUES ('spell', '[spell <Player> <Cast/Learn/UnLearn> <SpellID>] : Make <Player> <Learn> Or <UnLearn> A Spell, Or <Cast> A Spell On A <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('sysmsg', '[sysmsg <a/n/e/add/del/list> <Message>] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', '3');
INSERT INTO `irc_commands` VALUES ('tele', '[tele <Player> <l/c/r/to/cr/go/homebind> <Loc.Name/MAPID X Y Z/Recall/Player/Creature GUID/Gameobject GUID>] : Teleport Player To Location, Coords, Recall Location, Another Player, Creature or Gameobject. (l-Location)(c-Coords)', '3');
INSERT INTO `irc_commands` VALUES ('top', '[top <accttime/chartime/money> <limit>] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '3');
INSERT INTO `irc_commands` VALUES ('who', '[who] : Displays Users Currently Logged In To TriniChat.', '1');
/**
* Table structure for irc_inchan
*/
/** DROP TABLE IF EXISTS `irc_inchan`; */
CREATE TABLE IF NOT EXISTS `irc_inchan` (
`guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`name` varchar(12) NOT NULL default '',
`channel` varchar(15) NOT NULL default '',
PRIMARY KEY (`guid`,`channel`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System';
/**
* Records
*/
/**
* Table structure for irc_autoannounce
*/
DROP TABLE IF EXISTS `irc_autoannounce`;
CREATE TABLE `irc_autoannounce` (
`id` int(11) NOT NULL auto_increment,
`message` longtext NOT NULL,
`addedby` varchar(12) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_autoannounce` VALUES ('1', 'Welcome to IRC Channel', '');
DELETE FROM `trinity_string` WHERE entry IN (6610,6611,6612);
INSERT INTO `trinity_string` VALUES ('6610', '|cffff0000[System Message]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6611', '|cffff0000[Server Event]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6612', '|cffff0000[Automatic]: %s|r', null, null, null, null, null, null, null, null);
@@ -0,0 +1,97 @@
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_myrmidon' WHERE `entry`=4295;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_defender' WHERE `entry`=4298;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_centurion' WHERE `entry`=4301;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_sorcerer' WHERE `entry`=4294;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_wizard' WHERE `entry`=4300;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_abbot' WHERE `entry`=4303;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_monk' WHERE `entry`=4540;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_champion' WHERE `entry`=4302;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_chaplain' WHERE `entry`=4299;
DELETE FROM `smart_scripts` WHERE `entryorguid`IN (4301, 4295, 4298, 4300, 4540, 4302, 4299, 4294, 4303);
-- one
DELETE FROM `creature_text` WHERE `entry`=4298;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4298, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- two
DELETE FROM `creature_text` WHERE `entry`=4295;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4295, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''),
(4295, 1, 0, 'There is no escape for you. The Crusade shall destroy all who carry the scourge\'s taint.', 12, 7, 0, 0, 0, 0, 'Scarlet Myrmidon - Talk on low HP');
-- three
DELETE FROM `creature_text` WHERE `entry`=4301;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4301, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- four
DELETE FROM `creature_text` WHERE `entry`=4294;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4294, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- five
DELETE FROM `creature_text` WHERE `entry`=4300;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4300, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- six
DELETE FROM `creature_text` WHERE `entry`=4303;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4303, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- seven
DELETE FROM `creature_text` WHERE `entry`=4540;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4540, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- eight
DELETE FROM `creature_text` WHERE `entry`=4302;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4302, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- ninetails
DELETE FROM `creature_text` WHERE `entry`=4299;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4299, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
@@ -0,0 +1,3 @@
-- Strand of The Ancients demolisher fix
UPDATE `creature_template` SET `mechanic_immune_mask` = 344407930 WHERE `entry` IN (28781, 32796);
@@ -0,0 +1,73 @@
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|0x10000000 WHERE `entry` IN (36619, 38233, 38459, 38460, 38711, 38970, 38971, 38972, 38712, 38973, 38974, 38975);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29315, 31507);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29305, 30530);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~67108864 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~1024 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28859, 31734);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15956,29249);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15953,29268);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15952,29278);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15954,29615);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15936,29701);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16011,29718);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16061,29940);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16060,29955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16064,30603,16065,30601,30549,30600,16063,30602);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16028, 29324);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15931, 29373);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15932, 29417);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15928, 29448);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15989, 29991);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15990, 30061);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (31125, 31722);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33993, 33994);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35013, 35360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (38433, 38462);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28860, 31311);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30452, 31534);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30451, 31520);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30449, 31535);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (10184, 36538);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39863, 39864, 39944, 39945);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39751, 39920);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39746, 39805);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39747, 39823);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34796, 35438, 35439, 35440);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35144, 35511, 35512, 35513);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34799, 35514, 35515, 35516);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34797, 35447, 35448, 35449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34497, 35350, 35351, 35352);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34496, 35347, 35348, 35349);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34564, 34566, 35615, 35616);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33118, 33190);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33186, 33724);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33293, 33885);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32867, 33693);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32927, 33692);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32930, 33909);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32933, 33910);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32934, 33911);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33515, 34175);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32906, 33360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32845, 32846);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32865, 33147);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33271, 33449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33288, 33955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32871, 33070);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36612, 37957, 37958, 37959);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37813, 38402, 38582, 38583);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36626, 37504, 37505, 37506);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36627,38390,38549,38550);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37970,38401,38784,38785);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37972,38399,38769,38770);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37973,38400,38771,38772);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37955,38434,38435,38436);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=902512507 WHERE entry IN (29309, 31456, 29308, 31469, 29310, 31465, 29311, 31464, 28684, 31612, 28921, 31611, 29120, 31610, 26630, 31362, 26631, 31350, 27483, 31349, 26632, 31360, 29315, 31507, 29314, 31512, 29316, 31510, 29312, 31509, 29266, 31511, 29313, 31508, 31134, 31506, 29307, 31365, 29304, 31370, 29306, 31368, 28586, 31533, 28587, 31536, 28546, 31537, 28587, 31536, 27975, 31384, 27977, 31381, 27978, 31386, 26529, 31211, 26530, 31212, 26532, 31215, 26533, 31217, 27654, 31558, 27447, 31559, 27655, 31560, 26687, 30774, 26693, 30807, 26861, 30788, 29932, 30258, 31463, 35572, 36089, 35569, 36085, 35571, 36090, 35570, 36091, 35617, 36084, 34703, 36087, 34657, 36086, 34701, 36083, 34702, 36082, 34705, 36088, 35119, 35518, 34928, 35517, 35451, 35490, 29305, 30530, 37126, 38258, 36897, 38138, 36899, 38123, 38494, 38490, 37562, 38602, 38760, 38761, 37697, 38604, 38758, 38759, 37534, 38219, 37533, 38220);
@@ -0,0 +1,88 @@
-- ------------------------------------------------------------------------------------
-- SKADI THE RUTHLESS - ENABLE Achievement GIRL LOVE TO SKADI and grauf - complete boss rework
-- ------------------------------------------------------------------------------------
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=26893;
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=30775;
UPDATE `creature_template` SET `ScriptName`='npc_grauf' WHERE `entry`=26893;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=23472;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=19871;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` IN (47593,47594,47563,51368);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47593, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47594, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47563, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51368, 31, 3, 26893);
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (47563,47593);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47563, 47574, 0, 'Freezin Trap - Left');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47593, 47594, 0, 'Freezin Trap - Right');
DELETE FROM `spell_script_names` WHERE `spell_id` IN ( 47574,47594,50255,59331);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47574, 'spell_freezing_cloud_area_left');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47594, 'spell_freezing_cloud_area_right');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (50255, 'spell_skadi_poisoned_spear');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (59331, 'spell_skadi_poisoned_spear');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=28351;
DELETE FROM smart_scripts WHERE entryorguid = 28351 AND source_type = 0 AND id IN (0,1);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (28351, 0, 0, 0, 8, 0, 100, 0, 47594, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (28351, 0, 1, 0, 8, 0, 100, 0, 47574, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
DELETE FROM creature_text WHERE entry IN (26893,23472,19871) AND groupid = 0 AND id = 0;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (26893, 0, 0, '%s takes a deep breath!', 41, 0, 100, 0, 0, 0, 'Grauf - Emote');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (23472, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (19871, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote');
DELETE FROM smart_scripts WHERE entryorguid IN ( -126150, -126127) AND event_type = 38;
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126150, 38, 1, 1, 'Skadi Trigger - Emote');
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126127, 38, 1, 1, 'Skadi Trigger - Emote');
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN ( 49089,49084,49091,50255,50258,50228,47579);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49089, 49089, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49084, 49084, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49091, 49091, 59249);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50228, 50228, 59322);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50255, 50255, 59331);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50258, 50258, 59334);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (47579, 47579, 60020 );
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=1 AND `link`=0;
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=0 AND `link`=0;
DELETE FROM `disables` WHERE `sourceType`=4 AND `entry`=7595;
DELETE FROM achievement_criteria_data WHERE criteria_id = 7595;
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `ScriptName`) VALUES (7595, 11, 'achievement_girl_love_to_skadi');
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192175;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192176;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192177;
DELETE FROM spell_target_position WHERE id = 61790;
INSERT INTO `spell_target_position` (`id`, `effIndex`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES (61790, 0, 575, 342.887, -507.782, 104.471, 3.13678);
-- ------------------------------------------------------------------------------------
-- OCULUS - INSTANCE REWORK
-- ------------------------------------------------------------------------------------
DELETE FROM conditions WHERE SourceTypeOrReferenceId = 13 AND SourceGroup = 1 AND SourceEntry IN (50036,51518,50087) AND ConditionValue2 = 27641;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50036, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51518, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50087, 31, 3, 27641);
DELETE FROM spelldifficulty_dbc WHERE id = 50044 AND spellid0 = 50044 AND spellid1 = 59213;
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50044, 50044, 59213);
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=27641;
DELETE FROM smart_scripts WHERE entryorguid = 27641 AND id =1;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (27641, 0, 1, 0, 1, 0, 100, 1, 0, 0, 0, 0, 11, 50044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Centrifuge Core - Out of Combat - Cast Empowering Blows');
DELETE FROM spell_script_names WHERE spell_id IN (51121,51132,59376);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51121,'spell_urom_time_bomb');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51132,'spell_urom_time_bomb_detonation');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (59376,'spell_urom_time_bomb');
UPDATE `gameobject_template` SET `ScriptName`='go_call_tram' , faction='35'
WHERE `entry` IN (194437 ,194914 ,194912 ,194937);
@@ -0,0 +1,72 @@
-- Rogue: Master Poisoner
DELETE FROM `spell_dbc` WHERE `Id` IN ('45176');
INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `Stances`, `StancesNot`, `Targets`, `CastingTimeIndex`, `AuraInterruptFlags`, `ProcFlags`, `ProcChance`, `ProcCharges`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `Effect1`, `Effect2`, `Effect3`, `EffectDieSides1`, `EffectDieSides2`, `EffectDieSides3`, `EffectRealPointsPerLevel1`, `EffectRealPointsPerLevel2`, `EffectRealPointsPerLevel3`, `EffectBasePoints1`, `EffectBasePoints2`, `EffectBasePoints3`, `EffectMechanic1`, `EffectMechanic2`, `EffectMechanic3`, `EffectImplicitTargetA1`, `EffectImplicitTargetA2`, `EffectImplicitTargetA3`, `EffectImplicitTargetB1`, `EffectImplicitTargetB2`, `EffectImplicitTargetB3`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectRadiusIndex3`, `EffectApplyAuraName1`, `EffectApplyAuraName2`, `EffectApplyAuraName3`, `EffectAmplitude1`, `EffectAmplitude2`, `EffectAmplitude3`, `EffectMultipleValue1`, `EffectMultipleValue2`, `EffectMultipleValue3`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectMiscValue3`, `EffectMiscValueB1`, `EffectMiscValueB2`, `EffectMiscValueB3`, `EffectTriggerSpell1`, `EffectTriggerSpell2`, `EffectTriggerSpell3`, `EffectSpellClassMaskA1`, `EffectSpellClassMaskA2`, `EffectSpellClassMaskA3`, `EffectSpellClassMaskB1`, `EffectSpellClassMaskB2`, `EffectSpellClassMaskB3`, `EffectSpellClassMaskC1`, `EffectSpellClassMaskC2`, `EffectSpellClassMaskC3`, `MaxTargetLevel`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `MaxAffectedTargets`, `DmgClass`, `PreventionType`, `DmgMultiplier1`, `DmgMultiplier2`, `DmgMultiplier3`, `AreaGroupId`, `SchoolMask`, `Comment`) VALUES
('45176','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','0','1','1','1','0','1','0','-1','0','0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0','6','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','8','0','0','0','0','0','0','0','0','0','0','1','Master Poisoner Trigger (SERVERSIDE)');
DELETE FROM `spell_proc_event` WHERE `entry` IN ('31226', '31227', '58410');
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
('31226','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 1)
('31227','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 2)
('58410','0','8','0','524288','0','0','0','0','0','0'); -- Master Poisoner (Rank 3)
-- Shaman: Tidal Force
DELETE FROM `spell_script_names` WHERE `spell_id` = 55198;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (55198,'spell_sha_tidal_force');
DELETE FROM `spell_proc_event` WHERE `entry` = 55198;
DELETE FROM `spell_proc_event` WHERE `entry` = 55166;
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55166,1,11,448,0,0,16384,2,0,0,0);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55198,0,11,448,0,0,16384,2,0,0,0);
-- Rogue: Shadowmeld
DELETE FROM `spell_script_names` WHERE `spell_id` = 58984;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (58984,'spell_shadowmeld');
DELETE FROM `spell_linked_spell` WHERE `spell_effect` = 32747;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (853, 32747, 0, 'Hammer of Justice - Interrupt - Rank 1 ');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5588, 32747, 0, 'Hammer of Justice - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5589, 32747, 0, 'Hammer of Justice - Interrupt - Rank 3');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (10308, 32747, 0, 'Hammer of Justice - Interrupt - Rank 4');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (22570, 32747, 0, 'Maim - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (49802, 32747, 0, 'Maim - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5211, 32747, 0, 'Bash - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (6798, 32747, 0, 'Bash - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (8983, 32747, 0, 'Bash - Interrupt - Rank 3');
DELETE FROM `spell_script_names` WHERE `spell_id` = 32747;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (32747,'spell_gen_interrupt');
-- DANCING RUNE WEAPON
DELETE FROM spell_proc_event WHERE entry = 49028;
DELETE FROM creature_template WHERE entry = 27893;
INSERT INTO `creature_template` (`entry`,`difficulty_entry_1`,`difficulty_entry_2`,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name`,`subname`,`IconName`,`gossip_menu_id`,`minlevel`,`maxlevel`,`exp`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`rank`,`dmgschool`,`BaseAttackTime`,`RangeAttackTime`,`unit_class`,`unit_flags`,`unit_flags2`,`dynamicflags`,`family`,`trainer_type`,`trainer_spell`,`trainer_class`,`trainer_race`,`type`,`type_flags`,`lootid`,`pickpocketloot`,`skinloot`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`spell1`,`spell2`,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spell8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`InhabitType`,`HoverHeight`,`Health_mod`,`Mana_mod`,`Armor_mod`,`RacialLeader`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`flags_extra`,`ScriptName`,`VerifiedBuild`) VALUES (27893,0,0,0,0,0,11686,0,0,0,'Rune Weapon','','',0,1,1,0,14,0,1,1.14286,1,0,0,3500,2000,1,0,2048,0,0,0,0,0,0,10,1096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1,1,1,1,0,0,1,0,0,'npc_pet_dk_rune_weapon',12340);
DELETE FROM spell_linked_spell WHERE spell_trigger = 49028;
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (49028,81256,0,'Dancing Rune Weapon parry application');
-- Glyph of succubus
DELETE FROM `spell_script_names` WHERE `spell_id` = 6358;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (6358,'spell_warl_seduction');
-- Fix wrong application of fiery payback rank 1 always even if rank2 learned
DELETE FROM `spell_ranks` WHERE `first_spell_id`=44440;
-- Blood queen lanathel autocast of frenzy
DELETE FROM spell_linked_spell WHERE spell_trigger = 70923;
DELETE FROM spell_script_names WHERE spell_id = 70923;
INSERT INTO spell_script_names VALUES (70923,'spell_blood_queen_uncontrollable_frenzy');
-- Shadow Crash, general Vezax
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=63277;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ('63277', '65269', '2', 'Shadow Crash');
-- Animal Handler
DELETE FROM `spell_ranks` WHERE `first_spell_id`=34453;
INSERT INTO `spell_ranks` (`first_spell_id`, `spell_id`, `rank`) VALUES
(34453, 34453, 1),
(34453, 34454, 2);
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_paralytic_poison';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(35201, 'spell_gen_paralytic_poison');
@@ -0,0 +1,11 @@
-- RUBY SANCTUM
-- Charscale Invoker SAI
SET @ENTRY := 40417;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,10,2000,6000,8000,12000,11,75412,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,1,0,0,0,100,20,2000,6000,8000,12000,11,75419,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,2,0,9,0,100,0,0,10,9000,14000,11,75413,0,0,0,0,0,1,0,0,0,0,0,0,0,"Charscale Invoker - Within Range 0-10yd - Cast Flame Wave");
@@ -0,0 +1,18 @@
/*
SQLyog Community v12.2.1 (64 bit)
MySQL - 5.6.23-log
*********************************************************************
*/
DELETE FROM `creature_template` WHERE `entry` IN (39863,39864,39944,39945,40142,40143,40144,40145);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
-- Halion
('39863','39864','39944','39945','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39863','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','0','150','1','650854271','1','boss_halion','12340'),
('39864','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39864','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','0','150','1','650854271','1','','12340'),
('39944','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39944','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','0','150','1','650854271','1','','12340'),
('39945','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39945','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','0','150','1','650854271','1','','12340'),
-- Twilight Halion
('40142','40143','40144','40145','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','0','150','1','650854271','0','boss_twilight_halion','12340'),
('40143','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','0','150','1','650854271','0','','12340'),
('40144','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','0','150','1','650854271','0','','12340'),
('40145','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','0','150','1','650854271','0','','12340');
@@ -0,0 +1,7 @@
# fix for TOC and mmaps
REPLACE INTO disables VALUES (7, 650, 0, '', '', 'Mmaps - Trial of the Champion');
REPLACE INTO disables VALUES (7, 649, 0, '', '', 'Mmaps - Trial of the Crusader');
-- disabled sota
-- DELETE FROM disables WHERE sourceType = 3 AND disables.entry = 9;
-- INSERT INTO disables (sourceType, entry, flags, params_0, params_1, comment) VALUES (3, 9, 0, '', '', 'Strand of the Ancients (SOTA) - Battleground');
@@ -0,0 +1,36 @@
-- Immunity mask for val'kyr
UPDATE `creature_template` SET `mechanic_immune_mask` =
1 -- MECHANIC_CHARM
+ 2 -- MECHANIC_DISORIENTED
+ 8 -- MECHANIC_DISTRACT
+ 16 -- MECHANIC_FEAR
+ 32 -- MECHANIC_GRIP
+ 64 -- MECHANIC_ROOT
+ 128 -- MECHANIC_PACIFY
+ 256 -- MECHANIC_SILENCE
+ 512 -- MECHANIC_SLEEP
-- 1024 -- MECHANIC_SNARE
-- 2048 -- MECHANIC_STUN
-- 4096 -- MECHANIC_FREEZE
+ 8192 -- MECHANIC_KNOCKOUT
+ 16384 -- MECHANIC_BLEED
+ 32768 -- MECHANIC_BANDAGE
+ 65536 -- MECHANIC_POLYMORPH
+ 131072 -- MECHANIC_BANISH
-- 262144 -- MECHANIC_SHIELD
+ 524288 -- MECHANIC_SHACKLE
+ 1048576 -- MECHANIC_MOUNT
-- 2097152 -- MECHANIC_INFECTED
+ 4194304 -- MECHANIC_TURN
+ 8388608 -- MECHANIC_HORROR
-- 16777216 -- MECHANIC_INVULNERABILITY
+ 33554432 -- MECHANIC_INTERRUPT
-- 67108864 -- MECHANIC_DAZE
-- 134217728 -- MECHANIC_DISCOVERY
-- 268435456 -- MECHANIC_IMMUNE_SHIELD
+ 536870912 -- MECHANIC_SAPPED
-- 1073741824 -- MECHANIC_ENRAGED
where `entry` IN (36609,39120,39121,39122);
-- Adding diminishing
UPDATE `creature_template` SET `flags_extra`='1048576' WHERE `entry` IN (36609,39120,39121,39122);
@@ -0,0 +1,18 @@
-- fix https://github.com/TrinityCore/TrinityCore/issues/14845#issuecomment-180266980
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-7381 AND type=0;
INSERT INTO spell_linked_spell VALUES (-23397,-7381,0,'Berserk Nefarian - On Remove - Remove Berserker Stance passiv');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29763 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29763,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 5');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29762 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29762,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 4');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29761 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29761,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 3');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29760 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29760,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 2');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29759 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29759,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 1');
@@ -0,0 +1,11 @@
-- hackfix for https://github.com/TrinityCore/TrinityCore/issues/16059
UPDATE `creature_template` SET `mechanic_immune_mask` = 650854271 WHERE `entry` IN (
37697, -- 10N Volatile Ooze
38604, -- 10H Volatile Ooze
38758, -- 25N Volatize Ooze
38759, -- 25H Volatile Ooze
37562, -- 10N Gas Cloud
38602, -- 10H Gas Cloud
38760, -- 25N Gas Cloud
38761 -- 25H Gas Cloud
);
@@ -0,0 +1,2 @@
DELETE FROM `trinity_string` WHERE `entry` = 90000;
INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (90000, '|cffff0000[BG Queue Announcer]:|r |cff00ccff[%d-%d]|r %s is ready to start |cff00FF3C%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -0,0 +1,17 @@
-- Flame Revenant (30873)
UPDATE `creature` SET `phaseMask` = 1 WHERE `id` = 30873;
-- Move ally vendors (don't need to delete originals, they are in differen phase)
DELETE FROM `creature` WHERE guid IN (900024, 900025);
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
(900024, 39172, 571, 1, 1, 0, 0, 5370.42, 2880.77, 409.239, 3.12728, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0),
(900025, 32294, 571, 1, 1, 0, 0, 5370.47, 2887.44, 409.24, 3.55288, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0);
-- Show some allies
UPDATE `creature` SET `phaseMask` = 1 WHERE `phaseMask` = 128 AND `id` IN (31051, 30489);
-- Hide some horde guards
UPDATE `creature` SET `phaseMask` = 128 WHERE `guid` IN (131260, 131259, 131264, 131269);
@@ -0,0 +1 @@
@@ -0,0 +1,4 @@
-- spawned transmorg npc in dalaran
DELETE FROM creature WHERE id = 190010;
INSERT INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags)
VALUES (NULL, 190010, 571, 1, 1, 0, 0, 5805.05, 658.984, 648.01, 4.79024, 300, 0, 0, 12600, 0, 0, 0, 0, 0)
@@ -0,0 +1,8 @@
/*
-- Query: select * from spell_script_names where scriptname like 'spell_dru_cyclone_check'
LIMIT 0, 1000
-- Date: 2016-04-13 21:28
*/
DELETE FROM `spell_script_names` where `ScriptName` = 'spell_dru_cyclone_check';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (33786,'spell_dru_cyclone_check');
@@ -0,0 +1,81 @@
/**
* Table structure for irc_commands
*/
DROP TABLE IF EXISTS `irc_commands`;
CREATE TABLE `irc_commands` (
`Command` varchar(10) NOT NULL default '',
`Description` varchar(350) default NULL,
`gmlevel` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`Command`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_commands` VALUES ('acct', '[acct <Player> <(un)lock/email/pass/rename/gmlevel>] : Perform Action To <Player> Account.', '3');
INSERT INTO `irc_commands` VALUES ('ban', '[ban <Player/IP> <ip/acct/unban/reason>] : Ban/Unban <Player>', '3');
INSERT INTO `irc_commands` VALUES ('chan', '[chan <op/deop/voice/devoice> <*IRC Nick*>] : Set Mode On Yourself, If <IRC Nick> Is Specified Then Set mode On Nick.', '3');
INSERT INTO `irc_commands` VALUES ('char', '[char <Player> <mailcheat/taxicheat/maxskill/setskill/combatstop/quest/mod>] : Perform Action To Character.', '3');
INSERT INTO `irc_commands` VALUES ('fun', '[fun <Player> <Sound/Say>] : Do Selected Fun Action To <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '3');
INSERT INTO `irc_commands` VALUES ('inchan', '[inchan <Channel>] : Display Users In Selected In Game <Channel>', '3');
INSERT INTO `irc_commands` VALUES ('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '3');
INSERT INTO `irc_commands` VALUES ('item', '[item <Player> <add> <ItemID/[ItemName]> <Amount>] : Additem To <Player>, Use <ItemID> Or <[Exact Item Name]>.', '3');
INSERT INTO `irc_commands` VALUES ('jail', '[jail <Player> <release/Reason>] : Jail Selected <Player> For <Reason>. Using release As <Reason> Releases Player.', '3');
INSERT INTO `irc_commands` VALUES ('kick', '[kick <Player> <Reason>] : Kick <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('kill', '[kill <Player> <Reason>] : Kill <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('level', '[level <Player> <NewLevel>] : Level <Player> To <NewLevel>. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('login', '[login <UserName> <Password>] : Login To TriniChat Admin Mode. (Must Be Done In A PM)', '3');
INSERT INTO `irc_commands` VALUES ('logout', '[logout] : Logout Of TriniChat Admin Mode.', '3');
INSERT INTO `irc_commands` VALUES ('lookup', '[lookup <acct/char/creature/faction/go/item/quest/skill/spell/tele> <ID/Name>] : ', '3');
INSERT INTO `irc_commands` VALUES ('money', '[money <Player> <(-)Money>] : Give Money To <Player>, Use - To Take Money. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('mute', '[mute <Player> <release/TimeInMins> <Reason>] : Mute Player For Reason, For <TimeInMins>. Using release As Time Releases Player. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('online', '[online] : Display All Users Logged In Game.', '3');
INSERT INTO `irc_commands` VALUES ('pm', '[pm <Player> <Message>] : Whisper <Player> In WoW <Message>.', '3');
INSERT INTO `irc_commands` VALUES ('reload', '[reload] : Reload TriniChat Config Options And Security Level From DataBase.', '3');
INSERT INTO `irc_commands` VALUES ('restart', '[restart] : Restart TriniChat, NOT Trinity Core World Server Itself. Forces Reconnection To IRC Server.', '3');
INSERT INTO `irc_commands` VALUES ('revive', '[revive <Player>] : Revive <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('saveall', '[saveall] : Forces Trinity Core To Save All Players.', '3');
INSERT INTO `irc_commands` VALUES ('server', '[server setmotd [<motd>]/flusharenapoints]', '3');
INSERT INTO `irc_commands` VALUES ('shutdown', '[shutdown <TimeInSeconds>] : Shuts The Server Down In <TimeInSeconds>, Use 0 For Immediate Shut Down', '3');
INSERT INTO `irc_commands` VALUES ('spell', '[spell <Player> <Cast/Learn/UnLearn> <SpellID>] : Make <Player> <Learn> Or <UnLearn> A Spell, Or <Cast> A Spell On A <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('sysmsg', '[sysmsg <a/n/e/add/del/list> <Message>] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', '3');
INSERT INTO `irc_commands` VALUES ('tele', '[tele <Player> <l/c/r/to/cr/go/homebind> <Loc.Name/MAPID X Y Z/Recall/Player/Creature GUID/Gameobject GUID>] : Teleport Player To Location, Coords, Recall Location, Another Player, Creature or Gameobject. (l-Location)(c-Coords)', '3');
INSERT INTO `irc_commands` VALUES ('top', '[top <accttime/chartime/money> <limit>] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '3');
INSERT INTO `irc_commands` VALUES ('who', '[who] : Displays Users Currently Logged In To TriniChat.', '1');
/**
* Table structure for irc_inchan
*/
/** DROP TABLE IF EXISTS `irc_inchan`; */
CREATE TABLE IF NOT EXISTS `irc_inchan` (
`guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`name` varchar(12) NOT NULL default '',
`channel` varchar(15) NOT NULL default '',
PRIMARY KEY (`guid`,`channel`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System';
/**
* Records
*/
/**
* Table structure for irc_autoannounce
*/
DROP TABLE IF EXISTS `irc_autoannounce`;
CREATE TABLE `irc_autoannounce` (
`id` int(11) NOT NULL auto_increment,
`message` longtext NOT NULL,
`addedby` varchar(12) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_autoannounce` VALUES ('1', 'Welcome to IRC Channel', '');
DELETE FROM `trinity_string` WHERE entry IN (6610,6611,6612);
INSERT INTO `trinity_string` VALUES ('6610', '|cffff0000[System Message]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6611', '|cffff0000[Server Event]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6612', '|cffff0000[Automatic]: %s|r', null, null, null, null, null, null, null, null);
@@ -0,0 +1,20 @@
DELETE FROM `creature_template` where `entry` = 190000;
INSERT INTO `creature_template` (`entry`,`modelid1`,`name`,`subname`,`minlevel`,`maxlevel`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`unit_class`,`unit_flags`,`type`,`InhabitType`,`HoverHeight`,`ScriptName`)
VALUES (190000,21322,'Shadow of Sceicco','Arena watcher' ,1,1,35, 1,1,1.14286,0.1,1,128,7,3,1,'npc_arena_watcher');
DELETE FROM `trinity_string` WHERE `entry` IN (11200,11201,11202,11203,11204);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11200,'Watch the match 2x2 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11201,'Watch the match 3x3 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11202,'Watch the match 5x5 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11203,'Watch the match 1x1 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11204,'Follow player',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
DELETE FROM `command` WHERE `permission` = 1004;
INSERT INTO `command` (`name`, `permission`, `help`) VALUES ('spect', 1004, 'Syntax: .spect leave/count');
@@ -0,0 +1,97 @@
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_myrmidon' WHERE `entry`=4295;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_defender' WHERE `entry`=4298;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_centurion' WHERE `entry`=4301;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_sorcerer' WHERE `entry`=4294;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_wizard' WHERE `entry`=4300;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_abbot' WHERE `entry`=4303;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_monk' WHERE `entry`=4540;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_champion' WHERE `entry`=4302;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_chaplain' WHERE `entry`=4299;
DELETE FROM `smart_scripts` WHERE `entryorguid`IN (4301, 4295, 4298, 4300, 4540, 4302, 4299, 4294, 4303);
-- one
DELETE FROM `creature_text` WHERE `entry`=4298;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4298, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- two
DELETE FROM `creature_text` WHERE `entry`=4295;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4295, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''),
(4295, 1, 0, 'There is no escape for you. The Crusade shall destroy all who carry the scourge\'s taint.', 12, 7, 0, 0, 0, 0, 'Scarlet Myrmidon - Talk on low HP');
-- three
DELETE FROM `creature_text` WHERE `entry`=4301;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4301, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- four
DELETE FROM `creature_text` WHERE `entry`=4294;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4294, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- five
DELETE FROM `creature_text` WHERE `entry`=4300;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4300, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- six
DELETE FROM `creature_text` WHERE `entry`=4303;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4303, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- seven
DELETE FROM `creature_text` WHERE `entry`=4540;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4540, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- eight
DELETE FROM `creature_text` WHERE `entry`=4302;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4302, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- ninetails
DELETE FROM `creature_text` WHERE `entry`=4299;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4299, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
@@ -0,0 +1,9 @@
-- Max Skill
DELETE FROM command WHERE name = 'azth maxskill';
INSERT INTO command VALUES('azth maxskill', 1002, 'Max all skill of targeted player');
DELETE FROM trinity_string WHERE entry = 90001;
INSERT INTO trinity_string(entry, content_default) VALUES(90001, 'The target level must be level %u');
-- xp rate
DELETE FROM command WHERE name = 'azth xp';
INSERT INTO command VALUES('azth xp', 1003, 'Set a custom xp rate');
@@ -0,0 +1,44 @@
-- low-level PvP vendor spawns
SET @GUID := 900012;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@GUID+0, 13217, 0, 0, 0, 1, 1, 0, 1, -8767.85, 418.382, 103.921, 3.64665, 300, 0, 0, 57420, 0, 0, 0, 0, 0, 0),
(@GUID+1, 15127, 0, 0, 0, 1, 1, 0, 1, -8765.48, 415.266, 103.921, 3.81863, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+2, 14753, 0, 0, 0, 1, 1, 0, 1, -8770.48, 421.691, 103.921, 3.89481, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+3, 13219, 1, 0, 0, 1, 1, 0, 1, 1646.77, -4219.27, 56.3828, 0.80658, 300, 0, 0, 57420, 0, 0, 0, 0, 0, 0),
(@GUID+4, 15126, 1, 0, 0, 1, 1, 0, 1, 1648.93, -4221.42, 56.3785, 1.00293, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+5, 14754, 1, 0, 0, 1, 1, 0, 1, 1651.95, -4222.54, 56.3789, 1.26211, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0);
-- Global auctioneer
SET @GUID := 900030;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5;
INSERT INTO `creature` VALUES
(@GUID+0, 8661, 0, 0, 0, 1, 1, 0, 1, -8806.9, 673.122, 96.5989, 4.68813, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+1, 8661, 571, 0, 0, 1, 1, 0, 1, 5913.91, 621.969, 646.49, 1.31721, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+2, 8661, 571, 0, 0, 1, 1, 0, 1, 5698.51, 679.243, 645.816, 4.41722, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+3, 8661, 1, 0, 0, 1, 1, 0, 1, 1662.5, -4450.23, 19.5189, 0.434289, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0);
-- custom vendors
SET @GUID := 900040;
REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 1000001, 571, 1, 1, 0, 0, 5977.19, 669.417, 641.667, 3.10476, 300, 0, 0, 12600, 0, 0, 0, 0, 0);
REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 1000002, 571, 1, 1, 0, 0, 5977.07, 672.188, 641.785, 3.24928, 300, 0, 0, 12600, 0, 0, 0, 0, 0);
-- arena NPCs
SET @GUID := 900100;
-- arena 1v1
REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 1000000, 571, 1, 1, 0, 0, 5762.94, 602.368, 609.887, 0.365307, 300, 0, 0, 39099, 0, 0, 0, 0, 0);
-- arena spectator ( Shadow of Sceicco )
REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 190000, 571, 1, 1, 0, 0, 5758.1, 615.383, 609.158, 5.73193, 300, 0, 0, 42, 0, 0, 0, 0, 0);
--
-- various npc
--
SET @GUID := 901000;
-- dummy npc dalaran
INSERT INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 31146, 571, 1, 1, 0, 0, 5838.72, 693.416, 609.158, 4.1539, 300, 0, 0, 24009944, 0, 0, 0, 0, 0);
-- dummy npc dalaran
INSERT INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 31146, 571, 1, 1, 0, 0, 5791.83, 656.546, 609.159, 5.31815, 300, 0, 0, 24009944, 0, 0, 0, 0, 0)
@@ -0,0 +1,25 @@
SET
@entry := 1000001,
@modelid := 28156,
@name := 'Currency Supplier',
@subname := 'AzerothShard Supplies',
@rank := 4,
@unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE
@faction := 1774;
DELETE FROM creature_template WHERE entry = @entry;
INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES
(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', '1', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '0', '', '12340');
SET
@entry := 1000002,
@modelid := 28156,
@name := 'Transmogrification Items',
@subname := 'AzerothShard Supplies',
@rank := 4,
@unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE
@faction := 1774;
DELETE FROM creature_template WHERE entry = @entry;
INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES
(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', '1', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '0', '', '12340');
@@ -0,0 +1,35 @@
SET
@entry := 1000001;
delete from npc_vendor where entry = @entry and item = 47241;
INSERT INTO npc_vendor (entry, slot, item, maxcount, incrtime, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 47241, '0', '0', '2425', '0');
SET
@entry := 1000002;
DELETE FROM npc_vendor WHERE entry = @entry and item in (34649, 34651, 34656, 34648, 34650, 34659, 34655, 34652);
-- Hand
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34649, 2707, 12340);
-- Waist
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34651, 2707, 12340);
-- Legs
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34656, 2707, 12340);
-- Feet
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34648, 2707, 12340);
-- Chest
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34650, 2707, 12340);
-- Back
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34659, 2707, 12340);
-- Shoulder
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34655, 2707, 12340);
-- Head
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34652, 2707, 12340);
@@ -0,0 +1,73 @@
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|0x10000000 WHERE `entry` IN (36619, 38233, 38459, 38460, 38711, 38970, 38971, 38972, 38712, 38973, 38974, 38975);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29315, 31507);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29305, 30530);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~67108864 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~1024 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28859, 31734);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15956,29249);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15953,29268);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15952,29278);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15954,29615);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15936,29701);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16011,29718);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16061,29940);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16060,29955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16064,30603,16065,30601,30549,30600,16063,30602);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16028, 29324);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15931, 29373);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15932, 29417);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15928, 29448);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15989, 29991);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15990, 30061);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (31125, 31722);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33993, 33994);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35013, 35360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (38433, 38462);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28860, 31311);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30452, 31534);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30451, 31520);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30449, 31535);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (10184, 36538);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39863, 39864, 39944, 39945);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39751, 39920);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39746, 39805);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39747, 39823);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34796, 35438, 35439, 35440);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35144, 35511, 35512, 35513);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34799, 35514, 35515, 35516);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34797, 35447, 35448, 35449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34497, 35350, 35351, 35352);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34496, 35347, 35348, 35349);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34564, 34566, 35615, 35616);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33118, 33190);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33186, 33724);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33293, 33885);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32867, 33693);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32927, 33692);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32930, 33909);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32933, 33910);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32934, 33911);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33515, 34175);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32906, 33360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32845, 32846);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32865, 33147);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33271, 33449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33288, 33955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32871, 33070);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36612, 37957, 37958, 37959);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37813, 38402, 38582, 38583);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36626, 37504, 37505, 37506);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36627,38390,38549,38550);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37970,38401,38784,38785);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37972,38399,38769,38770);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37973,38400,38771,38772);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37955,38434,38435,38436);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=902512507 WHERE entry IN (29309, 31456, 29308, 31469, 29310, 31465, 29311, 31464, 28684, 31612, 28921, 31611, 29120, 31610, 26630, 31362, 26631, 31350, 27483, 31349, 26632, 31360, 29315, 31507, 29314, 31512, 29316, 31510, 29312, 31509, 29266, 31511, 29313, 31508, 31134, 31506, 29307, 31365, 29304, 31370, 29306, 31368, 28586, 31533, 28587, 31536, 28546, 31537, 28587, 31536, 27975, 31384, 27977, 31381, 27978, 31386, 26529, 31211, 26530, 31212, 26532, 31215, 26533, 31217, 27654, 31558, 27447, 31559, 27655, 31560, 26687, 30774, 26693, 30807, 26861, 30788, 29932, 30258, 31463, 35572, 36089, 35569, 36085, 35571, 36090, 35570, 36091, 35617, 36084, 34703, 36087, 34657, 36086, 34701, 36083, 34702, 36082, 34705, 36088, 35119, 35518, 34928, 35517, 35451, 35490, 29305, 30530, 37126, 38258, 36897, 38138, 36899, 38123, 38494, 38490, 37562, 38602, 38760, 38761, 37697, 38604, 38758, 38759, 37534, 38219, 37533, 38220);
@@ -0,0 +1,88 @@
-- ------------------------------------------------------------------------------------
-- SKADI THE RUTHLESS - ENABLE Achievement GIRL LOVE TO SKADI and grauf - complete boss rework
-- ------------------------------------------------------------------------------------
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=26893;
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=30775;
UPDATE `creature_template` SET `ScriptName`='npc_grauf' WHERE `entry`=26893;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=23472;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=19871;
DELETE FROM `conditions` where `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` IN (47593,47594,47563,51368);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47593, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47594, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47563, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51368, 31, 3, 26893);
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (47563,47593);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47563, 47574, 0, 'Freezin Trap - Left');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47593, 47594, 0, 'Freezin Trap - Right');
DELETE FROM `spell_script_names` WHERE `spell_id` IN ( 47574,47594,50255,59331);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47574, 'spell_freezing_cloud_area_left');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47594, 'spell_freezing_cloud_area_right');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (50255, 'spell_skadi_poisoned_spear');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (59331, 'spell_skadi_poisoned_spear');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=28351;
DELETE FROM smart_scripts where entryorguid = 28351 and source_type = 0 and id IN (0,1);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (28351, 0, 0, 0, 8, 0, 100, 0, 47594, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (28351, 0, 1, 0, 8, 0, 100, 0, 47574, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
DELETE FROM creature_text where entry IN (26893,23472,19871) and groupid = 0 and id = 0;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (26893, 0, 0, '%s takes a deep breath!', 41, 0, 100, 0, 0, 0, 'Grauf - Emote', 20774);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (23472, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote', 27809);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (19871, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote', 27809);
DELETE FROM smart_scripts where entryorguid IN ( -126150, -126127) and event_type = 38;
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126150, 38, 1, 1, 'Skadi Trigger - Emote');
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126127, 38, 1, 1, 'Skadi Trigger - Emote');
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN ( 49089,49084,49091,50255,50258,50228,47579);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49089, 49089, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49084, 49084, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49091, 49091, 59249);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50228, 50228, 59322);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50255, 50255, 59331);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50258, 50258, 59334);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (47579, 47579, 60020 );
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=1 AND `link`=0;
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=0 AND `link`=0;
DELETE FROM `disables` WHERE `sourceType`=4 AND `entry`=7595;
DELETE FROM achievement_criteria_data WHERE criteria_id = 7595;
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `ScriptName`) VALUES (7595, 11, 'achievement_girl_love_to_skadi');
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192175;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192176;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192177;
DELETE FROM spell_target_position where id = 61790;
INSERT INTO `spell_target_position` (`id`, `effectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES (61790, 0, 575, 342.887, -507.782, 104.471, 3.13678, 12340);
-- ------------------------------------------------------------------------------------
-- OCULUS - INSTANCE REWORK
-- ------------------------------------------------------------------------------------
DELETE FROM conditions WHERE SourceTypeOrReferenceId = 13 AND SourceGroup = 1 AND SourceEntry IN (50036,51518,50087) AND ConditionValue2 = 27641;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50036, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51518, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50087, 31, 3, 27641);
DELETE FROM spelldifficulty_dbc where id = 50044 AND spellid0 = 50044 and spellid1 = 59213;
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50044, 50044, 59213);
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=27641;
DELETE from smart_scripts where entryorguid = 27641 and id =1;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (27641, 0, 1, 0, 1, 0, 100, 1, 0, 0, 0, 0, 11, 50044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Centrifuge Core - Out of Combat - Cast Empowering Blows');
DELETE FROM spell_script_names where spell_id IN (51121,51132,59376);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51121,'spell_urom_time_bomb');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51132,'spell_urom_time_bomb_detonation');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (59376,'spell_urom_time_bomb');
UPDATE `gameobject_template` SET `ScriptName`='go_call_tram' , faction='35'
WHERE `entry` IN (194437 ,194914 ,194912 ,194937);
@@ -0,0 +1,72 @@
-- Rogue: Master Poisoner
DELETE FROM `spell_dbc` WHERE `Id` IN ('45176');
INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `Stances`, `StancesNot`, `Targets`, `CastingTimeIndex`, `AuraInterruptFlags`, `ProcFlags`, `ProcChance`, `ProcCharges`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `Effect1`, `Effect2`, `Effect3`, `EffectDieSides1`, `EffectDieSides2`, `EffectDieSides3`, `EffectRealPointsPerLevel1`, `EffectRealPointsPerLevel2`, `EffectRealPointsPerLevel3`, `EffectBasePoints1`, `EffectBasePoints2`, `EffectBasePoints3`, `EffectMechanic1`, `EffectMechanic2`, `EffectMechanic3`, `EffectImplicitTargetA1`, `EffectImplicitTargetA2`, `EffectImplicitTargetA3`, `EffectImplicitTargetB1`, `EffectImplicitTargetB2`, `EffectImplicitTargetB3`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectRadiusIndex3`, `EffectApplyAuraName1`, `EffectApplyAuraName2`, `EffectApplyAuraName3`, `EffectAmplitude1`, `EffectAmplitude2`, `EffectAmplitude3`, `EffectMultipleValue1`, `EffectMultipleValue2`, `EffectMultipleValue3`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectMiscValue3`, `EffectMiscValueB1`, `EffectMiscValueB2`, `EffectMiscValueB3`, `EffectTriggerSpell1`, `EffectTriggerSpell2`, `EffectTriggerSpell3`, `EffectSpellClassMaskA1`, `EffectSpellClassMaskA2`, `EffectSpellClassMaskA3`, `EffectSpellClassMaskB1`, `EffectSpellClassMaskB2`, `EffectSpellClassMaskB3`, `EffectSpellClassMaskC1`, `EffectSpellClassMaskC2`, `EffectSpellClassMaskC3`, `MaxTargetLevel`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `MaxAffectedTargets`, `DmgClass`, `PreventionType`, `DmgMultiplier1`, `DmgMultiplier2`, `DmgMultiplier3`, `AreaGroupId`, `SchoolMask`, `Comment`) VALUES
('45176','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','0','1','1','1','0','1','0','-1','0','0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0','6','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','8','0','0','0','0','0','0','0','0','0','0','1','Master Poisoner Trigger (SERVERSIDE)');
DELETE FROM `spell_proc_event` WHERE `entry` IN ('31226', '31227', '58410');
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
('31226','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 1)
('31227','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 2)
('58410','0','8','0','524288','0','0','0','0','0','0'); -- Master Poisoner (Rank 3)
-- Shaman: Tidal Force
DELETE FROM `spell_script_names` where `spell_id` = 55198;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (55198,'spell_sha_tidal_force');
DELETE FROM `spell_proc_event` where `entry` = 55198;
DELETE FROM `spell_proc_event` where `entry` = 55166;
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55166,1,11,448,0,0,16384,2,0,0,0);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55198,0,11,448,0,0,16384,2,0,0,0);
-- Rogue: Shadowmeld
DELETE FROM `spell_script_names` where `spell_id` = 58984;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (58984,'spell_shadowmeld');
DELETE FROM `spell_linked_spell` WHERE `spell_effect` = 32747;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (853, 32747, 0, 'Hammer of Justice - Interrupt - Rank 1 ');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5588, 32747, 0, 'Hammer of Justice - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5589, 32747, 0, 'Hammer of Justice - Interrupt - Rank 3');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (10308, 32747, 0, 'Hammer of Justice - Interrupt - Rank 4');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (22570, 32747, 0, 'Maim - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (49802, 32747, 0, 'Maim - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5211, 32747, 0, 'Bash - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (6798, 32747, 0, 'Bash - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (8983, 32747, 0, 'Bash - Interrupt - Rank 3');
DELETE FROM `spell_script_names` where `spell_id` = 32747;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (32747,'spell_gen_interrupt');
-- DANCING RUNE WEAPON
DELETE FROM spell_proc_event where entry = 49028;
DELETE FROM creature_template where entry = 27893;
INSERT INTO `creature_template` (`entry`,`difficulty_entry_1`,`difficulty_entry_2`,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name`,`subname`,`IconName`,`gossip_menu_id`,`minlevel`,`maxlevel`,`exp`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`rank`,`dmgschool`,`BaseAttackTime`,`RangeAttackTime`,`BaseVariance`,`RangeVariance`,`unit_class`,`unit_flags`,`unit_flags2`,`dynamicflags`,`family`,`trainer_type`,`trainer_spell`,`trainer_class`,`trainer_race`,`type`,`type_flags`,`lootid`,`pickpocketloot`,`skinloot`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`spell1`,`spell2`,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spell8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`InhabitType`,`HoverHeight`,`HealthModifier`,`ManaModifier`,`ArmorModifier`,`DamageModifier`,`ExperienceModifier`,`RacialLeader`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`flags_extra`,`ScriptName`,`VerifiedBuild`) VALUES (27893,0,0,0,0,0,11686,0,0,0,'Rune Weapon','','',0,1,1,0,14,0,1,1.14286,1,0,0,3500,2000,1,1,1,0,2048,0,0,0,0,0,0,10,1096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1,1,1,1,1,1,0,0,1,0,0,'npc_pet_dk_rune_weapon',12340);
DELETE FROM spell_linked_spell where spell_trigger = 49028;
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (49028,81256,0,'Dancing Rune Weapon parry application');
-- Glyph of succubus
DELETE FROM `spell_script_names` where `spell_id` = 6358;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (6358,'spell_warl_seduction');
-- Fix wrong application of fiery payback rank 1 always even if rank2 learned
DELETE FROM `spell_ranks` WHERE `first_spell_id`=44440;
-- Blood queen lanathel autocast of frenzy
DELETE FROM spell_linked_spell WHERE spell_trigger = 70923;
DELETE FROM spell_script_names where spell_id = 70923;
INSERT INTO spell_script_names values (70923,'spell_blood_queen_uncontrollable_frenzy');
-- Shadow Crash, general Vezax
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=63277;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ('63277', '65269', '2', 'Shadow Crash');
-- Animal Handler
DELETE FROM `spell_ranks` WHERE `first_spell_id`=34453;
INSERT INTO `spell_ranks` (`first_spell_id`, `spell_id`, `rank`) VALUES
(34453, 34453, 1),
(34453, 34454, 2);
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_paralytic_poison';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(35201, 'spell_gen_paralytic_poison');
@@ -0,0 +1,11 @@
-- RUBY SANCTUM
-- Charscale Invoker SAI
SET @ENTRY := 40417;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,10,2000,6000,8000,12000,11,75412,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,1,0,0,0,100,20,2000,6000,8000,12000,11,75419,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,2,0,9,0,100,0,0,10,9000,14000,11,75413,0,0,0,0,0,1,0,0,0,0,0,0,0,"Charscale Invoker - Within Range 0-10yd - Cast Flame Wave");
@@ -0,0 +1,2 @@
-- scarab lord title
REPLACE INTO `achievement_reward` (`entry`, `title_A`, `title_H`) VALUES ('416', '46', '46');
@@ -0,0 +1,18 @@
/*
SQLyog Community v12.2.1 (64 bit)
MySQL - 5.6.23-log
*********************************************************************
*/
DELETE FROM `creature_template` WHERE `entry` IN (39863,39864,39944,39945,40142,40143,40144,40145);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) values
-- Halion
('39863','39864','39944','39945','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39863','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','35','1','0','150','1','650854271','1','boss_halion','12340'),
('39864','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39864','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','35','1','0','150','1','650854271','1','','12340'),
('39944','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39944','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','50','1','0','150','1','650854271','1','','12340'),
('39945','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39945','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','85','1','0','150','1','650854271','1','','12340'),
-- Twilight Halion
('40142','40143','40144','40145','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','35','1','0','150','1','650854271','0','boss_twilight_halion','12340'),
('40143','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','35','1','0','150','1','650854271','0','','12340'),
('40144','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','50','1','0','150','1','650854271','0','','12340'),
('40145','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','85','1','0','150','1','650854271','0','','12340');
@@ -0,0 +1,38 @@
-- 1 = Alterac Valley
-- 2 = Warsong Gulch
-- 3 = Arathi Basin
-- 7 = Eye of The Storm
-- 4 = Nagrand Arena
-- 5 = Blades's Edge Arena
-- 6 = All Arena
-- 8 = Ruins of Lordaeron
-- 9 = Strand of the Ancients
-- 10 = Dalaran Sewers
-- 11 = The Ring of Valor
-- 30 = Isle of Conquest
-- 32 = Random battleground
-- MinPlayersPerTeam
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 2; -- Warsong Gulch
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 3; -- Arathi Basin
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 7; -- Eye of The Storm
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 5 WHERE `ID` = 9; -- Strand of the Ancients
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 10 WHERE `ID` = 1; -- Alterac Valley
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 3 WHERE `ID` = 32; -- RBG
-- MaxPlayersPerTeam
UPDATE `battleground_template` SET `MaxPlayersPerTeam`=15 WHERE `ID`=32;
-- Weights
UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 1; -- Alterac Valley
UPDATE `battleground_template` SET `Weight` = 2 WHERE `ID` = 30; -- Isle of Conquest
UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` = 2; -- Warsong Gulch
UPDATE `battleground_template` SET `Weight` = 0 WHERE `ID` = 9; -- Strand of the Ancients
UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` IN (3, 7); -- Arathi Basin, Eye of The Storm
-- Allow 'Dalaran Sewers' and 'The Ring of Valor' for 2v2 and 3v3 too
UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=10;
UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=11;
-- Enable 'Dalaran Sewers'
DELETE FROM `disables` WHERE `sourceType`=3 AND `entry`=10;
@@ -0,0 +1,5 @@
-- Strand of The Ancients demolisher fix
UPDATE `creature_template` SET `mechanic_immune_mask` = 344407930 WHERE `entry` IN (28781, 32796);
-- Auctioneer Beardo friendly and immune
UPDATE `creature_template` SET `unit_flags` = 898, `faction` = 1774 WHERE `entry` = 8661;
@@ -0,0 +1,7 @@
# fix for TOC and mmaps
REPLACE INTO disables VALUES (7, 650, 0, '', '', 'Mmaps - Trial of the Champion');
REPLACE INTO disables VALUES (7, 649, 0, '', '', 'Mmaps - Trial of the Crusader');
-- disabled sota
-- DELETE FROM disables WHERE sourceType = 3 AND disables.entry = 9;
-- INSERT INTO disables (sourceType, entry, flags, params_0, params_1, comment) VALUES (3, 9, 0, '', '', 'Strand of the Ancients (SOTA) - Battleground');
@@ -0,0 +1,36 @@
-- Immunity mask for val'kyr
UPDATE `creature_template` SET `mechanic_immune_mask` =
1 -- MECHANIC_CHARM
+ 2 -- MECHANIC_DISORIENTED
+ 8 -- MECHANIC_DISTRACT
+ 16 -- MECHANIC_FEAR
+ 32 -- MECHANIC_GRIP
+ 64 -- MECHANIC_ROOT
+ 128 -- MECHANIC_PACIFY
+ 256 -- MECHANIC_SILENCE
+ 512 -- MECHANIC_SLEEP
-- 1024 -- MECHANIC_SNARE
-- 2048 -- MECHANIC_STUN
-- 4096 -- MECHANIC_FREEZE
+ 8192 -- MECHANIC_KNOCKOUT
+ 16384 -- MECHANIC_BLEED
+ 32768 -- MECHANIC_BANDAGE
+ 65536 -- MECHANIC_POLYMORPH
+ 131072 -- MECHANIC_BANISH
-- 262144 -- MECHANIC_SHIELD
+ 524288 -- MECHANIC_SHACKLE
+ 1048576 -- MECHANIC_MOUNT
-- 2097152 -- MECHANIC_INFECTED
+ 4194304 -- MECHANIC_TURN
+ 8388608 -- MECHANIC_HORROR
-- 16777216 -- MECHANIC_INVULNERABILITY
+ 33554432 -- MECHANIC_INTERRUPT
-- 67108864 -- MECHANIC_DAZE
-- 134217728 -- MECHANIC_DISCOVERY
-- 268435456 -- MECHANIC_IMMUNE_SHIELD
+ 536870912 -- MECHANIC_SAPPED
-- 1073741824 -- MECHANIC_ENRAGED
where `entry` IN (36609,39120,39121,39122);
-- Adding diminishing
UPDATE `creature_template` SET `flags_extra`='1048576' WHERE `entry` IN (36609,39120,39121,39122);

Some files were not shown because too many files have changed in this diff Show More