aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
AgeCommit message (Collapse)Author
2010-06-03should fix linux compileRat
guess what.. im on win.. --HG-- branch : trunk
2010-06-03added script hook for gameobject's destroyed eventRat
--HG-- branch : trunk
2010-06-01SOTA updateRat
-proper warning text (under attack, destroyed, capture..) -proper icons on map for gate states -fixed second round starting --HG-- branch : trunk
2010-05-26Add support for random battlegrounds - port by n0n4me, original code by ↵click
Vladimir and Griffonheart (Big thanks to all of you!) --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-10Force animprogress for GameObjects Type FishNodeSpp
Original patch by beberlescaraber --HG-- branch : trunk
2010-05-09Fix a crash in GameObject::TakenDamageSpp
Fixes issue 2082 --HG-- branch : trunk
2010-05-09Show GameObject HealthBarSpp
Original patch by beberlescaraber Closes issue 2056 --HG-- branch : trunk
2010-05-08Add GUID to groupsSpp
--HG-- branch : trunk
2010-04-30Fix trap spell casting.Spp
Improved version of Supabad's patch Closes issue 1910. --HG-- branch : trunk
2010-04-30Block battleground-flag from being picked up while player is on a vehicleclick
Fix by Scazzato - closes issue #1161 --HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-11Fix script started twice for Gobber (GO type=10) with eventID.Trazom62
Fixes issue #1589. With help of Az@zel, thanks. --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: tab to spacesSpp
--HG-- branch : trunk
2010-04-04Fix Fishing skill in low level zones, where the zone_skill is < 0. The ↵Trazom62
formula was not correct for those cases. Fixes isssue #1387. Note: junk loot is still not yet implemented. --HG-- branch : trunk
2010-04-01Fix Go type 10 spell handling by QAstonmalcromdev@gmail.com>
--HG-- branch : trunk
2010-03-11Implement group loot for chest having GroupLootRules (go type=3, data15=1).Trazom62
Implement round robin loot. Implement round robin for underthreshold items (group loot and need befor greed). Fix "all players pass" bug on creature. Add SMSG_LOOT_LIST message to indicate looter (round robin or master). And some other minor loot bugs. Fixes issue #167. Fixes issue #247. --HG-- branch : trunk
2010-03-07Added new type-safe cast functions.raczman
This, when properly used, should get rid of most memory corruption issues, currently, casting types C-style with no checks leads to some abstract crashing. Functionality is same as with dynamic_cast<>, but with no RTTI check - so when casting into invalid type you will receive NULL, and most probably crash. At the same time, i took the liberty to convert most Player* casts to ToPlayer(). Still needs crapload of casts being moved to new facility. --HG-- branch : trunk
2010-02-24* As of patch 3.3.2 there is no longer a maxlevel requirement for meetingBrian
* stones. * Credits Kaelima --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-03*Move object's field\visibility update functions to object from accessorsilver1ce
removed useless SendUpdateObjectToAllExcept - anyway fields will be updated, there is no sense to force update them --HG-- branch : trunk
2010-01-30* Set the default spawntimesecs for creatures / gameobjects added in game to ↵Brian
5 minutes * Was 25 seconds * Thanks Paradox --HG-- branch : trunk
2010-01-23* Remove CellLock class and all cell-level thread locking.XTZGZoReX
** It was wasting CPU power as cell-level locking is not needed. ** Our multithreading is on map-level, not cell-level. ** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data. ** Some minor cleanup in Cell::Visit/Map::Visit. --HG-- branch : trunk
2010-01-22*Prevent assertion fail in Unit::_AddAura after creature add to remove list.QAston
--HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16 Rewrite parts of GameObject use for GO type 10, by NoFantasy.n0n4m3
--HG-- branch : trunk
2010-01-16Fix a meam leak in GameObject's destructor.Anubisss
main part of my log: ==19804== 584 bytes in 73 blocks are definitely lost in loss record 107 of 298 ==19804== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==19804== by 0x930A2B: GameObject::GameObject() (GameObject.cpp:43) --HG-- branch : trunk
2010-01-07fishing: send correct message when fish escape.Trazom62
--HG-- branch : trunk
2009-12-31* Re-Fixed GO type 6 and type 8 to use radius for distance calculations insteadBrian
* of diameter. This will prevent things like people getting burned even though * you aren't touching the fire. --HG-- branch : trunk
2009-12-26Fixed crash in lookup GO gossipn0n4m3
--HG-- branch : trunk
2009-12-25Fix typo in GO gossipID check for type 10. by NoFantasyn0n4m3
--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*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-20Merge MaNGOS, Gossip System. Autor NoFantasy.win32
* DB support required * Closes #859 --HG-- branch : trunk
2009-12-20* Add support for the use of Gameobject type 10 (GOOBER) use when not on questBrian
* if data1=-1 --HG-- branch : trunk
2009-12-16MaNGOS merge: Mail System.win32
* Store loot in mail_loot_template indexed by mail template ids. * Implement proper creating mail text copy item from mail template based mail. * Move send functions to new MailDraft class from WorldSession. * Implement mails sending at player levelup. * Autor VladimirMangos, converted by me. --HG-- branch : trunk
2009-11-30Fix some issues with fishing. Closes #421, patch by make_the_kingMachiavelli
--HG-- branch : trunk
2009-11-27Apply #412.Kudlaty
Add support to gameobject type Transport (11) that should stop like Orgrimmar arena Elevators or pilars. Patch by Spp and Opterman --HG-- branch : trunk
2009-11-21*Cleanup, more consistant HandleDummyAuraProc code (added basepoints1 and ↵maximius
basepoints2 and edited some spell cases to use these instead of more hacky custom methods..) --HG-- branch : trunk
2009-11-03*Update WorldSession::HandleMovementOpcodes with some new information on how ↵maximius
vehicles behave, and do a little bit of cleanup. --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-28*More precise method for determining whether or not a seat is occupied ↵maximius
(disregarding object size). --HG-- branch : trunk
2009-10-28*Implement new LootMode system, and add some basic support in ↵maximius
boss_sartharion.cpp. Requires database support. --HG-- branch : trunk
2009-10-28*One player per slot on bench/chair, original patch by Trojan for TC1.maximius
--HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk