Commit Graph
1336 Commits
Author SHA1 Message Date
Shocker ef9101ea83 Core/Spells: Rename AuraEffect::IsAffectedOnSpell to IsAffectingSpell 2011-11-26 23:38:06 +02:00
Shocker d1135f00c6 Core/Spells: Implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER
Correct variable names / comments for SPELL_AURA_BYPASS_ARMOR_FOR_CASTER
2011-11-26 23:27:02 +02:00
Shocker d26b7210fb Core/Spells: Implement SPELL_AURA_MOD_AUTOATTACK_DAMAGE 2011-11-26 23:15:23 +02:00
Shocker 0cb161db81 Core/Spells: Implement SPELL_AURA_MOD_DURABILITY_LOSS 2011-11-26 22:30:27 +02:00
Shocker 4b04640562 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 22:23:35 +02:00
Shocker 784a2fa29a Core/Spells: Implement SPELL_AURA_MOD_BYPASS_ARMOR_FOR_CASTER 2011-11-26 22:22:11 +02:00
Rat 35579e574c Core/DB: fixed player loading from DB 2011-11-26 21:21:31 +01:00
Machiavelli bc37c75dfd Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 19:20:10 +01:00
Nay 310af5bb76 Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB() 2011-11-26 15:40:10 +00:00
Nay 711858c43b Core/Quests: Update quest_template and SMSG_QUEST_QUERY_RESPONSE
TODO:
- Validate SkillId and reward it
- Validate Currency, add it to the requires and reward it (after being able to read currency dbc)
- Update other quest related opcodes
2011-11-26 14:49:15 +00:00
Machiavelli a8397c6542 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
Conflicts:
	src/server/game/Entities/Player/Player.cpp
2011-11-26 15:23:08 +01:00
Machiavelli fcd28e5dad Core/DBLayer: Fix player saving 2011-11-26 15:15:04 +01:00
Shauren d4de587036 Core/Items: Removed obsolete field from ItemTemplate 2011-11-26 12:02:26 +01:00
Nay 846870bf6c Merge branch 'master' into 4.x
Conflicts:
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
2011-11-26 03:19:37 +00:00
Nay 5a4636c145 Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
kaelima 31533a342a Core/DB: Another typo in SaveToDB 2011-11-26 01:54:24 +01:00
kaelima a919265623 Core/DB: Fix character creation in Player::SaveToDB.
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
kaelima aa215e5e80 Core/Misc: Fix compile and char creation
- Added very basic honor/conquest support, no idea if its works even a little since there's no possibility of testing yet
2011-11-26 01:46:41 +01:00
Shauren e8c3a3ac9c Core/Items
* Updated ItemTemplate structure to 4.x
* Calculate armor, damage and disenchant loot from dbc files

TODO: Use dbc disenchant ids in disenchant_loot_template
2011-11-25 23:24:40 +01:00
Nay 8d3bc5e8b9 Core/Corpse: Fix indexing in Corpse::SaveToDB(). Thanks @Ciclop 2011-11-25 20:49:03 +00:00
kaelima ec54bb4895 Core/Misc:
Clearing compile errors since UpdateFields were changed:
- Completely remove ammo (Cataclysm change)
- Revert some changes with power/maxpower and only store the 5 needed powers in db (the rest is useless)
- Remove GuildId from corpse
- Move PLAYER_GUILDID to character db (removed updatefield)

Note: Compile is still not working as we need to change currency handling
2011-11-25 18:54:59 +01:00
Shocker 754f6f29ac Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-25 19:48:52 +02:00
Shocker 002ba537fe Core/Player: Typo in player flags 2011-11-25 19:48:29 +02:00
kaelima 9696d6ba7b Core/Mechanics:
- Add basic support for focus used by players (hunters)
- Drop all support for pet happieness (as it has been completely removed)
- Add new fields to characters db to store new power values
(Should now be able to create characters again)
2011-11-25 15:28:36 +01:00
Machiavelli ec3880a1d0 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-25 15:14:38 +01:00
Machiavelli 72675d55d8 Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character). 2011-11-25 15:14:00 +01:00
Stalker_Riddick d8ffeed476 Core/Quests: Add new field RequiredClasses for quest_template Credits to
NoFantasy.

