Shauren
3d4f9a0d1c
Core/World: Shutdown messages are now sent in blizzlike intervals (every 15 seconds under 5 minutes and every minute under 15 minutes)
2011-09-20 11:40:08 +02:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Shocker
ccc13c0295
Merge pull request #2951 from Fredi/reload_config
...
Core/Log: Reload log levels and filters
2011-09-10 04:03:29 -07:00
Spp-
14b3ed9164
Addons/AddonMgr: converted from singleton to namespace with free functions
2011-09-09 15:22:52 +02:00
Spp-
45af1238cf
Conditions/DisableMgr: converted from singleton to namespace with free functions.
2011-09-09 14:27:23 +02:00
Fredi Machado
bac261b001
Core/Log: Reload log levels and filters
...
on 'reload config' command
2011-09-08 23:00:26 -03:00
Spp-
327fe7c247
Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console
2011-09-08 15:11:55 +02:00
Spp-
eddcb8ffbf
AccountMgr singleton converted to namespace with free functions as it has no internal state
2011-09-08 10:49:58 +02:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
QAston
7094f57841
Core/Spells: Don't unload sSpellStore on startup, to allow access to dbc strings.
2011-07-28 02:03:47 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
click
5cafed655a
Core: Remove last trace of CONFIG_GM_LEVEL_ALLOW_ACHIEVEMENTS
2011-07-02 23:18:31 +02:00
click
48e47a9245
Core/Achievements: Simplify handling of achievements for GMs: Do not allow achievements when GM-mode is enabled, allow when disabled
2011-07-02 02:14:49 +02:00
tobmaps
c42db7af8c
Core/Misc: Minor cleanup and code style fixes
2011-06-28 23:48:59 +07:00
kaelima
142943d4c1
This reverts commit f580cddc09.
2011-06-28 13:05:15 +02:00
click
f580cddc09
Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
...
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.
NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
Sarjuuk
249692b54b
Core/Vehicles: Remove vehicle stat scaling hack and implement it properly trough the spell system. NOTE: This does need some further research on coefficients for different vehicles.
...
Signed-off-by: Machiavelli <[email protected] >
2011-06-27 14:23:58 +02:00
QAston
ac88fa026f
Database/Spells: Add spell_proc table which is a replacement for spell_proc_event table. This is the initial patch from series of patches changing the way we currently handle procs in the core, and doesn't interfere with existing code in any way.
2011-06-26 13:54:44 +02:00
Nay
62908812cb
Core/Gossip: Ditch gossip_scripts as it is no longer used. SAI is a better option
2011-06-19 15:24:59 +01:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
da03bbbdab
Core: Yet more cleanups in codestyle...
2011-06-12 02:06:07 +02:00
click
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
tobmaps
a017474ab8
Core/RecruitAFriend: Fix max level difference for benefit experience multiplier
2011-06-09 02:10:46 +07:00
tobmaps
c89922428b
Core/Misc: Added new option in config to set max GM level that can obtain achievements
2011-05-13 01:08:54 +07:00
Shauren
7a3e622da9
Core/Tickets: Fixed retrieving name of assigned GM
2011-05-11 14:18:09 +02:00
Shauren
696215c7c5
Core/World: Fixed iterator invalidation after map.erase() in HasRecentlyDisconnected
2011-05-11 14:14:31 +02:00
Shauren
dc3ff5e5f2
Core/Chat Commands: Partly revert "add name of GM (or Console) into output of gmannounce command (and also fix typo from previous commit)" as .gmnameannounce does exactly that
...
Core/Chat Commands: Allowed named announcement commands to run from console
This reverts commit 574f55382a .
2011-05-11 10:05:26 +02:00
leak
dfacd287a4
Core/ObjectMgr: Refactor group related functions into dedicated class
2011-05-05 10:25:17 +02:00
leak
ea06dcf418
Core/ObjectMgr: Refactor guild related functions into dedicated class
2011-05-04 10:08:09 +02:00
leak
ce01a37c2c
Core/ObjectMgr: Refactor arena team related functions into dedicated class
2011-05-03 15:01:37 +02:00
MrSmite
a92038feaf
Core/AuctionHouse: Delete expired auctions at startup.
2011-05-03 08:32:57 -04:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
leak
3ab83417f5
Core/ObjectMgr: Refactor sCreatureInfoAddonStorage
2011-04-28 22:50:06 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Shauren
71e76c7bdb
Fixed build
2011-04-25 14:17:03 +02:00
Shauren
b7353f38b0
Core/World: Fixed realm character count queries getting lost
2011-04-25 13:31:02 +02:00
Azazel
c36846d78a
Core/GM System: rename columns of gm_surveys, gm_subsurveys, gm_tickets and lag_reports tables to lowerCamel, move queries to prepared statements and refactor the code of TicketMgr.
2011-04-19 14:04:18 +06:00
zergtmn
1551b8a011
Core/Misc: move scheduled scripts counter to ScriptMgr (which is more logical, isn't it?)
2011-04-13 12:07:20 +06:00
Azazel
5357b1ba77
Core/CharDB Cleanup: alter corpse table making column names lowerCamel and move all queries to prepared statements.
...
NOTICE: column can be named `guid` only if it represents character guid. All other guids will be renamed to reflect their purpose (like corpseGuid in this specific case)
2011-04-11 14:39:00 +06:00
Azazel
74b84a603d
Core/DBLayer: add template parameter to QueryCallback classes to make it work with both QueryResult and PreparedQueryResult (will be used later).
2011-04-08 09:41:52 +06:00
Shauren
3a93dff59e
Core/World: Removed unused timers, thanks to Neo2003 for pointing it out
2011-04-05 16:07:56 +02:00
pek2011
535b663280
Core/Cleanup: Drop various unused code
2011-04-03 16:05:27 +03:00
leak
b6074f90da
Core: Cleaned up leftovers from loading functions streamlining
2011-03-10 22:22:29 +01:00
leak
4569e4852a
Core/Instances: Recycle instance IDs. Should fix instance ID shifting and related issues with instance binding.
...
fixes #736
2011-03-10 22:22:27 +01:00
Machiavelli
d6ddc6410c
Core/Vehicles: Rename vehicle_accessory to vehicle_template_accessory, and implement a new table named vehicle_accessory to allow accessory definitions based on GUID that will overwrite defeinitions based on entry.
...
Fixes #Nay
2011-03-06 23:45:22 +01:00