Commit Graph

1207 Commits

Author SHA1 Message Date
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
58d75eda3a Core/Commands: Added "createGameAccount" argument to .bnetaccount create command (default true) to opt out of creating the initial game account 2015-01-17 20:03:39 +01:00
Shauren
e07054ff2d Build fix 2015-01-17 18:31:09 +01:00
Shauren
8a30b70a20 Core/DataStores: Optimized memory usage for DB2Storage 2015-01-17 17:59:13 +01:00
Shauren
469b836114 Core/Auras: Fixed saving all aura effect values to database 2015-01-16 23:32:41 +01:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
joschiwald
3e9d7e83eb Merge pull request #13809 from AriDEV/6.x
Server/PacketIO: Currency Updates
2015-01-02 03:46:32 +01:00
AriDEV
895e50be7a Server/PacketIO: Currency Updates
* Update SMSG_SET_CURRENCY & SMSG_SETUP_CURRENCY Packets.
* Update of Database Structure and SQLStatements for Currencies.

Signed-off-by: AriDEV <aridev666@gmail.com>
2015-01-02 03:05:58 +01:00
Shauren
ccc293931d Core/PacketIO: Removed SMSG_DESTROY_OBJECT from opcodes enum 2015-01-01 20:38:19 +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
Intel
a782515246 Core/Quests: Updated Quest System to new Format
All quest requirements are now in quest_objectives table
quest_template table contains _ONLY_ WDB data and must not be modified
Currently supported objectives are MONSTER, GAMEOBJECT, ITEM, TALKTO, CURRENCY, REPUTATION, MONEY, PLAYERKILLS, AREATRIGGER
2014-12-28 22:55:53 +02:00
jackpoz
3cdc66bec6 Shared/Networking: Fix buffer overflow in Socket handling
Fix a buffer overflow caused by Boost trying to store too much data in a buffer too small.

(cherry picked from commit cdf6c88462)
2014-12-28 15:56:55 +00: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
Shauren
3393934045 Core/DataStores: Implemented loading locale strings from database to DB2Storage 2014-12-25 12:43:59 +01:00
Shauren
ae8814772f Core/DataStores: Implemented loading hotfixes database into DB2Storage 2014-12-24 22:24:32 +01:00
Shauren
33a492e822 Core/DBLayer: Removed a few old authserver prepared statements 2014-12-24 15:16:51 +01:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
joschiwald
6c6e4d4328 Core/Packets: moved chat packet building function to packet builder class 2014-12-23 00:06:36 +01:00
Intel
518c744336 Core/Packets: Add connection indexes for server packets
Fixed IOCP define for linux
Minor code style change in inventory loading
2014-12-07 15:14:43 +02:00
Nayd
a1d4c9f9dc Core: Use the correct function to convert strings to unsigned longs and unsigned long longs
Fixes wrong data being inserted into the database (i.e explored zones).
More info in #13493

Fixes #13493

Thanks to @jackpoz for finding the code issue and @Vavehl for an expectional bug report.
2014-11-26 02:12:38 +00:00
Shauren
4764c3ea77 Core/Util: Fixed "value" name in Optional struct to follow code style 2014-11-20 01:17:45 +01:00
joschiwald
b7baee390c Core/Packets: updated SMSG_BINDPOINTUPDATE, SMSG_INVALIDATE_PLAYER, SMSG_LOGIN_SETTIMESPEED, SMSG_WORLD_SERVER_INFO 2014-11-19 02:12:47 +01:00
Nayd
3eb120ab50 Core/Networking: Catch possible boost exception in StartNetwork
Closes #13557
2014-11-16 20:08:53 +00:00
joschiwald
d55c0cbf3a Core/Packets: updated AccountData packets 2014-11-16 06:08:46 +01:00
joschiwald
231207970b Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS, SMSG_INITIAL_SPELLS and SMSG_SPELL_CATEGORY_COOLDOWN 2014-11-14 02:00:34 +01:00
Intel
da52c8d54e Core/Talents:
Fixed SMSG_TALENTS_INFO packet
Fixed talents saving to DB
Renamed 'talent spec' to 'talent group' since this name was shadowing character specializations (and new name is correct according to JAM)
Enabled loading of MinorTalent.dbc (will be used later)
Added additional specialization check in LearnTalent
2014-11-12 21:43:48 +02:00
joschiwald
620f23d9dc Core/World: hold deleted characters in character store 2014-11-12 19:16:14 +01:00
joschiwald
f4926e0a8c Core/Packets: updated char rename customize and factionchange packets 2014-11-12 16:36:05 +01:00
DDuarte
7315333141 Core/Utilities: Fix compilation and remove commented out code about old flag96 2014-11-11 19:03:17 +00:00
devil1234
b978f0286c Core/Databases: Add hotfix database to world config and prepared statement for it.
Closes #13533
2014-11-11 13:14:36 +00:00
DDuarte
9c55d9fdeb Core/Commands: implement .pvpstats command
Shows number of battleground victories in the last 7 days

