Commit Graph

4246 Commits

Author SHA1 Message Date
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
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
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 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
Rat 34f0792f75 fixed startup crash while loading instance_encounters 2011-11-22 16:50:00 +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
Spp 99ad58233b Core/Opcodes: Change status of CMSG_MOVE_SET_COLLISION_HGT_ACK to Unhandled to kill spam log 2011-11-22 13:26:54 +01:00
Machiavelli 367122dd62 Core/Packets: Allow CMSG_MOVE_SET_COLLISION_HGT_ACK to be received from the client (currently unhandled) 2011-11-22 06:02:53 +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
megamage 811d1f85a5 Merge pull request #3990 from kandera/lfgfix
Core/LFG: Fix being unable to enter an instance to retrieve body when yo...
2011-11-21 13:58:23 -08:00
megamage 0992f27cad Fix the correct exit from the dungeon finder queue.
By Giuseppe Montesanto

Conflicts:

	src/server/game/DungeonFinding/LFGScripts.cpp
2011-11-21 16:56:39 -05: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
Machiavelli 682c3289c7 Tabs 2011-11-20 13:46:53 +01:00
thumsoul 831f2f4a9d Core/Commands: Allow "$home" to be second parameter of .tele name, to teleport players to homebind
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-11-20 13:43:58 +01:00
Machiavelli cab3def3a4 Core/Units: Revert previous 3 commits about Unit::_IsValidAttackTarget and Unit::GetReactionn until some conclusive research can be done 2011-11-20 12:56:14 +01:00
Kandera 04183cb8de Core/LFG: Fix being unable to enter an instance to retrieve body when you have 5 or more instances in the database. 2011-11-18 16:47:06 -05:00
Kandera e814cd8c35 Core/Mechanic: Resurrection (fixed the issue with players ressing in place then being ported to the person who revived them.) 2011-11-18 14:57:30 -05:00
Machiavelli 28d1cc9cfe Core/Units: Fix more issues in Unit::_IsValidAttackTarget. (Documentation on changes compared to the client function included) 2011-11-17 19:05:25 +01:00
Machiavelli 8ea8dd4f3d Core/Units: Replace wrong usage of UNIT_FLAG_PVP_ATTACKABLE with UNIT_FLAG_PLAYER_CONTROLLED in Unit::IsValidAttackTarget, Unit::IsValidAssistTarget and Unit::GetReactionTo. Using 4.1 flags in 3.3.5 doesn't always work out like it should... Also remove now unneeded change from 70b558d
Fixes SPELL_AURA_FORCE_REACTION amongst other things
2011-11-16 23:12:31 +01:00
Machiavelli 70b558dd39 Core/Units: Fix Unit::_IsValidAttackTarget (UNIT_FLAG_OOC_NOT_ATTACKABLE check specifically)
Closes #3172
2011-11-16 21:02:37 +01:00
Machiavelli c67af87eda Core/Spells: Fix SPELL_EFFECT_SEND_EVENT handler being executed more than once when targets != (0, 0). Closes #3934 2011-11-16 19:09:51 +01:00
Shauren 6cd78a520a Core/World
* Update character name cache after player rename
* Add character name data for characters loaded with PlayerDump

Closes #3653
Closes #3970
2011-11-16 10:31:38 +01:00
megamage 10b89d976f A temp fix for crash caused by remove corpse. 2011-11-14 21:01:53 -05:00
Machiavelli 28102c5683 Scripts/Ulduar/Freya: Fix chest spawning when completing the encounter properly (in addition to spawn support when abusing .die for testing purposes) 2011-11-14 20:49:46 +01:00