aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level2.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-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
2009-05-21Sorry, hg missed this change.panaut0lordv
--HG-- branch : trunk
2009-05-19[7851] Fixed typo to allow work '.tele name' command.megamage
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'. Provide and use universal way for get locale and locale index for chat/console command use. Author: VladimirMangos --HG-- branch : trunk
2009-05-17*Use degree rather than radian for creature_formation table.megamage
--HG-- branch : trunk
2009-05-17 [7839] Rafactoring player targeting code in chat command and related ↵megamage
cleanups/improvments. * New extractOptFirstArg function for easy get 2 args in case option playe name as first arg. * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name or if not provided by current seelction with error cases processing. * Property apply mute/unmute in case use different character name from loggined currently for account. * .reset commands can be used from console now * .repairitems comamnd can be used from console now but only to online player. Author: VladimirMangos --HG-- branch : trunk
2009-05-15*Merge.megamage
--HG-- branch : trunk
2009-05-15[7831] Prevent have hunter pet with level greater player levels at level ↵megamage
changes. Propertly set hunter pet xp values at level update. Author: VladimirMangos --HG-- branch : trunk
2009-05-13Possibly fixed more memory leaks in other places.raczman
--HG-- branch : trunk
2009-05-11*Change waypoint data structure. Use creature db guid as path id. If a ↵megamage
creature uses waypoint movement as default movement type, the path id should be DBGUID*10. For paths of script use, the path id should be DBGUID*10+1 ~ DBGUID*10+9. *Two sql queries are included. Converter is used to convert the existing path id to new path id. "...creature_add..." is used to change table structure. You can first run the converter, then run the other one. Or run the other one directly and get the new data from the db team. Because it may take hours to run the converter. *If you have custom data, you may need to run the converter. We suggest you use console to run it It is extremely slow to run the query. If you have multiple paths for a creature in your db, you need to do more work to convert it. However, if you know how to use multiple paths, you should already have more db knowledge than I do and you should know how to convert it. *There may be a faster query to convert the db. If you know, please tell us. I am no sql expert. *Backup your db first! *Thanks to X-Savior and subhuman_bob. --HG-- branch : trunk
2009-05-02*Update summon system.megamage
*Fix the bug that shaman cannot summon fire elemental. *Fix the bug that totem meters cannot be displayed. --HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-27 [7715] Provided way for scripts set alternative gameobject state for ↵megamage
client show. Author: VladimirMangos Also use enum for gsmeobject states. --HG-- branch : trunk
2009-04-24 [7705] Rename some account/character related commands.megamage
* .lockaccount -> .account lock * .password -> .account password * .chardelete -> .character delete * .customize -> .character customize * .rename -> .character rename [7706] Rename command .plimit -> .server plimit Author: VladimirMangos --HG-- branch : trunk
2009-04-20 [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangosmegamage
* This let get objects at map without reference to player or another object. * Simplify future implementation for per-map storage for like objects --HG-- branch : trunk
2009-04-15*Merge.megamage
--HG-- branch : trunk
2009-04-15Update to creature formations.raczman
This is a big merge, it may cause problems. Use with caution, report bugs. --HG-- branch : trunk
2009-04-14* Ticket system update;Machiavelli
- Add map, x, y, z coordinate data to ticket upon creation - Add command .go ticket to teleport to the coordinates where the ticket was created - Move InitTicketID() to the class constructor instead of at every LoadGMTickets call - Minor code cleanup --HG-- branch : trunk
2009-04-14* Ticket system update;Machiavelli
- Add map, x, y, z coordinate data to ticket upon creation - Add command .go ticket to teleport to the coordinates where the ticket was created - Move InitTicketID() to the class constructor instead of at every LoadGMTickets call - Minor code cleanup --HG-- branch : trunk