Commit Graph
65 Commits
Author SHA1 Message Date
leak d4f4f4bfea SQL: Updated char db base 2011-04-12 09:34:35 +02:00
leak 9bed8e49db Core/Arena: Restore personal rating loading 2011-04-10 15:19:54 +02: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
leak 770c8a950e Core/Arena: Query column order for game stats restored
fixes #1165
2011-04-07 09:23:05 +02:00
leak 9456ae7199 SQL/Arena: Removing ambiguous personalRating column until things are sorted out 2011-04-06 11:20:01 +02:00
leak ae3ab32ea5 Core/Arenas: Refactor arena code and db layout 2011-04-05 21:54:28 +02:00
leak 0927243278 Core/GameEventMgr: Forgotten query no. 2 2011-03-19 18:11:13 +01:00
leak 6eb5014182 SQL: Lost changes in character base sql 2011-03-19 00:23:35 +01:00
leak 74ae022849 Core/GameEventMgr: Drop temporary table 2011-03-18 20:27:41 +01:00
leak ca02708564 Core/GameEventMgr: Forgotten query 2011-03-18 18:49:40 +01:00
leak 90a3fee232 Core/GameEventMgr: Reduce memory waste caused by gaps in game_event entry IDs 2011-03-18 00:11:12 +01:00
leak 6a4ffb4be1 Core/Battlegrounds: Free instance id in the proper place.
fixes #966
2011-03-14 20:39:05 +01:00
leak a874fe0764 Core/Battlegrounds: Fixed memory and CPU cycle leak that was caused by BG objects not being removed properly in "All Arenas" case 2011-03-13 21:52:37 +01:00
leak 986a09c121 SQL: Corrected improper sql file naming 2011-03-12 16:00:27 +01:00
leak 2a34b41ce8 Core/Instances: Fix warning 2011-03-11 19:57:00 +01:00
leak 190ef1c2ef Core/Instances: Fix crash and allocation issue in instance id generation 2011-03-11 13:24:58 +01:00
leak 4f892bbba1 Core/ObjectMgr: Use a map rather than a vector for indexing guilds by their guid (might contain large gaps). 2011-03-11 00:18:49 +01:00
leak b6074f90da Core: Cleaned up leftovers from loading functions streamlining 2011-03-10 22:22:29 +01:00
leak 5b481d36bf Core/Battlegrounds: BG instances are not saved to the database and thus need no deletion. 2011-03-10 22:22:28 +01:00
leak 4569e4852a Core/Instances: Recycle instance IDs. Should fix instance ID shifting and related issues with instance binding.
fixes #736
2011-03-10 22:22:27 +01:00
leak f5e9c2c23b Core/Groups: And here i was talking about sync execution.. 2011-03-01 01:59:26 +01:00
leak 709c395421 Core/Groups: Forgotten changes from group id recycling reimplementation, also cleanup queries should be sync (and due to their one time execution have no need to be prepared statements) 2011-03-01 01:42:18 +01:00
leak aa2455b586 Core/Groups: Reimplement group id recycling 2011-02-27 00:55:45 +01:00
leak 4dc1bf3076 Core/Groups: Prevent group id pool corruption (BG groups take their Ids out of the same pool thus the need to register properly) 2011-02-24 23:35:39 +01:00
leak 3e046f9bc4 Core/AI: Put log messages on filter 2011-02-24 18:37:27 +01:00
leak 4af76de1b9 Core/Maps: More unused maps 2011-02-23 00:50:16 +01:00
leak a751bd64aa Core/Instances: Remove unused map 2011-02-23 00:15:45 +01:00
leak b27735b590 Core/Groups: Reuse group guids to stop endless growth 2011-02-22 23:49:57 +01:00
leak bde5adf9bd Core/Globals: Cleanup queries should be blocking if we want to be sure to load clean data 2011-02-22 21:01:07 +01:00
leak 09bac61e42 Core/Groups: Move scattered group object deletion to Disband() 2011-02-22 16:52:38 +01:00
leak 6a64c79d2a Core/Groups: Group system cleaning sweep. 2011-02-18 18:35:52 +01:00
leak aaa9b069d9 Core/Entities: Prevent accessing uninitialized memory 2011-02-17 02:04:47 +01:00
leak 21a9d90aa8 Docs: Updated UnixInstall.txt 2011-02-16 13:46:44 +01:00
leak 3a2e21613f Contrib/conf_merge: Tab removed and copyright updated (Thanks to Aokromes) 2011-02-16 13:25:54 +01:00
leak dcacdd0932 Core/SOAP: Stop soap socket from proceeding when nobody connected 2011-02-15 02:00:16 +01:00
leak 06402fda47 Core/Handlers: Send invite decline message to leader in every case 2011-02-13 21:15:52 +01:00
leak e87b6ce8fe Core/Tools: Restore loading player dumps 2011-02-10 18:21:21 +01:00
leak 422cfec07d Core/Battlegrounds: Refactoring some pointless parameters 2011-02-09 16:47:47 +01:00
leak e00e57b570 Core/Spells: Remove movement impairing effects for druids when shifting back to normal form
fixes #320
2011-01-26 20:05:36 +01:00
leak 41d0c5571a Core/Entities: Avoid unique key violations during character inventory saving for newly created items 2011-01-26 17:20:21 +01:00
leak 59aa3b5650 Restore unix build 2011-01-26 02:04:55 +01:00
leak 137b079eea Core: Generic cleanup (tab2spaces/trailing whitespace removal) 2011-01-26 01:03:35 +01:00
leak 57f85ab7da Core/DBLayer: Replace prepared statement arrays with a map to avoid asynchronous indexes at query logging or error output
- Add values to prepared statement query log messages
- Killed a bit Engrish and trailing white whitespaces
2011-01-26 00:41:55 +01:00
leak 180b739483 Core/Entities: Avoid unique key violations during character inventory saving
(It only works "<Machiavelli> because I saideth so")
2011-01-25 18:42:17 +01:00
leak ffdeeb3195 SQL: Minor cleanup in existing roll up patches 2011-01-25 14:40:05 +01:00
leak dd751242fc Core/Spells: Better solution for exploit check (Thanks to manuel)
Readd lost changes from char db type cleanup
2011-01-20 03:06:51 +01:00
leak f7af49291b SQL: Characters db storage type cleanup No. 7 (final) - Note:
- It is _strongly_ recommended to extensively test the recent changes before applying them to live data

