Commit Graph

123 Commits

Author SHA1 Message Date
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
Shauren
2c27c5b5b9 Core/DataStores: Fixed crash in hotfix packet building
Closes #19218
2017-03-02 19:48:58 +01:00
Shauren
bc2380e105 Core/DataStores: Fixed Meta->Types/TypesString mixup causing crashes when trying to send hotfix for nonlocalized string
Closes #18882 (for real this time)
2017-02-26 15:00:46 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
8b2e07166f Core/DataStores: Fixed loading non-localized db2 strings
Closes #18451
2016-12-14 00:09:32 +01:00
Shauren
4acaf2dda4 Core/DataStores: Fixed crash with db2 loaders on gcc 4.9
Closes #18166
2016-11-02 00:06:09 +01:00
Shauren
505d3e24cc Core/DataStores: Removed the need to edit DB2Metadata automatically generated to account for non-localized string fields 2016-10-26 01:34:29 +02:00
Shauren
4a0f5ed2be Core/DataStores: Fixed loading int arrays from trailing packed blobs in db2 files
Closes #18072
2016-10-15 23:53:28 +02:00
Shauren
d34020da7f Core/DataStores: Fixed loading signed db2 fields 2016-10-09 16:54:11 +02:00
Shauren
763e9e4921 Warning fix 2016-08-06 12:32:43 +02:00
Shauren
bb93816b5c Core/DataStores: Refactored DB2 loaders to no longer require sparse format to be specified at compile time 2016-08-05 20:49:01 +02:00
Shauren
e405ac5f41 Fixed nopch build and some leftover warnings 2016-07-20 13:27:04 +02:00
Shauren
8e53373d35 Warning fixes 2016-07-19 20:01:13 +02:00
Shauren
fe4d11c65a Tools: Extractor updates
* VMAP extractor does not work due to a bug in CascLib
2016-07-18 23:37:19 +02:00
Shauren
a5f6a80f0c Core/DataStores: Added sparse storage flag assertion 2016-07-17 16:07:25 +02:00
Shauren
832944db24 Core/PacketIO: Updated SMSG_DB_REPLY 2016-06-03 00:00:49 +02:00
Shauren
634ec0061f Core/DataStores: Updated db2 to 7.0.3.21796 2016-05-30 23:41:08 +02:00
Shauren
b82332487a Core/DataStores: Updated db2 to 7.0.3.21737 2016-05-27 23:14:36 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
885d9b53c3 Core/DataStores: Updated dbc/db2 to 7.0.1.20994 2016-05-20 23:48:48 +02:00
Shauren
41ae38d94d Core/DataStores: Updated dbc/db2 to 7.0.1.20914 2016-05-20 23:48:24 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Naios
25b0e743b1 Core/Shared: Converted the shared library to a shared library ,-).
* There is still the possibility to static link against shared.
2016-03-24 01:29:00 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Melvin1263
262e61aae1 Core/DataStores: Fixed reading uint64 fields from DB2 files
Closes #15818
Closes #15752
2015-11-07 18:50:13 +01:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren
4c851d985e Core/DataStores: Corrected memory allocation for DB2 files. Non-localized strings no longer reserve memory for all locales 2015-09-02 23:16:35 +02:00
Shauren
3308a90fee Build fixes 2015-08-30 00:49:40 +02:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
Shauren
7c75160f59 Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors. 2015-08-27 00:54:49 +02:00
Shauren
228b932925 Core/Players: Fixed power slot ordering 2015-07-12 00:41:56 +02:00
Shauren
776e4411c0 Core/DataStores: Dropped a silly build 12880 check in db2 loader (it's a cataclysm beta build) 2015-07-08 10:25:50 +02:00
Shauren
5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren
854917a31a Core/DataStores: Added an extra safeguard for loading db2 hotfix locale tables - invalid row will no longer cause crashes 2015-03-06 18:52:58 +01:00
Shauren
0652b1072a Core/DataStores: Made prepared statement index argument for DB2Storage constructor required 2015-03-04 12:15:38 +01:00
Shauren
4282ec57f3 Core/DataStores: Fixed out of bounds array access in DBStorageIterator 2015-02-25 16:13:58 +01:00
Shauren
40b6736f69 Core/DataStores: Added iterator class for DBCStorage and DB2Storage 2015-02-22 12:44:24 +01:00
Shauren
5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
Noffearr
1d894f1b9d Core/Misc: Update outdated license header files
Ref #14028
2015-02-04 21:02:54 +00:00
Shauren
dd4973ab23 Core/PacketIO: Fixed SMSG_DB_REPLY structure 2015-02-02 19:50:27 +01:00
jackpoz
95b1204798 Core/Misc: Properly sanitize ReputationSpillover data
Fix an issue added in 024b57bb74 that didn't properly skip ReputationSpillover rows with invalid data.
Fix also a static analysis issue reported by Coverity.
2015-01-31 22:59:21 +01:00
jackpoz
0edc35b921 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-20 22:55:06 +01:00
jackpoz
1a4b1beb14 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-18 21:53:04 +01:00
jackpoz
5dfd07fa4f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-18 18:30:34 +01:00
Shauren
8a30b70a20 Core/DataStores: Optimized memory usage for DB2Storage 2015-01-17 17:59:13 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
joschiwald
9ecc578cb1 Core/Scripts: multiple changes
- fixed non pch build
- fixed some warnings
- fixed some coverity issues
- some random things here and there
2014-12-29 01:00:16 +01:00
Gacko
cf89335177 Fix non pch build 2014-12-27 13:57:36 +01:00
Shauren
3c3b42362f Core/DataStores: Added DB2Manager
* Moved DB2 helpers to new class
* Moved hotfix data to hotfixes database and core management functions to DB2Manager class
* Updated HotfixNotifyBlob packet
2014-12-26 01:38:40 +01:00
Shauren
9eb70940bd Core/DataStores: Moved broadcast_text handling to DB2Storage 2014-12-25 22:20:16 +01:00