aboutsummaryrefslogtreecommitdiff
path: root/src/game/MovementHandler.cpp
AgeCommit message (Collapse)Author
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-18*Cleanup, proper indentation, and remove some wrong/irrelevant comments ↵maximius
copied from custom patches.. --HG-- branch : trunk
2009-12-17Update Movement code for 322an0n4m3
--HG-- branch : trunk
2009-12-17Removed some redundant player->SaveToDB calls, original autor balrokn0n4m3
--HG-- branch : trunk
2009-11-04*Revert some (apparently unreliable) asserts.. they're -almost- never false, ↵maximius
but 'almost' isn't good enough. --HG-- branch : trunk
2009-11-04*Fix a vehicle crash, thanks Aokromesmaximius
--HG-- branch : trunk
2009-11-03*Update WorldSession::HandleMovementOpcodes with some new information on how ↵maximius
vehicles behave, and do a little bit of cleanup. --HG-- branch : trunk
2009-11-02* Better solution to No Fly zones by Spp, closes #4maximius
--HG-- branch : trunk
2009-11-02*Implementation of 'No Fly Zone' (Dalaran and Wintergrasp), by Spptartalo
--HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-08-29*Make position as a class;megamage
--HG-- branch : trunk
2009-08-27*Correctly process more movement packets. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-08-26*Fix a crash caused by leave channel.megamage
--HG-- branch : trunk
2009-08-24[8403] Fixed cast spell opcode parsing for some cases with additional data. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-23*Fix the bug that some vehicles cannot fly.megamage
--HG-- branch : trunk
2009-08-19 [8393] Fixed format CMSG_FORCE_MOVE_UNROOT_ACK and ↵megamage
CMSG_FORCE_MOVE_ROOT_ACK. Author: VladimirMangos Also avoid packet tail warnings spam at rejected movement packets. --HG-- branch : trunk
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --HG-- branch : trunk
2009-08-13*A hacky fix of the crash happening when player is teleported during logout.megamage
--HG-- branch : trunk
2009-08-12*Use #defines instead of spellids for often used spells.QAston
*Make recently broken talent Improved Healthstone work again - by iadus3. --HG-- branch : trunk
2009-08-08[8327] Fixed recieved packet size check for MSG_MOVE_TELEPORT_ACK. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-08-08*Only allow mover to turn when it is on vehicle.megamage
--HG-- branch : trunk
2009-08-03*Update zone for players after adding to map. - by VladimirMangosQAston
*Skip instance loading for player with flypath/on transport. --HG-- branch : trunk
2009-08-03*Add some crash prevention checks.QAston
--HG-- branch : trunk
2009-08-01*Teleport player to homebind if instance can't be created in ↵QAston
WorldSession::HandleMoveWorldportAckOpcode. --HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-07-19*Fix DK presences and their improved versions - original patch by thenecromancerQAston
*Port player to homebind if instance cannot be created in WorldSession::HandleMoveWorldportAckOpcode. --HG-- branch : trunk
2009-07-18*Update heal calculation formula for Death Strike and apply improved death ↵QAston
strike bonus if avalible *Use floor() function for rounding in rep gain calculation *Add some debug info to WorldSession::HandleMoveWorldportAckOpcode() --HG-- branch : trunk
2009-07-16 [8182] Store and use Map* pointer in WorldObject instead map ids for ↵megamage
speedup Author: Ambal Also some code logic cleanups. Changes let make more cleanups in base map access and other places, but this chnages not inlcuded in patch. *This patch may cause crash. --HG-- branch : trunk
2009-07-12[8151] Fixed some format warnings and typos. Author: Win32megamage
--HG-- branch : trunk
2009-07-01 [8103] More wide use IsInWorld checks and delayed at teleport ↵megamage
operations. Author: Ambal * IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. --HG-- branch : trunk
2009-06-16[8026] Obtain object's map directly by calling appropriate ↵megamage
WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal --HG-- branch : trunk
2009-06-15*Check movementflag to interrupt casting instead of checking position.megamage
*Also some other fixes about movement flags. --HG-- branch : trunk
2009-06-14*Fix a bug that flying puppet interrupts caster's channelling.megamage
--HG-- branch : trunk
2009-06-14[8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes. Author: tomrus88megamage
--HG-- branch : trunk
2009-06-13*Some fix of vehicles. Thanks to Seizerkiller.megamage
--HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-03*Fix the display bug of vehicles in populated area.megamage
--HG-- branch : trunk
2009-06-01*Backout 3672.megamage
--HG-- branch : trunk
2009-05-31*Fix a crash caused by possessed creatures. Thanks to Amit86megamage
--HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-05-23*Fix a bug that player can change to an occupied seat on vehicle.megamage
(The commit message of the last rev should be: do not allow player to use unusable vehicle seat) --HG-- branch : trunk
2009-05-05 [7776] Completed implementation of CMSG_SPELLCLICK Author: arraimegamage
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to npc_spellclick_spells, otherwise you won't be able to use them --HG-- branch : trunk