Commit Graph

488 Commits

Author SHA1 Message Date
Shauren
2e2bdec28f Travis fix. 2015-10-30 18:20:33 +01:00
Shauren
4245c2c59d SQL: syntax fix in characters_database.sql 2015-10-30 08:15:01 +01:00
Shauren
7dcddd90be Core/Spells: Improved spell category cooldown handling
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast

(cherry picked from commit 1efb3f08e2)

Closes #15766
Closes #15137
Closes #14837
2015-10-29 17:56:18 +01:00
ShinDarth
d380c12c56 Core/Battleground: implement deserters tracker feature 2015-10-28 20:39:04 +01:00
ShinDarth
2ebf068fc7 Core/BG fix .character changefaction pvpstats victories amount 2015-10-12 19:25:43 +02:00
pete318
76eea5c81c And final change to include table hash in updates
Not actually needed for this change, but it upset travis
2015-10-08 00:33:00 +02:00
pete318
258b382520 Also update character base create for pet_aura commit 2015-10-08 00:20:38 +02:00
DDuarte
5d2cee1c2e Rename SQL after PR merge 2015-10-06 14:54:43 +01:00
Duarte Duarte
22536641b2 Merge pull request #15654 from ShinDarth/resolvedBy
Core/Ticket keep always trace of GM who resolves the ticket
2015-10-06 06:35:45 -07:00
ShinDarth
e66db9e20c Core/Ticket keep always trace of GM who resolves the ticket 2015-10-06 15:31:54 +02:00
Naios
2b041266a3 DB/Auth: Add missing update 2015_08_21_00_auth.sql to the auth base. 2015-10-05 23:30:24 +02:00
r00ty
e5e2b093d2 DB/Characters: Updated character create for update hash
Updated hash for 2015_08_26_00_characters_335.sql for map local guids commit

Closes https://github.com/TrinityCore/TrinityCore/issues/15601
2015-09-28 23:19:27 +02:00
pete318
01ae5c4bf6 Auction house changes:
- Stop storing guid for auctioneer.
 - Store instead house ID
 - No separate ID for various houses. Only Horde, Alliance and Neutral.
 - Removed non-needed faction checks.
 - Use enum for auction house IDs

NOTE: This will expire all current auctions and return item to player (or
award to high bidder) in order to prepare database for the changes.
2015-09-28 22:26:23 +02:00
pete318
dcb7082277 Map local guids 6.x -> 3.3.35:
Implemented:
  ca83e14f8b
  ee1c1b97be
  18e4ab6911
  bf37446b3c
  cb854a2b7b

* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396e
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
* Added new function to return but not increment guid
* Adjusted .debug loadcells to show low guid in map before/after load
* Added debug messages for creature spawn/destroy, for map guid debugging
* Store all Gameobjects and Creatures added to OutdoorPvP, so the callback script can be removed when OutdoorPvP instance is destroyed.
2015-09-22 21:33:57 +02:00
jackpoz
5e1722c2f4 Script/Commands: Add new "debug loadcells" command
Closes #15292
2015-08-21 22:54:59 +02:00
DDuarte
a9d00b9c96 TDB 335.59 - 2015/07/14 2015-07-14 01:24:35 +01:00
ShinDarth
47561ab9d3 DB/Characters fix auto updater 2015-06-29 00:09:32 +02:00
ShinDarth
f8230a59a9 DB/Characters: Backport schema changes from 6.x branch (renames)
Closes #14951
2015-06-26 00:28:32 +01:00
Nayd
2774d03be0 Update world_database.sql 2015-03-22 20:02:52 +00:00
Nayd
360075129e TDB 335.58 - 2015/03/21 2015-03-21 22:06:46 +00:00
Naios
2bd1c8541d Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

(cherry picked from commit 352012e531)
(cherry picked from commit 1f7f9feafc)

For 3.3.5:
* Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency!

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 20:54:54 +00:00
Vincent-Michael
7b9bcbea8e SQL: Sync auth database 2014-12-21 20:43:57 +01:00
Nyeriah
c79af3f16f Core/RBAC: Allow setting different default security level roles to different realms 2014-12-10 18:43:14 -02:00
Heihachi
3e03e546d3 Scripts/Commands: mod xp command
Closes #13476
2014-11-11 00:45:30 +00:00
ShinDarth
fd0b961781 Core/Commands: implement .pvpstats command
Shows number of battleground victories in the last 7 days

