Den
e3463dca0d
[11559] Not command character to sitdown at logout request when unexpected.
...
This fix swiming/form flight cases animation in logout request.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 05:23:30 +04:00
VladimirMangos
249fb836ca
[11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
...
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.
Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
VladimirMangos
cfcac0fa0c
[11479] Check map enter for proper deep map in corpse enter case.
2011-05-13 13:30:44 +04:00
VladimirMangos
719e298795
[11470] Final cleanup uint64 guid cases
...
Also drop logout player update fields cleanup that in any cases not saved.
2011-05-11 21:36:27 +04:00
VladimirMangos
151e5eae9c
[11458] Non-item related uint64 guids replaced by ObjectGUids in Player.h
...
Also let ObjectAccessor::FindPlayer optimize empty guid case work.
2011-05-09 21:54:09 +04:00
VladimirMangos
51031c2d24
[11455] Use ObjectGuid in HashMapHolder
2011-05-09 20:04:32 +04:00
VladimirMangos
605fb79847
[11446] Reimplement corpse enter to instance.
...
* Resurrect player _before_ enter to instance with corpse
* In case corpse in more deep instance teleport to corpse instance inner entrance.
* If by some reason player can't enter to corpse instance it will just resurrected before entrance.
Original patch and research done by Den.
2011-05-09 00:58:42 +04:00
zergtmn
3ecf19a05a
[11431] Make gcc happy again
2011-05-06 22:18:42 +06:00
zergtmn
6498941ead
[11430] Introduce GuildMgr
...
Move all guild-related functions from our overpowered ObjectMgr to GuildMgr.
Thx leak for idea.
2011-05-06 19:27:36 +06:00
TOM_RUS
0f8c46878b
Updated some structs and enums.
2011-04-14 08:14:03 +04:00
Vinolentus
fe0f42d30c
[11210] Set moveflags from CMSG_MOVE_SET_CAN_FLY_ACK to proper mover.
...
Also check cheating case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-28 01:56:01 +03:00
VladimirMangos
06cebecd50
[11100] Avoid send SMSG_DISMOUNT for non aura source mount state.
...
This fix problem with lost mount show at multi-node taxi path.
Thanks to blueboy for research problem.
2011-02-02 17:33:19 +03:00
VladimirMangos
7864d7f07f
[11005] Finish structure of inspected item fields.
...
Also restore items inspect show in case disabled talent inspection.
2011-01-14 11:42:14 +03:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
zergtmn
ec6089bbd8
[10935] Move script calls to ScriptMgr
...
- Script library presence is now optional.
- Some script hooks have new names. Scripting libraries need to be adjusted accordingly.
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-29 21:48:06 +05:00
Ambal
b11820593c
[10924] Send time diff between Update() calls for object - should help with mob respawn on inactive grids etc. Based on patches by VladimirMangos and cipherCOM. All issues from previous patches should be finally fixed now.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-27 22:27:20 +02:00
VladimirMangos
a8a7f3c796
[10815] Use in social lists API ObjectGuid form.
...
0 GUID_LOPART uses in code. :)
2010-12-02 08:32:46 +03:00
VladimirMangos
c6d3c5e0d6
[10810] More ObjectGuids specially in petition code.
...
Some uint64<->uin32 bugs fixed at read guids from DB in petition code.
Still exist 29 GUID_LOPART uses in code.
2010-12-02 05:17:00 +03:00
VladimirMangos
ce7b98c45e
[10799] Add GetGuidStr() short call for GetObjectGuid().GetString() and use it.
2010-12-01 09:56:13 +03:00
VladimirMangos
a2909f2674
[10796] Use regular map case in all trigger checks.
2010-11-30 11:12:46 +03:00
VladimirMangos
cc0655a402
[10782] Use Team enum types in all appropriate cases and catches bug in result fix.
...
* Fixed wrong arenaid use at leave arena queue.
* Fixed memory lost and etc at not virtual EndBattleground call
* Fixed crash at arena join with fake data from client.
* Code cleanups.
2010-11-25 01:11:17 +03:00
VladimirMangos
f9bcfa3a89
[10739] Cleanup pet remove code and some fixes.
...
* Merge Player::RemovePet and Pet::Remove function code to Pet::Unsummon
This let be sure that in all cases all required steps doen. For example this fix
creature's guardians propertly remove from guardians list.
* Add new pet save mode PET_SAVE_REAGENTS as replacement PET_SAVE_NOT_IN_SLOT+true-arg stable pair in old function args
This will avoid use reagent save arg with wrong different save modes.
* Fixed recently added code with absent check for re-summon protector pet call.
2010-11-19 02:17:55 +03:00
TOM_RUS
ec974656ac
Fixed wrong error message for quest related areatriggers.
2010-11-15 09:03:24 -08:00
tomrus88
76dfdd336f
Backports from 400 branch.
2010-11-15 18:01:45 +03:00
NoFantasy
ff56ee3db2
[10721] Use required_quest instead of _heroic for non_instance areatrigger teleport
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-13 09:02:19 +01:00
VladimirMangos
851e15c70a
[10635] Convert many opcode handlers to ObjectGuid use.
...
Also re-enabled anticheating check for bank window open
base at .bank command access rights.
2010-10-21 10:43:14 +04:00
VladimirMangos
c955941b55
[10627] Use ObjectGuid for player's selection and unit's target
2010-10-20 08:19:48 +04:00
VladimirMangos
54d991ef3a
[10469] Rename some opcode handler to better follow used naming style
2010-09-11 14:38:22 +04:00
VladimirMangos
aa90aa8fdf
[10462] Implement spell 6495
...
Also implement proper work CMSG_FAR_SIGHT.
This packet control switch view point from far sight object to caster
and back wihtout modify far sight object seelction.
2010-09-10 05:32:51 +04:00
VladimirMangos
09b03b470e
[10402] Use ObjectGuid in packets and fix some uint32 guids cases.
2010-08-23 12:37:11 +04:00
VladimirMangos
dbe9c6f190
[10371] More wide use ObjectGuid in group code.
...
Also drop some unused functions.
And fix some uint32 -> uint6 guid assigns.
2010-08-18 13:43:55 +04:00
Lynx3d
40f70138da
[10364] Restore build with gcc and cleanup includes a bit.
2010-08-17 19:42:20 +02:00
VladimirMangos
5f44c4da21
[10363] More wide use ObjectGuid in way remove MAKE_NEW_GUID uses.
...
Also
* Fixed some amount wrong uses low guids as full player guids.
* Add private without body ObjectGuid(uint32 const&) for catch wrong assigns low guids to ObjectGuid.
In some cases need assign "0" guid, then use ObjectGuid() instead.
* Fixed .pdump commands work.
2010-08-17 08:22:28 +04:00
MaS0n
29ab336b27
[10318] Gender field in SMSG_WHO packet.
...
Also fix warning in class declaration forward
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-04 15:45:05 +04:00
VladimirMangos
685edfe7e2
[10314] Implement commands for work with areatriggers in game.
...
* all teleport commands support new areatrigger and areatriger-target shiftlinks
* .go trigger now let select areatrigger or areatrigger target as teleport point
* New commands:
.trigger - show detail info about areatrigger including all requirements
for teleport with shift-links to items/keys/quest
.trigger active - show all currently activated by character areatriggers
.trigger near - show near areatriggers
* .lookup item now show [usable] postfix if item can be used/equipped by selected character.
2010-08-04 00:58:01 +04:00
Lynx3d
01d326b90d
[10202] Rename isInFlight() to IsTaxiFlying() and UNIT_STAT_IN_FLIGHT to UNIT_STAT_TAXI_FLIGHT.
...
Also add IsFreeFlying() function to Player class.
2010-07-17 02:06:28 +02:00
VladimirMangos
ce553c9997
Merge remote branch 'origin/master' into 335
2010-06-28 16:58:45 +04:00
Grinder
f244e68c59
[10102] Rename loginDatabase for consistence with other global db object names
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-24 02:55:26 +04:00
tomrus88
af0402789e
Merge remote branch 'origin/master' into 335
2010-06-21 13:52:09 +04:00
VladimirMangos
33d73f2efc
[10072] More methods for access/modify ObjectGuid update fields.
...
* Some related cleanups.
* Also drop unused Player::SetFarSightGUID decalration as reported by LordJZ.
2010-06-17 06:00:16 +04:00
tomrus88
a93b7936f5
Fix.
2010-06-16 17:01:36 +04:00
hunuza
68abd76c97
[9844] Fix some whitespace errors.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
VladimirMangos
722135b326
[9838] More log filters and macro uses.
...
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
tomrus88
b502d01a08
Fixed console spam.
2010-03-28 15:00:11 +04:00
tomrus88
292f6189ea
Merge remote branch 'origin/master' into 330
2010-03-24 08:33:12 +03:00
VladimirMangos
db51c29235
[9596] Use area trigger zone check for inn leave case.
...
This is still have false cases but will more correct for specific area triggers.
Also let cleanup code and store less data for Player.
2010-03-17 01:42:22 +03:00
tomrus88
c2a3062f4e
Fixed quests.
2010-03-13 20:34:23 +03:00
tomrus88
26070c571f
Merge remote branch 'origin/master' into 330
2010-03-13 17:52:17 +03:00
VladimirMangos
ab7840a591
[9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build.
2010-03-13 17:35:47 +03:00
tomrus88
e73c5d3b79
Merge remote branch 'origin/master' into 330
...
Conflicts:
src/game/Unit.cpp
2010-03-10 20:24:28 +03:00