aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level2.cpp
AgeCommit message (Collapse)Author
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-21* Add support for different gmlevel's for different realms.p0wer
* * Using the value -1 will add the same value for all realms. * Make sure to apply the updates. * Information regarding this patch will be posted on the database forums soon. * * Thanks to Sundark and the Ilixiuemu team(for original patch) --HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-17Fixed compile errors and some typosn0n4m3
--HG-- branch : trunk
2009-12-17Restore some commits from trinitycore2 3.1.3n0n4m3
--HG-- branch : trunk
2009-12-17Update Map for 322a and new instance systemn0n4m3
--HG-- branch : trunk
2009-12-14Wintergrasp: Normalization of names to fit OutdoorPvP systemspp
--HG-- branch : trunk
2009-12-06Wintergrasp .wg command fixes. Closes #442spp
* .wg timer: limit to 1-60 wartime and 1-2440 not wartime * .wg switch: timer will not be reset. --HG-- branch : trunk
2009-11-17*Wintergrasp: Add number of players in ".wg status" command, by Spp. Closes #211maximius
--HG-- branch : trunk
2009-11-03Wintergrasp: Fix .wg status crash, By Spp. Fixes #9tartalo
--HG-- branch : trunk
2009-11-02*Wintergrasp: Tower Control was not applied when entering zone, by Spptartalo
*Wintergrasp: Announce tower and workshops being damaged/destroyed, by Spp *Wintergrasp: Announce when a player gets rank, by Spp *Wintergrasp: Implementation of custom commands (.wg for more info), by Spp Note: enable on/off will stop timer, it's not a real disable --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-19*Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.maximius
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro. *Judgement of Light PPM based, not 100%. By Drevi. *Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo. *Correct Wintergrasp Tenacity formulas, by Gyullo. *A Spirit Guide Escort Quest, code from SD2, patch by manuel. *TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1. --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
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-10Fix compatibility problems with PostgreSQL. Patch by AzuritusKudlaty
--HG-- branch : trunk
2009-09-02 [8444] Prevent spawn gameobjects with invalid displayid by command. ↵megamage
Author: VladimirMangos Also fix mangos string for not existed gameobejct entry. --HG-- branch : trunk
2009-08-29*Make position as a class;megamage
--HG-- branch : trunk
2009-08-28*Fix a crash caused by gm command .object move and so onmegamage
--HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-22* Fix memory leak in WaypointStore::UpdatePathMachiavelli
* Correct packet size calculating mistake from 5292 * Code style cleanup in Level2.cpp (Waypoint commands) --HG-- branch : trunk
2009-08-15Show player's race and class in command .pinfoAnubisss
--HG-- branch : trunk
2009-07-31*Replace "LoginDatabase" with "loginDatabase"megamage
--HG-- branch : trunk
2009-07-22*Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 ↵QAston
(SPELL_AURA_INITIALIZE_IMAGES) *Handle CMSG_GET_MIRRORIMAGE_DATA opcode. *Save Minions follow angle to allow themmoving in a formation *Improvements in SpellAI: correctly evade and select attack target for creatures without threat list *Use SpellAI instead of PetAI for not controllable guardians *Only guardians with SUMMON_TYPE_PET are controllable now *Add script and template data for Mirror Image. *Thanks to Drahy for help. --HG-- branch : trunk
2009-07-05*Move command lookup faction's code to the correct file.Anubisss
--HG-- branch : trunk
2009-07-05*Change uint32 counter to bool found in lookup commands.Anubisss
--HG-- branch : trunk
2009-07-05*Print the account's email in command pinfo. Based on Charlie's patch.Anubisss
--HG-- branch : trunk
2009-07-01 [8102] Simplify code base at new root method ↵megamage
WorldObject::CleanupsBeforeDelete Author: VladimirMangos * Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls * Create Gameobject version to make GO with owner more safe for remove --HG-- branch : trunk
2009-06-29* Minor typo cleanupMachiavelli
--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-27*Add forgotten part of previous commitMachiavelli
--HG-- branch : trunk
2009-06-27* Fix message that gets sent to target when using .namego command.Machiavelli
* Re-add clean up in mute command --HG-- branch : trunk
2009-06-27*Merge.QAston
--HG-- branch : trunk
2009-06-27*Merge tc1 commits 1582-1590QAston
--HG-- branch : trunk
2009-06-20* Use safer way to handle recently added mute reason commandMachiavelli
--HG-- branch : trunk
2009-06-20* Implement parameter 'reason' for mute command.Machiavelli
--HG-- branch : trunk
2009-06-16*Merge.megamage
--HG-- branch : trunk
2009-06-15*Integrate TicketMgr with ObjectMgr and clean up assosciated code. More ↵Machiavelli
features concerning ticket system are to be added soon. Please report any issues, thanks. --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-08 Remove unneeded query for renaming characters that are online, this is ↵Machiavelli
handled perfectly with the Player::SetAtLoginFlag and Player::SaveToDB functions already. --HG-- branch : trunk
2009-06-06 [7971] Implement support exotic pets limtations related to hunter telent ↵megamage
53270. Author: VladimirMangos Note: before this commit hunters can tame exotic pets like any other. After patch like not propertly contriolled pets will auto-dismiss at loading if talent not learned. --HG-- branch : trunk
2009-05-31[7923] Search all available locale skill names in .learn all_recipes Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-05-31[7920] Ignore racial skill and skills without recipes in .learn all_recipes. ↵megamage
Cleanup code. Author: VladimirMangos --HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-05-30*Provide another way to implement dynamic spawns. Now a creature will call ↵megamage
its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points) *Use zonescript as basic class of opvp script and dugeon script (can also be used for bg) *Store zonescript in worldobject. *Add door for sapphiron. --HG-- branch : trunk