VladimirMangos
2cbde12458
[11534] Guild disban memory losses and unsafe code.
...
* Make sure that guild object deleted in all cases after disband.
* Avoid recusive like way call Disband from DelMember
2011-05-25 03:20:28 +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
730a907252
Use enum InventoryResult as return type for few functions.
2011-04-24 02:48:35 +04:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
VladimirMangos
9b3d37f0cf
[10378] Avoid double lookup member slot in guild operations.
...
Also more wide use ObjectGuid in guild code
and fixed some uint32->uint64 guid assigns.
2010-08-19 11:17:33 +04:00
VladimirMangos
f2406c1962
[10377] Simplify use Guild::BroadcastEvent
2010-08-19 07:27:19 +04:00
VladimirMangos
696b8c06dc
[10285] Use lazy computition for Guild::GetAccountsNumber
2010-07-29 22:31:40 +04:00
porteyoplait
3ca05f9d4d
[10284] Fixed memory leaks at guild unload/disband
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also drop redundent m_PurchasedTabs field.
2010-07-29 21:56:10 +04:00
Toinan67
6302659d58
[10281] Send proper account amount in guild in SMSG_GUILD_INFO packet.
...
Data seen for example in client command /guildinfo output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-28 23:34:50 +04:00
Machiavelli
faa07b3ca5
[9607] Fix SMSG_GUILD_INFO time part.
2010-03-19 17:19:01 +01:00
VladimirMangos
a12fecab0d
[9575] Use ObjectGuid in Map object stores/world access/search.
2010-03-12 14:38:38 +03: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
tomrus88
0bd88dd55a
[9353] Some fixes to guild/arenateam events.
2010-02-10 21:14:23 +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
2a80cc694a
Fixed some enums.
2009-12-30 01:15:59 +03:00
tomrus88
57126880cf
Guild bank hopefully fixed.
2009-12-17 18:57:35 +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
VladimirMangos
f35be9519c
[8754] Some guld back related packets data correctness checks
...
* Move when possible checks from deep code to packer/DB read level.
* Check real existed guild bank tabs amount instead just max possible amount.
* Check guild bank loaded state for packets expected to be called only after
guild bank data loadin by another packet.
Thanks to elecyb and NetSky for original fix versions.
2009-10-30 05:50:06 +03:00
Triply
0356924cf9
[8560] Optimized guild and arena team loading at startup.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-09-29 15:41:17 +02:00
VladimirMangos
cfacd7e696
[8480] Provided real-time update for guidl ranks rights.
...
Specially for guild bank tab access rights (including currently open tab case!)
Send roster broadcast for all online guild memebers at any rank edit and guild bank tab buy.
2009-09-07 05:41:31 +04:00
VladimirMangos
7a2df3c309
[8476] Revert some recent cleanup changes, some other fixes and cleanups.
2009-09-05 22:09:37 +04:00
Triply
d24fd20cc3
[8466] Applied mangos coding style for Guild code.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-09-04 15:40:01 +02:00
Triply
512cb786ee
[8408] Optimized guild_member loading during startup. Changed rank ids in guild_rank table.
...
First start of mangos will take more time then usually, because of guild_rank change. If you want to speed first start up, execute command:
UPDATE guild_rank SET rid = rid - 1;
Signed-off-by: Triply <triply@getmangos.com>
2009-08-23 09:22:34 +02:00
VladimirMangos
5ceb0919e7
[8407] Extract from guild bank handler functions for 3 cases and move code to Guild class.
...
This mostly just move code and caller updates to use it from new place.
More code chnages possible later.
2009-08-23 08:33:21 +04:00
Triply
38fa6b241c
[8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
...
Added config options to set count of eventlog records stored in DB.
Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
Renamed few variables in Guild class.
Signed-off-by: Triply <triply@getmangos.com>
2009-08-21 09:42:21 +02:00
VladimirMangos
a6413516f9
[8315] Fixed memory leaks (mostly at server shutdown) and code cleanups.
...
* Fixed leak in BattleGround::m_PlayerScores at BattleGround::Reset,
add and use BattleGroundScoreMap typedef
* Delete AreaTeam objects stored in global map at shutdown
* Delete Corpse objects stored in global map at shutdown
* Store guild bank log entries as objectes instead pointers in log event lists
2009-08-05 14:27:30 +04:00
AlexDereka
aebf74ec45
[7762] Fixed build in *nix.
2009-05-04 21:58:29 +04:00
zhenya
20ffd7f421
[7761] GuildBankTabPrice vector is replaced by an array.
...
Arrays are significantly faster.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-04 19:47:14 +04:00
VladimirMangos
eac584eb89
[7422] Allow localization base at guildmaster locale default guild rank names at guild creating.
2009-03-09 11:41:22 +03:00
Zerg2000
03fd67aaf5
[7314] Not set GR_RIGHT_WITHDRAW_GOLD_LOCK flag for guild masters, remove in DB.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-21 10:08:01 +03:00
VladimirMangos
7c2e850283
[7312] Use localized DB-based achievement message instead hardcoded string.
2009-02-21 07:51:20 +03:00
VladimirMangos
34a9f0302e
[7311] Divide MessageChatLocaleCacheDo to specialized helper classes
...
1) LocalizedPacketDo (allocate and cache packets for locale indexes)
2) MonsterChatBuilder (prepare monster chat message packet for specific locale index)
2009-02-21 03:18:39 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da
[7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
...
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
tomrus88
5d4d7292b9
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.h
2008-12-12 18:14:49 +03:00
hunuza
0f12997ef1
[6899] Pass const reference instead of value for some strings in some functions.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
hunuza
ac2748a141
[6897] Avoid DB access on uninvite from group.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-11 21:37:24 +01:00
tomrus88
7974d1cb94
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.cpp
src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
hunuza
b681f5ac1a
Access cached member lists in guild handlers instead of querying the DB.
2008-11-07 11:49:27 +01:00
tomrus88
78ec66babc
Merge branch 'master' into 303
...
Conflicts:
contrib/extractor/System.cpp
contrib/extractor/ad.exe
src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
hunuza
4957d9f335
Further reduce of DB access in guild handlers.
2008-11-06 11:08:31 +01:00
hunuza
9d8a7aea79
Reduce number of DB queries in guild related code.
2008-11-05 18:24:17 +01:00
tomrus88
d4ab3ca463
Merge branch 'master' into 303
2008-11-04 18:28:39 +03:00
VladimirMangos
3e43600c3b
Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.
2008-11-03 23:59:06 +03:00
tomrus88
c2f65a01c1
Updated social stuff
2008-10-26 10:24:38 +03:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00