aboutsummaryrefslogtreecommitdiff
path: root/src/game/GuildHandler.cpp
AgeCommit message (Collapse)Author
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-09-14*[8480] Provided real-time update for guidl ranks rights.maximius
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. Author: VladimirMangos *Fix a pretty stupid mistake of mine with that Stoneclaw Totem fix, put the code block in the wrong function! *Use comparison instead of std::min (for some reason std::min seems to expect 3 arguments on Windows!?) --HG-- branch : trunk
2009-08-28* Update to guild handlers. Fix bugs related to the wrong ranks being ↵Machiavelli
updated, the greyed out withdraw button when you were eligible to withdraw money, and the improper display of no withdrawals left for a tab when you have plenty. NOTE: Guild masters might need to reconfigure their permissions per rank in order to resolve any permission issues. --HG-- branch : trunk
2009-08-24 [8408] Optimized guild_member loading during startup. Changed rank ids ↵megamage
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> --HG-- branch : trunk
2009-08-24 [8407] Extract from guild bank handler functions for 3 cases and move ↵megamage
code to Guild class. Author: VladimirMangos This mostly just move code and caller updates to use it from new place. More code chnages possible later. --HG-- branch : trunk
2009-08-24 [8402] Optimalized guild_eventlog and guild_bank_eventlog loading from ↵megamage
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> *Note: existing guild bank log will be removed. --HG-- branch : trunk
2009-08-19 [8389] Implement check really read received packet size and warning it ↵megamage
not all data read. Author: VladimirMangos * This let more easy catch packet structure chnages at client switch. * Fixed structure CMSG_GUILD_BANK_SWAP_ITEMS * Fixed structure CMSG_SPLIT_ITEM, CMSG_SELL_ITEM * Added read data amount fixes for some other packets. Thanks to TOM_RUS in help check correct packets structure. Note: not all packets possible fixed. Please report for not fixed cases at errors: "opcode %s (0x%.4X) have unprocessed tail data (read stop at %u from %u)" --HG-- branch : trunk
2009-08-19 [8382] Implement ByteArray functions for skip read of fields not needed ↵megamage
for server in received packets. Author: VladimirMangos * Use this fucntions in some case. * Change some packets to form: read fields first check later for better control recieved packets structure. * Fix CMSG_STAND_STATE_CHANGE packet structure to more correct. --HG-- branch : trunk
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai 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. --HG-- branch : trunk
2009-06-27 [8072] First step to get rid of data blob.megamage
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table. The update will not work if your database contains characters with an old data field (not fitting to the actual client version). It's recommended to backup your character database before applying this patch. --HG-- branch : trunk
2009-06-16*Prevent guild members promoting other members to the rank of the person who ↵Machiavelli
is promoting by spam-clicking the promote button. --HG-- branch : trunk
2009-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-05-04 [7761] GuildBankTabPrice vector is replaced by an array. Author: zhenyamegamage
Arrays are significantly faster. --HG-- branch : trunk
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-19[7688] Move Get*IfCanInteractWith to Player including renamed ↵megamage
IsGameObjectOfTypeInRange. Author: VladimirMangos --HG-- branch : trunk
2009-04-13[7659] Added several security checks to prevent cheating using facked ↵megamage
packets Author: arrai --HG-- branch : trunk
2009-04-06*Update of aura system.QAston
--HG-- branch : trunk
2009-03-09[7422] Allow localization base at guildmaster locale default guild rank ↵megamage
names at guild creating. Author: VladimirMangos --HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-02-21[7314] Not set GR_RIGHT_WITHDRAW_GOLD_LOCK flag for guild masters, remove in ↵megamage
DB. Author: Zerg2000 --HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-04Replace tabs with spaces, and fix crlf issuesmegamage
--HG-- branch : trunk
2009-02-04*Merge.megamage
--HG-- branch : trunk
2009-02-04*Merge.megamage
--HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2008-12-29*Update to Mangos 6973.megamage
--HG-- branch : trunk
2008-12-29*Correctly show Guild Promoting / Demoting - by MachiavelliBlaymoira
--HG-- branch : trunk
2008-12-28*Update to Mangos 6967.megamage
--HG-- branch : trunk
2008-12-12*Update to Mangos 6902. Source: Mangos.megamage
*Skipped rev: rev 6893, some code about waypoint movement. --HG-- branch : trunk
2008-12-01*Fix the bug about arena personal rating.megamage
*Update to Mangos 6870. Source: Mangos. Main change: add a function SaveDataFieldToDB(). --HG-- branch : trunk
2008-11-25*Update to Mangos 6848. Source: Mangos.megamage
--HG-- branch : trunk
2008-11-14[svn] *** Source: MaNGOS ***visagalis
* Fixed build extractor at Windows Vista. Author: Vladimir * Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox. * Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza * Small fixes in send/received packet and simple code cleanup also. Author: Vladimir * Not output error at loading empty character_ticket table. Author: Vladimir * Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius * Applied props to few files. --HG-- branch : trunk
2008-11-06[svn] * Avoid access to bag item prototype for getting bag size, use related ↵KingPin
item update field instead as more fast source. source mangos. * Further reduce of DB access in guild handlers. * Multi-locale DBC extracting - source Foks *** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits.. --HG-- branch : trunk
2008-11-05[svn] * Avoid access to bag item prototype for getting bag size, use related ↵KingPin
item update field instead as more fast source. * Better check client inventory pos data received in some client packets to skip invalid cases. * Removed some unnecessary database queries. * Make guid lookup for adding ignore async. * Added two parameter versions of the AsyncQuery function * Make queries for adding friends async. - Hunuza * Replace some PQuery() calls with more simple Query() - Hunuza * Mark spell as executed instead of deleteable to solve crash. *** Source mangos. **Its a big commit. so test with care... or without care.... whatever floats your boat. --HG-- branch : trunk
2008-10-23[svn] Fixed copyright notices to comply with GPL.w12x
--HG-- branch : trunk
2008-10-14[svn] * Merge Temp dev SVN with Assembla.Seline
* Changes include: - Implementation of w12x's Outdoor PvP and Game Event Systems. - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed). - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql). - Improved Config cleanup. - And many more changes. --HG-- branch : trunk
2008-10-02[svn] * Proper SVN structureinitNeo2003
--HG-- branch : trunk