Commit graph

58 commits

Author SHA1 Message Date
VladimirMangos
ef6a48fe03 [11465] non-ObjectGuid guids in random places.
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
2011-05-10 21:27:49 +04:00
unknown
71add7c73b As of patch 3.3.0:
Players below level 10 may not join raids.
2011-04-09 19:41:29 +04:00
cyberium
a3315d0a11 [11062] Correctly show team member status while teleporting 2011-01-22 00:35:38 +02:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03: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
ce7b98c45e [10799] Add GetGuidStr() short call for GetObjectGuid().GetString() and use it. 2010-12-01 09:56:13 +03:00
VladimirMangos
10d3d3ce24 [10692] Fixed some GCC warnings and code errors.
Thanks to freghar for provide cleaned list of warning messages.
2010-11-07 21:30:55 +03: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
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
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
NoFantasy
25d9fd265b [10293] Correct a not exitan...non-existin... a word that is often spelled wrong
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-30 18:26:08 +02:00
VladimirMangos
238b57f93e [10216] Re-implement ROLL_VOTE_DISENCHANT disable case
Also implement NEED_BEFORE_GREED disabling ROLL_VOTE_MASK_NEED
instead skip item as expected in recent client changes.

Thanks to TOM_RUS for help in understanding proper way work.
Hmm, maybe i still do wrong something... ^^

Also count disenchnt roll as greed in ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED
2010-07-18 05:40:34 +04:00
VladimirMangos
4ef23face4 [10215] Implement ROLL_VOTE_DISENCHANT disable
* for player without reqired enchanting skill
* for item without disenchanting possibility
2010-07-18 02:04:06 +04:00
VladimirMangos
73a00a6807 [10213] Implement ITEM_FLAGS2_NEED_ROLL_DISABLED. 2010-07-17 23:45:56 +04:00
Revils
db93e78f50 [9992] Fixed MSG_PARTY_ASSIGNMENT processing.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-28 05:54:38 +04:00
Wowka321
6ce82e4914 [9983] Leave at AFK applied only to battlegrounds (not arena)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also restore build...
2010-05-27 17:36:18 +04:00
SilverIce
d0398b94f6 [9982] Group out of range member must based at client existances.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also move empty mask check from build function to caller.
2010-05-27 17:25:21 +04:00
VladimirMangos
f758fac6f7 [9952] Allow update subgroup in raid for offline players.
Also prevent crash and wrong subgroup number send from client.
2010-05-22 11:57:26 +04:00
VladimirMangos
ec0141261a [9843] Restore need seelction show at loot roll.
Also some clanups including merge 2 roll type enum.
2010-05-07 01:39:52 +04: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
4f6006b9db Fixed few opcodes. 2010-04-03 17:49:12 +04:00
tomrus88
646b1a1ea4 Fixed some typos.
Updated quest status enum.
2010-03-31 05:43:14 +04:00
tomrus88
d19efbe1e4 Fixed console spam. 2010-03-31 04:13:59 +04:00
tomrus88
dcb0d4e484 Group loot should work now. 2010-03-28 14:25:28 +04:00
VladimirMangos
6bfa8d81c6 [9584] Continue fix loot roll packets and related code.
* Propertly send itemSlot field and use it with looted target for roll selection.
* Remove references to NumberOfPlayers useless data send in args
* Fixed long existed bug with roll show when single player from group can roll item.
* Fixed possible crash at player leave group while item roll
* Fixed wrong item amount in stack in rolls inreasult use non-initilized field as info source.
* Remove unused item guid field from Roll and not lost for nothing item guids for this.

Thanks for help in research to TOM_RUS and j4r0d.
2010-03-15 01:31:43 +03:00
VladimirMangos
c8fd454a79 [9551] Add and use PackedGuid wrapper.
Also
* use more wide bytebuff << >> operators for objects
* use at read packet faisl alsways exception way instead some time used bool results.
2010-03-08 20:23:16 +03:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
VladimirMangos
e0b07568ff [9343] Remove unused function. 2010-02-10 02:35:32 +03:00
VladimirMangos
c2f8d39920 [9342] Fixed group creating :(
Also prevent not read tail packet spam in soem cases in group handlers.
2010-02-09 17:08:00 +03:00
VladimirMangos
8e0069f364 [9327] Replace leader based indexing groups by group ids.
* This must repolve problem with loot.
  Before if some mob killed by group member and then leader changed
  then group members can't loot this mob body.
* Possible resolve crashes at loot. Now group storage content not dependent from leader changes.
2010-02-08 08:25:06 +03:00
tomrus88
0ef8305ebb Fixed client crash at raid target icon update.
Some other updates.
2010-02-07 00:27:18 +03:00
VladimirMangos
cd1c1942e3 [9172] Fixed unreaded packet tail spam at group inviting. 2010-01-14 08:01:13 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
tomrus88
860f6adad9 Fix. 2009-12-17 14:46:30 +03:00
tomrus88
3def8fa353 Merge remote branch 'origin/master' into 330 2009-11-10 17:35:09 +03:00
XTZGZoReX
0734adb746 [8789] Rename several singleton macros to use more consistent names.
* objmgr -> sObjectMgr
 * spellmgr -> sSpellMgr
 * WaypointMgr -> sWaypointMgr
 * poolhandler -> sPoolMgr
 * objaccessor -> sObjectAccessor
 * mapmgr -> sMapMgr
 * sInstanceSaveManager -> sInstanceSaveMgr
 * ticketmgr -> sTicketMgr
 * CreatureEAI_Mgr -> sEventAIMgr
 * auctionmgr -> sAuctionMgr
 * achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
tomrus88
d599aea0ba Updated to latest PTR client build 10676. 2009-10-24 19:38:37 +04:00
tomrus88
de73c52a77 Fixed group loot display bug. 2009-10-24 19:31:38 +04:00
arrai
a24f39a36f [8378] Use exceptions instead of explicit size checking for each packet
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.
2009-08-16 23:50:22 +02:00
DonTomika
116c72208f [7926] Implement loot roll achievement criteria types used in statistics
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED:

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 10:05:25 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
AlexDereka
27fabf7ace [7745] Fixed gcc warnings. 2009-05-03 20:25:27 +04:00
Triply
b45b075668 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid.
Patch is tested, but can cause problems / unexpected behaviour.
TODO: set raid leader of battleground raid to raid leader who entered BG
TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 17:01:30 +01:00
balrok
54f2dbefa0 [7403] much more unneeded includes removed
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
VladimirMangos
1727657ab5 [7396] Fixed crash at group disband after some player invite decline and offline.
Correctly cleanup invites list at decline.
2009-03-07 07:50:25 +03:00
ApoC
a92354afed [7129] Changed uint64 results to const uint64& on some methods.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:10:03 +01:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
Woweur
950bfc02df [6949] Fixing group invite opcode.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 01:47:36 +03:00