Closes #13460

Conflicts:
	sql/base/auth_database.sql
	sql/updates/auth/2014_11_10_00_auth.sql
	src/server/game/Accounts/RBAC.h

(cherry picked from commit fd0b961781)
2014-11-10 23:10:02 +00:00
DDuarte
90c53e8c84 Core: Nuke authserver
It has been replaced by bnetserver since grunt was deprecated
2014-11-10 20:57:39 +00:00
Rat
ac0ff1fc9b Merge branch 'dbc' of https://github.com/Intel/TrinityCore into Intel-dbc
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Events/GameEventMgr.cpp
2014-11-10 15:18:01 +01:00
Rat
d268b81044 Revert "Core/DataStores: Implemented loading of SpellMisc.db2, SpellClassOptions.db2, SpellPower.db2, SpellAuraRestrictions.db2, OverrideSpellData.db2 files"
This reverts commit b4a9f47123.
2014-11-10 15:11:42 +01:00
Rat
b4a9f47123 Core/DataStores: Implemented loading of SpellMisc.db2, SpellClassOptions.db2, SpellPower.db2, SpellAuraRestrictions.db2, OverrideSpellData.db2 files
- Note: you will need the above files from 6.x
- Implemented flag128 class, used for spellfamilymasks
2014-11-10 11:28:34 +01:00
Shauren
0c27ffaa49 Core/Commands: Battle.net account command changes
* All commands renamed from "battlenetaccount" to "bnetaccount"
* bnetaccount create now also creates and links initial game account
* Added new commands bnetaccount link/unlink to manage relations between existing accounts
2014-11-10 01:19:24 +01:00
Intel
f847f55385 Core/DataStores: Updating spells dbc part 1 2014-11-09 23:53:48 +02:00
Shauren
f59a701e29 Core/PacketIO: Updated and enabled logout opcodes 2014-11-09 21:36:06 +01:00
Shauren
543bea32e1 Core/DBLayer: Fixed a few mismatched types and possible invalid memory access with aggregate fields in queries 2014-11-09 16:57:56 +01:00
Shauren
bacc90b6ba Core/NetworkIO: Added second connection to WorldSession, handle AuthContinuedSession and enabled ConnectTo and ResumeComms 2014-11-09 00:37:33 +01:00
Shauren
e401f9c9e2 Core/PacketIO: Added SMSG_REDIRECT_CLIENT/ConnectTo packet structure 2014-11-06 18:49:19 +01:00
Shauren
5a5aa9dd5c Core/Misc: Added const qualifier to HmacHash ctor arg 2014-11-06 18:12:28 +01:00
joschiwald
db7c07246a Core/NetworkIO: updated CMSG_REORDER_CHARACTERS packet and other opcode values 2014-11-06 02:59:59 +01:00
joschiwald
52bd9a771e Core/NetworkIO: implemented undelete opcodes and moved char create/delete packets to new packet classes 2014-11-03 19:11:14 +01:00
DDuarte
7b2274a744 Core/Networking: PoC changes to the way packets are handled
This is a rewrite of the way we send SMSG opcodes, the reasoning behind this is to make fixing packets sent in multiple places easier, and allow for clearer documentation of the packet fields.

Included SMSG_AUTH_RESPONSE and SMSG_AUCTION_COMMAND_RESULT as two examples.
2014-10-30 02:04:54 +00:00