aboutsummaryrefslogtreecommitdiff
path: root/src/game/QueryHandler.cpp
AgeCommit message (Collapse)Author
2010-05-01Fix more warnings.Spp
--HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"for(" --> "for (" --HG-- branch : trunk
2010-04-07Code Style: Remove trailing spacesSpp
--HG-- branch : trunk
2010-03-20Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the ↵Machiavelli
resolution for some client crashes. --HG-- branch : trunk
2010-03-06* Fix typo in opcode name.XTZGZoReX
--HG-- branch : trunk
2010-02-14* Core switch to client 3.3.2 (11403)Brian
* Credits (in no particular order) to: * n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo, * thenecromancer, Xanadu, Trazom, Zor, kiper * Additional credits to: * TOM_RUS and NoFantasy from MaNGOS * Thanks for testing Aokromes and XTElite1 * SoTA still needs some work, but is very playable (huge thanks to raczman and * kiper) * To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the * last rev you are on * and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world * DBs * Known problem with guild banks. --HG-- branch : trunk
2010-01-30* Revert [7239]. Research/code was wrong - caused wrong corpse position.XTZGZoReX
--HG-- branch : trunk
2010-01-30*Fix second crash in the opcode handler.QAston
--HG-- branch : trunk
2010-01-30*Fix a crash in CORPSE_MAP_POSITION_RESPONSE handler.QAston
--HG-- branch : trunk
2010-01-29* Implement ↵XTZGZoReX
CMSG_CORPSE_MAP_POSITION_QUERY/CMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE opcodes. Thanks to: Ceris, Lightguard, raczman for helping with research/code. * Fix SMSG_QUERY_TIME_RESPONSE use/structure. Patch/research by TOM_RUS. --HG-- branch : trunk
2010-01-23Implement QueryResult_AutoPtr type which is ACE's reference counted ↵Anubisss
auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers. Use this auto_ptr for every DB queries(except QueryNamedResult yet). This patch guarantees NO memory leaks from QueryResult pointers. Thanks to raczman for the idea and for the helping to make this patch. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-20* Added support for using a lookup table for creature mana / healthBrian
* As long as creature level, class, and the proper expansion they are from are * set in creature_template, you will have 100% accurate health and mana. * Research and base stats table done by Malcrom -- THANK YOU! * Original patch by Kudlaty -- THANK YOU! * Updated and enhanced by Machiavelli - THANK YOU! * Optimizations by w12x, MrSmite, and XTZGZoReX -- THANK YOU! * Final code updating for current rev by XTZGZoReX -- THANK YOU! --HG-- branch : trunk
2009-12-17Update some code for 322an0n4m3
--HG-- branch : trunk
2009-11-26* Added support for questItem5 and questItem6 in creature and gameobjectBrian
* templates. * * Thanks to Malcrom for doing the research. --HG-- branch : trunk
2009-10-29Fix corpse query opcode, by TOM_RUSMachiavelli
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-09-21Reapply patch about changing modelid_a/h(2) values to modelid1..4, display ↵Kudlaty
ids are no longer incorrectly chosen based on player faction. --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-07-20 [8190] Update killing quest objectives base at creature_template ↵megamage
KillCredit fields. Author: GriffonHeart Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way. Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also implement KillCreditN field check at loading. --HG-- branch : trunk
2009-06-27[8073] Use new database fields in offline player answer to CMSG_NAME_QUERY. ↵megamage
Author: hunuza *The author of 8072 is also hunuza. --HG-- branch : trunk
2009-06-16[8026] Obtain object's map directly by calling appropriate ↵megamage
WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal --HG-- branch : trunk
2009-06-15*Some creature display id update. By VladimirMangos and GriffonHeartmegamage
--HG-- branch : trunk
2009-06-13[7995] Check display id correctness for creature and gameobjects. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-05[7961] Use more fast code into HandleCorpseQueryOpcode. Author: VladimirMangosmegamage
Also small changes in send data (if corpse exist data send always). --HG-- branch : trunk
2009-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-17*Merge.megamage
--HG-- branch : trunk
2009-04-16*Better names for var Modelid.Anubisss
--HG-- branch : trunk
2009-03-28 [7560] Implement IconName for gameobject Author: NoFantasymegamage
--HG-- branch : trunk
2009-03-21Small code cleanup and partial merge with dev branch Author: tomrus88megamage
--HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-03-05[7382] Add 2 unknown field to `creature_template` sent in ↵megamage
SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy --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-16[7285] More code cleanups in static data structures use. Author: zhenyamegamage
--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 6982.megamage
--HG-- branch : trunk
2008-12-24Backed out changeset: ad4f100c0a9dmegamage
--HG-- branch : trunk
2008-12-24*Update to Mangos 6938. (Only build for VC9)megamage
--HG-- branch : trunk
2008-11-10[svn] * Improve some arena team related DB accessKingPin
* Cache GM tickets on server startup. * Remove unused src/game/HateMatrix.h and references. * Better check client inventory pos data received in some client packets to skip invalid cases --HG-- branch : trunk