Commit Graph
13882 Commits
Author SHA1 Message Date
kaelima 31533a342a Core/DB: Another typo in SaveToDB 2011-11-26 01:54:24 +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
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
Nay 4f738fe75a DB/Quests: Fix Junkboxes Needed class requirements
Closes #509
2011-11-25 13:17:57 +00: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 cf0d5e4ec8 Core/Enum: Add missing race and powers from dbc 2011-11-25 13:33:11 +01:00
kaelima 23bd7bc0a3 Core/Object: Update UpdateFields to version 4.2.2 (14545) 2011-11-25 13:32:46 +01:00
Kaelima 316b461bd8 Merge pull request #4061 from Venugh/4.x
Fix some whitespaces in Datastore
2011-11-25 01:22:25 -08:00
kaelima 3ea366be0a Core/Protocols: Rename CMSG_WORLD_LOGIN to CMSG_LOAD_SCREEN and add simple structure (still unknown purpose). 2011-11-24 18:58:00 +01:00
Venugh 21f9a05324 Core/DataStores: Coding style. 2011-11-24 18:54:59 +01:00
kaelima b76b820e49 Core/Protocol: Fix struct of SMSG_AURA_UPDATE/SMSG_AURA_UPDATE_ALL 2011-11-24 18:22:04 +01:00
Shocker d2b4f33112 Core/DisableMgr: Fixed spells disables 2011-11-24 19:09:01 +02: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
Shauren 0fe05707aa DVCS: Added any type of build directory to gitignore 2011-11-24 10:17:15 +01:00
kaelima d171f41e01 Core/Protocol: Handle CMSG_CAST_SPELL. 2011-11-24 06:14:57 +01:00
Nay 16e1ab0742 Core/Protocol: Add few opcode ids 2011-11-24 02:07:46 +00:00
Nay 5ce3621e3e DB/Misc: Add XP for level up to 84
Source: www.wowwiki.com/Formulas:XP_To_Level
2011-11-24 01:33:48 +00:00
Nay d6ad3c854a Core/Auth: Fix SMSG_AUTH_RESPONSE
Should send an extra byte with expansion (selecting new classes in char enum screen is now possible)
2011-11-24 00:36:02 +00:00
Nay 7e6afa7fe8 Core/Enums: Add two new races to enumerations and update maxlevel in config 2011-11-24 00:35:11 +00:00
Nay dfa2fdc2cb Merge branch 'master' into 4.x 2011-11-24 00:10:09 +00:00
Nay af086931e5 Forgot to delete files after copying them to 'sql/old'
Fail count is high tonight...
2011-11-23 23:48:59 +00:00
Nay 9447478630 DB: TDB 43: Move SQL updates to the old directory 2011-11-23 22:31:44 +00: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
Shauren afb2289d02 Core/DisableMgr: Fixed possible crashes at startup 2011-11-23 19:55:05 +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 5a0ffefecc Remove unnecessary const_cast<Map*>. 2011-11-23 12:51:20 -05:00
megamage 98be413ce0 Clean up very some confusing MapManager functions (create/find map/base map). 2011-11-23 12:45:59 -05:00
megamage b3fef1e280 Fix build. 2011-11-23 12:42:11 -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
Shauren 44693cfa99 Core: Fixed a few warnings and silly typos in scripts 2011-11-23 16:57:08 +01:00
megamage 298c162c86 Do not allow an instance map to be created twice if it already exists. Fix #4018. 2011-11-23 09:34:08 -05:00
Shocker 1b3017472b Scripts/Naxxramas: Patchwerk's Hateful Strike's timer should be 1s.
Closes #4036
2011-11-23 14:22:50 +02:00
Rat 47e28a7576 removed no more needed mixed dbc files 2011-11-23 13:18:35 +01:00
Rat 8c4d145178 fixed dbc local handling 2011-11-23 13:17:40 +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
Shauren fffe60b0d9 Scripts/Icecrown Citadel: Corrected an overlooked frenzy spam by Shambling Horrors on heroic mode (does not change anything in the fight) 2011-11-23 09:44:34 +01: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