Commit graph

102 commits

Author SHA1 Message Date
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
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
9d8b66cf93 [10246] Restore work killCredit and kill achievements in regular difficulty instances. 2010-07-22 13:11:34 +04: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
VladimirMangos
9882bc811f [10206] Implement ITEM_FLAGS2_HORDE_ONLY and ITEM_FLAGS2_ALLIANCE_ONLY
* Check item_template data
* Check at equip/use
* Skip at loot if not compatible
* Skip in vendor list if not compatible
2010-07-17 08:21:23 +04:00
VladimirMangos
885c3449b4 [10132] Cleanup code for Group::_homebindIfInstance 2010-07-02 03:22:13 +04:00
VladimirMangos
41f8cfb14c [10123] Fixed recent problem with enter to dungeons in group.
Problem related to implicit get map id from player in Group::GetBoundInstance
when in some cases check done before player mapid update.
2010-06-30 00:45:14 +04:00
VladimirMangos
67a7892075 [10114] Store associated InstanceSave for dungeon map in Map object 2010-06-27 21:11:26 +04:00
VladimirMangos
f28bc74e66 [10085] Allow loot roll value 100 2010-06-20 05:22:24 +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
vipertv
4206230f0d [9991] Next step in fix SMSG_GROUP_LIST structure.
Now assistant/main tank/main assistant show properly
for viewer character also.

Thanks to insider42 for posting patch in Under review section.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-28 04:38:58 +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
94888e52cd [9974] Restore raid functionality broken after one from 3.3.x switches.
* Fixed typo in raid converting code that triggering raid disband at server restart.
* Fixed current subgroup show for character and update group memebers data at move its
  in diff subgroups.
2010-05-26 00:27:07 +04:00
Emme
8a424642e6 [9964] Implement Treshold in Masterloot.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 18:17:33 +04:00
VladimirMangos
29c0efe9b4 [9951] Fixed bug with raid subgroup size update at move member to another.
Also some code cleanups
2010-05-22 11:38:45 +04:00
zergtmn
ffd2cf874d [9923] Fixed typo in prev commit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-18 10:35:24 +04:00
VladimirMangos
bed8794a75 [9921] In case player who tap creature in group leave group it must anyway rewarded with group. 2010-05-18 04:48:33 +04:00
VladimirMangos
696a4b6db0 [9918] Fixed player's tapped creature loot access by group in diff cases
* If player tap creature in group and leave then group will have access to creature loot if not disbanded
* If player tap creature and after join to group then creature loot will accesable only by player
* Also RewardPlayerAndGroupAtKill divided to simgle player and group reward versions used for group tap
  and single player tap cases.
2010-05-17 12:56:57 +04:00
VladimirMangos
96d50bf55a [9917] Fixes in loot roll timer work and related cleanups.
* Changes include (in fact as part cleanup) fix got NeedBeforeGreed locked item after expire roll timer
  suggested by somedruid@mangos.lighthouseapp.com.
* Added cancel rolling at creatuer corpse remove.
* For NeedBeforeGreed and GroupLoot sued common code for prepare item roll.
2010-05-17 05:29:01 +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
9836bcbbaa Added enum for SMSG_GROUP_JOINED_BATTLEGROUND opcode.
Use this enum where possible.
Some misc fixes.
2010-04-03 22:22:30 +04:00
tomrus88
dcb0d4e484 Group loot should work now. 2010-03-28 14:25:28 +04:00
VladimirMangos
e692862827 [9593] Fixed bug in instance binding in case heroic/25-man raids difficulties
In fact typo in my old commit at adding support MapDifficulty.dbc.
2010-03-16 18:15:29 +03:00
VladimirMangos
7d304b002c [9588] Really fix freeze :/ 2010-03-15 17:24:44 +03:00
VladimirMangos
cee1660a3c [9587] Fixed freeze after recent loot roll code changes.
Thanks to j4r0d for testing.
2010-03-15 17:09:22 +03:00
VladimirMangos
703f9dd72a [9585] Restore lost return in prev. commit. 2010-03-15 14:53:51 +03: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
Opterman
547919e249 [9582] Send looted creature guid in proper field of loot packets.
Also use ObjectGuid in related functions.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-14 00:09:35 +03:00
hunuza
5d84477f7f [9564] Remove some trailing whitespace and add comment for last commit.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:45:41 +01:00
VladimirMangos
6487c24f29 [9545] Rename ObjectDefines.h -> ObjectGuid.h
Also move unrelated generic defines to Common.h
2010-03-07 20:05:32 +03:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
AlexDereka
5368751c13 [9386] Store some config values in Rate emun. 2010-02-15 00:17:44 +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
f25f67e459 [9340] Fixed typo in group memeber add sql query. 2010-02-09 15:19:48 +03:00
VladimirMangos
c9c578b5c3 [9339] Use group ids for indexing groups in DB
* Use group ids in DB
* Pack used group ids at server startup
* Finaly drop group search by leader guid.
2010-02-09 14:36:20 +03:00
VladimirMangos
b50c3a9355 [9338] Simplify group loading code. 2010-02-09 08:59:39 +03:00
AlexDereka
696cba9c37 [9330] Fixed msvc compile warnings. 2010-02-08 16:27:35 +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
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03:00
tomrus88
02c23b247e Fixed compile error. 2010-02-07 02:25:32 +03:00
tomrus88
0ef8305ebb Fixed client crash at raid target icon update.
Some other updates.
2010-02-07 00:27:18 +03:00
Lutik
7498b1673e [9315] Use correct way extraction low guid for player.
No functional changes in fact for current code base at 0 high guids used for player at this moment.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-06 19:20:51 +03:00
VladimirMangos
66c8c75914 [9284] Realy fixed crash source added in [9228] now. 2010-02-02 14:52:52 +03:00
VladimirMangos
742f8df025 [9282] Possible fixed crash source added in [9228]
After [9228] groups stored under leader guid keys, but group leader can change
and in result at group disband after leader change group not removed from storage.
2010-02-02 00:57:19 +03:00
VladimirMangos
63709fdc49 Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty) 2010-01-09 03:36:27 +03:00