pete318
dcb7082277
Map local guids 6.x -> 3.3.35:
...
Implemented:
https://github.com/TrinityCore/TrinityCore/commit/ca83e14f8b141fab0a13e08f48fca6c1ace0c4c7
https://github.com/TrinityCore/TrinityCore/commit/ee1c1b97be4492ecabe8b15ea6323fc37e4eaa8c
https://github.com/TrinityCore/TrinityCore/commit/18e4ab6911468b829b0fc768e532a770263c3717
https://github.com/TrinityCore/TrinityCore/commit/bf37446b3c2ed73b4d3aa9e227d3eff5c53b378b
https://github.com/TrinityCore/TrinityCore/commit/cb854a2b7bb7bd96cf9c4d1daf3789f797bf4db8
* 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
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
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
ShinDarth
e806fc8a02
Core/Quest: implement Quest Tracker
2014-10-18 18:37:39 +02:00
Shauren
a0e50ea35f
Core/Entities: Use ObjectGuid class in game project
2014-09-14 16:14:12 +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
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
Dehravor
a1f0798792
DB/Guild: Fix incorrect input length limits
...
There is one incorrect field length related to guilds in the database, which can be used to cause an overflow client-side, by sending CMSG_GUILD_INFO_TEXT with long strings.
The guild information has the same 500 characters client-side limit as the guild bank tab information, but on server-side it can be 65k characters long. A lengthy guild info makes the whole Guild panel unusable.
Length of the other fields match the client's limits in the database: guild bank tab name (16), public note (31), officer note (31), motd (128), guild bank tab info (500).
Closes #11395
Signed-off-by: DDuarte <dnpd.dd@gmail.com >
2014-01-12 00:12:38 +00:00
Vlad
0b9a8ccef5
Core/Misc: Change creatures and gameobject phasemask from 16 to 32 bits
...
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-07-19 04:03:40 +01:00
Shauren
d24ef896df
Core/PacketIO: Implemented possibility to ban client addons serverside
2013-04-05 15:06:35 +02:00
Shauren
f37e0ee838
Core/Players: Implemented converting quests on faction change (keeping old faction quests in disabled state - not loaded during login) and restoring them if changing back to original faction
...
Closes #890
Closes #9248
2013-03-04 14:15:52 +01:00
Nay
2a69143cec
DB/Characters: Update sql/base/characters_database.sql
2013-02-04 16:22:43 +00:00
MrSmite
04f08d26a7
Implements saving of loot (items / money) contained inside lootable inventory items.
...
* Unlooted items / money persist across player sessions
* Loot inside items is tied to the item rather than the player so if trading
partially looted items becomes possible, this implementation will still work
* New tables added:
characters_database.sql (first time users)
characters_create_item_loot.sql (existing users)
Implementation Can be tested with:
Watertight Trunk [21113]
Bulging Sack of Gems [25422]
Fat Sack of Coins [11937]
Closes #2048
2012-12-15 00:06:32 -05:00
Vincent-Michael
d1b09205a2
SQL: Update characters_database.sql
2012-12-04 09:40:35 +01:00
horn
771aafc499
Core/Calendar: Completely rewrite and fix most of the calendar system
...
There are still some issues that need to be fixed, for more info see CalendarHandler.cpp TODO part.
Some unblizzlike behaviour possible, we don't have a lot of sniffs.
Big thanks to @Warpten, he joined my project and helped a lot.
IMPORTANT NOTE: Read / append packed time functions in ByteBuffer.h are not correct, they need to be fixed in order to have event times accurate
Signed-off-by: Nay <dnpd.dd@gmail.com >
2012-11-18 22:42:28 +00:00
Spp
7bd86b6b83
Update characters_database.sql (Missing changes from 58ec4e5319)
2012-11-07 09:49:31 +01:00
kaelima
6abc6253a6
DB: Add gm_tickets changes to base character db
2012-10-17 02:56:07 +02:00
tibbi
c0e0f1d89b
allow glyph1 be null like other glyph slots
2012-10-09 16:58:29 +01:00
Nay
b03b112327
SQL: Update characters_database.sql
2012-09-08 15:28:00 +01:00
Shauren
f8cd39b2ed
Core/Players: Improved alcohol handling, weeeeeeeeeeeeeeeee
...
Closes #7293
2012-08-07 17:45:10 +02:00
NNN666
e757ebf6ba
Core/Player: Fix issues with 'ignore this slot' option on equipment manager usage
2012-07-13 16:27:11 +02:00
Shauren
73e6eedce8
And missing full sql changes
2012-06-07 23:25:33 +02:00
Nay
2d0e5e2e0c
Core/Conditions: Add missing code for CONDITION_TITLE
...
DB/Char: Add changes to character base
Thanks to manuel and QAston for noticing
2012-04-08 12:56:18 +01:00
Nay
107a6f2c4b
DB/Auth: Update auth_database.sql with recent changes
...
DB/GameEvent: Resync Darkmoon, again - by Aokromes
2012-03-25 21:15:22 +01:00
leak
8e3a4b956e
Core/Warden: Base implementation for Warden functionality
...
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table
Credits to TOM_RUS
2012-02-19 13:51:16 +01:00
Nay
0762c76c62
DB/Characters: Add missing table create to characters_database.sql from f4075f0f94
2012-01-19 17:42:43 +00:00
Nay
4a0ab9177f
DB: Add missing changes to characters base sql
2012-01-07 22:21:22 +00:00
Nay
fd3bd4c49d
Core/Quests: Implement quests that require PlayerSlain. Closes #169
2011-09-05 15:20:02 +01:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
tobmaps
600cc16c94
Core/Players: Pet talents can be reset at a pet trainer for free, original idea by rsa
2011-05-31 05:47:17 +07:00
Machiavelli
05cc29b54a
DB/Schema: Add index to characters.character_pet.slot. Prevents deadlocks when operating on this table.
2011-05-29 18:28:54 +02:00
Machiavelli
f8bd56e219
DB/Schema: Correct use of indexes on mail_items table. Prevents deadlocks in operations on this table.
2011-05-29 00:32:18 +02:00
Nay
e6e3174d9a
DB/SQL: No tabs nor CR line feeds
2011-05-18 15:51:42 +01:00
Shocker
3fa651ce19
Core/Misc: Include resilience in character_stats
2011-05-09 17:01:10 +03:00
runningnak3d
3acbd2aaf6
SQL/Structure: Allow 20 character guild names.
2011-05-06 00:32:26 -04:00
laserjet
a2a751b9d6
DB: Fixed comments in character_banned table
...
Closes #1273
2011-04-23 10:56:04 +02:00
Azazel
c36846d78a
Core/GM System: rename columns of gm_surveys, gm_subsurveys, gm_tickets and lag_reports tables to lowerCamel, move queries to prepared statements and refactor the code of TicketMgr.
2011-04-19 14:04:18 +06:00
Azazel
a26b4ff95e
Core/SQL: fix a few minor mishaps with wrong keys not being updated in commit 5357b1ba77 - fixes import of base characters database (thanks click for pointing out). Closes #1231 .
...
Also rename indexes in recently cleaned tables to have 'idx_' prefix.
Add queries to recreate indexes based on recently modified columns (just to make sure that all indexes are correct).
2011-04-14 11:31:15 +06:00
Azazel
3993b73925
Core/CharDB cleanup: change creature_respawn and gameobject_respawn column names to lowerCamel, rename instance column to instanceId and move all queries to these tables to prepared statements.
...
Fix import error in character_database.sql.
2011-04-13 17:02:06 +06:00
leak
d4f4f4bfea
SQL: Updated char db base
2011-04-12 09:34:35 +02:00
Azazel
5357b1ba77
Core/CharDB Cleanup: alter corpse table making column names lowerCamel and move all queries to prepared statements.
...
NOTICE: column can be named `guid` only if it represents character guid. All other guids will be renamed to reflect their purpose (like corpseGuid in this specific case)
2011-04-11 14:39:00 +06:00
leak
7935c2f5c2
Core/Arena: Move personalRating to arena_team_member
2011-04-08 21:14:30 +02:00
leak
1e94fc530b
SQL/Arena: Fix some warnings with missing default values
2011-04-08 15:57:25 +02:00
Azazel
9f1cc4407a
Core/CharDB Cleanup: alter character_homebind table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 17:04:51 +06:00
Azazel
37a6fe2ae7
Core/CharDB Cleanup: alter character_battleground_data table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 11:28:10 +06:00
leak
9456ae7199
SQL/Arena: Removing ambiguous personalRating column until things are sorted out
2011-04-06 11:20:01 +02:00