Commit Graph

697 Commits

Author SHA1 Message Date
Shauren
c927acf1f4 Core/Player: All spells and skills are now automatically learned without any need for external data
* Fixes learning mail/plate at level 40 for shamans/warriors/paladins
* Fixes learning riding for worgen/paladins/warlocks at level 20
2015-03-07 12:24:25 +01:00
Shauren
e81eb1192a Core/Database: Removed locales_item from world database (use item_sparse_locale in hotfixes database) 2015-02-22 17:18:19 +01:00
Shauren
40b6736f69 Core/DataStores: Added iterator class for DBCStorage and DB2Storage 2015-02-22 12:44:24 +01:00
Shauren
68fceee10e Core/Spells: Removed leftovers of old cooldown handling
* Use ItemEffect.db2 data directly instead of copying it to another structure
2015-02-21 13:08:33 +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
joschiwald
beb1a06ea5 Core/Misc: fixed creating battlefield/opvp capturepoints and prevented mem leak 2015-01-30 23:53:41 +01:00
joschiwald
fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
Kinzcool
dfa0f2a253 Core/Misc: Made GetExpansionForLevel return current expansion for all creatures higher than the last one 2015-01-17 14:37:42 -05:00
Shauren
a910858ee5 Core/Misc: Load all rows from gtOCTLevelExperience.dbc into xp per level storage regardless of configured max level 2015-01-17 20:08:22 +01:00
Kinzcool
b21c346658 Core/Misc: Implemented leveling/killing experience loading from gtOCTLevelExperience.dbc
* Updated the xp formula to Warlords of Draenor
2015-01-16 21:46:00 -05:00
Intel
dc9ce43c45 Core/Loot: Implemented SMSG_LOOT_RESPONSE, SMSG_LOOT_REMOVED, CMSG_AUTOSTORE_LOOT_ITEM
AoE looting is work in progress.
2015-01-15 22:37:10 +02:00
Walkum
8e95ca9c57 Core/Player: Fixed Pandaren language
Closes #13910
2015-01-15 17:02:52 +00:00
Nayd
a7b4922528 DB/Schema: Boost stats in player_levelstats from tinyint to smallint
Needed to accommodate base stats higher than 255

Ref #13823
2015-01-11 19:35:24 +00:00
Kinzcool
4d033eaa89 Core/Entities: Load creature health points from the Gt DBCs 2015-01-10 18:31:41 -05:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Intel
0a7caf5a6d Core/Quests: Do not rely on StorageIndex for quest objectives
Also fixed unsigned columns in quest_template
2014-12-29 20:58:49 +02:00
Vincent-Michael
ddb0b1acda Core: Remove White spaces 2014-12-29 16:55:49 +01:00
Intel
381416d022 Core/Quests: Fixed quest loading from DB and improved error output 2014-12-29 14:07:17 +02: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
ce8102cf8d Core/Quests: Fixed index typos and added some missing data to quest query packet 2014-12-28 23:33:26 +02: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
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
ae8814772f Core/DataStores: Implemented loading hotfixes database into DB2Storage 2014-12-24 22:24:32 +01:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
Shauren
6dbb516b65 Core/Items: Refactored ItemTemplate 2014-12-21 13:35:43 +01:00
Intel
4825832c85 Merge branch '6.x' into Spells
Conflicts:
	src/server/game/DataStores/DBCStores.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
	src/server/scripts/Spells/spell_druid.cpp
2014-12-07 23:20:52 +02:00
Shauren
1b0d296da1 Core/DataStores: Refactored "gt" dbc handling. Wrapped these stores in a new GameTable class which will calculate correct dbc entry index based on given row/column as well as read number of rows/columns from client files instead of hardcoded GT_MAX_LEVEL 2014-12-07 01:50:50 +01:00
joschiwald
b68b6417f6 Core: fixed few coverity issues and warnings 2014-12-07 01:24:00 +01:00
joschiwald
cc4ebdbe05 Core/Scripts: log ScriptNames assigned in database without core script 2014-12-05 23:55:06 +01:00
Rat
08f486bfcf Core/Spells: some updates to player spell and talent learning 2014-12-04 19:23:35 +01:00
Rat
b91ac01bc7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells 2014-12-01 21:09:23 +01:00
Rat
16219b483d Core/Spells:
- some work on player starting spells and skills
- fixed basic spell learning
- fixed some spell related datastore loads
2014-12-01 20:44:06 +01:00
Kinzcool
e3b23c2513 Core/Creature: Implemented negative levels for creatures having -1 as expansion 2014-11-30 03:45:48 -05:00
Rat
eda9094226 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells 2014-11-29 14:52:53 +01:00
Gacko
3498d9579d Core/ObjectMgr: Fix log format 2014-11-27 13:41:14 +01:00
Intel
60de2169a9 Core/Packets: Fixed Item.db2 and Item-sparse.db2 query replies 2014-11-27 13:45:05 +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
Intel
d1c21a03b8 Core/Packets: Added the following packets:
CMSG_BANKER_ACTIVATE
CMSG_BINDER_ACTIVATE
CMSG_GOSSIP_HELLO
CMSG_LIST_INVENTORY
CMSG_TRAINER_LIST
SMSG_GOSSIP_MESSAGE
SMSG_LIST_INVENTORY
CMSG_NPC_TEXT_QUERY
SMSG_NPC_TEXT_UPDATE
Implemented CMSG_DB_QUERY_BULK and SMSG_DB_REPLY and removed unused CMSG_REQUEST_HOTFIX
2014-11-24 21:39:56 +02:00
Rat
2144d6c851 Core/Spells: core now builds without scripts project, still not stable 2014-11-24 18:57:49 +01:00
Intel
dbb102e647 Core/Packets: Added most of the chat packets 2014-11-17 20:49:15 +02:00
Kinzcool
350373d980 DB/Models: Updated creatures' model data up to 6.0.3.19057 2014-11-16 16:17:29 -05:00
Nayd
b94e1cdc1d Core/Loading: Fix crash in LoadMissingKeyChains
Also emptied `world`.`keychain_db2`

Closes #13566
2014-11-16 01:20:12 +00:00
Intel
1e51d22d29 Core/DataStores: Updated Item DataStores
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:37 +00:00
Intel
b5236a6cdc Core/DataStores: Updated AreaTable.dbc
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:35 +00:00
Intel
fa0983dfa3 Core/DataStores: Updated all remaining dbc/db2 except Item.db2, Item-sparse.db2
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:34 +00:00
joschiwald
620f23d9dc Core/World: hold deleted characters in character store 2014-11-12 19:16:14 +01:00
Intel
24850994b4 Core/Talents: Update talent system, remove talent points 2014-11-10 21:09:18 +02: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