Shocker
8d7f77eb00
Merge pull request #4616 from kandera/fix_seasonal_quest_reset
...
Core/Quests: Add implementation of seasonal quest reset
2012-01-04 13:11:34 -08:00
kandera
46fb199ee1
Core/Quests: Add implementation of seasonal quest reset. uses a new table much like character_queststatus_weekly. fixed typo where WEEKLY was WEKLY. Attempt 2
2012-01-04 07:59:32 -05:00
Shocker
0f66a5bd15
Core/Misc: Separate RecordTimeDiff in World::Update for MapMgr and BattlegroundMgr
2012-01-03 21:54:55 +02:00
leak
73f79c41a1
Core/DBLayer: Couple fixes
2012-01-02 20:29:22 +01:00
leak
ced346076b
Merge pull request #4567 from Kiperr/master
...
Happy new year!
2011-12-31 16:13:28 -08:00
leak
cdbeb42e0f
Core/DBLayer: Refactor prepared statement defines to new format (char db)
2012-01-01 01:09:38 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
leak
73cf793e56
Core/DBLayer: Refactor prepared statement defines Note:
...
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.)
{DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
2011-12-31 20:14:38 +01:00
leak
8adac3f246
Core/DBLayer: Convert PExecute() queries to prepared statements No. 3
2011-12-31 00:32:05 +01:00
Venugh
882ebe2b8e
Core/World: Convert Execute to PreparedStatement from Battleground random.
2011-12-27 01:04:12 +01:00
Venugh
cab508b4c8
Convert a Execute to a PreparedStatement.
2011-12-27 00:56:42 +01:00
leak
64a2a29506
Core/DBLayer: Convert Execute() queries to prepared statements
2011-12-25 02:22:10 +01:00
Spp
d59c5e627f
Fix warnings
2011-12-15 11:12:15 +01:00
Machiavelli
203d4a4952
Core/Commands: Show time left until shutdown in .server info. (Aokromes' Suggestions)--;
2011-12-14 13:42:57 +01:00
LaserJet
9c65d26e46
Core/Loading: Fix some copy&paste mistakes in creature_(template_)addon
2011-12-07 22:05:57 +01:00
Shauren
6cd78a520a
Core/World
...
* Update character name cache after player rename
* Add character name data for characters loaded with PlayerDump
Closes #3653
Closes #3970
2011-11-16 10:31:38 +01:00
Nay
c19a6c7e31
Core/Loading: Drop the field script_version from the table version.
...
It serves no purpose (and one step closer to remove EAI from the core/db)
2011-10-28 23:00:00 +01:00
megamage
45de1f01e0
Update char name data when create/delete char.
2011-10-08 16:24:07 -04:00
megamage
0bb86a3e97
Update code related to character name data.
...
Note: need to add/delete data when character is created/deleted.
2011-10-08 16:09:12 -04:00
Shocker
0b243dfd9b
Core/PlayerDump: Add config to disallow overwriting existing files and usage of paths in player dump write to prevent local exploits
2011-10-08 16:56:04 +03:00
n4ndo
d1370a5e0a
Fix Crash in ProcessQueryCallbacks
2011-09-30 10:57:02 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
be12603150
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
2011-09-28 13:00:43 +02:00
Spp
b93067350c
Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :)
2011-09-28 11:38:56 +02:00
Spp
cc06c41887
Core: Move FormationMgr to namespace
...
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
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 <machiavelli.trinity@gmail.com >
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