* SkillOrClass is converted to RequiredSkill (and then field can contain skill id only)
* Field ZoneOrSort has no longer a function in quest requirement, and RequiredClasses must be used instead where class limits are expected.

To restrict a quest to one class or more, use bitmask of class in RequiredClasses. RequiredSkill works like before.

Signed-off-by: NoFantasy <[email protected]>
Signed-off-by: Stalker_Riddick <[email protected]>
2011-11-25 13:11:53 +00:00
Machiavelli b4ac70f8cb Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-25 13:46:07 +01:00
kaelima 23bd7bc0a3 Core/Object: Update UpdateFields to version 4.2.2 (14545) 2011-11-25 13:32:46 +01:00
Shauren ec8738557e Core/Items: Updated scaling item stat calculations 2011-11-24 15:02:23 +01:00
Shocker 414987541c Core/Pets: Fix pet saving typo from recent cleanups (spotted by Nay) 2011-11-24 15:31:07 +02:00
Rat 05880cc748 Core/DataStores:
-dropped dbcstring/db2string, use simple nonconstant char* (will be useable when loading custom data from db to dbc)
-fixed most dbc string related errors (you can now turn on logging)
2011-11-24 13:43:41 +01:00
Rat 5d39e09d89 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-23 20:23:26 +01:00
Rat 47d0a7f3af Merge branch 'master' of github.com:TrinityCore/TrinityCore
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCfmt.h
	src/server/game/Server/Protocol/Opcodes.cpp
2011-11-23 20:23:04 +01:00
megamage f116960b2a Remove a check which always returns true. Correct me if I am wrong. 2011-11-23 13:21:10 -05:00
Shauren 358b33239a Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit 2011-11-23 19:17:33 +01:00
megamage f091360940 Do not allow base map be accessed from outside if map is instanceable. 2011-11-23 13:14:59 -05:00
megamage 0eb193f2b4 Revert 2f83db28f2. Note that here we only want to check baseMap->canEnter, but not instanceMap->canEnter.
Thanks to SignFinder.
2011-11-23 12:55:00 -05:00
megamage 98be413ce0 Clean up very some confusing MapManager functions (create/find map/base map). 2011-11-23 12:45:59 -05:00
Shauren 638693e78f Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.) 2011-11-23 17:55:16 +01:00
Rat dd80a880dc updated all remaining dbc structures 2011-11-23 13:16:45 +01:00
Shocker e9cd4c6e80 Merge pull request #3988 from kandera/tempbranch2
Core/Mechanic: Resurrection (fixed the issue with players ressing in pla...
2011-11-23 04:03:47 -08:00
Machiavelli 8444532746 Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up. 2011-11-22 20:28:10 +01:00
Rat a12df963b9 -updated all DBC formats, except spell* ones
-added dbc.zip (all 4.2.2 files + 3.3.5 spells)
-hardcoded map 0's entry for mapdifficulty (dbc has no data for it)
2011-11-22 13:32:11 +01:00
megamage 23186b24e2 Merge pull request #3421 from Chipsi/master
Core/Items: Added case for Darkmoon Card: Madness trinket
2011-11-21 14:12:46 -08:00
Machiavelli a14cbcaa3e Core/Units: Partial implementation of SMSG_MOVE_SET_COLLISION_HGT - send proper character collision height on dismount.
Fixes #2642

NOTE: Still have to properly implement collision height calculation for mounting up.
2011-11-21 22:54:25 +01:00
Rat 154612f279 -started updating DBC formats for 14545
-added new dbc files for dev usage
2011-11-21 14:27:26 +01:00
Rat 7f8193abf1 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-20 18:39:20 +01:00
Rat d1affc4340 Initial Commit for client version change to 4.2.2 (14545)
- added known opcodes (handlers are commented till not updated)
- added bitstream support to bytebuffer
- updated realm auth for 14545
- updated world auth
- fixed char_enum,create,delete handlers
- added DB2 reader
- added opcode logging to debuglogmask (ignores loglevel)
- fixed compile in win64, others not yet tested
- using db2 values for item models at char_enum to prevent client crash

Lots of Thanks to All SingularityCore Members
2011-11-20 18:28:18 +01:00
Machiavelli 32bcee40bf Core/Spells: Fix crash in Glyph of Rake 2011-11-20 16:05:41 +01:00