aboutsummaryrefslogtreecommitdiff
path: root/src/game/MiscHandler.cpp
AgeCommit message (Collapse)Author
2010-05-28Fix SMSG_LOGOUT_RESPONSESpp
- Use correct structure format - Send opcode when instant logout --HG-- branch : trunk
2010-05-16you can now reload creatures from creature_template tableRat@walamy
NOTE: reload is limited to one creature at a time Usage: .reload creature_template $entry Warning: this is mainly for developers, reloading a creature can cause unexpected behaviors!! --HG-- branch : trunk
2010-05-08Cleanup on some database-related files: merge some DB-related files, add ↵click
some consistency to callhandles in sourcetree (M + combine MySQL-specific files into main database-files (click) + fix vcproj-files, adjust handler-function names for consistency (Machiavelli) --HG-- branch : trunk
2010-05-05Fix raid groups load from DB and save to DB.Trazom62
Fixes issue #299. - In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed. - Fix isRaid set to 1 when group converted to raid (shall be the groupType). - Fix isRaidGroup check as groupType is now a set of flags. - Fix dungeon/raid check when difficulty change. --HG-- branch : trunk
2010-05-04Some additional checks to Login Instance check. + code layout.Trazom62
--HG-- branch : trunk
2010-05-04Add stricter regulations for instances (login-checks and support for sending ↵click
unbound player to parent-instance / homebind if not matching criterias) Patch by Elron103 - closes issue #1323. --HG-- branch : trunk
2010-04-28Partial revert of 6ab9e720f3d2fca8bfe14b2ba857008cf018e0cd, thanks click and ↵Machiavelli
Liberate for talking sense into me. Only load 1 spec in memory at a time. Also fixes totem bar loading due to a typo. --HG-- branch : trunk
2010-04-28Fix action buttons sent to client when swapping between talent specs. ↵Machiavelli
Storage related parts by Hunuza (MaNGOS), big thanks. --HG-- branch : trunk
2010-04-25* Fix structure of SMSG_INSPECT_TALENTS. Patch provided by Elron103.XTZGZoReX
--HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-11Tab to Spaces and remove of trailing spacesSpp
--HG-- branch : trunk
2010-04-11Fix mail, professions, group loot, console spam, and some fixes. Big thx to ↵n0n4m3
TOM_RUS. --HG-- branch : trunk
2010-04-11Fix quests and auctionhouse.n0n4m3
--HG-- branch : trunk
2010-04-11Fix Auth on server also some fixes and cleanups. Big thx to TOM_RUS.n0n4m3
--HG-- branch : trunk
2010-04-08Code Style (game + scripts only):Spp
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
"==" --> " == " (when needed) --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-03-13** Cleanup in ObjectAccessor/HashMapHolder:XTZGZoReX
* Correctly lock the HashMapHolder on access. * Use ObjectAccessor wrappers (GetPlayers, GetCreatures, GetGameObjects) instead of raw HashMapHolder<Type>::GetContainer. * General code style cleanup. --HG-- branch : trunk
2010-02-27Update visibility systemsilver1ce
*visibility updates and ai relocations processed simultaneously for each grid *these operations now are not synchronized for different grids *some changes into structure of visibility notifiers --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-02-05Yet more cleanup, mostly in the script system. This should conclude the ↵Xanadu
script integration into core. --HG-- branch : trunk
2010-02-05A great purge of obsolete macros.Xanadu
--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-19*Integrate Script system to CoreRat
-added ScriptMgr for loading scripts -removed bindings -moved script system to src/game -moved scripts to src/scripts -VC project files updated -cmakes updated (not 100% done yet) NOTE to Devs: -file locations changed -precompiled renamed to ScriptedPch -ecsort_ai renamed to ScriptedEscortAI -follower_ai renamed to ScriptedFollowerAI -guard_ai renamed to ScriptedGuardAI -simple_ai renamed to ScriptedSimpleAI -sc_creature renamed to ScriptedCreature -sc_gossip renamed to ScriptedGossip -sc_instance renamed to ScriptedInstance *use the new headers in scripts, thank you NOTE to ALL: cmake not fully tested, please report any errors with it could make creashes, incompability USE AT YOUR OWN RISK before further tests!! --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-15* Update structure for SMSG_ADDON_INFO and add some sort of basic handling ↵XTZGZoReX
for incorrect addon CRCs (anti-cheating). * Fix CRLF in MovementHandler.cpp. * Move some handlers/senders to correct place. --HG-- branch : trunk
2010-01-06Reverted commit ba4294dec1. n0n4m3 asked me to do it.Astellar
--HG-- branch : trunk
2010-01-01Fixed instance reset when high server uptime, thx Wowka321n0n4m3
--HG-- branch : trunk
2009-12-25Fixed unreaded packet spam for CMSG_MOVE_FEATHER_FALL_ACK. by VladimirMangosn0n4m3
--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-20Merge MaNGOS, Gossip System. Autor NoFantasy.win32
* DB support required * Closes #859 --HG-- branch : trunk
2009-12-19Prevent packet problem spam in log at rejected CMSG_WORLD_TELEPORT. by ↵n0n4m3
VladimirMangos --HG-- branch : trunk
2009-12-17[9012] fix crash when achievement is completed and player isn't in worldn0n4m3
--HG-- branch : trunk
2009-12-17Fixed compile errors and some typosn0n4m3
--HG-- branch : trunk
2009-12-17Removed some redundant player->SaveToDB calls, original autor balrokn0n4m3
--HG-- branch : trunk
2009-11-01*Cleanup, fix the wholist, thanks SoulForge and Forgivenmaximius
--HG-- branch : trunk
2009-11-01*Cleanup, fix many cases of unoptimized loops, potential crashes, ↵maximius
excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on.. *Proper Maexxna Web Spray locations (old locations sent players flying into the air) --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-04Fix a couple of small typos.Chaz Brown
--HG-- branch : trunk
2009-09-02 [8446] Update ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING only for real ↵megamage
alive cases. Author: Opterman This fix problem with temporary "alive" cases for prist talent for example. Signed-off-by: VladimirMangos <vladimir@getmangos.com> * Use final damage for check * Also fix CMSG_REPOP_REQUEST read warning spam. --HG-- branch : trunk
2009-09-01 [8433] Implement proper store and use character specific account data.megamage
* Base at TOM_RUS reseach save/load character specific account data in new table `character_account_data` * Move its in sql update from `account_data` to new table. * For client packets that can be send in loggined state or just after logout but assocualted with recently logout character add new login status STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT * Store low guid for loggedin player or recently logout into WorldSession. Author: VladimirMangos, TOM_RUS --HG-- branch : trunk
2009-08-27*fixed warning spam at CMSG_MOVE_SET_CAN_FLY_ACK receive by use proper ↵megamage
packet sructure reading. Author: VladimirMangos --HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-22* Missing file change for last commit (correct packet size calculation)Machiavelli
--HG-- branch : trunk
2009-08-22* Fix bug that creator of item was not displayed when inspecting another playerMachiavelli
* Send item enchant data and creator regardless of CONFIG_TALENTS_INSPECTING --HG-- branch : trunk