- To fully resync the character db layout with TC releases it is recommended to dump the characters table with
mysqldump --no-data characters > characters_database_livedata.sql
and use a diff tool to compare it against sql/base/characters_database.sql
2011-01-20 02:11:49 +01:00
leak c59ea4726e SQL: Characters db storage type cleanup No. 6 2011-01-20 01:02:24 +01:00
leak a486eb0c2f SQL: Characters db storage type cleanup No. 5 2011-01-20 00:08:45 +01:00
leak a7df9ddff1 SQL: Characters db storage type cleanup No. 4 2011-01-19 22:46:21 +01:00
leak 471b6f138d SQL: Characters db storage type cleanup No. 3 - Note:
There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
2011-01-19 18:51:00 +01:00
leak c306acf298 SQL: Characters db storage type cleanup No. 2 2011-01-19 14:04:33 +01:00
leak b8210f4396 SQL: Characters db storage type cleanup #1 - Note:
- MySQL numeric types can NOT be altered in value range or or storage size at all, so things like INT(32) are entirely pointless. As TC currently doesn't use the display width of numeric types, use the default width to avoid confusion. (see MySQL numeric types docs)

- Timestamps can be stored as INT(10) UNSIGNED. As the max value of this type is 4294967295 which translates into year 2106 using it as timestamp we are NOT affected by the year 2038 bug. If the timestamp needs to be negative in some cases, i.e. for displaying infinity using -1, use BIGINT(20) instead.

- Do NOT set ROW_FORMAT for InnoDB tables unless you specifically want COMPRESSED tables (which we don't for performance reasons). MySQL will chose the appropriate ROW_FORMAT by itself depending on the innodb_file_format setting of the server. (FIXED is only available for MyISAM)

- Even though VARCHAR does require less storage space than CHAR for values with variable length, the length still needs to be chosen wisely as this doesn't apply to memory consumption.
2011-01-19 02:53:44 +01:00
leak 719ffeb414 SQL: Resync characters db base SQL with rollups and redump with recent mysqldump version in preparation for char db storage type cleanup 2011-01-19 01:31:08 +01:00
leak 40af92dd66 Core/Spells: Stop exploit that allowed looting despawned gameobjects by packet manipulation. 2011-01-18 20:02:28 +01:00
leak 44670c2e4f Core/SQL: Fix SQL rollup file name. (Usually gets lost when batch applying with with *characters*.sql file mask) 2011-01-16 13:38:31 +01:00
leak 64ea69a66d Core/AuctionHouse: Restore Rate.Auction.Deposit and Rate.Auction.Cut functionality (Note: The client won't display any changes)
closes #6
2011-01-03 19:12:02 +01:00
leak aae7348ddc [Scripts/Trial of Crusade] Fix some typos on Twin Valkyrs script. Thanks to Drethek. 2011-01-03 17:18:41 +01:00
leak a7dadcb51c Prevent infinite absorption (and spell damage from Incanter's Absorption) when Chaos Bolt hits Mana shield. Patch by johnholiver.
Fixes #7
2011-01-02 13:42:14 +01:00
leak a1d185cc44 Restore sql patch numbering 2011-01-02 12:25:45 +01:00
leak d747b8063b And remove useless testing code again.. 2010-12-31 04:50:26 +01:00
leak 73fe85e6fd Core/Handlers: Allow gamemasters to send mails with customer support badge depending on gm mode (.gm off/on) 2010-12-31 04:47:57 +01:00
leak c5a143547d Contrib: Helper scripts to receive the revision ID of the repository without running cmake. Need to be run inside the repository directory. 2010-12-31 02:55:38 +01:00
leak 1c244cced5 Core/Entities: Fixed disarming and related exploits
- Disarm shouldn't deduct stats other than weapon damage
- Ferals shouldn't be affected by disarm
- Fixed meta gem stacking exploit
2010-12-29 17:18:29 +01:00