Compare commits

...

464 Commits

Author SHA1 Message Date
Yehonal 59d568d603 Removed procedure to avoid "mysql gone away" issue for timeout
NOTE: We should avoid huge updates files, they must be splitted
2016-11-18 11:52:12 +01:00
Yehonal 070f15458b improved gitignore for modules 2016-11-18 11:15:57 +01:00
Yehonal b0e118fe07 fixed install.sh url for joiner 2016-11-18 11:15:47 +01:00
talamortis 4d4ec1e92a Merge pull request #194 from talamortis/patch-1
Fix Quest Evil Draws Near
2016-11-17 23:12:11 +00:00
Yehonal 001af4e85b custom files must be always resetted on full db_assembling 2016-11-17 19:28:25 +01:00
Yehonal d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00
Shin 1ec1d16554 DB/Misc: minor structure improvements
- Affects #https://github.com/azerothcore/azerothcore-wotlk/issues/236
2016-11-15 21:54:45 +01:00
ShinDarth d5ab362277 Core/LootMgr: prevent loot issues in case of crossfaction groups 2016-11-12 18:11:51 +01:00
HeartWell 7128d14b09 Scripts/Pet: Gargoyle shouldn't attack ghoul target. (#229) 2016-11-08 09:12:27 +01:00
ShinDarth cd6209cdb1 Import pending SQLs 2016-11-06 20:35:23 +01:00
HeartWell f61f6221e8 Scripts/Commands: Adding command reload broadcast text. (#228) 2016-11-06 20:34:41 +01:00
ShinDarth 5e8a68486b Bin/SQL-Generator: fixed macOS import + minor improvements 2016-11-06 20:02:30 +01:00
HeartWell 58f24c8933 Core/Text: Implemented BroadcastText. (#227) 2016-11-06 14:30:52 +01:00
ShinDarth 0b18f71c00 Import pending SQL 2016-11-05 20:45:47 +01:00
HeartWell c8cc99be37 Core/Object: Localization objects. (#226) 2016-11-05 20:43:11 +01:00
ShinDarth f54f7ce7dc Fix SQL syntax + import pending SQLs 2016-11-05 19:02:24 +01:00
talamortis 0d0e92c86e DB/CreatureQuestStarter: fix Image of Drakuru quest (#201)
Image of Darkuru will now give quest 35797
2016-11-05 18:59:49 +01:00
HeartWell b25dbaa96b Core/Text: Implemented locales_points_of_interest. (#225) 2016-11-05 17:21:38 +01:00
ShinDarth b8a30dd543 Import pending SQL 2016-11-05 15:32:25 +01:00
HeartWell 55873c1891 Core/Creature: Localization creatures. (#224) 2016-11-05 15:28:49 +01:00
ShinDarth a52fbb398f Import pending SQLs 2016-11-05 08:39:46 +01:00
Blumfield dc2c3d1fde Core/Chat: Fix crash when using a command (#220) 2016-11-05 08:37:58 +01:00
HeartWell 8088ca220a Core/Item: Localization items. (#223) 2016-11-04 21:03:48 +01:00
HeartWell b9aa88ac2b Core/Text: Implemented locales_page_text. (#221) 2016-11-03 20:00:04 +01:00
ShinDarth 7e4328b588 Removed empty SQL file 2016-10-29 23:50:20 +02:00
ShinDarth 61a49421bf Merge remote-tracking branch 'upstream/master' 2016-10-29 23:47:46 +02:00
ShinDarth de5fb1a53d DB/Updates: fix 2016_10_23_00.sql 2016-10-29 23:47:31 +02:00
Blumfield 43ed51cadd CMake: Added support for MySQL Server 5.7 (#187) 2016-10-29 18:17:58 +02:00
ShinDarth 8667c3b607 Import pending SQLs 2016-10-29 11:43:50 +02:00
HeartWell cd9add3ddc Script/Commands: implemented .reload battleground_template (#210)
- Closes #28
2016-10-29 11:43:41 +02:00
ShinDarth 9d11582283 Bin/DB-Assembler: fixed bug in Mac OS X md5 generation
- IMPORTANT NOTE: new dependency for Mac users: brew install md5sha1sum
2016-10-25 22:35:14 +02:00
talamortis b81d49d90d Made to Update statement 2016-10-23 19:46:09 +01:00
talamortis 7109a98126 Fix Quest Evil Draws Near
Fix quest so it can be completed.
2016-10-23 16:42:11 +01:00
ShinDarth 47d1ee4f55 Bin: fix db_pendings import.sh script 2016-10-23 13:13:16 +02:00
Yehonal 908abe4139 imported pending sql 2016-10-23 10:49:21 +02:00
Blumfield 3ca3a2dd5d DB/Loot: Fix drop chance of item Dinosaur Bone (11114)
- closes #185
- thanks @Blumfield @talamortis @thurin93
2016-10-23 10:39:19 +02:00
Yehonal 3f25872719 imported pending sql 2016-10-14 10:27:37 +02:00
talamortis 35c66cd375 DB/SAI: fix Plague Walker (Ahn'Kahet: Old Kingdom) 2016-10-10 21:01:17 +02:00
talamortis 4809bc14e3 Quest/Loot The Great Fras Siabi (#167)
DB/World: fix quest The Great Fras Siabi (5214)
- Closes #116
2016-10-10 20:38:05 +02:00
Ander c15d2b4e19 I close issue 119 (#170)
* close https://github.com/azerothcore/azerothcore-wotlk/issues/119

* I close issue https://github.com/azerothcore/azerothcore-wotlk/issues/119

* Should be fixed now

* Deleted unused
2016-10-08 22:23:24 +02:00
talamortis baa148b2b1 Updated Chat.cpp (#162)
People should not get access violation now when appling commands, full credit goes to @Frytiks.
2016-09-27 20:10:56 +02:00
Yehonal 8eb135e545 Core/DB: sql update importing fix 2016-09-24 19:54:53 +02:00
Yehonal d45a5d69fd Core/DB: Missing 431704c7e2 sql 2016-09-24 19:50:36 +02:00
Yehonal e344e985d9 Core/DB: Created sql updates from pending 2016-09-24 19:49:06 +02:00
Yehonal 4525b77f9e Core/DB: Using correct syntax for pending sql 2016-09-24 19:47:44 +02:00
Yehonal 9f0b63fc45 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-09-24 19:45:30 +02:00
Yehonal a498acfdd8 Merge pull request #112 from DantestyleXD/patch-2
[QUEST] There Exists No Honor Among Birds
2016-09-24 17:49:49 +02:00
Yehonal 9076dde4e0 Merge pull request #141 from Krath/master
Trial of the Champions : Checking if the player is mounted.
2016-09-24 17:49:26 +02:00
Yehonal 7de07357e9 Merge pull request #132 from Helias/warnings
Core/Build: fixed 4 warnings
2016-09-24 17:45:16 +02:00
Yehonal d9e091eae7 Merge pull request #158 from talamortis/patch-5
Quest: Black knight orders
2016-09-24 15:09:49 +02:00
Yehonal ca46417a0c Merge pull request #145 from talamortis/master
Instance/Scripts: PoS and HOR fix
2016-09-24 14:51:07 +02:00
Yehonal aaffa82040 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-09-24 14:47:29 +02:00
Yehonal b5d6eab68f Minor fixes to startup-scripts, disabled screen check since it can cause some issues 2016-09-24 14:46:05 +02:00
yehonal e06bdd2132 bin folder creation for startup-scripts on after_build event 2016-09-24 14:46:02 +02:00
Yehonal 0eca04f18b Core/Logging Fixed db logging clean timer 2016-09-24 14:45:57 +02:00
Yehonal c49be4c530 Fixed joiner repo url 2016-09-24 14:45:48 +02:00
Yehonal d177e923ca Fix crash with algalon 2016-09-24 14:45:45 +02:00
Yehonal 8cee0fe498 Core/Script: Missing check on medivh script, fixed crash 2016-09-24 14:45:41 +02:00
Yehonal b618027b3b Core/Script: Fixed possible crash when medivh is spawned outside instance 2016-09-24 14:45:35 +02:00
mik1893 ca510dfd8d Core/Unit: added new script OnPlayerBeingCharmed 2016-09-24 14:45:07 +02:00
Yehonal 6966eba2bb Core/Config Not initial conf files are optional now 2016-09-24 14:36:46 +02:00
Yehonal 3b2fb0949b Core/Logging: Re-Implemented onChat scripting system 2016-09-24 14:36:21 +02:00
talamortis 3356a712c3 Black knight orders
Black nights orders griffen will now take you to the correct point instead of dropping you in the ocean
2016-09-24 12:37:08 +01:00
Stefano Borzì 431704c7e2 Database/World: made the database structure similar to TrinityCore (#154)
* Database/World: date the database structure similar to TrinityCore

* Updated ObjectMgr.cpp

* Moved sql update to pending_db_world directory
2016-09-22 21:21:22 +02:00
talamortis 438077bc0c Changed comment 2016-09-12 16:44:09 +01:00
talamortis e89ff65d59 Changed comment 2016-09-12 16:43:38 +01:00
talamortis 2875b32a94 Removed
Updated.
2016-09-12 16:43:01 +01:00
talamortis 5dcfe074ff Ambassador Kelemar Waypoint
Removed the //
2016-09-11 23:35:12 +01:00
talamortis 99646d171e World/ Winterfin Oracle ID 25216
Winterfin oricle will now cast lightning bolt.
2016-09-06 16:21:52 +01:00
talamortis 36a0f1f338 Instance: Culling of stratholme - Arthus Fix
Arthus will no longer attack start NPC and stop at the correct place in firestreet
2016-09-06 16:20:28 +01:00
talamortis 27030bdfa4 Silvermoon City: Ambassitor Kelmer Walk fix
Ambassitor Kelmar will now walk around silvermoon city
2016-09-06 16:19:09 +01:00
talamortis b35b950bbb Instance: Pit of Saron Tyrannus Mount Fix
Tyrannus will now be mounted as you enter the instance and you will not just see Rimefang
2016-09-06 08:01:14 +01:00
talamortis 9f8d930af7 Core/Scripts Halls of Reflection
ID of the guards changed so alliance can see the correct NPC
2016-09-05 23:58:06 +01:00
talamortis 44c6ef61aa Core/Scripts: Halls of Reflection
Alliance will now see the correct npc to pick up the quest  "Wrath of the lich king"
2016-09-05 23:55:47 +01:00
talamortis beb2ca59a5 Core/Scripts Pit of Saron
Alliance Players will not londer see double ELANDRA as they enter the dungeon
2016-09-05 23:48:39 +01:00
Krath e1884fd3c4 Checking if the player is mounted. 2016-09-05 20:27:02 +02:00
Yehonal c0590a5cfc Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-09-05 17:02:08 +02:00
Yehonal 2e4059c619 Revert "Get Team Id by group Leader instead of random player"
This reverts commit 2ee9fb4eb3.
2016-09-05 16:57:29 +02:00
mik1893 ce07d52235 Fix for missing assignment of m_race 2016-09-05 15:15:27 +02:00
Yehonal c71622438d [DB] fix on characters base tables
Don't worry, you don't need to change anything in your db characters
2016-09-05 12:18:23 +02:00
Yehonal 19273cb9f5 [DB] Fixed Some strange missing data/fix on base db
I've exported the database again starting from
0.x base and applying archived updates again

We strongly suggest to reset your world db with new base
and applying updates again.

To save time, use our db_assembler script
2016-09-05 12:07:11 +02:00
Yehonal 209c058368 Fixed commands log and a crash on windows 2016-09-04 16:05:32 +02:00
Yehonal ce219ce7e4 Created auth logs table for db logging system
Fixed server startup
2016-09-04 14:41:03 +02:00
Yehonal 3db4c1717b Fixed compilation for vs 2013 2016-09-04 14:39:59 +02:00
Yehonal 1f751abf25 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-09-04 10:45:51 +02:00
Yehonal 61a3d89030 Force to use external mysql lib instead of sources
Currently sources are not compiled on some VS
2016-09-04 10:44:38 +02:00
ShinDarth e139de4a8a Build/Clang: suppress logical-op-parentheses warnings 2016-09-04 10:18:38 +02:00
ShinDarth 5802a37698 Revert "Build/Clang: fixed 96 warnings + improved code readability"
This reverts commit a4589f71d5.
2016-09-04 10:11:10 +02:00
DantestyleXD 942f914fd2 [DB/Quest] There Exists No Honor Among Birds rev.5 2016-09-04 06:04:34 +02:00
ShinDarth e5fd1095c9 Core/Build: fixed a warning 2016-09-03 14:23:14 +02:00
Helias 314ad9091b Core/Build: fixed 4 warnings 2016-09-03 13:41:56 +02:00
Yehonal e947363b23 Typing error in folder name 2016-09-02 00:21:17 +02:00
Yehonal cd2417eb2f Using IsGMAccount instead of direct check 2016-09-02 00:21:12 +02:00
Yehonal b86f955f8d cleaning config.sh.dist file 2016-09-02 00:21:08 +02:00
Yehonal 9466e0c21c Improved run engine and moved on separated module
+ Also added some example script to create your own
restart script
2016-09-02 00:21:02 +02:00
Yehonal 3704829d65 Re-implemented Clean logs table 2016-08-31 01:54:20 +02:00
Yehonal de714fdae7 moved GetDatabaseName under public to be used on API 2016-08-31 01:08:53 +02:00
Yehonal 1fb45c44ac Restored db logging function 2016-08-31 01:08:47 +02:00
Yehonal 12d3aeacbd Removed absolute path from some script loaders 2016-08-31 01:08:38 +02:00
mik1893 e113eeec5d Core/Unit: correctly retrieve faction id for race when original is requested 2016-08-31 01:04:07 +02:00
Shin 00d04e94a7 Update README.md 2016-08-30 16:29:55 +02:00
Yehonal 273ffb5d0c [DB] Importing pending sql 2016-08-30 15:42:18 +02:00
Yehonal 88b1881d22 [BASH/DB] Fixed importing script with revisioned sql 2016-08-30 15:41:59 +02:00
Yehonal 925defe406 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-08-30 15:28:01 +02:00
Yehonal c556918797 Merge pull request #118 from DantestyleXD/patch-3
[DB/Quest] Fix for quests 10990 10991 10992 #114
2016-08-30 15:27:06 +02:00
Yehonal e4af303adf Update .travis.yml 2016-08-30 15:22:37 +02:00
ShinDarth 23ba43f8dc Misc: fix copyright from wrong search&replace 2016-08-30 15:16:37 +02:00
ShinDarth 2cf163434c Merge remote-tracking branch 'upstream/master' 2016-08-30 15:13:26 +02:00
ShinDarth 736b92d9a7 Misc: fix copyright from wrong search&replace 2016-08-30 15:13:08 +02:00
Yehonal 2cf4e06e01 [BASH] separated -wipe from -ls for run engine 2016-08-30 13:10:34 +02:00
Ennio Visconti 6c4b7dc3ef Fixed small typo for Travis 2016-08-30 11:32:59 +02:00
Ennio Visconti 38429f3f20 Update to support Travis (now based on azerothcore changes wrt TC) 2016-08-30 11:29:53 +02:00
Polaretto d9640b8e81 Added ACE library to Travis 2016-08-30 10:50:14 +02:00
Polaretto c8051d65ed Travis build fix 2016-08-30 10:44:54 +02:00
Polaretto 22964a20f4 Update .travis.yml 2016-08-30 10:44:19 +02:00
Polaretto b695ab30dc Updated Travis config to latest TC dependencies. 2016-08-30 10:41:17 +02:00
Polaretto 3e4fa841f6 Updated Readme with Travis CI badge. 2016-08-30 10:33:03 +02:00
Yehonal cb375d00ad [BASH] Removed _timed_ files for custom sql
use updates instead.
2016-08-30 02:02:08 +02:00
Yehonal 8376e13e09 fixed wrong sql header 2016-08-30 01:36:10 +02:00
Yehonal 5fd543e1f5 Fixed db_assembler DB path variable expanding
+ code indentation
2016-08-30 01:26:13 +02:00
Yehonal 453338a1dd [BASH] fix run-engine issue with destroyed screen sessions 2016-08-29 13:39:53 +02:00
Yehonal cf87d71765 [Bash] Fixed previous scripts permissions and minor mistake 2016-08-29 12:23:52 +02:00
DantestyleXD 402081def2 [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.3 2016-08-29 09:52:43 +02:00
DantestyleXD a56d46adf6 [DB/Quest] There Exists No Honor Among Birds rev. 4 2016-08-29 09:51:19 +02:00
Yehonal b03b420813 fixed import.sh and implemented new optional workflow for pendings sql
Now devs can create sql for their pull requests that will be
automatically imported and _decorated_ by a protection system
and avoid to multiple import same queries
2016-08-29 09:49:45 +02:00
Yehonal 84fc38fb29 Improved db_assembler with multiple options
- Create ALL
- Create only bases/updates/customs
- Clean registry
2016-08-29 09:46:55 +02:00
talamortis 2407208eb6 Update Pit of Saron (#78) 2016-08-29 09:37:47 +02:00
ShinDarth 0f30731133 Core/World: improved GetGlobalPlayer* methods 2016-08-29 00:15:37 +02:00
ShinDarth 9ac33ca092 Core/ObjectMgr: improved GetPlayerGUIDByName method + misc 2016-08-28 23:09:53 +02:00
ShinDarth e2a00f9ae4 Script/Commands: correction of https://github.com/azerothcore/azerothcore-wotlk/commit/1b1767e9f4c20d1e20541968de98d00814f63247#diff-de077c84577b8885f0df1d20707bbb38L243 2016-08-28 01:19:54 +02:00
DantestyleXD c241fd8f9f typo 2016-08-27 21:59:28 +02:00
DantestyleXD d4aeb75a47 typo 2016-08-27 21:47:30 +02:00
DantestyleXD 9076e4a4e8 [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.2 2016-08-27 14:37:21 +02:00
DantestyleXD 36a6ab4277 [DB/Quest] Not work quest id 10990 10991 10992 #114 2016-08-27 06:03:32 +02:00
DantestyleXD a8dd1b129e [DB/Quest] There Exists No Honor Among Birds rev. 3 2016-08-27 02:53:03 +02:00
ShinDarth 865e3d0c99 Script/Commands: enhanced .lookup player command 2016-08-26 18:59:10 +02:00
ShinDarth 3d5d8a663c Scripts/PetMage: fixed a crash with DK's Gargoyle and Mirror Image 2016-08-26 18:52:51 +02:00
ShinDarth 76b59632c0 Misc: fix copyright header 2016-08-26 16:42:23 +02:00
ShinDarth edd2a0b556 Merge remote-tracking branch 'upstream/master' 2016-08-26 16:32:10 +02:00
ShinDarth 7c081ad303 Misc: cleaning 2016-08-26 16:31:57 +02:00
Yehonal c888cfb158 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-26 16:25:25 +02:00
Yehonal a6db058f90 removed templates for pending, we will find a more cleaner way for devs 2016-08-26 16:25:13 +02:00
Yehonal 0b34a24cf9 db_pending/import now use transaction to avoid db data inconsistency 2016-08-26 16:24:50 +02:00
Yehonal 41f64fb287 Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
Rival f82c3fd94c Core/Pet: Fix initial energy of DK's Ghoul (#115) 2016-08-26 16:21:56 +02:00
ShinDarth 527bbf80d5 Build: fixed some warnings
- Closes #108
2016-08-26 14:24:27 +02:00
Yehonal 1f16a068e9 db_assembler: removed lowercase substitution not compatible with osx 2016-08-26 02:38:15 +02:00
Yehonal d3a4ddaccb Fixed sql header 2016-08-26 02:05:09 +02:00
Yehonal 7cab63179e implemented pending workflow for sql and PR 2016-08-25 19:49:32 +02:00
Yehonal cb19ac25b7 minor fix for db_assembler 2016-08-25 19:48:50 +02:00
Yehonal 5b3c776f9c fixed and updated db_assembler to even support old bash v3 ( osx )
we're emulating associative array
2016-08-25 19:06:51 +02:00
Yehonal b211edb6c0 Better names for sql folders + added custom and pending 2016-08-25 15:33:11 +02:00
ShinDarth cf9322ab4d Core/Commands: enable .gm ingame command + misc cleaning 2016-08-24 17:06:14 +02:00
Yehonal 68079ef595 fixed sql 2016-08-24 15:33:54 +02:00
MadAgos 1df1977c23 [SQL/Creature] fix movement type Fizzle Darkstorm and Burning Blade Fanatic 2016-08-24 15:31:06 +02:00
mik1893 425a80b2a2 Core/Spells: fix greater blessings selection issues (pet class on player class) 2016-08-24 15:29:11 +02:00
mik1893 73b8f5b45f Core/Spells: fix removal of Disarm (scorpid sting) cooldown with Readiness 2016-08-24 15:29:02 +02:00
mik1893 f23858188f Core/Instance: Shared normal/heroic ID is now a configurable feature (default: deactivated) 2016-08-24 15:27:32 +02:00
mik1893 1cb7c81a78 Core/Scripts: add new hook OnPlayerAddToBattleground 2016-08-24 15:16:25 +02:00
mik1893 f4382e25c0 Core/Unit: enable setting and retrieval of a temporary race for players 2016-08-24 15:16:06 +02:00
Yehonal fb2ac1a6a7 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-24 15:12:08 +02:00
Yehonal f424335767 removed -Wpointer-bool-conversion parameter from clang
Not compatible with clang-3.4 on ubuntu 14.04
2016-08-24 15:07:40 +02:00
Shin e2bbd783e8 Update README.md 2016-08-24 14:44:02 +02:00
Yehonal f5e5576a16 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-24 14:28:46 +02:00
mik1893 62c73fd6ef Will of Forsaken + Trinket PVP correct faction check 2016-08-24 14:27:39 +02:00
mik1893 b689b7f1e1 Core/Player: Implement original race variable at unit level and initialize it (for future customizations) 2016-08-24 14:27:10 +02:00
Shin b6c3bb5688 Update README.md 2016-08-24 14:05:09 +02:00
Shin 190533957a Update README.md 2016-08-24 14:03:32 +02:00
Yehonal c4f49d6ab3 fix for sql headers 2016-08-24 12:55:35 +02:00
Yehonal 3b7c4a0196 renamed wrong sql 2016-08-24 12:55:32 +02:00
Yehonal a43af57806 Avoid reset loop on boss nalorakk 2016-08-24 11:33:23 +02:00
mik1893 6f933d1385 Core/Pet: correct pet loading - summoning 2016-08-24 10:52:11 +02:00
ShinDarth d538b86a47 Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)
- Closes #111
2016-08-24 01:14:28 +02:00
DantestyleXD 3eda856b65 [DB/Quest] There Exists No Honor Among Birds rev.2 2016-08-23 23:37:03 +02:00
DantestyleXD 810fc947c4 [DB/Quest] There Exists No Honor Among Birds rev.1 2016-08-23 23:34:45 +02:00
DantestyleXD ad06d26b28 [DB/Quest] There Exists No Honor Among Birds 2016-08-23 23:31:24 +02:00
Yehonal 17061cbbb4 improved run engine 2016-08-23 19:09:01 +02:00
Yehonal 20623d9b5d Fix sql header 2016-08-23 14:41:23 +02:00
Yehonal a04f5a0798 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-23 14:23:53 +02:00
Yehonal 5fa9ed6f28 Compilation fix 2016-08-23 14:23:45 +02:00
Yehonal 85b8aa7ce8 Project restructuring [PART.3] 2016-08-23 13:30:41 +02:00
Yehonal 0355064321 Project restructuring [PART.2] 2016-08-23 12:11:46 +02:00
ShinDarth 7117af1d70 Merge remote-tracking branch 'upstream/master' 2016-08-23 10:04:16 +02:00
ShinDarth edd5f4a192 Core/Chat: fixed crash in commands
closes #110
2016-08-23 10:02:41 +02:00
DantestyleXD bf1a1b5cec Core/DB - Keeping the Enemy at Bay
Closes #93
2016-08-22 22:00:00 +02:00
Yehonal 54bd100573 Project restructuring conforming to the new software layers [PART.1] 2016-08-22 12:47:57 +02:00
Yehonal 24062354c1 Update issue_template.md 2016-08-22 10:54:19 +02:00
Yehonal edc3df8e05 Update issue_template.md 2016-08-22 10:54:07 +02:00
ShinDarth b6d2c9b226 Core/Chat: fixed some commands
This fixes all those commands that can take in input both a param and a subcommand, e.g.: .learn, .tele, etc...
2016-08-22 01:40:58 +02:00
ShinDarth d641365b3b Script/Commands: fix all command permissions 2016-08-21 20:50:02 +02:00
Yehonal 1e5af6d3be Core/Chat: fixed commands 2016-08-21 13:51:20 +02:00
Yehonal d66d24d597 Fix commands and starting to use nullptr instead of NULL 2016-08-21 13:24:30 +02:00
ShinDarth 744e05d872 Revert "fixed crash on command execution"
This reverts commit d6133057ca.
2016-08-21 12:58:14 +02:00
Yehonal 0ba91d7c3e Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-20 14:28:41 +02:00
Yehonal 15fe825617 Missing folders 2016-08-20 14:25:07 +02:00
ShinDarth cbaafa9be5 Core/Console: rename console 2016-08-20 12:14:14 +02:00
Yehonal 1c9eb7e52f change default bash compiler to clang 2016-08-20 09:49:55 +02:00
Yehonal 1b1767e9f4 Fix commands and starting to use nullptr instead of NULL 2016-08-20 09:49:37 +02:00
ShinDarth d7fdf7c940 Build/Clang: restore build on Mac OS X 2016-08-20 03:34:14 +02:00
Yehonal ad77560bcb Fixed some warnings 2016-08-20 03:04:04 +02:00
Yehonal d6133057ca fixed crash on command execution
seems that clang is now compilable and playable on linux too \o/
2016-08-20 02:04:18 +02:00
Yehonal 937b5dab09 fixed compilation of latest commands rewrite work 2016-08-20 02:03:03 +02:00
Yehonal b142328539 removing ACE int types, replaced with c++11 2016-08-20 02:02:22 +02:00
Yehonal ee0ead5e4f Merge branch 'threading_rewrite' of https://github.com/ShinDarth/azerothcore-wotlk into threading_rewrite 2016-08-19 23:54:55 +02:00
Yehonal 8ee36c5f64 Merge branch 'master' into threading_rewrite 2016-08-19 23:43:02 +02:00
Yehonal 155a232459 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-19 23:33:12 +02:00
Yehonal 6eaa77591d Fixed compilation without PCH enabled
please avoid to miss header files in your sources
2016-08-19 23:33:02 +02:00
Yehonal 469502581d Fixed compilation without PCH enabled
please avoid to miss header files in your sources
2016-08-19 23:32:46 +02:00
ShinDarth 0aba3ae267 Corrected more copyrights 2016-08-19 23:24:44 +02:00
ShinDarth cb30a6b404 Update chat system, based on TrinityCore commit 2016-08-19 20:26:58 +02:00
ShinDarth 55c47f8a35 Merge remote-tracking branch 'upstream/master' into threading_rewrite 2016-08-19 12:15:22 +02:00
ShinDarth cdda5249bd CMake/Clang: fix build type variable 2016-08-19 12:14:50 +02:00
Yehonal 54ad9aa30d Merge branch 'master' into threading_rewrite 2016-08-19 11:08:52 +02:00
Yehonal ea286f7332 Rewritten Threading system using c++11 std instead of ACE
It also allow full compilation with clang under all supported platforms

Need tests
2016-08-19 10:58:37 +02:00
Yehonal d8de9c9296 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-19 10:11:28 +02:00
Yehonal c36b4f384f removed CC compiler from conf 2016-08-19 09:30:55 +02:00
Yehonal ab17309f83 fixed uwd/joiner installation 2016-08-19 09:30:28 +02:00
Yehonal aa6cb73d21 upgraded gsoap to 2.8.33
it fix some errors on unix clang
2016-08-19 09:30:09 +02:00
Yehonal e1c87e7510 Some minor changes 2016-08-19 09:29:26 +02:00
Shin 3761e9d843 Update README.md 2016-08-17 20:43:53 +02:00
ShinDarth da7a7ab295 Fix License issue, closes #21 2016-08-17 17:58:45 +02:00
ShinDarth a5426f28fe Added LICENSE file 2016-08-17 11:07:18 +02:00
Yehonal 422f60460e Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-17 10:15:37 +02:00
Yehonal d28a81198d Enabled c99 support for C files 2016-08-17 10:15:20 +02:00
ShinDarth 5fe8821567 Build/Clang: fixed 2 warnings 2016-08-17 10:15:09 +02:00
ShinDarth 0c554291b5 Build/Clang: suppress useless warnings 2016-08-17 10:14:42 +02:00
ShinDarth cd250f3fec Some corrections to previous commits 2016-08-17 10:14:13 +02:00
Yehonal a6d4db8910 Crosscompiling solution for isfinite & isnan 2016-08-17 10:00:46 +02:00
Yehonal 97cbf9adf6 Fix compilation of cs_debug script with clang 2016-08-17 09:43:45 +02:00
Yehonal 0d31040fbd [CMAKE] More compatible definitions 2016-08-17 09:43:34 +02:00
Yehonal 159c9187f0 [BASH] Now scripts will use default language 2016-08-17 09:43:23 +02:00
Yehonal 62e730f2fd fixed bash hook functions 2016-08-17 09:42:41 +02:00
ShinDarth 50f51c8d94 CMake/Clang: suppress several warnings 2016-08-17 01:02:37 +02:00
ShinDarth 518117e942 CMake: fix Clang detection 2016-08-17 01:00:56 +02:00
ShinDarth 9cd4cf08c6 Scripts/Northrend: corrected code logic, fixing a bunch of warnings 2016-08-17 00:15:26 +02:00
ShinDarth 24ae2150aa Build/Clang: removed deprecated finite() fixing 59 warnings 2016-08-16 23:45:53 +02:00
ShinDarth a4589f71d5 Build/Clang: fixed 96 warnings + improved code readability 2016-08-16 23:21:38 +02:00
ShinDarth 9802678689 Core/Arena: fix arena points rate config + code indentation 2016-08-16 18:50:59 +02:00
Rival eb992ee108 Core/Arena: Create more arena configs (#97) 2016-08-16 18:31:46 +02:00
Rival 3cae546532 Core/Misc: Adding localization DBC. (#95) 2016-08-15 20:26:45 +02:00
ShinDarth eddebedb2d Core/Channels: allow to disable ownership of channels 2016-08-15 14:27:13 +02:00
ShinDarth f81ec2bee4 Fix build 2016-08-15 13:28:53 +02:00
Rival cdc96a7269 Core/Spells: Fix Corpse Explosion picking ghoul as a target without selection. (#83) 2016-08-15 00:16:58 +02:00
Rival 7760bf753c Fix Cmake revision. (#91)
Closes #90
2016-08-14 22:20:27 +02:00
ShinDarth 146f147676 Misc: fix SQL updates + move some lines of code 2016-08-14 20:23:39 +02:00
Luth31 47dfb6c526 Core/Commands: Add missing message for .ticket complete (#79)
Do not allow the completion of a ticket with or without response if the handler isn't the assignee
Let players know when their ticket has been closed or they received a response.
2016-08-14 19:45:13 +02:00
Rival e2daeebd98 Fix warning on Windows. (#89) 2016-08-14 19:06:09 +02:00
Rival 293818a8f8 Core/Spells: Fix Hellscream's Warsong & Strength of Wrynn buffs. (#87) 2016-08-14 14:58:34 +02:00
Rival 90abbcd5d8 Core/Custom: Fix Dream Vision & Eye of Kilrogg aggro and visibility. (#85)
* Core/Custom: Fix Dream Vision & Eye of Kilrogg aggro and visibility.

* Fix tabs.

Thanks @ShinDarth.
2016-08-14 14:58:21 +02:00
Shin b9a62d3274 Merge pull request #81 from DevRival/patch-1
Core/Player: Fixed Weapon Skillup on low level mobs
2016-08-14 13:55:57 +02:00
ShinDarth bf86ab6224 Merge remote-tracking branch 'upstream/master' 2016-08-14 13:35:54 +02:00
Yehonal 4bacaa8da7 Bin/DB-Assembler: fix bash 2016-08-14 13:35:41 +02:00
Yehonal 27f5578f16 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-14 12:59:14 +02:00
Yehonal f178841a3a wrong db exported 2016-08-14 12:58:39 +02:00
Shin 6bde1b7297 Update README.md 2016-08-14 12:50:18 +02:00
ShinDarth 338318e262 DB/Characters: fix code indentation 2016-08-14 12:34:03 +02:00
ShinDarth 8b02090c0e Merge remote-tracking branch 'upstream/master' 2016-08-14 12:32:01 +02:00
ShinDarth f6b759adce DB/Characters: fix base dumps 2016-08-14 12:31:40 +02:00
Shin 48e522aa47 Merge pull request #80 from Luth31/dev-2
Core/Misc: Fix instant logout config
2016-08-14 11:33:29 +02:00
Rival 9f6ff6bb7c Core/Player: Fixed Weapon Skillup on low level mobs 2016-08-14 10:27:53 +03:00
ShinDarth 42e5f13101 Bin/Defines fix error in Mac OS X 2016-08-14 09:08:45 +02:00
Yehonal fc05c82f65 base db is now splitted in multiple sql
you can use db_assembler crossplatform tool from our repository

to assemble it in a single sql file
2016-08-14 06:49:03 +02:00
Yehonal 30621e6237 Move sql updates under archive 2016-08-14 06:45:10 +02:00
Luth31 2057e08ef3 Core/Misc: Fix instant logout config 2016-08-13 23:51:52 +03:00
Yehonal acfdd2d3fa Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-13 20:32:41 +02:00
Yehonal 3da352a076 implemented db_exporter 2016-08-13 20:32:23 +02:00
Yehonal ff6201921c created hw-core bash libraries
will be traited as a git subtree
2016-08-13 20:32:21 +02:00
Yehonal 86fc3b01f4 minor updates to mysql-tools 2016-08-13 20:32:17 +02:00
Yehonal f6221a400e Merge commit 'ce7b05ccae4549ca6e1ae2de1d3e36a8b3b82690' as 'modules/uwd/mysql-tools' 2016-08-13 20:31:44 +02:00
Yehonal ce7b05ccae Squashed 'modules/uwd/mysql-tools/' content from commit d76f949
git-subtree-dir: modules/uwd/mysql-tools
git-subtree-split: d76f949e480d06fd4b33dd58249e8419238e9ca9
2016-08-13 20:31:44 +02:00
Yehonal a8fc7068d4 removed useless redefinition from db_assembler 2016-08-13 20:26:39 +02:00
ShinDarth b2964505c4 Core/Worldstates: move WS_ARENA_DISTRIBUTION_TIME declaration 2016-08-13 16:28:24 +02:00
ShinDarth 6831d33448 Merge remote-tracking branch 'upstream/master' 2016-08-13 14:43:27 +02:00
ShinDarth 81aebe1515 Core/Player: added API for duel reset of health/mana 2016-08-13 14:43:14 +02:00
Yehonal d31964f052 Update issue_template.md 2016-08-13 12:46:36 +02:00
ShinDarth 5357c8ce19 Core/CMake: show branch name in server info 2016-08-12 12:01:46 +02:00
ShinDarth 1dc2d2be04 DB/World: fix world_db_version 2016-08-12 11:53:58 +02:00
Shin 97e198a88e Merge pull request #27 from ShinDarth/db-characters
DB/Characters: update DB structure
2016-08-12 11:50:19 +02:00
ShinDarth e9089ed793 DB/Characters: update DB structure 2016-08-12 11:49:04 +02:00
Yehonal c9610ca0b5 removed wrong submodule 2016-08-12 07:47:18 +02:00
Gargarensis f23cbe2127 fix heroism/bloodlust stack based on ShinDarth previous fix on TrinityCore 2016-08-12 03:33:05 +02:00
Yehonal 7fa2d80c68 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-12 02:43:52 +02:00
Yehonal e36e801646 Added template files for github 2016-08-12 02:40:25 +02:00
Yehonal c1a76e07ff Another big repo refactoring, should be latest
I've restored old paths for scripts and flattened the src structure
2016-08-12 02:40:23 +02:00
Yehonal 3972a1da63 Continuing cmake path fixing 2016-08-12 02:40:15 +02:00
Yehonal dec72dddca Fixed paths for cmake 2016-08-12 02:38:30 +02:00
Yehonal b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Francesco Borzì 0dfd510c1d Merge pull request #55 from Luth31/master
Core/Accounts: set wotlk expansions by default
2016-08-12 00:35:30 +02:00
Luth31 a1e8106622 Script/Commands: .account create will now grant the latest enabled expansion (Set in worldserver.conf 2016-08-11 23:57:41 +03:00
Yehonal a73ad5cd6e Corrected path for ScriptWotlkLoader 2016-08-11 21:52:49 +02:00
Yehonal e1dc2f8b01 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-11 21:44:31 +02:00
Yehonal f1ab657e19 fixed an inclusion 2016-08-11 21:44:03 +02:00
Yehonal 5cbfdd2871 Update README.md 2016-08-11 21:09:56 +02:00
Yehonal 81f7d3ae7c Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-11 20:39:28 +02:00
Yehonal c5267ef078 removed unused conf 2016-08-11 20:36:58 +02:00
Yehonal c618632a70 Some cleaning 2016-08-11 20:36:42 +02:00
Yehonal 80453e215e Rewritten cmakes allowing compilation with new structure 2016-08-11 20:25:42 +02:00
Yehonal 0f85ce1c54 Big re-organization of repository [W.I.P] 2016-08-11 20:25:27 +02:00
Yehonal c62a72c0a8 removed server-stats folder
Has been uploaded on our cloud drive archive
2016-08-11 20:10:16 +02:00
Yehonal 991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00
Yehonal 4330b759b7 always set cmake $CONF_DIR and add in preprocessor defines 2016-08-11 20:09:10 +02:00
Francesco Borzì 32481d8cc9 Update README.md 2016-08-11 16:04:38 +02:00
Yehonal 34d4accb5b [CMake] impl. ADD_SCRIPTS macro for modules
and renamed old to ADD_SCRIPT_LOADER
2016-08-11 14:57:25 +02:00
Yehonal 7a1fe9b4f3 Removed various sql
Moved under our cloud drive
2016-08-11 14:38:25 +02:00
Yehonal 6bc25d029d Removed extras folders
its content has been moved in dedicated
repositories / cloud drives
2016-08-11 13:37:44 +02:00
ShinDarth a183ab1646 Merge remote-tracking branch 'upstream/master' 2016-08-11 12:21:11 +02:00
ShinDarth 269b2b726d Add missing world_db_version table update 2016-08-11 12:06:27 +02:00
Yehonal eda5f7bac4 Merge pull request #52 from Luth31/master
Fix CMake on Windows
2016-08-11 00:01:20 +02:00
Luth31 a2c8a0a24e Fix CMake on Windows 2016-08-11 00:03:15 +03:00
ShinDarth 2ba9f6f17b Script/Commands: imported .instance get/setbossstate commands from TrinityCore 2016-08-10 20:00:40 +02:00
ShinDarth f2dfe2b8e3 Core/Strings: imported 157 LANG_* strings from TrinityCore 2016-08-10 19:17:26 +02:00
ShinDarth 9919649b0c Core/CMake: update revision display format 2016-08-10 18:41:36 +02:00
Yehonal 8c8f8f5577 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git 2016-08-10 12:41:06 +02:00
Yehonal fc8599299e [CORE] Allowing compilation with c++11 2016-08-10 12:39:53 +02:00
ShinDarth b024b64bd4 Merge remote-tracking branch 'upstream/master' 2016-08-09 16:22:33 +02:00
ShinDarth 4a73a00b9e Script/Commands: show revision in .server info
- Closes #49
2016-08-09 16:21:18 +02:00
Francesco Borzì fbddac64c8 Merge pull request #51 from Helias/patch-1
Core/build: fixed build on Linux
2016-08-09 16:17:13 +02:00
Stefano Borzì 5c815d3083 Core/build: fixed build on Linux
Fixed an error about nullptr on cs_ticket.cpp
2016-08-09 16:14:13 +02:00
ShinDarth 7e14d05f71 CMake: fixed git informations 2016-08-09 16:09:37 +02:00
ShinDarth 4338156745 Script/Commands: enhance .ticket complete command 2016-08-09 13:38:56 +02:00
Francesco Borzì b1f08b6910 Merge pull request #48 from ShinDarth/db-dump
DB/dumps: update base files
2016-08-08 21:35:51 +02:00
ShinDarth c5108fc680 DB/dumps: update base files 2016-08-08 19:16:06 +02:00
Yehonal 6f7a046575 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git into gh-master 2016-08-08 13:01:22 +02:00
Yehonal e54bfb31e4 Import pvpstats sql and fix previous updates with ALTER TABLE
Please test
2016-08-08 13:00:17 +02:00
Yehonal ce20864257 Merge pull request #43 from ShinDarth/git
Fixed Mac OS X build and minor changes to worldconf
2016-08-08 12:26:27 +02:00
Yehonal 83c9046ae3 Fixed compilation 2016-08-08 12:12:33 +02:00
Yehonal 28d7f59b32 Impl usefull functions 2016-08-08 11:51:59 +02:00
Yehonal 7a592e28e3 Fix for hardcoded commands security level 2016-08-08 11:51:42 +02:00
Yehonal 2ee9fb4eb3 Get Team Id by group Leader instead of random player 2016-08-08 11:51:02 +02:00
Yehonal 9cf50f7c87 Fix for DK pet , Thanks to Mik & Harlock 2016-08-08 11:50:38 +02:00
Yehonal 052fc7e1ae Removed useless configurations 2016-08-08 11:49:59 +02:00
Yehonal 4578edcc2f Minor changes for HandleBattleFieldPortOpcode 2016-08-08 11:49:33 +02:00
Yehonal e896daee11 Gossip script for items 2016-08-08 11:47:41 +02:00
Yehonal 8586373c9b Ensuring original team for this check 2016-08-08 11:47:03 +02:00
Yehonal 2636b90869 Improved ScriptMgr with more hooks 2016-08-08 11:46:34 +02:00
Yehonal 9d3f4767c0 Moved GetSkill in ItemPrototype 2016-08-08 11:44:22 +02:00
Yehonal 5517b99d06 Missing query for PVPSTATS 2016-08-08 11:39:57 +02:00
Yehonal 7d0943abe1 Missing code for XP Battlegrounds 2016-08-08 11:28:55 +02:00
Yehonal e358c0bb74 [CORE] Imported PVP stats , special thanks to Mik & Shin 2016-08-08 11:23:30 +02:00
Yehonal 895558c85c [CORE] Arena points rate , thanks to Mik1983 for import 2016-08-08 11:15:20 +02:00
ShinDarth a7a81f90b1 Merge branch 'master' into git 2016-08-07 14:55:21 +02:00
Gargarensis 1fcfb9af5a i forgot something 2016-08-07 13:03:52 +02:00
Yehonal 47c2b72123 Merging 2016-08-07 12:47:10 +02:00
Yehonal 16083b7115 [BASH] improved db assembler with more effective md5 check 2016-08-07 12:42:06 +02:00
Yehonal 2b5605da5c [CORE] force reloading of logs configurations at start
allowing sScriptMgr to change logs confs
2016-08-07 12:41:22 +02:00
mik1893 be9627d0d0 Core/Spells: Fix Spirit Heal (battleground), abilities with rage/energy should also have no cost 2016-08-07 12:38:10 +02:00
Yehonal 10699894e8 Fix Gargoyle dk being feared/confused properly 2016-08-07 12:37:54 +02:00
mik1893 88700a7c8c Some faction fixes 2016-08-07 12:36:00 +02:00
mik1893 a6a771a6e0 Toc5 - Fix also heroic factions 2016-08-07 12:35:33 +02:00
mik1893 3679de3710 Core/Unit: fix the 1/10000 chance to miss with 100% chance 2016-08-07 12:35:17 +02:00
mik1893 2aa3a463f0 Fix instance binding 2016-08-07 12:34:47 +02:00
mik1893 160da9450b Fix Zul Aman 2016-08-07 12:34:08 +02:00
mik1893 c08a5d5499 DB/Spell: Fix spell area issue with spell WGA Phase 2016-08-07 12:33:24 +02:00
Yehonal 7247f2a5ee [CORE] guild safety check only when two side guild interaction is disabled 2016-08-07 12:33:05 +02:00
mik1893 6773cd3128 Core/Spells: Fix Chain Heal 2016-08-07 12:32:36 +02:00
mik1893 5b51a76848 Core/ToC5: Fix faction issues on champion bosses 2016-08-07 12:31:40 +02:00
mik1893 a76afc6fdb Core/Spells: Judgements do not require facing 2016-08-07 12:31:23 +02:00
Yehonal 9bee4e2885 [DB] fix for wrong update file 2016-08-07 12:31:06 +02:00
mik1893 d9e4622e1a Core/Pet: Casting pet spells on enemies at a distance - now the pet goes at casting distance and does the cast 2016-08-07 12:30:23 +02:00
Yehonal 0ca7526822 Core/Spells: DK Dancing Rune weapon diseases now count towards Heart Strike bonus damage 2016-08-07 12:30:02 +02:00
Yehonal 5b824569a9 [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-08-07 12:28:17 +02:00
Yehonal e5f8ecd7ec [BASH] allow additional custom config for cmake 2016-08-07 12:26:30 +02:00
mik1893 cb34241544 Fix issue in db query 2016-08-07 12:26:18 +02:00
mik1893 5e97846bbf Fix Compile 2016-08-07 12:26:07 +02:00
Yehonal 444012104b Core/Tickets: Ticket System updated 2016-08-07 12:25:59 +02:00
Yehonal 2ca258e179 [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-08-07 12:24:19 +02:00
Yehonal 648163a2e0 Fixed .gitignore to support modules inclusion 2016-08-07 12:24:00 +02:00
Yehonal 4a3afdb448 loading modules for bash system 2016-08-07 12:23:48 +02:00
Yehonal a3a6488f51 [DB] implemented automatic version retrieving 2016-08-07 12:23:39 +02:00
Yehonal 5d5718905a fixed db_assembler script 2016-08-07 12:23:11 +02:00
Yehonal 41d763fd19 [DB] Renamed databases -> base 2016-08-07 12:23:03 +02:00
Yehonal 8c3067a039 [DB] moved full databases in folder
to support splitted sql files soon
2016-08-07 12:22:47 +02:00
Yehonal ca53686579 ignoring conf for db_assembler 2016-08-07 12:22:36 +02:00
Yehonal a549500b01 fix buildpath in compilation script 2016-08-07 12:22:03 +02:00
Yehonal 1aef789c85 [Core/Cmake] Scripts are now added dynamically
You can now add your scripts using cmake inside your module
instead patch core cpp files
2016-08-07 12:21:52 +02:00
mik1893 e72b8ac1cc Core/Wintergrasp: Fix Wintergrasp tenacity 2016-08-07 12:20:10 +02:00
mik1893 5d3a91576e Core/Battleground: Fix reputation assignment in case of switched team 2016-08-07 12:19:57 +02:00
Yehonal 69aa0b47b8 Core/Player: Check original faction in case of quest-reputations-items 2016-08-07 12:16:05 +02:00
Yehonal 2c6264915e fixed cmake and compilation 2016-08-07 12:11:23 +02:00
Yehonal 765fad6133 some fixes to bash config files 2016-08-07 12:10:51 +02:00
mik1893 4da34f630f Core/Pet: Gargoyle now attacks Ghoul target, thx Harlock 2016-08-07 12:10:22 +02:00
Yehonal 42ad4da954 starting bash rewriting job [WIP] 2016-08-07 12:10:05 +02:00
Yehonal 548d0db9d5 skip inclusion of modules without CMakeLists
+ added hook for after load conf
2016-08-07 12:09:56 +02:00
Yehonal 4c47ac3d9b updated docs with latest revision 2016-08-07 12:09:40 +02:00
Yehonal b0bc413af7 created install script
It works on all platform that supports basic bash

( windows, linux, osx etc )
2016-08-07 12:08:56 +02:00
Gargarensis 3917cf0965 fix loot for mindless servant 2016-08-07 12:08:41 +02:00
mik1893 5f04d03f75 Allow rewarding kills from same ip address 2016-08-07 12:08:23 +02:00
Yehonal e978ec306b [CMAKE] Hooks for after binaries cmakes 2016-08-07 12:07:54 +02:00
Yehonal 479176d328 [CORE] Impl. GetTeamId parameter to get original team 2016-08-07 12:06:34 +02:00
Yehonal d1b8eea42f configuration system for cmake
- moved cmake options under conf
and created default/custom configuration system for cmake
2016-08-07 12:02:55 +02:00
Yehonal b91b679669 Fix import BG rate exp 2016-08-07 12:00:52 +02:00
Yehonal 2fc723e92c [Core] Fix compile when include InstanceSaveMgr 2016-08-07 11:48:55 +02:00
ShinDarth b96f058c17 Fix clang build 2016-08-06 19:26:03 +02:00
ShinDarth 16baf121f1 Replace some labels 2016-08-06 19:15:55 +02:00
ShinDarth d252bbc586 Fix DB-assembler on Mac OS X 2016-08-06 18:59:25 +02:00
Yehonal df78f91e0c Merge pull request #32 from ShinDarth/welcome-text
Core/Misc improved welcome message
2016-07-25 16:34:56 +02:00
Yehonal e69d1b96af Merge pull request #30 from ShinDarth/misc
Misc improvements
2016-07-25 16:32:08 +02:00
Bodeguero d16d8fde70 Core/Misc improved welcome message 2016-07-24 17:03:47 +02:00
ShinDarth 68e0035ad9 Added VS Code system file to the .gitignore 2016-07-24 16:59:46 +02:00
ShinDarth 59d3a438f5 Credits to SunwellCore, TrinityCore and MaNGOS authors 2016-07-24 16:14:13 +02:00
ShinDarth b618b6a56f Added AzerothCore labels 2016-07-24 15:55:38 +02:00
Yehonal 033924d8b4 Merge pull request #19 from Bodeguero/System_Travis_CI
Core/Fixes: Added System Travis CI.
2016-07-20 18:11:55 +02:00
Yehonal d05abc374e Merge pull request #20 from ShinDarth/patch-1
Added basic README information
2016-07-20 18:11:28 +02:00
Francesco Borzì e371c757de Added basic README information 2016-07-20 17:29:33 +02:00
Bodeguero 80bc3daae2 Core/Fixes: Added System Travis CI.
PS: Look Integration: https://docs.travis-ci.com/user/getting-started/
2016-07-20 10:52:17 -04:00
mik1893 eec8b797e0 [Core/Script] As the crow flies - delete horrible hack and properly fix 2016-07-14 23:02:05 +02:00
Yehonal 5aabfac4bf fixed alter table for update sql 2016-07-14 23:02:00 +02:00
Yehonal 2b960b42d0 Merge pull request #8 from lellonicole/quest_addingInjuryToInsult
[Db/Quest] Adding injury to insult, fix mob speed run
2016-07-14 09:07:33 +02:00
Yehonal 6dcb9a9285 Merge pull request #10 from lellonicole/Kelthuzad_mainGate
[Core/Script] Kelthuzad, add door open/close on combat state change
2016-07-14 09:07:29 +02:00
Yehonal c71e63d75d Merge pull request #11 from lellonicole/CastSpellOnPlayer_pvpZone
[Core/Mechanics] Player, add support to gameobject to cast spell on p…
2016-07-14 09:07:26 +02:00
Yehonal 0d275e8e38 Merge pull request #7 from lellonicole/gunship_mage
[Core/Script] Gunship battle, fix evade for battlemage & [Core/script] Quest, fix complete quest and remove morph on movementSpline complete
2016-07-12 10:39:42 +02:00
lellonicole d8be5aaa0e Correct tab4space to naxxramas.h 2016-07-12 09:33:42 +02:00
lello 3323fc00c6 [Core/Mechanics] Player, add support to gameobject to cast spell on player in Pv…
…p zone. Also fix quest 9422/9419
2016-07-12 01:40:48 +02:00
lello 56f28b2f0d [Core/Script] Kelthuzad, add door open/close on combat state change 2016-07-12 01:31:34 +02:00
lello 2886a9a0f5 [DB/Quest] Fix speed_run creature 2016-07-12 01:16:55 +02:00
lello 9220456edb [Core/Script] Gunship battle, fix evade battle mage 2016-07-12 00:48:18 +02:00
lello e010dbf3fa [Core/Script] As the crow flies, fix quest complete and remove morph at movement complete 2016-07-11 23:38:26 +02:00
Yehonal b1e9ba9994 Merge pull request #5 from lellonicole/master
[DB/Creature] Midsummer fire festival, fix some bugs to gobject/creature
2016-07-11 23:26:00 +02:00
lello ad3d901931 [DB/Creature] Midsummer fire festival, fix some bugs to gobject/creature 2016-07-11 15:30:30 +02:00
Yehonal 7ed24f48bc Rename README to README.md 2016-07-10 19:59:52 +02:00
Yehonal bb43022497 Create README 2016-07-10 19:59:04 +02:00
Yehonal f54866dcf1 moved @lellonicole sql update under correct folder
adding versioning too
2016-07-10 18:28:33 +02:00
Yehonal e50d560ad6 Merge pull request #4 from lellonicole/master
[Core/Script] Gundrak, fix spawn Eck only in heroic mode
2016-07-10 18:07:24 +02:00
lello 326200c62b [DB/Quest] Torch Catching, fix quest spell id 2016-07-10 18:03:49 +02:00
lello 678429bcd5 [Core/Script] Gundrak, fix spawn Eck only in heroic mode 2016-07-10 17:38:05 +02:00
Yehonal 83fe345c6e removed useless files from various data 2016-07-10 17:17:20 +02:00
Yehonal 1e21bab2f3 updated characters db with pvpstats tables 2016-07-10 17:17:14 +02:00
Yehonal 21ea24267e updated auth with autobroadcast table 2016-07-10 17:17:02 +02:00
Yehonal 64e7daeb54 minor change on config.sh.dist 2016-07-10 17:16:57 +02:00
mik1893 74507831e0 Force CMAKE to check for MYSQL libraries - do not use mysql sources 2016-07-10 17:16:36 +02:00
mik1893 e1ddffb2ed Fix compile VS2015 2016-07-10 17:16:30 +02:00
Yehonal ac2d30abe1 reorganized sql 2016-07-10 17:15:46 +02:00
Yehonal 97c3f36d2b implemented first version of db_assembler script 2016-07-10 17:14:52 +02:00
Yehonal 6028585ea0 added 2 cmake hooks for game library 2016-07-10 17:14:22 +02:00
Yehonal 3c517a2b0e compilation fixed 2016-07-10 17:14:06 +02:00
lello c1db268e67 [Core/Boss] Oculus/Orum, fix spawn mob position 2016-07-10 17:13:27 +02:00
Yehonal a816d11f74 ignoring bash compiler configuration 2016-07-10 17:12:50 +02:00
Yehonal c170910cc2 fixed path inclusion 2016-07-10 17:12:36 +02:00
Yehonal 03cc9e5a18 removed deprecated defines 2016-07-10 17:12:17 +02:00
Yehonal 0a376a3e20 improved cmake hook system 2016-07-10 17:12:10 +02:00
Yehonal cd61ed610a Implemented dynamic module loading and hooks system for cmake 2016-07-10 17:11:51 +02:00
Yehonal 9e19774c45 ignoring IDE & other softwares specific files 2016-07-10 17:11:44 +02:00
Yehonal ac7ed64dd2 added github wiki repo ( submodule ) as doc folder 2016-07-10 17:11:37 +02:00
Yehonal 9fd22872c0 restructured repository based on following standards:
https://github.com/HW-Core/directory-structure
2016-07-08 23:58:11 +02:00
yehonal eda1171939 readme for compiler scripts 2016-07-08 23:55:11 +02:00
yehonal aaa7a82ca0 commented security hacks 2016-07-08 23:54:59 +02:00
mik1893 b88e0fe9a8 Fix Compile Unix 2016-07-08 23:54:33 +02:00
mik1893 741bbd3109 Fix Unix/Windows Compile (timezone issue) 2016-07-08 23:54:30 +02:00
mik1893 13d8210867 Fix VS2015 Compile - Part 2 2016-07-08 23:54:26 +02:00
mik1893 f978f833b0 Fix VS2015 Compile 2016-07-08 23:54:22 +02:00
yehonal 63b5613a7a flags for compiler 2016-07-08 23:54:10 +02:00
Yehonal 3d9dd30cea Merge pull request #2 from AzerothShard-Dev/prose-patch-1
Updated README.md
2016-07-02 00:58:07 +02:00
AzerothShard-Dev d9d8dc713d Updated README.md 2016-07-02 00:57:41 +02:00
Yehonal d2102394fe Update README.md 2016-06-30 17:09:57 +02:00
Yehonal 26879bea8b Update README.md 2016-06-29 10:46:39 +02:00
Yehonal f419d54db7 Create README.md 2016-06-28 02:36:40 +02:00
yehonal 540a9d8916 uploading compiler scripts 2016-06-27 16:40:47 +02:00
yehonal bf139c3d34 Removing multi-vendor Rochet2 patch
It caused compilation errors too
2016-06-27 00:19:46 +02:00
Yehonal f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00
Yehonal 52f305111c importing changes from callmephil repo
a special thanks to him
2016-06-26 19:22:35 +02:00
Yehonal 5bb70a86be Merge branch 'master' of https://github.com/azerothcore/azerothcore.git 2016-06-26 17:50:05 +02:00
Yehonal 6bc919e7d4 fix compilation 2016-06-26 17:33:35 +02:00
mik1893 0c102b79de Fix MMAPS Generation 2016-06-26 12:51:33 +01:00
mik1893 d8b67c27cc Add GitIgnore 2016-06-26 12:51:16 +01:00
4848 changed files with 2125282 additions and 379325 deletions
+78
View File
@@ -0,0 +1,78 @@
#
# AzerothCore
#
conf/*
!conf/*.dist
modules/*
!modules/drassil/*
modules/drassil/joiner
!modules/hw-core
!modules/acore
!modules/worldengine
build*/
#
#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
.browse.VC*
.vscode
#
# Eclipse
#
*.pydevproject
.metadata
.gradle
tmp/
*.tmp
*.swp
*~.nib
local.properties
.settings/
.loadpath
.project
.cproject
# ==================
#
# CUSTOM
#
# put below your custom ignore rules
# for example , if you want to include a
# module directly in repositoryyou can do:
#
# !modules/yourmodule
#
# ==================
+3
View File
@@ -0,0 +1,3 @@
[submodule "data/doc"]
path = data/doc
url = https://github.com/azerothcore/azerothcore-wotlk.wiki.git
+36
View File
@@ -0,0 +1,36 @@
sudo: required
dist: trusty
language: cpp
compiler:
- clang
git:
depth: 1
before_install:
- sudo apt-get -qq install build-essential libtool make cmake cmake-data openssl
- sudo apt-get -qq install libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev
- sudo apt-get -qq install mysql-server
- git config user.email "travis@build.bot" && git config user.name "Travis CI"
- git tag -a -m "Travis build" init
install:
- mysql -uroot -e 'create database test_mysql;'
- cd bin
- cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=0 -DSCRIPTS=1 -DSERVERS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=check_install
- cd ..
script:
- $CXX --version
- mysql -uroot < data/sql/create/create_mysql.sql
- cat data/sql/base/db_auth/*.sql | mysql -uacore -pacore auth
- cat data/sql/base/db_characters/*.sql | mysql -uacore -pacore characters
- cat data/sql/base/db_world/*.sql | mysql -uacore -pacore world
- cat data/sql/updates/db_auth/*.sql | mysql -uacore -pacore auth
- cat data/sql/updates/db_characters/*.sql | mysql -uacore -pacore characters
- cat data/sql/updates/db_world/*.sql | mysql -uacore -pacore world
- mysql -uroot < data/sql/create/drop_mysql.sql
- cd bin
- make -j 8 -k && make install
- cd check_install/bin
+69 -22
View File
@@ -1,15 +1,15 @@
# Copyright (C)
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# Set projectname (must be done AFTER setting configurationtypes)
project(SunwellCore)
project(AzerothCore)
# CMake policies (can not be handled elsewhere)
cmake_minimum_required(VERSION 2.8)
@@ -25,20 +25,34 @@ set(CMAKE_BUILD_WITH_INSTALL_RPATH 0)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH 1)
set(AC_PATH_ROOT "${CMAKE_SOURCE_DIR}")
# set macro-directory
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/macros")
set(CMAKE_MODULE_PATH "${AC_PATH_ROOT}/modules/worldengine/nucleus/src/cmake/macros")
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
# some utils for cmake
include(modules/uwd/cmake-utils/utils.cmake)
include(src/cmake/ac_macros.cmake)
# set default buildoptions and print them
include(conf/config.cmake.dist)
# load custom configurations for cmake if exists
if(EXISTS "conf/config.cmake")
include(conf/config.cmake)
endif()
CU_RUN_HOOK("AFTER_LOAD_CONF")
# build in Release-mode by default if not explicitly set
if( NOT CMAKE_BUILD_TYPE )
set(CMAKE_BUILD_TYPE "Release")
endif()
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
# set default buildoptions and print them
include(cmake/options.cmake)
# turn off PCH totally if enabled (hidden setting, mainly for devs)
if( NOPCH )
set(USE_COREPCH 0)
@@ -49,16 +63,13 @@ include(CheckPlatform)
# basic packagesearching and setup (further support will be needed, this is a preliminary release!)
set(OPENSSL_EXPECTED_VERSION 1.0.0)
set(ACE_EXPECTED_VERSION 5.8.3)
set(ACE_EXPECTED_VERSION 6.0.3)
find_package(PCHSupport)
find_package(ACE REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(Threads REQUIRED)
if( NOT USE_MYSQL_SOURCES )
find_package(MySQL REQUIRED)
endif()
find_package(MySQL REQUIRED)
if( UNIX )
find_package(Readline)
@@ -66,18 +77,54 @@ if( UNIX )
find_package(BZip2)
endif()
#if(NOT WITHOUT_GIT)
# find_package(Git)
#endif()
if(NOT WITHOUT_GIT)
find_package(Git)
endif()
# Find revision ID and hash of the sourcetree
include(cmake/genrev.cmake)
include(src/cmake/genrev.cmake)
# print out the results before continuing
include(cmake/showoptions.cmake)
include(src/cmake/showoptions.cmake)
# add dependencies
add_subdirectory(dep)
#
# Loading framework
#
add_subdirectory(modules/worldengine/deps)
if( SERVERS OR TOOLS)
add_subdirectory(modules/worldengine/nucleus)
add_subdirectory(modules/worldengine/lib-collision)
add_subdirectory(modules/acore/game-framework)
endif()
if( TOOLS )
add_subdirectory(modules/acore/extractors)
endif()
#
# Loading dyn modules
#
# add modules and dependencies
CU_SUBDIRLIST(sub_DIRS "${CMAKE_SOURCE_DIR}/modules" FALSE FALSE)
FOREACH(subdir ${sub_DIRS})
STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" subdir_rel ${subdir})
if(EXISTS "${subdir}/CMakeLists.txt")
message("Loading module: ${subdir_rel}")
add_subdirectory("${subdir_rel}")
endif()
ENDFOREACH()
#
# Loading application sources
#
CU_RUN_HOOK("BEFORE_SRC_LOAD")
# add core sources
add_subdirectory(src)
CU_RUN_HOOK("AFTER_SRC_LOAD")
+661
View File
@@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 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/>.
+339
View File
@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
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
this service 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.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
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
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the 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 a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE 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.
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
convey 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 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+41
View File
@@ -0,0 +1,41 @@
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) AzerothCore
[![Gitter](https://badges.gitter.im/azerothcore/azerothcore.svg)](https://gitter.im/azerothcore/azerothcore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=40032087)](https://www.bountysource.com/teams/azerothcore/bounties) [![Master Build Status](https://travis-ci.org/azerothcore/azerothcore-wotlk.svg)](https://travis-ci.org/azerothcore/azerothcore-wotlk) [![Issue Stats](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk/badge/issue)](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk) [![Issue Stats](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk/badge/pr)](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk)
## Introduction
AzerothCore is an open source game-server application for World of Warcraft, currently supporting the 3.3.5a game version.
It is written in C++ and based on MaNGOS, TrinityCore and SunwellCore.
## Why AzerothCore?
Our main goal is to create a playable game server, offering a fully working game experience. In short, we focus on the **user experience (UX)**.
We also believe in [software modularity](https://en.wikipedia.org/wiki/Modular_programming), because the more the software is modular, and the more it will be easy to be maintained, understood, developed, etc... So we organized the structure of AzerothCore as modular as possible, giving the possibility to [create new modules](https://github.com/azerothcore/azerothcore-wotlk/wiki/Create-a-Module) to add custom features (instead of patching the core).
## Learning project
AzerothCore is a learning project.
If you want to learn how to use C++, SQL, git, etc... you came to the right place! We will gladly to help you: **programming is our passion**.
If you want to contribute, in [our wiki](https://github.com/azerothcore/azerothcore-wotlk/wiki) you fill find a lot of resources that will guide you. Also you can poke us in [our gitter chat channel](https://gitter.im/azerothcore/azerothcore).
## Authors & Contributors
This project is brought to you thanks to:
- The [AzerothCore developers and contributors](https://github.com/AzerothCore/azerothcore-wotlk/graphs/contributors)
- The SunwellCore developers **xinef** and **pussywizard**
- All the [TrinityCore developers and contributors](https://github.com/TrinityCore/TrinityCore/blob/3.3.5/THANKS)
- All the [MaNGOS, ScriptDev2 and UDB developers and contributors](https://github.com/cmangos/mangos-wotlk/blob/master/AUTHORS.md)
## License
- The new AzerothCore source components are released under the [GNU AGPL v3](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3)
- The old sources based on MaNGOS/TrinityCore are released under the [GNU GPL v2](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2)
## Links
- [Website](https://azerothcore.github.io/)
+7
View File
@@ -0,0 +1,7 @@
All bash script here must be compatible with following environments:
- *linux*: bash 4.x
- *windows*: git for windows 2.9.3
- *osx*
+11
View File
@@ -0,0 +1,11 @@
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
AC_PATH_ROOT=$(greadlink -f "$AC_PATH_BIN/../")
else
AC_PATH_ROOT=$(readlink -f "$AC_PATH_BIN/../")
fi
AC_PATH_CONF="$AC_PATH_ROOT/conf"
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
+31
View File
@@ -0,0 +1,31 @@
# 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"
source "$AC_PATH_SHARED/defines.sh"
source "$AC_PATH_MODULES/hw-core/bash-lib-event/src/hooks.sh"
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
if [ -f "$AC_PATH_CONF/config.sh" ]; then
source "$AC_PATH_CONF/config.sh" # should overwrite previous
fi
#
# Load modules
#
for entry in "$AC_PATH_MODULES/"*/include.sh
do
if [ -e $entry ]; then
source $entry
fi
done
+2
View File
@@ -0,0 +1,2 @@
config.sh
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 1
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 2
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 3
+24
View File
@@ -0,0 +1,24 @@
## How to compile:
first of all, if you need some custom configuration you have to copy and rename
/conf/config.sh.dist in /conf/config.sh and configure it
* for a "clean" compilation you must run all scripts in their order:
./1-clean.sh
./2-configure.sh
./3-build.sh
* if you add/rename/delete some sources and you need to compile it you have to run:
./2-configure.sh
./3-build.sh
* if you have modified code only, you just need to run
./3-build.sh
## Note:
For an optimal development process and **really faster** compilation time, is suggested to use clang instead of gcc
+44
View File
@@ -0,0 +1,44 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/includes/includes.sh"
function all() {
clean
configure
build
}
function run_option() {
if test "${comp_functions[$1-1]+'test'}"; then
${comp_functions[$1-1]}
else
echo "invalid option"
fi
}
comp_options=("Clean" "Configure" "Build" "All")
comp_functions=("clean" "configure" "build" "all")
runHooks "ON_AFTER_OPTIONS" #you can create your custom options
# push exit after custom options
comp_options+=('Exit')
comp_functions+=('exit 0')
# run option directly if specified in argument
[ ! -z $1 ] && run_option $1 && exit 0
PS3='[ Please enter your choice ]: '
select opt in "${comp_options[@]}"
do
case $opt in
'Exit')
break
;;
*)
run_option $REPLY
;;
esac
done
+14
View File
@@ -0,0 +1,14 @@
# you can choose build type from cmd argument
if [ ! -z $1 ]
then
CCTYPE=$1
CCTYPE=${CCTYPE^} # capitalize first letter if it's not yet
fi
BUILDPATH=$BINPATH
INSTALL_PATH=$(readlink -f "$BINPATH/../")
[ $CTYPE == "Debug" ] && BUILDPATH="$BUILDPATH/debug/build/" || BUILDPATH="$BUILDPATH/release/build/"
[ $CTYPE == "Debug" ] && BINPATH="$BINPATH/debug" || BINPATH="$BINPATH/release"
+57
View File
@@ -0,0 +1,57 @@
function clean() {
echo "Cleaning build files"
CWD=$(pwd)
cd $BUILDPATH
make -f Makefile clean
make clean
find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
cd $CWD
}
function configure() {
CWD=$(pwd)
cd $BUILDPATH
echo "Build path: $BUILDPATH"
echo "DEBUG info: $CDEBUG"
echo "Compilation type: $CTYPE"
# -DCMAKE_BUILD_TYPE=$CCTYPE disable optimization "slow and huge amount of ram"
# -DWITH_COREDEBUG=$CDEBUG compiled with debug information
#-DSCRIPTS_COMMANDS=$CSCRIPTS -DSCRIPTS_CUSTOM=$CSCRIPTS -DSCRIPTS_EASTERNKINGDOMS=$CSCRIPTS -DSCRIPTS_EVENTS=$CSCRIPTS -DSCRIPTS_KALIMDOR=$CSCRIPTS \
#-DSCRIPTS_NORTHREND=$CSCRIPTS -DSCRIPTS_OUTDOORPVP=$CSCRIPTS -DSCRIPTS_OUTLAND=$CSCRIPTS -DSCRIPTS_PET=$CSCRIPTS -DSCRIPTS_SPELLS=$CSCRIPTS -DSCRIPTS_WORLD=$CSCRIPTS \
#-DAC_WITH_UNIT_TEST=$CAC_UNIT_TEST -DAC_WITH_PLUGINS=$CAC_PLG \
cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH -DCONF_DIR=$CONFDIR -DSERVERS=$CSERVERS \
-DSCRIPTS=$CSCRIPTS \
-DTOOLS=$CTOOLS -DUSE_SCRIPTPCH=$CSCRIPTPCH -DUSE_COREPCH=$CCOREPCH -DWITH_COREDEBUG=$CDEBUG -DCMAKE_BUILD_TYPE=$CTYPE -DWITH_WARNINGS=$CWARNINGS \
-DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX $CCUSTOMOPTIONS
cd $CWD
runHooks "ON_AFTER_CONFIG"
}
function build() {
[ $MTHREADS == 0 ] && MTHREADS=`grep -c ^processor /proc/cpuinfo` && MTHREADS=$(($MTHREADS + 2))
echo "Using $MTHREADS threads"
CWD=$(pwd)
cd $BUILDPATH
time make -j $MTHREADS
make -j $MTHREADS install
cd $CWD
runHooks "ON_AFTER_BUILD"
}
+24
View File
@@ -0,0 +1,24 @@
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../../bash_shared/includes.sh"
AC_PATH_COMPILER="$AC_PATH_BIN/compiler"
if [ -f "$AC_PATH_COMPILER/config.sh" ]; then
source "$AC_PATH_COMPILER/config.sh" # should overwrite previous
fi
function ac_on_after_build() {
# move the run engine
mkdir -p "$INSTALL_PATH/bin/"
cp -rvf "$AC_PATH_MODULES/acore/startup-scripts/"* "$INSTALL_PATH/bin/"
}
registerHooks "ON_AFTER_BUILD" ac_on_after_build
source "$AC_PATH_COMPILER/includes/defines.sh"
source "$AC_PATH_COMPILER/includes/functions.sh"
mkdir -p $BUILDPATH
mkdir -p $BINPATH
+2
View File
@@ -0,0 +1,2 @@
/output/
config.sh
+193
View File
@@ -0,0 +1,193 @@
#!/usr/bin/env bash
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
SRCPATH=$(greadlink -f "../../")
else
SRCPATH=$(readlink -f "../../")
fi
source $SRCPATH"/bin/bash_shared/includes.sh"
if [ -f "./config.sh" ]; then
source "./config.sh" # should overwrite previous
fi
MD5_CMD="md5sum"
reg_file="$OUTPUT_FOLDER/__db_assembler_registry"
if [ -f "$reg_file" ]; then
source "$reg_file"
fi
function assemble() {
# to lowercase
database=${1,,}
start_sql=$2
with_base=$3
with_updates=$4
with_custom=$5
uc=${database^^}
name="DB_"$uc"_PATHS"
v="$name[@]"
base=("${!v}")
name="DB_"$uc"_UPDATE_PATHS"
v="$name[@]"
updates=("${!v}")
name='DB_'$uc'_CUSTOM_PATHS'
v="$name[@]"
custom=("${!v}")
suffix_base="_base"
suffix_upd="_update"
suffix_custom="_custom"
curTime=`date +%Y_%m_%d_%H_%M_%S`
if [ $with_base = true ]; then
echo "" > $OUTPUT_FOLDER$database$suffix_base".sql"
if [ ! ${#base[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_base ..."
for d in "${base[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ -e $entry ]]; then
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_base".sql"
fi
done
fi
done
fi
fi
if [ $with_updates = true ]; then
updFile=$OUTPUT_FOLDER$database$suffix_upd"_"$curTime".sql"
if [ ! ${#updates[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_upd ..."
for d in "${updates[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
file=$(basename "$entry")
hash=$($MD5_CMD "$entry")
hash="${hash%% *}" #remove file path
n="registry__$hash"
if [[ -z ${!n} ]]; then
if [ ! -e $updFile ]; then
echo "-- assembled updates" > $updFile
fi
printf -v "registry__${hash}" %s "$file"
echo "-- New update sql: "$file
echo "-- $file"
cat "$entry" >> $updFile
fi
done
fi
done
fi
fi
if [ $with_custom = true ]; then
custFile=$OUTPUT_FOLDER$database$suffix_custom".sql"
echo "" > $custFile
if [ ! ${#custom[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_custom ..."
for d in "${custom[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
if [[ ! -e $custFile ]]; then
echo "-- assembled custom" > "$custFile"
fi
echo "-- $file" >> $custFile
cat "$entry" >> $custFile
done
fi
done
fi
fi
}
function run() {
echo "===== STARTING PROCESS ====="
mkdir -p $OUTPUT_FOLDER
for db in ${DATABASES[@]}
do
assemble "$db" $version".sql" $1 $2 $3
done
echo "" > $reg_file
for k in ${!registry__*}
do
n=$k
echo "$k='${!n}';" >> "$reg_file"
done
echo "===== DONE ====="
}
PS3='Please enter your choice: '
options=("Create ALL" "Create only bases" "Create only updates" "Create only customs" "Clean registry" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Create ALL")
run true true true
break #avoid loop
;;
"Create only bases")
run true false false
break #avoid loop
;;
"Create only updates")
run false true false
break #avoid loop
;;
"Create only customs")
run false false true
break #avoid loop
;;
"Clean registry")
rm "$reg_file"
break #avoid loop
;;
"Quit")
break
;;
*) echo invalid option;;
esac
done
+1
View File
@@ -0,0 +1 @@
config.sh
+45
View File
@@ -0,0 +1,45 @@
#!/usr/bin/env bash
ROOTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../" && pwd )"
source $ROOTPATH"/bin/bash_shared/includes.sh"
if [ -f "./config.sh" ]; then
source "./config.sh" # should overwrite previous
fi
echo "===== STARTING PROCESS ====="
function export() {
echo "Working on: "$1
database=$1
var_base_path="DB_"$database"_PATHS"
base_path=${!var_base_path}
base_conf="TPATH="$base_path";\
CLEANFOLDER=1; \
CHMODE=0; \
TEXTDUMPS=0; \
PARSEDUMP=1; \
FULL=0; \
DUMPOPTS='--skip-comments --skip-set-charset --routines --extended-insert --order-by-primary --single-transaction --quick'; \
"
var_base_conf="DB_"$database"_CONF"
base_conf=$base_conf${!var_base_conf}
var_base_name="DB_"$database"_NAME"
base_name=${!var_base_name}
bash $AC_PATH_MODULES"/uwd/mysql-tools/mysql-tools" dump "" $base_name "" "$base_conf"
}
for db in ${DATABASES[@]}
do
export "$db"
done
echo "===== DONE ====="
+110
View File
@@ -0,0 +1,110 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../bash_shared/includes.sh"
UPDATES_PATH="$AC_PATH_ROOT/data/sql/updates/"
function import() {
db=$1
folder="db_"$db
pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder"
updPath="$UPDATES_PATH/$folder"
latestUpd=`ls -1 $updPath/ | tail -n 1`
if [ -z $latestUpd ]; then
echo "FIRST UPDATE FILE MISSING!! DID YOU ARCHIVED IT?";
exit;
fi
dateToday=`date +%Y_%m_%d`
counter=0
dateLast=$latestUpd
tmp=${dateLast#*_*_*_}
oldCnt=${tmp%.sql}
oldDate=${dateLast%_$tmp}
if [ "$oldDate" = "$dateToday" ]; then
((counter=$oldCnt+1))
fi;
for entry in "$pendingPath"/*.sql
do
if [[ -e $entry ]]; then
oldVer=$oldDate"_"$oldCnt
cnt=$(printf -v counter "%02d" $counter ; echo $counter)
newVer=$dateToday"_"$cnt
startTransaction="START TRANSACTION;";
updHeader="ALTER TABLE version_db_"$db" CHANGE COLUMN "$oldVer" "$newVer" bit;";
endTransaction="COMMIT;";
newFile="$updPath/"$dateToday"_"$cnt".sql"
oldFile=$(basename "$entry")
prefix=${oldFile%_*.sql}
suffix=${oldFile#rev_}
rev=${suffix%.sql}
isRev=0
if [[ $prefix = "rev" && $rev =~ ^-?[0-9]+$ ]]; then
isRev=1
fi
echo "-- DB update $oldVer -> $newVer" > "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "DROP PROCEDURE IF EXISTS \`updateDb\`;" >> "$newFile";
echo "DELIMITER //" >> "$newFile";
echo "CREATE PROCEDURE updateDb ()" >> "$newFile";
echo "proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';" >> "$newFile";
fi
echo "$startTransaction" >> "$newFile";
echo "$updHeader" >> "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "SELECT sql_rev INTO OK FROM version_db_"$db" WHERE sql_rev = '$rev'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;" >> "$newFile";
fi;
echo "--" >> "$newFile";
echo "-- START UPDATING QUERIES" >> "$newFile";
echo "--" >> "$newFile";
cat $entry >> "$newFile";
echo "--" >> "$newFile";
echo "-- END UPDATING QUERIES" >> "$newFile";
echo "--" >> "$newFile";
echo "$endTransaction" >> "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "END;" >> "$newFile";
echo "//" >> "$newFile";
echo "DELIMITER ;" >> "$newFile";
echo "CALL updateDb();" >> "$newFile";
echo "DROP PROCEDURE IF EXISTS \`updateDb\`;" >> "$newFile";
fi;
rm $entry;
oldDate=$dateToday
oldCnt=$cnt
((counter+=1))
fi
done
}
import "world"
import "characters"
import "auth"
echo "Done."
-15
View File
@@ -1,15 +0,0 @@
# Set build-directive (used in core to tell which buildtype we used)
add_definitions(-D_BUILD_DIRECTIVE='"$(CONFIGURATION)"')
if(WITH_WARNINGS)
set(WARNING_FLAGS "-W -Wall -Wextra -Winit-self -Wfatal-errors")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} -Woverloaded-virtual")
message(STATUS "Clang: All warnings enabled")
endif()
if(WITH_COREDEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
message(STATUS "Clang: Debug-flags set (-g3)")
endif()
-24
View File
@@ -1,24 +0,0 @@
# Set build-directive (used in core to tell which buildtype we used)
add_definitions(-D_BUILD_DIRECTIVE='"${CMAKE_BUILD_TYPE}"')
if(PLATFORM EQUAL 32)
# Required on 32-bit systems to enable SSE2 (standard on x64)
set(SSE_FLAGS "-msse2 -mfpmath=sse")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SSE_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SSE_FLAGS}")
endif()
add_definitions(-DHAVE_SSE2 -D__SSE2__)
message(STATUS "GCC: SFMT enabled, SSE2 flags forced")
if( WITH_WARNINGS )
set(WARNING_FLAGS "-W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} -Woverloaded-virtual")
message(STATUS "GCC: All warnings enabled")
endif()
if( WITH_COREDEBUG )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
message(STATUS "GCC: Debug-flags set (-g3)")
endif()
-41
View File
@@ -1,41 +0,0 @@
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
include(${CMAKE_SOURCE_DIR}/cmake/macros/EnsureVersion.cmake)
set(_REQUIRED_GIT_VERSION "1.7")
# Its not set during initial run
if(NOT BUILDDIR)
set(BUILDDIR ${CMAKE_BINARY_DIR})
endif()
FIND_PROGRAM(SVN_EXECUTABLE svn DOC "subversion command line client")
# only do this if we have an svn client.
if (SVN_EXECUTABLE)
MACRO(Subversion_GET_REVISION dir variable)
EXECUTE_PROCESS(COMMAND ${SVN_EXECUTABLE} info ${dir}
OUTPUT_VARIABLE ${variable}
OUTPUT_STRIP_TRAILING_WHITESPACE)
STRING(REGEX REPLACE "^(.*\n)?Revision: ([^\n]+).*"
"\\2" ${variable} "${${variable}}")
ENDMACRO(Subversion_GET_REVISION)
Subversion_GET_REVISION(${CMAKE_SOURCE_DIR} REV2)
endif ()
set(rev_hash_str ${REV2})
set(rev_hash ${REV2})
set(rev_id_str ${REV2})
set(rev_id ${REV2})
configure_file ( ${CMAKE_SOURCE_DIR}/revision.h.in.cmake ${BUILDDIR}/revision.h )
-16
View File
@@ -1,16 +0,0 @@
# check what platform we're on (64-bit or 32-bit), and create a simpler test than CMAKE_SIZEOF_VOID_P
if(CMAKE_SIZEOF_VOID_P MATCHES 8)
set(PLATFORM 64)
MESSAGE(STATUS "Detected 64-bit platform")
else()
set(PLATFORM 32)
MESSAGE(STATUS "Detected 32-bit platform")
endif()
include("${CMAKE_SOURCE_DIR}/cmake/platform/settings.cmake")
if(WIN32)
include("${CMAKE_SOURCE_DIR}/cmake/platform/win/settings.cmake")
elseif(UNIX)
include("${CMAKE_SOURCE_DIR}/cmake/platform/unix/settings.cmake")
endif()
-227
View File
@@ -1,227 +0,0 @@
# - Try to find the OpenSSL encryption library
# Once done this will define
#
# OPENSSL_ROOT_DIR - Set this variable to the root installation of OpenSSL
#
# Read-Only variables:
# OPENSSL_FOUND - system has the OpenSSL library
# OPENSSL_INCLUDE_DIR - the OpenSSL include directory
# OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
# Copyright 2006 Alexander Neundorf <neundorf@kde.org>
# Copyright 2009-2010 Mathieu Malaterre <mathieu.malaterre@gmail.com>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distributed this file outside of CMake, substitute the full
# License text for the above reference.)
# http://www.slproweb.com/products/Win32OpenSSL.html
SET(_OPENSSL_ROOT_HINTS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;Inno Setup: App Path]"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;Inno Setup: App Path]"
)
IF(PLATFORM EQUAL 64)
SET(_OPENSSL_ROOT_PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;InstallLocation]"
"C:/OpenSSL-Win64/"
"C:/OpenSSL/"
)
ELSE()
SET(_OPENSSL_ROOT_PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]"
"C:/OpenSSL/"
)
ENDIF()
FIND_PATH(OPENSSL_ROOT_DIR
NAMES
include/openssl/ssl.h
HINTS
${_OPENSSL_ROOT_HINTS}
PATHS
${_OPENSSL_ROOT_PATHS}
)
MARK_AS_ADVANCED(OPENSSL_ROOT_DIR)
# Re-use the previous path:
FIND_PATH(OPENSSL_INCLUDE_DIR openssl/ssl.h
${OPENSSL_ROOT_DIR}/include
)
IF(WIN32 AND NOT CYGWIN)
# MINGW should go here too
IF(MSVC)
# /MD and /MDd are the standard values - if someone wants to use
# others, the libnames have to change here too
# use also ssl and ssleay32 in debug as fallback for openssl < 0.9.8b
# TODO: handle /MT and static lib
# In Visual C++ naming convention each of these four kinds of Windows libraries has it's standard suffix:
# * MD for dynamic-release
# * MDd for dynamic-debug
# * MT for static-release
# * MTd for static-debug
# Implementation details:
# We are using the libraries located in the VC subdir instead of the parent directory eventhough :
# libeay32MD.lib is identical to ../libeay32.lib, and
# ssleay32MD.lib is identical to ../ssleay32.lib
FIND_LIBRARY(LIB_EAY_DEBUG
NAMES
libeay32MDd libeay32
PATHS
${OPENSSL_ROOT_DIR}/lib/VC
)
FIND_LIBRARY(LIB_EAY_RELEASE
NAMES
libeay32MD libeay32
PATHS
${OPENSSL_ROOT_DIR}/lib/VC
)
FIND_LIBRARY(SSL_EAY_DEBUG
NAMES
ssleay32MDd ssleay32 ssl
PATHS
${OPENSSL_ROOT_DIR}/lib/VC
)
FIND_LIBRARY(SSL_EAY_RELEASE
NAMES
ssleay32MD ssleay32 ssl
PATHS
${OPENSSL_ROOT_DIR}/lib/VC
)
if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
set( OPENSSL_LIBRARIES
optimized ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE}
debug ${SSL_EAY_DEBUG} ${LIB_EAY_DEBUG}
)
else()
set( OPENSSL_LIBRARIES
${SSL_EAY_RELEASE}
${LIB_EAY_RELEASE}
)
endif()
MARK_AS_ADVANCED(SSL_EAY_DEBUG SSL_EAY_RELEASE LIB_EAY_DEBUG LIB_EAY_RELEASE)
ELSEIF(MINGW)
# same player, for MingW
FIND_LIBRARY(LIB_EAY
NAMES
libeay32
PATHS
${OPENSSL_ROOT_DIR}/lib/MinGW
)
FIND_LIBRARY(SSL_EAY NAMES
NAMES
ssleay32
PATHS
${OPENSSL_ROOT_DIR}/lib/MinGW
)
MARK_AS_ADVANCED(SSL_EAY LIB_EAY)
set( OPENSSL_LIBRARIES
${SSL_EAY}
${LIB_EAY}
)
ELSE(MSVC)
# Not sure what to pick for -say- intel, let's use the toplevel ones and hope someone report issues:
FIND_LIBRARY(LIB_EAY
NAMES
libeay32
PATHS
${OPENSSL_ROOT_DIR}/lib
${OPENSSL_ROOT_DIR}/lib/VC
)
FIND_LIBRARY(SSL_EAY
NAMES
ssleay32
PATHS
${OPENSSL_ROOT_DIR}/lib
${OPENSSL_ROOT_DIR}/lib/VC
)
MARK_AS_ADVANCED(SSL_EAY LIB_EAY)
SET( OPENSSL_LIBRARIES ${SSL_EAY} ${LIB_EAY} )
ENDIF(MSVC)
ELSE(WIN32 AND NOT CYGWIN)
FIND_LIBRARY(OPENSSL_SSL_LIBRARIES NAMES ssl ssleay32 ssleay32MD)
FIND_LIBRARY(OPENSSL_CRYPTO_LIBRARIES NAMES crypto)
MARK_AS_ADVANCED(OPENSSL_CRYPTO_LIBRARIES OPENSSL_SSL_LIBRARIES)
SET(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARIES} ${OPENSSL_CRYPTO_LIBRARIES})
ENDIF(WIN32 AND NOT CYGWIN)
if (NOT OPENSSL_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OpenSSL DEFAULT_MSG
OPENSSL_LIBRARIES
OPENSSL_INCLUDE_DIR
)
endif()
if (OPENSSL_INCLUDE_DIR)
message( STATUS "Found OpenSSL library: ${OPENSSL_LIBRARIES}")
message( STATUS "Found OpenSSL headers: ${OPENSSL_INCLUDE_DIR}")
if (_OPENSSL_VERSION)
set(OPENSSL_VERSION "${_OPENSSL_VERSION}")
else (_OPENSSL_VERSION)
file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str
REGEX "^# *define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9][0-9][0-9][0-9][0-9][0-9].*")
# The version number is encoded as 0xMNNFFPPS: major minor fix patch status
# The status gives if this is a developer or prerelease and is ignored here.
# Major, minor, and fix directly translate into the version numbers shown in
# the string. The patch field translates to the single character suffix that
# indicates the bug fix state, which 00 -> nothing, 01 -> a, 02 -> b and so
# on.
string(REGEX REPLACE "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]).*$"
"\\1;\\2;\\3;\\4;\\5" OPENSSL_VERSION_LIST "${openssl_version_str}")
list(GET OPENSSL_VERSION_LIST 0 OPENSSL_VERSION_MAJOR)
list(GET OPENSSL_VERSION_LIST 1 OPENSSL_VERSION_MINOR)
list(GET OPENSSL_VERSION_LIST 2 OPENSSL_VERSION_FIX)
list(GET OPENSSL_VERSION_LIST 3 OPENSSL_VERSION_PATCH)
string(REGEX REPLACE "^0(.)" "\\1" OPENSSL_VERSION_MINOR "${OPENSSL_VERSION_MINOR}")
string(REGEX REPLACE "^0(.)" "\\1" OPENSSL_VERSION_FIX "${OPENSSL_VERSION_FIX}")
if (NOT OPENSSL_VERSION_PATCH STREQUAL "00")
# 96 is the ASCII code of 'a' minus 1
math(EXPR OPENSSL_VERSION_PATCH_ASCII "${OPENSSL_VERSION_PATCH} + 96")
# Once anyone knows how OpenSSL would call the patch versions beyond 'z'
# this should be updated to handle that, too. This has not happened yet
# so it is simply ignored here for now.
string(ASCII "${OPENSSL_VERSION_PATCH_ASCII}" OPENSSL_VERSION_PATCH_STRING)
endif (NOT OPENSSL_VERSION_PATCH STREQUAL "00")
set(OPENSSL_VERSION "${OPENSSL_VERSION_MAJOR}.${OPENSSL_VERSION_MINOR}.${OPENSSL_VERSION_FIX}${OPENSSL_VERSION_PATCH_STRING}")
endif (_OPENSSL_VERSION)
include(EnsureVersion)
ENSURE_VERSION( "${OPENSSL_EXPECTED_VERSION}" "${OPENSSL_VERSION}" OPENSSL_VERSION_OK)
if (NOT OPENSSL_VERSION_OK)
message(FATAL_ERROR "SunwellCore needs OpenSSL version ${OPENSSL_EXPECTED_VERSION} but found version ${OPENSSL_VERSION}")
endif()
endif (OPENSSL_INCLUDE_DIR)
MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)
-19
View File
@@ -1,19 +0,0 @@
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
option(SERVERS "Build worldserver and authserver" 1)
option(SCRIPTS "Build core with scripts included" 1)
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_MESHEXTRACTOR "Build meshextractor (alpha)" 0)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
-44
View File
@@ -1,44 +0,0 @@
# Package overloads - Linux
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if (NOT NOJEM)
set(JEMALLOC_LIBRARY "jemalloc")
message(STATUS "UNIX: Using jemalloc")
endif()
endif()
# set default configuration directory
if( NOT CONF_DIR )
set(CONF_DIR ${CMAKE_INSTALL_PREFIX}/etc)
message(STATUS "UNIX: Using default configuration directory")
endif()
# set default library directory
if( NOT LIBSDIR )
set(LIBSDIR ${CMAKE_INSTALL_PREFIX}/lib)
message(STATUS "UNIX: Using default library directory")
endif()
# configure uninstaller
configure_file(
"${CMAKE_SOURCE_DIR}/cmake/platform/cmake_uninstall.in.cmake"
"${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
@ONLY
)
message(STATUS "UNIX: Configuring uninstall target")
# create uninstaller target (allows for using "make uninstall")
add_custom_target(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
)
message(STATUS "UNIX: Created uninstall target")
message(STATUS "UNIX: Detected compiler: ${CMAKE_C_COMPILER}")
if(CMAKE_C_COMPILER MATCHES "gcc" OR CMAKE_C_COMPILER_ID STREQUAL "GNU")
include(${CMAKE_SOURCE_DIR}/cmake/compiler/gcc/settings.cmake)
elseif(CMAKE_C_COMPILER MATCHES "icc")
include(${CMAKE_SOURCE_DIR}/cmake/compiler/icc/settings.cmake)
elseif(CMAKE_C_COMPILER MATCHES "clang")
include(${CMAKE_SOURCE_DIR}/cmake/compiler/clang/settings.cmake)
else()
add_definitions(-D_BUILD_DIRECTIVE='"${CMAKE_BUILD_TYPE}"')
endif()
-32
View File
@@ -1,32 +0,0 @@
# Platform-specfic options
option(USE_MYSQL_SOURCES "Use included MySQL-sources to build libraries" 1)
# Package overloads
set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/acelite)
set(ACE_LIBRARY "ace")
set(BZIP2_LIBRARIES "bzip2")
set(ZLIB_LIBRARIES "zlib")
if( USE_MYSQL_SOURCES )
set(MYSQL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/mysqllite/include)
set(MYSQL_LIBRARY "libmysql")
set( MYSQL_FOUND 1 )
message(STATUS "Using supplied MySQL sources")
endif()
# check the CMake preload parameters (commented out by default)
# overload CMAKE_INSTALL_PREFIX if not being set properly
#if( WIN32 )
# if( NOT CYGWIN )
# if( NOT CMAKE_INSTALL_PREFIX )
# set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/bin")
# endif()
# endif()
#endif()
if ( MSVC )
include(${CMAKE_SOURCE_DIR}/cmake/compiler/msvc/settings.cmake)
elseif ( MINGW )
include(${CMAKE_SOURCE_DIR}/cmake/compiler/mingw/settings.cmake)
endif()
-23
View File
@@ -1,23 +0,0 @@
# from cmake wiki
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"${file}\"")
IF(EXISTS "${file}")
EXEC_PROGRAM(
"@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF("${rm_retval}" STREQUAL 0)
ELSE("${rm_retval}" STREQUAL 0)
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
ENDIF("${rm_retval}" STREQUAL 0)
ELSE(EXISTS "${file}")
MESSAGE(STATUS "File \"${file}\" does not exist.")
ENDIF(EXISTS "${file}")
ENDFOREACH(file)
+9
View File
@@ -0,0 +1,9 @@
option(SERVERS "Build worldserver and authserver" 1)
option(SCRIPTS "Build core with scripts included" 1)
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_MESHEXTRACTOR "Build meshextractor (alpha)" 0)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
+124
View File
@@ -0,0 +1,124 @@
# absolute root path of your azerothshard repository
SRCPATH="$AC_PATH_ROOT"
# absolute path where binary files must be stored
BINPATH="$AC_PATH_ROOT/build/"
# absolute path where config. files must be stored
CONFDIR="$AC_PATH_ROOT/build/etc/"
##############################################
#
# COMPILER_CONFIGURATIONS
#
##############################################
# set preferred compilers
CCOMPILERC="/usr/bin/clang"
CCOMPILERCXX="/usr/bin/clang++"
#CCOMPILERC="/usr/bin/gcc"
#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=OFF
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=OFF
# specify compilation type
CTYPE=Release
# compile scripts
CSCRIPTS=ON
# 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
# you can add your custom definitions here ( -D )
CCUSTOMOPTIONS=""
##############################################
#
# DB ASSEMBLER / EXPORTER CONFIGURATIONS
#
##############################################
DATABASES=(
"AUTH"
"CHARACTERS"
"WORLD"
)
OUTPUT_FOLDER="output/"
# FULL DB
DB_CHARACTERS_PATHS=(
$SRCPATH"/data/sql/base/db_characters"
)
DB_AUTH_PATHS=(
$SRCPATH"/data/sql/base/db_auth/"
)
DB_WORLD_PATHS=(
$SRCPATH"/data/sql/base/db_world/"
)
# UPDATES
DB_CHARACTERS_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/db_characters/"
)
DB_AUTH_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/db_auth/"
)
DB_WORLD_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/db_world/"
)
# CUSTOM
DB_CHARACTERS_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_characters/"
)
DB_AUTH_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_auth/"
)
DB_WORLD_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_world/"
)
##############################################
#
# DB EXPORTER/IMPORTER CONFIGURATIONS
#
##############################################
DB_CHARACTERS_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_AUTH_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_WORLD_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_CHARACTERS_NAME="characters"
DB_AUTH_NAME="auth"
DB_WORLD_NAME="world"
-8
View File
@@ -1,8 +0,0 @@
#ifndef HAVE_CONFIG_H
#define HAVE_CONFIG_H
#cmakedefine HAVE_ACE_STACK_TRACE_H
#cmakedefine USE_MULTI_THREAD_MAP
#endif /* HAVE_CONFIG_H */
Submodule
+1
Submodule data/doc added at 352f3c6a77
@@ -0,0 +1,3 @@
CREATE TABLE `auth_db_version` (
`2016_07_09_00` BIT(1) DEFAULT NULL
) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
@@ -0,0 +1 @@
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
@@ -0,0 +1,16 @@
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_09_01 2016_07_10_00 bit;
DROP TABLE IF EXISTS `autobroadcast`;
CREATE TABLE `autobroadcast` (
`realmid` int(10) NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`weight` tinyint(3) DEFAULT 1,
`text` longtext NOT NULL,
PRIMARY KEY (`id`, `realmid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `autobroadcast`
CHANGE `realmid` `realmid` INT(11) NOT NULL DEFAULT '-1',
CHANGE `id` `id` TINYINT(3) UNSIGNED NOT NULL AUTO_INCREMENT,
CHANGE `weight` `weight` TINYINT(3) UNSIGNED DEFAULT '1',
ENGINE=INNODB;
@@ -0,0 +1,3 @@
CREATE TABLE `characters_db_version` (
`2016_07_09_00` BIT(1) DEFAULT NULL
) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
@@ -0,0 +1 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
@@ -0,0 +1,28 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_07_09_01 2016_07_10_00 bit;
CREATE TABLE IF NOT EXISTS `pvpstats_battlegrounds` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`winner_faction` tinyint(4) NOT NULL,
`bracket_id` tinyint(3) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `pvpstats_players` (
`battleground_id` bigint(20) unsigned NOT NULL,
`character_guid` int(10) unsigned NOT NULL,
`winner` bit(1) NOT NULL,
`score_killing_blows` mediumint(8) unsigned NOT NULL,
`score_deaths` mediumint(8) unsigned NOT NULL,
`score_honorable_kills` mediumint(8) unsigned NOT NULL,
`score_bonus_honor` mediumint(8) unsigned NOT NULL,
`score_damage_done` mediumint(8) unsigned NOT NULL,
`score_healing_done` mediumint(8) unsigned NOT NULL,
`attr_1` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_2` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_3` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_4` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_5` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`battleground_id`,`character_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
@@ -0,0 +1,25 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_07_10_00 2016_07_30_00 bit;
CREATE TABLE IF NOT EXISTS `gm_ticket` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0 open, 1 closed, 2 character deleted',
`playerGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
`description` text NOT NULL,
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
`lastModifiedTime` int(10) unsigned NOT NULL DEFAULT '0',
`closedBy` int(10) unsigned NOT NULL DEFAULT '0',
`assignedTo` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
`comment` text NOT NULL,
`response` text NOT NULL,
`completed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`escalated` tinyint(3) unsigned NOT NULL DEFAULT '0',
`viewed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT '0',
`resolvedBy` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of GM who resolved the ticket',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10572 DEFAULT CHARSET=utf8 COMMENT='Player System';
@@ -0,0 +1,35 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_07_30_00 2016_08_08_00 bit;
CREATE TABLE IF NOT EXISTS `battleground_deserters` (
`guid` INT(10) UNSIGNED NOT NULL COMMENT 'characters.guid',
`type` TINYINT(3) UNSIGNED NOT NULL COMMENT 'type of the desertion',
`datetime` DATETIME NOT NULL COMMENT 'datetime of the desertion'
);
CREATE TABLE IF NOT EXISTS `pvpstats_battlegrounds` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`winner_faction` tinyint(4) NOT NULL,
`bracket_id` tinyint(3) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8298 DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `pvpstats_players` (
`battleground_id` bigint(20) unsigned NOT NULL,
`character_guid` int(10) unsigned NOT NULL,
`winner` bit(1) NOT NULL,
`score_killing_blows` mediumint(8) unsigned NOT NULL,
`score_deaths` mediumint(8) unsigned NOT NULL,
`score_honorable_kills` mediumint(8) unsigned NOT NULL,
`score_bonus_honor` mediumint(8) unsigned NOT NULL,
`score_damage_done` mediumint(8) unsigned NOT NULL,
`score_healing_done` mediumint(8) unsigned NOT NULL,
`attr_1` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_2` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_3` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_4` mediumint(8) unsigned NOT NULL DEFAULT '0',
`attr_5` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`battleground_id`,`character_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
@@ -0,0 +1,47 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_08_08_00 2016_08_12_00 bit;
-- `character_aura`
ALTER TABLE `character_aura`
CHANGE `caster_guid` `casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
CHANGE `item_guid` `itemGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
CHANGE `effect_mask` `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
CHANGE `recalculate_mask` `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
CHANGE `stackcount` `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
CHANGE `maxduration` `maxDuration` int(11) NOT NULL DEFAULT '0',
CHANGE `remaintime` `remainTime` int(11) NOT NULL DEFAULT '0',
CHANGE `remaincharges` `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0';
-- `character_glyphs`
ALTER TABLE `character_glyphs`
CHANGE `spec` `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0';
-- `characters`
ALTER TABLE `characters`
CHANGE `speccount` `talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
CHANGE `activespec` `activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0';
-- `gm_subsurveys` -> `gm_subsurvey`
RENAME TABLE `gm_subsurveys` TO `gm_subsurvey`;
ALTER TABLE `gm_subsurvey`
CHANGE `subsurveyId` `questionId` int(10) unsigned NOT NULL DEFAULT '0',
CHANGE `rank` `answer` int(10) unsigned NOT NULL DEFAULT '0',
CHANGE `comment` `answerComment` text NOT NULL;
-- `gm_surveys` -> `gm_survey`
RENAME TABLE `gm_surveys` TO `gm_survey`;
ALTER TABLE `gm_survey`
CHANGE `overallComment` `comment` longtext NOT NULL;
-- `groups`
ALTER TABLE `groups`
CHANGE `raiddifficulty` `raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0';
-- `pet_aura`
ALTER TABLE `pet_aura`
CHANGE `caster_guid` `casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
CHANGE `effect_mask` `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
CHANGE `recalculate_mask` `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
CHANGE `stackcount` `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
CHANGE `maxduration` `maxDuration` int(11) NOT NULL DEFAULT '0',
CHANGE `remaintime` `remainTime` int(11) NOT NULL DEFAULT '0',
CHANGE `remaincharges` `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0';
@@ -0,0 +1,3 @@
CREATE TABLE `world_db_version` (
`2016_07_09_00` BIT(1) DEFAULT NULL
) ENGINE=MYISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
@@ -0,0 +1 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_09_00 2016_07_09_01 bit;
@@ -0,0 +1,4 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_09_01 2016_07_10_00 bit;
DELETE FROM `item_template` WHERE `entry` = 34833;
INSERT INTO `item_template` (`entry`, `class`, `subclass`, `SoundOverrideSubclass`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `flagsCustom`, `VerifiedBuild`) VALUES (34833, 12, 0, 0, 'Unlit Torches', 7290, 1, 2, 0, 1, 0, 0, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 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, 0, 0, 0, 0, 45671, 0, 0, 0, 5000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 4, '', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 12340);
@@ -0,0 +1,90 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_00 2016_07_10_01 bit;
/* Spawn missing Midsummer bonfire */
SET @STARTGUID := 268968;
DELETE FROM `gameobject` WHERE guid = @STARTGUID+0;
DELETE FROM `gameobject` WHERE guid = @STARTGUID+1;
/* Ironforge */
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES (@STARTGUID+0, 181371, 0, 1, 1, -4699.790039, -1222.770020, 501.658997, -1.378810, 0, 0, 0, 0, 300, 0, 1, 0);
/* Shattrath */
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES (@STARTGUID+1, 181371, 530, 1, 1, -1747.849976, 5326.290039, -12.428100, -3.019420, 0, 0, 0, 0, 300, 0, 1, 0);
/* Add missing Midsummer creature */
SET @STARTGUID := 248565;
DELETE FROM `creature` WHERE `guid` BETWEEN @STARTGUID+00 AND @STARTGUID+29;
DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @STARTGUID+00 AND @STARTGUID+29;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
(@STARTGUID+0, 32801, 571, 1, 1, 4131.279, 5394.604, 26.09047, 3.595378, 120, 0, 0), -- 32801
(@STARTGUID+1, 32809, 571, 1, 1, 4454.667, 5623.537, 56.91562, 4.13643, 120, 0, 0), -- 32809
(@STARTGUID+2, 32810, 571, 1, 1, 5499.812, 4878.976, -197.8652, 3.176499, 120, 0, 0), -- 32810
(@STARTGUID+3, 32802, 571, 1, 1, 5360.002, 4834.393, -196.3981, 5.550147, 120, 0, 0), -- 32802
(@STARTGUID+4, 32811, 571, 1, 1, 3762.387, 1481.287, 92.8882, 3.438299, 120, 0, 0), -- 32811
(@STARTGUID+5, 32803, 571, 1, 1, 3936.924, -595.4437, 241.1534, 5.951573, 120, 0, 0), -- 32803
(@STARTGUID+6, 32812, 571, 1, 1, 2586.682, -4337.068, 276.0698, 4.13643, 120, 0, 0), -- 32812
(@STARTGUID+7, 32804, 571, 1, 1, 2466.965, -4892.675, 262.5474, 2.303835, 120, 0, 0), -- 32804
(@STARTGUID+8, 32813, 571, 1, 1, 3376.009, -2124.778, 124.664, 0.1396263, 120, 0, 0), -- 32813
(@STARTGUID+9, 32805, 571, 1, 1, 3400.944, -2890.375, 201.4968, 2.303835, 120, 0, 0), -- 32805
(@STARTGUID+10, 32814, 571, 1, 1, 6150.945, -1023.05, 408.3642, 1.43117, 120, 0, 0), -- 32814
(@STARTGUID+11, 32806, 571, 1, 1, 6087.442, -1105.523, 418.2672, 1.099557, 120, 0, 0), -- 32806
(@STARTGUID+12, 32815, 571, 1, 1, 5536.516, -733.7185, 149.6217, 3.124139, 120, 0, 0), -- 32815
(@STARTGUID+13, 32807, 571, 1, 1, 5141.776, -685.0027, 170.2738, 5.951573, 120, 0, 0), -- 32807
(@STARTGUID+14, 32816, 571, 1, 1, 5280.307, -2766.146, 292.5019, 2.303835, 120, 0, 0), -- 32816
(@STARTGUID+15, 32808, 571, 1, 1, 5627.932, -2616.493, 292.5019, 1.518436, 120, 0, 0), -- 32808
(@STARTGUID+16, 25892, 0, 1, 1, -8258.798, -2618.704, 133.3752, 1.343904, 120, 0, 0), -- 25892
(@STARTGUID+17, 25899, 1, 1, 1, -4391.495, 2187.865, 12.22644, 5.864306, 120, 0, 0), -- 25899
(@STARTGUID+18, 25936, 1, 1, 1, -2321.744, -619.7491, -9.089149, 5.67232, 120, 0, 0), -- 25936
(@STARTGUID+19, 25888, 530, 1, 1, -4219.219, -12310.55, 2.439188, 5.934119, 120, 0, 0), -- 25888
(@STARTGUID+20, 25891, 530, 1, 1, -2234.83, -11895.94, 26.62421, 4.694936, 120, 0, 0), -- 25891
(@STARTGUID+21, 25907, 530, 1, 1, -2998.854, 4164.042, 5.169014, 0.5934119, 120, 0, 0), -- 25907
(@STARTGUID+22, 25938, 530, 1, 1, -3067.278, 2387.903, 62.19349, 3.368485, 120, 0, 0), -- 25938
(@STARTGUID+23, 25905, 530, 1, 1, -3951.305, 2045.65, 95.14804, 4.520403, 120, 0, 0), -- 25905
(@STARTGUID+24, 25912, 530, 1, 1, 193.7309, 6016.713, 22.73373, 6.161012, 120, 0, 0), -- 25912
(@STARTGUID+25, 25903, 530, 1, 1, -2517.064, 7555.085, -1.793157, 5.375614, 120, 0, 0), -- 25903
(@STARTGUID+26, 25889, 530, 1, 1, 2024.906, 6590.532, 135.3214, 5.934119, 120, 0, 0), -- 25889
(@STARTGUID+27, 25926, 530, 1, 1, 2286.707, 6137.618, 136.3056, 1.570796, 120, 0, 0), -- 25926
(@STARTGUID+28, 25913, 530, 1, 1, 3127.551, 3743.148, 141.7706, 6.161012, 120, 0, 0), -- 25913
(@STARTGUID+29, 25918, 530, 1, 1, 2917.222, 3693.411, 143.7703, 2.932153, 120, 0, 0); -- 25918
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(1, @STARTGUID+00),
(1, @STARTGUID+01),
(1, @STARTGUID+02),
(1, @STARTGUID+03),
(1, @STARTGUID+04),
(1, @STARTGUID+05),
(1, @STARTGUID+06),
(1, @STARTGUID+07),
(1, @STARTGUID+08),
(1, @STARTGUID+09),
(1, @STARTGUID+10),
(1, @STARTGUID+11),
(1, @STARTGUID+12),
(1, @STARTGUID+13),
(1, @STARTGUID+14),
(1, @STARTGUID+15),
(1, @STARTGUID+16),
(1, @STARTGUID+17),
(1, @STARTGUID+18),
(1, @STARTGUID+19),
(1, @STARTGUID+20),
(1, @STARTGUID+21),
(1, @STARTGUID+22),
(1, @STARTGUID+23),
(1, @STARTGUID+24),
(1, @STARTGUID+25),
(1, @STARTGUID+26),
(1, @STARTGUID+27),
(1, @STARTGUID+28),
(1, @STARTGUID+29);
/* Delete some double spawn creature of midsummer fire festival */
DELETE FROM `creature` WHERE `guid`=86358 AND `id`=25915;
DELETE FROM `creature` WHERE `guid`=86387 AND `id`=25920;
DELETE FROM `creature` WHERE `guid`=86241 AND `id`=25887;
DELETE FROM `creature` WHERE `guid`=86327 AND `id`=25914;
DELETE FROM `creature` WHERE `guid`=86376 AND `id`=25916;
DELETE FROM `creature` WHERE `guid`=86426 AND `id`=25921;
DELETE FROM `creature` WHERE `guid`=86165 AND `id`=26123;
DELETE FROM `creature` WHERE `guid`=202863 AND `id`=25975;
@@ -0,0 +1,4 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_01 2016_07_10_02 bit;
/* Quest adding injury to insult, fix mob speed run, from 2.2 to 1.0 */
UPDATE `creature_template` SET `speed_run` = 1 WHERE `entry` = 24238;
@@ -0,0 +1,5 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_10_02 2016_07_14_00 bit;
/* add spellscript for crow spell */
DELETE FROM spell_script_names WHERE spell_id = 38776;
INSERT INTO spell_script_names VALUES (38776,'spell_q9718_crow_transform');
@@ -0,0 +1,17 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_14_00 2016_07_28_00 bit;
-- loot for mindless servant 26536 in utgarde pinnacle
DELETE FROM `creature_loot_template` WHERE (Entry = 26536);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `ChanceOrQuestChance`, `LootMode`, `GroupId`, `mincountOrRef`, `maxcount`) VALUES
(26536, 33470, 10.7, 1, 0, 1, 7),
(26536, 26002, 3, 1, 1, -26002, 1),
(26536, 26011, 1, 1, 1, -26011, 1),
(26536, 26012, 1, 1, 1, -26012, 1),
(26536, 26040, 21.4, 1, 0, -26040, 1),
(26536, 33370, 3.6, 1, 1, 1, 1),
(26536, 33399, 3.6, 1, 1, 1, 1),
(26536, 33454, 35.5, 1, 0, 1, 1),
(26536, 37068, 0.69, 1, 1, 1, 1),
(26536, 37069, 0.69, 1, 1, 1, 1),
(26536, 37070, 0.69, 1, 1, 1, 1),
(26536, 45912, 0.1, 1, 1, 1, 1);
@@ -0,0 +1,5 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_07_28_00 2016_08_01_00 bit;
UPDATE creature_template SET faction = 14 WHERE faction != 35 and entry in (
35572,35569,35571,35570,35617,34705,34702,34701,34657,34703,35329,35328,35331,35330,
35332,35314,35326,35325,35323,35327,35119,35518,34928,35517,35309,35305,35307,35451,35004,35005,35545,35564,33628,36085,36090,36084,35517,35490,36089,35518,36091,36087,36086,36083,36082,36088,35310,35308,35546,35568,35306);
@@ -0,0 +1,3 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_01_00 2016_08_03_00 bit;
DELETE from spell_area where spell = 60815 and area = 14;
@@ -0,0 +1,161 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_03_00 2016_08_10_00 bit;
# Import some trinity_string from TrinityCore
INSERT IGNORE INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`)VALUES
(63, 'Wrong parameter, id: %u does not exist.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(64, 'Wrong parameter realmId: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(65, 'Account %u (%s) granted permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(66, 'Account %u (%s) denied permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(67, 'Account %u (%s) inherited permissions by sec level %u:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(68, 'Permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(69, 'Linked permissions:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(70, 'Empty List', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(71, '- %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(72, 'Couldn\'t grant permission %u (%s) realmId %d. Account %u (%s) already has that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(73, 'Couldn\'t grant permission %u (%s) realmId %d. Account %u (%s) has that permission in deny list', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(74, 'Granted permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(75, 'Couldn\'t deny permission %u (%s) realmId %d. Account %u (%s) already has that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(76, 'Couldn\'t deny permission %u (%s) realmId %d. Account %u (%s) has that permission in deny list', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(77, 'Denied permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(78, 'Revoked permission %u (%s) realmId %d to account %u (%s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(79, 'Couldn\'t revoke permission %u (%s) realmId %d. Account %u (%s) does not have that permission', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(80, 'BattleGround victories in the last 7 days\nAlliance: %d\nHorde: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(81, 'BattleGround scores storing is disabled!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(96, 'The guild name \'%s\' is already taken', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(97, 'Changed guild name \'%s\' to \'%s\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(98, '\'%s\' already exists as character name, choose another one', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(99, 'Player \'%s\' forced rename to \'%s\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(167, 'This name is reserved, choose another one', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(176, 'Invalid gameobject type, must be a destructible building.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(177, 'Gameobject %s (GUID: %u) damaged %u (actual health: %u).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(178, 'grid[%u,%u]cell[%u,%u] InstanceID: %u\n ZoneX: %f ZoneY: %f\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u MMap: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(186, 'TransMapID: %u TransOffsetX: %f TransOffsetY: %f TransOffsetZ: %f TransOffsetO: %f (Transport ID: %u %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(357, 'Cheat Command Status:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(358, 'Godmode: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(359, 'Casttime: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(360, 'Cooldown: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(361, 'Power: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(362, 'Waterwalk: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(363, 'Player %s cannot whisper you any longer.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(364, 'Taxinodes: %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(453, 'Player %s %s (guid: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(548, ' GM Mode active, Phase: -1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(549, ' Banned: (Type: %s, Reason: %s, Time: %s, By: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(550, ' Muted: (Reason: %s, Time: %s, By: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(714, ' Account: %s (ID: %u), GMLevel: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(716, ' Last Login: %s (Failed Logins: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(749, ' OS: %s - Latency: %u ms', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(752, ' Last IP: %s (Locked: %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(843, ' Level: %u (%u/%u XP (%u XP left))', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(844, ' Race: %s %s, %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(845, ' Alive ?: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(846, ' Phase: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(847, ' Money: %ug%us%uc', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(848, ' Map: %s, Area: %s, Zone: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(849, ' Guild: %s (ID: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(850, ' Rank: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(851, ' Note: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(852, ' O. Note: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(853, ' Played time: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(854, ' Mails: %d Read/%u Total', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(855, 'Male', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(856, 'Female', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(857, 'Arena team [%u] not found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(858, 'There is already an arena team named \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(859, '%s is already in an arena team of that size', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(860, 'Arena Team In Combat', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(861, 'Arena with name: \"%s\" or silmilar not found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(862, '[%s] not member of the team \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(863, '[%s] already capitan in the team \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(864, 'New ArenaTeam created [Name: \"%s\"][Id: %u][Type: %u][Captain GUID: %u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(865, 'Arena team Name: \"%s\"[Id: %u] disbanded', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(866, 'Arena team [Id: %u] change from \"%s\" to \"%s\"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(867, 'Arena team Name: \"%s\"[Id: %u] change capitan from[%s] to [%s]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(868, 'Arena team: \"%s\"[%u] - Rating: %u - Type: %ux%u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(869, 'Name:\"%s\"[guid:%u] - PR: %u - %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(870, '|\"%s\"[ID:%u](%ux%u)|', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(871, ' Level: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(872, 'Entered email is not equal to registration email, check input', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(873, 'The new emails do not match', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(874, 'The email was changed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(875, 'Your email can\'t be longer than 64 characters, email not changed!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(876, 'Email not changed (unknown error)!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(877, 'Email change unnecessary, new email is equal to old email', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(878, 'Your email is: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(879, '└ Registration Email: %s - Email: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(880, 'Security Level: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(881, 'An email address is required to change your password.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1151, 'Mail List Info: # of mails: %u, Player: %s(%u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1152, 'Mail Id: %u Title: \"%s\" Money: %ug%us%uc', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1153, 'Sender: %s(%u), Receiver: %s(%u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1154, 'Time deliver: %s, Time expire: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1155, 'Item: %s[Entry:%u Guid:%u Count:%u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1156, 'Mail List Info: No mail found for this character.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1157, 'All configs are reloaded from the configuration file(s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1158, '==========================================================', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1159, '|--------------------------------------------------------|', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1160, '| | Alliance | Horde | Neutral | Total |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1161, ' Alliance/Horde/Neutral/Total', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1162, '| %-10s | %8u | %8u | %8u | %8u |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1163, '%-10s = %6u / %6u / %6u / %6u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1164, 'Count', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1165, 'Item Ratio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1166, '| | Alliance | Horde | Neutral | Amount |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1167, ' Alliance/Horde/Neutral/Amount', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1168, 'Gray', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1169, 'White', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1170, 'Green', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1171, 'Blue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1172, 'Purple', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1173, 'Orange', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1174, 'Yellow', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1175, 'Amount of %s items is set to %u.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1176, 'Items ratio for %s is set to %u.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1177, 'Displaying Guild Details for %s (Id: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1178, '| Guild Master: %s (GUID: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1179, '| Guild Creation Date: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1180, '| Guild Members: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1181, '| Guild Bank: %u gold', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1182, '| Guild MOTD: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1183, '| Guild Information: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2030, '|cff00ff00Completed by|r:|cff00ccff %s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5037, 'MechanicImmuneMask: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5038, 'Unit Flags: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5039, 'Console', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5040, 'Character', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5041, 'Permanently', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5042, 'You are outdoors.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5043, 'You are indoors.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5044, 'no VMAP available for area info', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5045, 'Map: %d | ID: %d | perm: %s | extended: %s | diff: %d | canReset: %s | TTR: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5046, 'Player binds: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5047, 'Group binds: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5048, 'Unbinding map: %d inst: %d perm: %s diff: %d canReset: %s TTR: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5049, 'Instances unbound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5050, 'Instances loaded: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5051, 'Players in instances: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5052, 'Instance saves: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5053, 'Players bound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5054, 'Groups bound: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5055, 'Map is not a dungeon.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5056, 'Map has no instance data.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5057, 'Boss id %i state is now set to %i (%s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5058, 'Boss id %i state is %i (%s).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5059, 'Mutes for account: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5060, 'No mutes for account: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5061, 'Mute Date: %20s Mutetime: %10u mins. Reason: %s Set by: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11002, 'Server: %s has kicked %s, reason: %s', '', '', '', '', '', '', '', ''),
(11003, 'Server: %s has muted %s for %u minutes, reason: %s', '', '', '', '', '', '', '', ''),
(11004, 'Server: %s has banned character %s for %s, reason: %s', '', '', '', '', '', '', '', ''),
(11005, 'Server: %s has banned character %s permanetly, reason: %s', '', '', '', '', '', '', '', ''),
(11006, 'Server: %s has banned %s for %s, reason: %s', '', '', '', '', '', '', '', ''),
(11007, 'Server: %s has banned %s permanetly, reason: %s', '', '', '', '', '', '', '', ''),
(11008, 'InhabitType: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11009, 'Flags Extra: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11010, 'You didn\'t get kicked out of the instance even if Player::CheckInstanceLoginValid() returned false and without .gm on flag', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11011, 'VisualizeBoundary warning: No interior point of the creature\'s boundary could be found - check if you have mutually exclusive boundaries!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11012, 'VisualizeBoundary error: Creature movement is unbounded', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11013, 'VisualizeBoundary warning: Reached fail-safe flood boundary - check is your boundary is unbounded!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11014, 'You are already locked to %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11015, 'This creature does not have an active CreatureAI assigned to it.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11016, 'Select a player or player pet.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -0,0 +1,5 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_10_00 2016_08_10_01 bit;
INSERT IGNORE INTO `command` (`name`, `security`, `help`) VALUES
('instance setbossstate', 2, 'Syntax: .instance setbossstate $bossId $encounterState [$Name]\r\nSets the EncounterState for the given boss id to a new value. EncounterStates range from 0 to 5.\r\nIf no character name is provided, the current map will be used as target.'),
('instance getbossstate', 2, 'Syntax: .instance getbossstate $bossId [$Name]\r\nGets the current EncounterState for the provided boss id.\r\nIf no character name is provided, the current map will be used as target.');
+58
View File
@@ -0,0 +1,58 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` varchar(32) NOT NULL DEFAULT '',
`sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
`sessionkey` varchar(80) NOT NULL DEFAULT '',
`v` varchar(64) NOT NULL DEFAULT '',
`s` varchar(64) NOT NULL DEFAULT '',
`email` varchar(254) NOT NULL DEFAULT '',
`joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`failed_logins` int(10) unsigned NOT NULL DEFAULT '0',
`locked` tinyint(3) unsigned NOT NULL DEFAULT '0',
`last_login` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`online` tinyint(3) unsigned NOT NULL DEFAULT '0',
`expansion` tinyint(3) unsigned NOT NULL DEFAULT '0',
`mutetime` bigint(20) NOT NULL DEFAULT '0',
`mutereason` varchar(255) NOT NULL DEFAULT '',
`muteby` varchar(50) NOT NULL DEFAULT '',
`locale` tinyint(3) unsigned NOT NULL DEFAULT '0',
`os` varchar(3) NOT NULL DEFAULT '',
`recruiter` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Account System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account` WRITE;
/*!40000 ALTER TABLE `account` DISABLE KEYS */;
INSERT INTO `account` VALUES
(1,'test1','047ce22643f9b0bd6baeb18d51bf1075a4d43fc6','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(2,'test2','10eb1ff16cf5380147e8281cd8080a210ecb3c53','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(3,'test3','e546bbf9ca93ae5291f0b441bb9ea2fa0c466176','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(4,'test4','61015d83b456a9c6a7defdff07f55265f24097af','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(5,'test5','dddeac4ffe5f286ec57b7a1ed63bf3a859debe1e','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(6,'test6','f1f94cdffd83c8c4182d66689077f92c807ab579','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(7,'test7','6fcd35c35b127be1d9ca040b2b478eb366506ce2','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(8,'test8','484332ccb02e284e4e0a04573c3fa417f4745fdf','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(9,'test9','4fce15ed251721f02754d5381ae9d0137b6a6a30','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(10,'test10','b22d249228e84ab493b39a2bd765bee9b7c0b350','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0);
/*!40000 ALTER TABLE `account` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+40
View File
@@ -0,0 +1,40 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_access`
(
`id` int(10) unsigned NOT NULL,
`gmlevel` tinyint(3) unsigned NOT NULL,
`RealmID` int(11) NOT NULL DEFAULT '-1',
PRIMARY KEY (`id`,`RealmID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_access` WRITE;
/*!40000 ALTER TABLE `account_access` DISABLE KEYS */;
INSERT INTO `account_access` VALUES
(1,4,-1),
(2,4,-1),
(3,4,-1),
(4,4,-1),
(5,4,-1),
(6,4,-1),
(7,4,-1),
(8,4,-1),
(9,4,-1),
(10,4,-1);
/*!40000 ALTER TABLE `account_access` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+32
View File
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_banned`
(
`id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account id',
`bandate` int(10) unsigned NOT NULL DEFAULT '0',
`unbandate` int(10) unsigned NOT NULL DEFAULT '0',
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint(3) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_banned` WRITE;
/*!40000 ALTER TABLE `account_banned` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_banned` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+26
View File
@@ -0,0 +1,26 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `auth_db_version`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_db_version`
(
`2016_07_10_00` bit(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `auth_db_version` WRITE;
/*!40000 ALTER TABLE `auth_db_version` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_db_version` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+30
View File
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `autobroadcast`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `autobroadcast`
(
`realmid` int(11) NOT NULL DEFAULT '-1',
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`weight` tinyint(3) unsigned DEFAULT '1',
`text` longtext NOT NULL,
PRIMARY KEY (`id`,`realmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `autobroadcast` WRITE;
/*!40000 ALTER TABLE `autobroadcast` DISABLE KEYS */;
/*!40000 ALTER TABLE `autobroadcast` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+31
View File
@@ -0,0 +1,31 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ip_banned`
(
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`bandate` int(10) unsigned NOT NULL,
`unbandate` int(10) unsigned NOT NULL,
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
PRIMARY KEY (`ip`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Banned IPs';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip_banned` WRITE;
/*!40000 ALTER TABLE `ip_banned` DISABLE KEYS */;
/*!40000 ALTER TABLE `ip_banned` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+30
View File
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmcharacters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `realmcharacters`
(
`realmid` int(10) unsigned NOT NULL DEFAULT '0',
`acctid` int(10) unsigned NOT NULL,
`numchars` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`realmid`,`acctid`),
KEY `acctid` (`acctid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Realm Character Tracker';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmcharacters` WRITE;
/*!40000 ALTER TABLE `realmcharacters` DISABLE KEYS */;
/*!40000 ALTER TABLE `realmcharacters` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+41
View File
@@ -0,0 +1,41 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmlist`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `realmlist`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0',
`port` smallint(5) unsigned NOT NULL DEFAULT '8085',
`icon` tinyint(3) unsigned NOT NULL DEFAULT '0',
`flag` tinyint(3) unsigned NOT NULL DEFAULT '2',
`timezone` tinyint(3) unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`population` float unsigned NOT NULL DEFAULT '0',
`gamebuild` int(10) unsigned NOT NULL DEFAULT '12340',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Realm System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
INSERT INTO `realmlist` VALUES
(1,'AzerothCore','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,2,1,0,0,12340);
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_data`
(
`accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`time` int(10) unsigned NOT NULL DEFAULT '0',
`data` blob NOT NULL,
PRIMARY KEY (`accountId`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_data` WRITE;
/*!40000 ALTER TABLE `account_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,29 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_instance_times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_instance_times`
(
`accountId` int(10) unsigned NOT NULL,
`instanceId` int(10) unsigned NOT NULL DEFAULT '0',
`releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`accountId`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_instance_times` WRITE;
/*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,35 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_tutorial`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_tutorial`
(
`accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`tut0` int(10) unsigned NOT NULL DEFAULT '0',
`tut1` int(10) unsigned NOT NULL DEFAULT '0',
`tut2` int(10) unsigned NOT NULL DEFAULT '0',
`tut3` int(10) unsigned NOT NULL DEFAULT '0',
`tut4` int(10) unsigned NOT NULL DEFAULT '0',
`tut5` int(10) unsigned NOT NULL DEFAULT '0',
`tut6` int(10) unsigned NOT NULL DEFAULT '0',
`tut7` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`accountId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_tutorial` WRITE;
/*!40000 ALTER TABLE `account_tutorial` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_tutorial` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+52
View File
@@ -0,0 +1,52 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addons`
(
`name` varchar(120) NOT NULL DEFAULT '',
`crc` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `addons` WRITE;
/*!40000 ALTER TABLE `addons` DISABLE KEYS */;
INSERT INTO `addons` VALUES
('Blizzard_AchievementUI',1276933997),
('Blizzard_ArenaUI',1276933997),
('Blizzard_AuctionUI',1276933997),
('Blizzard_BarbershopUI',1276933997),
('Blizzard_BattlefieldMinimap',1276933997),
('Blizzard_BindingUI',1276933997),
('Blizzard_Calendar',1276933997),
('Blizzard_CombatLog',1276933997),
('Blizzard_CombatText',1276933997),
('Blizzard_DebugTools',1276933997),
('Blizzard_GlyphUI',1276933997),
('Blizzard_GMChatUI',1276933997),
('Blizzard_GMSurveyUI',1276933997),
('Blizzard_GuildBankUI',1276933997),
('Blizzard_InspectUI',1276933997),
('Blizzard_ItemSocketingUI',1276933997),
('Blizzard_MacroUI',1276933997),
('Blizzard_RaidUI',1276933997),
('Blizzard_TalentUI',1276933997),
('Blizzard_TimeManager',1276933997),
('Blizzard_TokenUI',1276933997),
('Blizzard_TradeSkillUI',1276933997),
('Blizzard_TrainerUI',1276933997);
/*!40000 ALTER TABLE `addons` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,41 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `arena_team`
(
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(24) NOT NULL,
`captainGuid` int(10) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`rating` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`rank` int(10) unsigned NOT NULL DEFAULT '0',
`backgroundColor` int(10) unsigned NOT NULL DEFAULT '0',
`emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
`emblemColor` int(10) unsigned NOT NULL DEFAULT '0',
`borderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
`borderColor` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenaTeamId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team` WRITE;
/*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
/*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,34 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `arena_team_member`
(
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0',
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`personalRating` smallint(5) NOT NULL DEFAULT '0',
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`personal_rating` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenaTeamId`,`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team_member` WRITE;
/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,37 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `auctionhouse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auctionhouse`
(
`id` int(10) unsigned NOT NULL DEFAULT '0',
`auctioneerguid` int(10) unsigned NOT NULL DEFAULT '0',
`itemguid` int(10) unsigned NOT NULL DEFAULT '0',
`itemowner` int(10) unsigned NOT NULL DEFAULT '0',
`buyoutprice` int(10) unsigned NOT NULL DEFAULT '0',
`time` int(10) unsigned NOT NULL DEFAULT '0',
`buyguid` int(10) unsigned NOT NULL DEFAULT '0',
`lastbid` int(10) unsigned NOT NULL DEFAULT '0',
`startbid` int(10) unsigned NOT NULL DEFAULT '0',
`deposit` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `item_guid` (`itemguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `auctionhouse` WRITE;
/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,28 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battleground_deserters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `battleground_deserters`
(
`guid` int(10) unsigned NOT NULL COMMENT 'characters.guid',
`type` tinyint(3) unsigned NOT NULL COMMENT 'type of the desertion',
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `battleground_deserters` WRITE;
/*!40000 ALTER TABLE `battleground_deserters` DISABLE KEYS */;
/*!40000 ALTER TABLE `battleground_deserters` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+29
View File
@@ -0,0 +1,29 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `bugreport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bugreport`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`type` longtext NOT NULL,
`content` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `bugreport` WRITE;
/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,35 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `calendar_events`
(
`id` bigint(20) unsigned NOT NULL DEFAULT '0',
`creator` int(10) unsigned NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(1) unsigned NOT NULL DEFAULT '4',
`dungeon` int(10) NOT NULL DEFAULT '-1',
`eventtime` int(10) unsigned NOT NULL DEFAULT '0',
`flags` int(10) unsigned NOT NULL DEFAULT '0',
`time2` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_events` WRITE;
/*!40000 ALTER TABLE `calendar_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `calendar_events` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,34 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_invites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `calendar_invites`
(
`id` bigint(20) unsigned NOT NULL DEFAULT '0',
`event` bigint(20) unsigned NOT NULL DEFAULT '0',
`invitee` int(10) unsigned NOT NULL DEFAULT '0',
`sender` int(10) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`statustime` int(10) unsigned NOT NULL DEFAULT '0',
`rank` tinyint(1) unsigned NOT NULL DEFAULT '0',
`text` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_invites` WRITE;
/*!40000 ALTER TABLE `calendar_invites` DISABLE KEYS */;
/*!40000 ALTER TABLE `calendar_invites` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+32
View File
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channels`
(
`channelId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`team` int(10) unsigned NOT NULL,
`announce` tinyint(3) unsigned NOT NULL DEFAULT '1',
`password` varchar(32) DEFAULT NULL,
`lastUsed` int(10) unsigned NOT NULL,
PRIMARY KEY (`channelId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels` WRITE;
/*!40000 ALTER TABLE `channels` DISABLE KEYS */;
/*!40000 ALTER TABLE `channels` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,29 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_bans`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channels_bans`
(
`channelId` int(10) unsigned NOT NULL,
`playerGUID` int(10) unsigned NOT NULL,
`banTime` int(10) unsigned NOT NULL,
PRIMARY KEY (`channelId`,`playerGUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_bans` WRITE;
/*!40000 ALTER TABLE `channels_bans` DISABLE KEYS */;
/*!40000 ALTER TABLE `channels_bans` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_rights`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channels_rights`
(
`name` varchar(128) NOT NULL,
`flags` int(10) unsigned NOT NULL,
`speakdelay` int(10) unsigned NOT NULL,
`joinmessage` varchar(255) NOT NULL DEFAULT '',
`delaymessage` varchar(255) NOT NULL DEFAULT '',
`moderators` text,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_rights` WRITE;
/*!40000 ALTER TABLE `channels_rights` DISABLE KEYS */;
/*!40000 ALTER TABLE `channels_rights` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_account_data`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`time` int(10) unsigned NOT NULL DEFAULT '0',
`data` blob NOT NULL,
PRIMARY KEY (`guid`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_account_data` WRITE;
/*!40000 ALTER TABLE `character_account_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_account_data` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,29 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_achievement`
(
`guid` int(10) unsigned NOT NULL,
`achievement` smallint(5) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`achievement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement` WRITE;
/*!40000 ALTER TABLE `character_achievement` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_achievement` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_achievement_progress`
(
`guid` int(10) unsigned NOT NULL,
`criteria` smallint(5) unsigned NOT NULL,
`counter` int(10) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement_progress` WRITE;
/*!40000 ALTER TABLE `character_achievement_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_achievement_progress` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,31 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_action`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
`button` tinyint(3) unsigned NOT NULL DEFAULT '0',
`action` int(10) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`spec`,`button`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_action` WRITE;
/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,30 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_arena_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_arena_stats`
(
`guid` int(10) NOT NULL,
`slot` tinyint(3) NOT NULL,
`matchMakerRating` smallint(5) NOT NULL,
`maxMMR` smallint(5) NOT NULL,
PRIMARY KEY (`guid`,`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_arena_stats` WRITE;
/*!40000 ALTER TABLE `character_arena_stats` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_arena_stats` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,42 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_aura`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
`itemGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0',
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
`amount0` int(11) NOT NULL DEFAULT '0',
`amount1` int(11) NOT NULL DEFAULT '0',
`amount2` int(11) NOT NULL DEFAULT '0',
`base_amount0` int(11) NOT NULL DEFAULT '0',
`base_amount1` int(11) NOT NULL DEFAULT '0',
`base_amount2` int(11) NOT NULL DEFAULT '0',
`maxDuration` int(11) NOT NULL DEFAULT '0',
`remainTime` int(11) NOT NULL DEFAULT '0',
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_aura` WRITE;
/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_banned`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`bandate` int(10) unsigned NOT NULL DEFAULT '0',
`unbandate` int(10) unsigned NOT NULL DEFAULT '0',
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint(3) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_banned` WRITE;
/*!40000 ALTER TABLE `character_banned` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_banned` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,27 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_battleground_random`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_battleground_random`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_battleground_random` WRITE;
/*!40000 ALTER TABLE `character_battleground_random` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_battleground_random` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,28 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_brew_of_the_month`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_brew_of_the_month`
(
`guid` int(10) unsigned NOT NULL,
`lastEventId` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_brew_of_the_month` WRITE;
/*!40000 ALTER TABLE `character_brew_of_the_month` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_brew_of_the_month` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_declinedname`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`genitive` varchar(15) NOT NULL DEFAULT '',
`dative` varchar(15) NOT NULL DEFAULT '',
`accusative` varchar(15) NOT NULL DEFAULT '',
`instrumental` varchar(15) NOT NULL DEFAULT '',
`prepositional` varchar(15) NOT NULL DEFAULT '',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_declinedname` WRITE;
/*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,34 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_entry_point`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_entry_point`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`joinX` float NOT NULL DEFAULT '0',
`joinY` float NOT NULL DEFAULT '0',
`joinZ` float NOT NULL DEFAULT '0',
`joinO` float NOT NULL DEFAULT '0',
`joinMapId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`taxiPath` text,
`mountSpell` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_entry_point` WRITE;
/*!40000 ALTER TABLE `character_entry_point` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_entry_point` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,53 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_equipmentsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_equipmentsets`
(
`guid` int(10) NOT NULL DEFAULT '0',
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
`setindex` tinyint(3) unsigned NOT NULL DEFAULT '0',
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
`ignore_mask` int(11) unsigned NOT NULL DEFAULT '0',
`item0` int(11) unsigned NOT NULL DEFAULT '0',
`item1` int(11) unsigned NOT NULL DEFAULT '0',
`item2` int(11) unsigned NOT NULL DEFAULT '0',
`item3` int(11) unsigned NOT NULL DEFAULT '0',
`item4` int(11) unsigned NOT NULL DEFAULT '0',
`item5` int(11) unsigned NOT NULL DEFAULT '0',
`item6` int(11) unsigned NOT NULL DEFAULT '0',
`item7` int(11) unsigned NOT NULL DEFAULT '0',
`item8` int(11) unsigned NOT NULL DEFAULT '0',
`item9` int(11) unsigned NOT NULL DEFAULT '0',
`item10` int(11) unsigned NOT NULL DEFAULT '0',
`item11` int(11) unsigned NOT NULL DEFAULT '0',
`item12` int(11) unsigned NOT NULL DEFAULT '0',
`item13` int(11) unsigned NOT NULL DEFAULT '0',
`item14` int(11) unsigned NOT NULL DEFAULT '0',
`item15` int(11) unsigned NOT NULL DEFAULT '0',
`item16` int(11) unsigned NOT NULL DEFAULT '0',
`item17` int(11) unsigned NOT NULL DEFAULT '0',
`item18` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_equipmentsets` WRITE;
/*!40000 ALTER TABLE `character_equipmentsets` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_equipmentsets` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,31 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_gifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_gifts`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`item_guid` int(10) unsigned NOT NULL DEFAULT '0',
`entry` int(10) unsigned NOT NULL DEFAULT '0',
`flags` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`item_guid`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_gifts` WRITE;
/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,34 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_glyphs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_glyphs`
(
`guid` int(10) unsigned NOT NULL,
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
`glyph1` smallint(5) unsigned DEFAULT '0',
`glyph2` smallint(5) unsigned DEFAULT '0',
`glyph3` smallint(5) unsigned DEFAULT '0',
`glyph4` smallint(5) unsigned DEFAULT '0',
`glyph5` smallint(5) unsigned DEFAULT '0',
`glyph6` smallint(5) unsigned DEFAULT '0',
PRIMARY KEY (`guid`,`talentGroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_glyphs` WRITE;
/*!40000 ALTER TABLE `character_glyphs` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_glyphs` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_homebind`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_homebind`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_homebind` WRITE;
/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,31 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_instance`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`instance` int(10) unsigned NOT NULL DEFAULT '0',
`permanent` tinyint(3) unsigned NOT NULL DEFAULT '0',
`extended` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_instance` WRITE;
/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,32 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_inventory`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`bag` int(10) unsigned NOT NULL DEFAULT '0',
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
`item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
PRIMARY KEY (`item`),
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_inventory` WRITE;
/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,45 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_pet`
(
`id` int(10) unsigned NOT NULL DEFAULT '0',
`entry` int(10) unsigned NOT NULL DEFAULT '0',
`owner` int(10) unsigned NOT NULL DEFAULT '0',
`modelid` int(10) unsigned DEFAULT '0',
`CreatedBySpell` mediumint(8) unsigned NOT NULL DEFAULT '0',
`PetType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`level` smallint(5) unsigned NOT NULL DEFAULT '1',
`exp` int(10) unsigned NOT NULL DEFAULT '0',
`Reactstate` tinyint(3) unsigned NOT NULL DEFAULT '0',
`name` varchar(21) NOT NULL DEFAULT 'Pet',
`renamed` tinyint(3) unsigned NOT NULL DEFAULT '0',
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
`curhealth` int(10) unsigned NOT NULL DEFAULT '1',
`curmana` int(10) unsigned NOT NULL DEFAULT '0',
`curhappiness` int(10) unsigned NOT NULL DEFAULT '0',
`savetime` int(10) unsigned NOT NULL DEFAULT '0',
`abdata` text,
PRIMARY KEY (`id`),
KEY `owner` (`owner`),
KEY `idx_slot` (`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet` WRITE;
/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,34 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_pet_declinedname`
(
`id` int(10) unsigned NOT NULL DEFAULT '0',
`owner` int(10) unsigned NOT NULL DEFAULT '0',
`genitive` varchar(12) NOT NULL DEFAULT '',
`dative` varchar(12) NOT NULL DEFAULT '',
`accusative` varchar(12) NOT NULL DEFAULT '',
`instrumental` varchar(12) NOT NULL DEFAULT '',
`prepositional` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `owner_key` (`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet_declinedname` WRITE;
/*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
@@ -0,0 +1,40 @@
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_queststatus`
(
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`status` tinyint(3) unsigned NOT NULL DEFAULT '0',
`explored` tinyint(3) unsigned NOT NULL DEFAULT '0',
`timer` int(10) unsigned NOT NULL DEFAULT '0',
`mobcount1` smallint(5) unsigned NOT NULL DEFAULT '0',
`mobcount2` smallint(5) unsigned NOT NULL DEFAULT '0',
`mobcount3` smallint(5) unsigned NOT NULL DEFAULT '0',
`mobcount4` smallint(5) unsigned NOT NULL DEFAULT '0',
`itemcount1` smallint(5) unsigned NOT NULL DEFAULT '0',
`itemcount2` smallint(5) unsigned NOT NULL DEFAULT '0',
`itemcount3` smallint(5) unsigned NOT NULL DEFAULT '0',
`itemcount4` smallint(5) unsigned NOT NULL DEFAULT '0',
`playercount` smallint(5) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus` WRITE;
/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

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