leak
178c658363
Core/DBLayer: Convert DirectExecute() queries that are not runtime relevant back to regular queries
2012-03-19 18:09:13 +01:00
Spp
f1949b20a6
Some random cleanup here and there
2012-03-09 13:42:52 +01:00
leak
0fbb86f221
Core/DBLayer: Restore removal and cleanup of respawn times of expired instances
2012-01-30 00:31:06 +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
e646dbb3cd
Core/DBLayer: Convert PExecute() queries to prepared statements No. 2
2011-12-27 00:29:48 +01:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
megamage
5a0ffefecc
Remove unnecessary const_cast<Map*>.
2011-11-23 12:51:20 -05:00
megamage
298c162c86
Do not allow an instance map to be created twice if it already exists. Fix #4018 .
2011-11-23 09:34:08 -05:00
Machiavelli
82dbe7bc17
Core: Fix some build errors after code style cleanup
2011-10-08 13:20:04 +02:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
click
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
leak
d64c6ad55a
Core/Instances: Kill weird SQL generator function and fix cleaning of expired instances
2011-05-02 22:04:35 +02:00
leak
f70d5196ac
And another one
2011-05-02 14:45:53 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
6d1924cee8
Removing SQLStorage class leftovers
2011-04-28 23:03:02 +02:00
leak
5aeb4fe794
Core/ObjectMgr: Refactor sInstanceTemplate
2011-04-28 22:16:13 +02:00
Azazel
3993b73925
Core/CharDB cleanup: change creature_respawn and gameobject_respawn column names to lowerCamel, rename instance column to instanceId and move all queries to these tables to prepared statements.
...
Fix import error in character_database.sql.
2011-04-13 17:02:06 +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
leak
190ef1c2ef
Core/Instances: Fix crash and allocation issue in instance id generation
2011-03-11 13:24:58 +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
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Shauren
3f0d888b0e
Core/Instances: Fixed cleaning and packing query for account_instance_times table (instance can no longer exist but player limit is still there)
2011-01-28 15:05:46 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Shauren
867bc197ef
Core/Instances: Made the max amount of instances player can enter within hour configurable and fixed typo in instance packing/cleaning query
2011-01-24 16:12:02 +01:00
Shauren
464837077a
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
2011-01-24 11:20:30 +01:00
leak
c59ea4726e
SQL: Characters db storage type cleanup No. 6
2011-01-20 01:02:24 +01:00
leak
a7df9ddff1
SQL: Characters db storage type cleanup No. 4
2011-01-19 22:46:21 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387
Core/ObjectMgr: Static members are no longer accessed through singleton
...
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
leak
6115b0bd5f
Removing ProgressBars as they are performing badly on startup.
...
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
leak
fd694cd232
Streamlining loading functions for server startup
...
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)
--HG--
branch : trunk
2010-12-19 17:06:33 +01:00
linencloth
2fbbcc477c
Core/InstanceSaveMgr: Cleanup for better readability
...
--HG--
branch : trunk
2010-12-19 01:23:36 +01:00
linencloth
4193806dba
Core/InstanceSaveMgr: Prevent timer underflow by passing resetTime instead of timeLeft
...
--HG--
branch : trunk
2010-12-19 00:59:04 +01:00
linencloth
12e046e45e
Core/InstanceSaveMgr: Replace some queries with executes as the result isn't needed
...
(thanks to Machiavelli for the idea and for spotting these forgotten lines)
--HG--
branch : trunk
2010-12-19 00:04:27 +01:00
linencloth
a8214a682a
Core/InstanceSaveMgr: Optimize instance packing and cleaning up
...
--HG--
branch : trunk
2010-12-18 23:43:44 +01:00
click
5cd3904059
Core/DBLayer: Move tables reserved_name, gameobject_respawn and creature_respawn from WORLD database to CHARACTER database as it's content is realm-specific and should be preserved (thanks to leak for the cleanup)
...
*** TO PRESERVE (COPY) THE DATA CONTAINED IN THE OLD TABLES, YOU MUST FOLLOW THE FOLLOWING SQL-RECIPE (REPLACE DATABASENAMES WHERE NEEDED!) ***
-- Move creature_respawn from world to characters db
INSERT INTO `characters`.`creature_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid, `respawntime` `instance` * FROM `world`.`creature_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`creature_respawn`;
-- Move gameobject_respawn from world to characters db
INSERT INTO `characters`.`gameobject_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid`, `respawntime`, `instance` FROM `world`.`gameobject_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`gameobject_respawn`;
-- Move reserved names from world to characters db
INSERT INTO `characters`.`reserved_name` (`name`)
SELECT `name` FROM `world`.`reserved_name`;
-- Remove reserved_names table from world db
DROP TABLE `world`.`reserved_name`;
*** THE ABOVE MUST BE DONE, OR EXISTING INSTANCES WILL BE FULLY RESPAWNED - YOU HAVE BEEN WARNED ***
Closes issue 4842. Closes issue 4849.
--HG--
branch : trunk
2010-11-19 15:53:14 +01:00
click
dc9708d09f
Core/Guild: And fix a typo... *sigh*
...
--HG--
branch : trunk
2010-10-22 21:51:19 +02:00
click
67d5708bf0
Core/DBLayer: Use DirectPExecute, NOT DirectExecute, since we're actually using parameters in the queries - my bad!
...
--HG--
branch : trunk
2010-10-22 21:38:22 +02:00
click
12289c872e
Core/DBLayer: Use DirectExecute instead of PQuery on some instance-saving queries
...
--HG--
branch : trunk
2010-10-22 21:08:27 +02:00
linencloth
d9d1ec3670
Core: optimize string splitting
...
- Mainly affects item loading performance
- Reduces guild loading time a lot
--HG--
branch : trunk
2010-10-21 16:56:51 +02:00
linencloth
b545bd8ea9
Core/DBLayer: Replace some asynchronous queries to synchronous ones in instance loading to prevent corruption in some cases
...
--HG--
branch : trunk
2010-10-16 22:19:41 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
dd29d9e422
More copyright header updates (will this ever end?)
...
--HG--
branch : trunk
2010-10-07 14:50:05 +02:00
Machiavelli
311ae331ad
Core/InstanceSaveMgr: Statically define ResetTimeDelay as class member instead of redefining it in different functions
...
--HG--
branch : trunk
2010-09-25 14:47:24 +02:00