Commit graph

75 commits

Author SHA1 Message Date
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
VladimirMangos
75c81894b2 Merge branch 'master' into 330 2010-01-09 00:53:31 +03:00
VladimirMangos
3e3c090348 [9129] Rename BG/arena queue_id to bracket_id and related functions/etc
This is more consistent to wide used terms

Also some other cleanups.
2010-01-08 22:40:34 +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
90ee507cf7 Merge remote branch 'origin/master' into 330 2009-11-30 01:29:59 +03:00
balrok
1d362eace4 [8845] fixed some gcc warnings 2009-11-20 12:57:19 +01:00
tomrus88
72b9dc318e Merge remote branch 'origin/master' into 330 2009-11-19 16:22:58 +03:00
VladimirMangos
fe1fae46ee [8830] Restore build at *nix. Make MAKE_PAIR* users includes explicit.
Comment for recently added field also.
2009-11-18 23:57:20 +03:00
tomrus88
be07beba6f - Updated to latest PTR build 10835. 2009-11-18 03:50:19 +03:00
tomrus88
93332fb1a0 - Fixed SMSG_GROUP_LIST opcode once again (I hope so).
- Fixed typos in SQL update.
- Added some nice comments.
2009-11-16 02:01:09 +03:00
tomrus88
2bdfb0d7bb - Some updates. 2009-11-14 16:22:41 +03:00
tomrus88
716d329228 - Compile fix and update to latest PTR build 10805. 2009-11-12 16:40:37 +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
XTZGZoReX
dc725ad6b8 [8785] Use macro instead of explicit call to singleton Instance().
* For: ObjectAccessor, MapManager.
2009-11-08 03:54:41 +01:00
XTZGZoReX
1f23884757 Don't use singleton to access static functions.
* This affects especially ObjectMgr functions:
   - GetCreatureInfo
   - GetGameObjectInfo
   - GetInstanceTemplate
   These are in fact static functions.
2009-11-08 03:54:27 +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
laise
211b50ce63 [8699] Fix instance bound difficulty selection.
This must fix crashes at enter to heroic mode instances and raids showup after client switch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

I can't repeat crashes with existed raids after changes apply but possible in some cases
need drop content of related DB table for resolve some crashes.
2009-10-21 22:51:43 +04:00
balrok
dc96ddfbfb [8599] removed now unneeded parameter from GetBattleGroundQueueIdFromLevel
cause alterac valley is not handled special since 3.2.2
this function also works without bgtypeid parameter
2009-10-07 15:36:43 +02:00
VladimirMangos
a9af7f2b1c Use reset time for normal/heroic from new DBC. Improve basic support for raid difficalties. 2009-10-06 02:12:02 +04:00
tomrus88
3882772658 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-08-27 01:54:04 +04:00
VladimirMangos
45dd7140b5 [8422] Implement far sight like spells work for long distance.
* Added basic infrastructure for visibility update in case difference player and current view point.
  Just for note: seletect additional arg way beacuse repeatable search object will slow but store pointer will not safe,
  so use middle case: get view point pointer early as possible at visibility updates.
* Implement dynamic object and creature activisation while it's target of far sight spell effect
* Use this for SPELL_AURA_BIND_SIGHT, SPELL_AURA_FAR_SIGHT and SPELL_EFFECT_ADD_FARSIGHT.
* Note2: some spyglass like spells let look _around_ at long distance, this hard implement in current grid loading system
  Without additional changes and not implemented (you will see empty area without creatures in likes case)

* Also fixed warning spam at CMSG_MOVE_SET_CAN_FLY_ACK receive by use proper packet sructure reading.
2009-08-26 08:30:40 +04:00
tomrus88
1df1f7cff5 Fixed player movement.
Fixed multinode taxi.
Removed some unhandled opcode spam.
2009-08-09 18:08:14 +04:00
tomrus88
54cc2dcb53 Merge commit 'origin/master' into 320 2009-07-05 13:19:54 +04:00
lukaasm
1498f93e49 [8108] Fixed a case in resetting group binds where the actual map reset was done even though it had permanent binds.
This is a temp fix as the function should be rewritten to be more clear / less error prone.

Signed-off-by: Wyk3d <Wyk3d@getmangos.com>
2009-07-02 15:41:01 +03:00