Commit graph

238 commits

Author SHA1 Message Date
Antz
9d20fe2b32 Initial project location adjustment 2020-02-17 09:22:43 +00:00
Antz
f1c9e0f94b [Sync] Project header sync 2020-02-17 09:22:26 +00:00
sanctum32
3490f642cf [12736] Implemented reforge, also added missing part for HandleObjectUpdateFailedOpcode 2020-02-17 09:21:09 +00:00
sanctum32
27ff3eec3f [12733] Implemented spells 21562, 27683 2020-02-17 09:21:04 +00:00
sanctum32
a5d17dbf86 [12732] Implemented CMSG_OBJECT_UPDATE_FAILED 2020-02-17 09:21:03 +00:00
sanctum32
f414c377df [12731] Fixed build, sorry for typos, i need to take a break... 2020-02-17 09:21:03 +00:00
sanctum32
75a4184ef5 [12728] Fixed typo 2020-02-17 09:21:01 +00:00
sanctum32
3c89d661aa [12727] Corrected ReturnToGraveyard opcode handler, now it teleports to nearest corpse graveyard (thanks @Dramacydal for pointing) 2020-02-17 09:21:00 +00:00
sanctum32
ca49ce230d [12725] Fixed possible crash 2020-02-17 09:20:59 +00:00
sanctum32
7b67ada8e2 [12714] Implemented CMSG_RETURN_TO_GRAVEYARD 2020-02-17 09:20:52 +00:00
sanctum32
b4db2f63dd [12662] Basic implementaion of hotfixes
original author of this patch is Shauren
commit is based on 67e61b7e64
2020-02-17 09:20:16 +00:00
Antz
1997c1e903 Rebase resync 2020-02-17 09:19:44 +00:00
billy1arm
ef445ea523 [12632] Revert previous commit (see Notes) 2020-02-17 00:54:15 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
cyberium
f432438665 [12207] Rewrite Checks required when entering a map
Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
  send the fail-message with Player::SendTransferAbortedByLockStatus function.

Please feedback any hidden problems!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:24 +00:00
cyberium
9022705faf [12195] Improve AreaTrigger teleport requirement checks
Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:13 +00:00
Yaki Khadafi
4dcb91df9f [12164] Fix inspect honor kill stats, arena stats.
Fix SMSG_NOTIFICATION structure
Move back Updatehonorfields, too fastly removed
Define some pvp opcodes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:42 +00:00
Yaki Khadafi
55ebf1b64f [12161] Update talents:
Fix talent learn
Fix talent reset
Fix talent inspecting

original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:38 +00:00
stfx
c8814791e1 [12153] Remove unneeded InBattleGround() as it is already checked by GetBattleGround()
Also call OutdoorPvP handlers before instance script ones
2020-02-16 20:41:31 +00:00
Yaki Khadafi
b4d7780f46 [12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:19 +00:00
rsa
de95d1d480 [12123] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's 2020-02-16 20:40:57 +00:00
Xfurry
e955c3bc8f Add Outdoor PvP handlers to various files 2020-02-16 19:05:40 +00:00
Netcho
7ab30e619e [0106] Fix some opcodes
Signed-off-by: Netcho <kkotlarski@abv.bg>
2020-02-16 16:18:43 +00:00
Yaki Khadafi
e7d0275ae2 [0067] Set- canfly/forcemoveroot/waterwalk packets, SMSG_PLAY_SPELL_VISUAL
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:29:40 +00:00
Yaki Khadafi
4409188546 [0006] Fix most of movement opcodes. Thx Strawberry & Trinity for MovementStatusElements idea.
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:54:05 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
8d0c106aa4 Various Cleanups (game L-M) 2012-07-19 21:46:40 +02:00
cyberium
2836e704a8 [11897] Remove redundant call of ResetInstance - Raids cannot be reset at all
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:43:43 +01:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
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