Closes #13460
2014-11-10 22:30:20 +00:00
DDuarte
9ad5dce64c SQL: Update /dev/world_database.sql 2014-10-30 13:29:33 +00:00
Heihachi
15a9c6729e Scripts/Commands: Implement mutehistory command for GM's with requested improvements
Closes #13350
2014-10-18 23:34:18 +01:00
Nyeriah
2f016098c2 Scripts/Commands: Implement commands to set and get boss states during run time
Closes #13186
2014-10-18 22:05:04 +01:00
ShinDarth
e806fc8a02 Core/Quest: implement Quest Tracker 2014-10-18 18:37:39 +02:00
Vincent-Michael
31234c0ca0 SQL: Sync world_database after tdb 335.56 release 2014-09-21 17:09:51 +02:00
DDuarte
eeaf7ef6fa Revert "SQL: Update dev/world_database.sql"
This reverts commit 09f9f3b6b1.

I forgot that world_database.sql should only get updated in TDB releases.
2014-09-19 18:42:09 +01:00
DDuarte
09f9f3b6b1 SQL: Update dev/world_database.sql 2014-09-19 18:18:18 +01:00
Shauren
7d1d55124c Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Scripting/MapScripts.cpp
	src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
	src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
	src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Shauren
a0e50ea35f Core/Entities: Use ObjectGuid class in game project 2014-09-14 16:14:12 +02:00
DDuarte
073221c395 SQL: Update /dev/world_database.sql
Forgotten change of 27479cf571
2014-09-13 02:57:05 +01:00
Odyssey
8adde791d8 Scripts/Commands: Implement .guild info command
Displays a information summary about the selected player guild or a given guildId or Name

Closes #12949

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2014-08-28 23:04:52 +01:00
Vincent-Michael
cb37e2c9d1 SQL: Sync auth_database 2014-08-28 22:37:46 +02:00
ShinDarth
b65172910c Core/BattleGrounds: store data about BGs victories
Enable in worldserver.conf

Closes #12944

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2014-08-28 15:32:38 +01:00
DDuarte
55a501c1ca SQLs: Update /dev/world_database.sql
Again, do NOT import this file.
2014-08-27 14:13:51 +01:00
DDuarte
0affa9168c SQLs: Move world_database.sql to dev folder
Simply because people can't read instruction guides...
2014-08-04 14:11:03 +01:00
DDuarte
64c8c47622 CI/Travis: Add steps to create databases and import SQLs
This way the automated build with error if sqls contain errors.
Do NOT import world_database.sql, keep using TDB releases.
2014-07-28 23:23:27 +01:00
Subv
dfdc19f3bc Merge branch master into boost
Conflicts:
               BattlegroundMgr.h
2014-07-13 16:52:38 -05:00
Vincent-Michael
f825d6b738 SQL: Sync auth_database 2014-06-25 18:40:03 +02:00
Ascathor
6949735098 Core/Misc:
* Fix some codestyle, fix some typos

* Change CMakeLists for: Custom (can be uncommented), Events, World
** Custom is theoretically unchanged. You can, however, uncomment the glob_recurse that initializes every file within. This might be easier for beginners.

* Introducing the IP Based Action Log System:
** On several different actions, e.g. Login, Character Login, etc., a new entry is added
** Can be logged on and off in worldserver config
*** Disabled by default to prevent increased log db size for unknowing users.

* Add a new row to account table called 'last_attempt_ip'
** Lists the last ip trying to connect to the account

* Add a new type of HookScripts: AccountScript
** Includes: OnAccountLogin, OnFailedAccountLogin, OnEmailChange, OnFailedChange, OnPasswordChange, OnFailedPasswordChange

* Added new Hook to PlayerScripts: OnFailedPlayerDelete

* Added new variables to PlayerScripts: OnPlayerDelete
2014-06-13 16:25:11 +02:00
Vincent-Michael
1fd6210aa5 SQL: Update old .sql files to keep consistency with auth_database.sql
Also update characters_database.sql (generated by mysqldump)
2014-04-28 13:47:08 +02:00
Vincent-Michael
c81d6e9b4b Core/Texts:
* Enable some BroadcastTexts stuff (is not finish)
* Added reload command for broadcast_text table
ToDo:
- Enable: Sound/Emote stuff, etc.
- Auth base need refresh
2014-04-25 23:25:59 +02:00
Dehravor
6a5c43b0d8 Core/Loot: Implement round robin for under threshold items in case of master loot
Thanks @Shauren for pointing out
2014-03-16 19:12:01 +01:00
Duarte Duarte
efeb54139e SQL: Update old .sql files to keep consistency with auth_database.sql
Also update characters_database.sql (generated by mysqldump)
2014-01-31 04:34:32 +00:00
Vincent_Michael
313b294d6b Core/RBAC: Fix difference problems with 4.3.4 2014-01-19 20:48:15 +01:00
Discover-
f6264169d8 Merge pull request #11299 from Carbenium/MailboxCmd
Core/Command: Add mailbox command
2014-01-19 07:29:11 -08:00