Rat
ca03e79ce7
Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x
2011-11-26 20:38:25 +01:00
Rat
8cf3fde329
Core/CharacterHandler: fixed guid reading in PlayerLoginOpcode handler
...
thanks to Nay && Shauren
2011-11-26 20:38:00 +01:00
Rat
e97527c24e
Core/Packets: Implemented BitStream helper class
...
- added Static BitConverter class
- upgraded the ByteBuffer class for easier usage
2011-11-26 20:32:32 +01:00
Rat
929da7396d
Core/Packets: disable sending 0 as opcode and print trace info
2011-11-26 20:28:12 +01:00
Machiavelli
bc37c75dfd
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
2011-11-26 19:20:10 +01:00
Machiavelli
4c3c418511
Core/Misc: Make VMapManager2::acquireModelInstance and releaseModelInstance thread safe
...
Closes #4086
2011-11-26 19:11:58 +01:00
Nay
310af5bb76
Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB()
2011-11-26 15:40:10 +00:00
Shauren
bbf9703b73
Core/Items: Added more checks determining item disenchanting loot
...
DB/Loot: Added all disenchant templates
2011-11-26 16:36:01 +01: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
Nay
f8ffe0f1e3
Core/DB: Fix a typo in commit 72675d55d8
...
Closes #4068
2011-11-25 15:41:06 +00: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 <nofantasy@nf.no >
Signed-off-by: Stalker_Riddick <nenad_kuza@hotmail.com >
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
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
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
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