silver1ce
cfca61b176
Auras with turn/move interrupt flags are now removed for creatures when they turn/move, cleanup
...
--HG--
branch : trunk
2010-01-18 21:51:45 +02:00
n0n4m3
99f66a6bc9
Updated copyright for new year.
...
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3
147d9dd3dd
Avoid send reset warning to map/difficulty cases without fixedreset time, by VladimirMangos.
...
--HG--
branch : trunk
2010-01-16 19:54:57 +03:00
XTZGZoReX
26e11448dd
* Update structure for SMSG_ADDON_INFO and add some sort of basic handling for incorrect addon CRCs (anti-cheating).
...
* Fix CRLF in MovementHandler.cpp.
* Move some handlers/senders to correct place.
--HG--
branch : trunk
2010-01-15 19:50:27 +01:00
silver1ce
0451e45e06
parse CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE opcode in proper way
...
--HG--
branch : trunk
2010-01-15 19:23:59 +02:00
XTZGZoReX
53f9e0fba0
* Merge.
...
--HG--
branch : trunk
2010-01-13 18:25:46 +01:00
XTZGZoReX
f5998611c3
Backed out changeset: 52e769d95f14
...
--HG--
branch : trunk
2010-01-13 18:24:23 +01:00
thenecromancer
c3e87c3ba2
Merge
...
--HG--
branch : trunk
2010-01-13 17:38:37 +01:00
n0n4m3
f7ad3aefc8
Removed all my commits for today, this is hack? really? okey
...
--HG--
branch : trunk
2010-01-13 19:11:46 +03:00
n0n4m3
067de4b5cc
Fixed crash in HandleSetActiveMoverOpcode.
...
Removed not needed check and added check isinworld.
--HG--
branch : trunk
2010-01-13 14:23:25 +03:00
thenecromancer
ea4e25f3aa
Implement vehicles created by player mounts.
...
Original idea by Elmaster, packet research by Wrong, ty.
--HG--
branch : trunk
2010-01-13 11:16:38 +01:00
thenecromancer
3af5237f8c
Do not remove MOVEMENTFLAG_ONTRANSPORT when unit has existing GAMEOBJECT_TYPE_TRANSPORT in movement info
...
Note that this will fix movement on elevators only visualy ( server position is still going to be wrong )
--HG--
branch : trunk
2010-01-13 10:04:48 +01:00
Rat
5b6079ea67
*cleaned up SharedDefines
...
--HG--
branch : trunk
2010-01-10 16:27:47 +01:00
n0n4m3
250a00cc1c
Temporary revert 6743 commit. I fix this patch across 1-2 days.
...
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
3fe0bc5254
Replaced time(NULL) on sGameTime.GetGameTime() this is used for better 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-23 08:04:10 +01:00
maximius
dc1207139a
*Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
...
--HG--
branch : trunk
2009-12-18 13:41:30 -08:00
n0n4m3
5953596cee
Update Movement code for 322a
...
--HG--
branch : trunk
2009-12-17 11:31:44 +01:00
n0n4m3
863fca80eb
Removed some redundant player->SaveToDB calls, original autor balrok
...
--HG--
branch : trunk
2009-12-17 07:56:20 +01:00
maximius
2adb1b8d4c
*Revert some (apparently unreliable) asserts.. they're -almost- never false, but 'almost' isn't good enough.
...
--HG--
branch : trunk
2009-11-04 17:10:43 -08:00
maximius
558ceeb929
*Fix a vehicle crash, thanks Aokromes
...
--HG--
branch : trunk
2009-11-04 16:37:55 -08:00
maximius
1d7f2fc243
*Update WorldSession::HandleMovementOpcodes with some new information on how vehicles behave, and do a little bit of cleanup.
...
--HG--
branch : trunk
2009-11-03 22:28:04 -08:00
maximius
ffb28c06a7
* Better solution to No Fly zones by Spp, closes #4
...
--HG--
branch : trunk
2009-11-02 20:30:25 -08:00
tartalo
bcfff09c74
*Implementation of 'No Fly Zone' (Dalaran and Wintergrasp), by Spp
...
--HG--
branch : trunk
2009-11-02 21:05:54 +01:00
maximius
d22768a6b5
*Cleanup
...
--HG--
branch : trunk
2009-10-18 18:38:46 -07:00
maximius
3f338cc1c3
*Massive cleanup redux.
...
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
333f1c9d72
*[8475] fixed some gcc-warnings Author: balrok
...
*[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-18 14:10:37 -07:00
maximius
140ec674a0
Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
...
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55
*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
...
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
megamage
2a4c9bcaf9
*Make position as a class;
...
--HG--
branch : trunk
2009-08-29 14:58:45 -05:00
megamage
eeb18e51bb
*Correctly process more movement packets. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-27 20:14:50 -05:00
megamage
f74a134ed6
*Fix a crash caused by leave channel.
...
--HG--
branch : trunk
2009-08-26 14:06:12 -05:00
megamage
785577e170
[8403] Fixed cast spell opcode parsing for some cases with additional data. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-24 19:33:34 -05:00
megamage
1ee90e1022
*Update vehicle system. Make vehicle a seperate class from creature.
...
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
megamage
7c72076355
*Fix the bug that some vehicles cannot fly.
...
--HG--
branch : trunk
2009-08-23 00:38:19 -05:00
megamage
44830d9d99
[8393] Fixed format CMSG_FORCE_MOVE_UNROOT_ACK and CMSG_FORCE_MOVE_ROOT_ACK. Author: VladimirMangos
...
Also avoid packet tail warnings spam at rejected movement packets.
--HG--
branch : trunk
2009-08-19 17:19:50 -05:00
megamage
e954904e6d
[8378] Use exceptions instead of explicit size checking for each packet 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-19 16:26:22 -05:00
megamage
284b0063a8
*A hacky fix of the crash happening when player is teleported during logout.
...
--HG--
branch : trunk
2009-08-13 10:01:00 -05:00
QAston
bee1dff87f
*Use #defines instead of spellids for often used spells.
...
*Make recently broken talent Improved Healthstone work again - by iadus3.
--HG--
branch : trunk
2009-08-12 18:51:19 +02:00
megamage
a3ee65bee1
[8327] Fixed recieved packet size check for MSG_MOVE_TELEPORT_ACK. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-08 12:35:09 -05:00
megamage
ecdba0cbba
*Only allow mover to turn when it is on vehicle.
...
--HG--
branch : trunk
2009-08-08 11:55:49 -05:00
QAston
08cd876f36
*Update zone for players after adding to map. - by VladimirMangos
...
*Skip instance loading for player with flypath/on transport.
--HG--
branch : trunk
2009-08-03 19:48:28 +02:00
QAston
8777efd03c
*Add some crash prevention checks.
...
--HG--
branch : trunk
2009-08-03 12:52:31 +02:00
QAston
aa60def6ac
*Teleport player to homebind if instance can't be created in WorldSession::HandleMoveWorldportAckOpcode.
...
--HG--
branch : trunk
2009-08-01 20:23:23 +02:00
QAston
1d96091d2a
*Improvements in map managing.
...
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
QAston
94992adb64
*Fix DK presences and their improved versions - original patch by thenecromancer
...
*Port player to homebind if instance cannot be created in WorldSession::HandleMoveWorldportAckOpcode.
--HG--
branch : trunk
2009-07-19 14:02:52 +02:00
QAston
8499812eb6
*Update heal calculation formula for Death Strike and apply improved death 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-18 15:00:36 +02:00
megamage
208087ff6e
[8182] Store and use Map* pointer in WorldObject instead map ids for 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-16 11:49:00 +08:00
megamage
b5d802b70c
[8151] Fixed some format warnings and typos. Author: Win32
...
--HG--
branch : trunk
2009-07-12 17:52:27 +08:00