Commit Graph

50 Commits

Author SHA1 Message Date
Spp
a3a8e6da2c Some warning fix
Tab to spaces
Remove trailing spaces

--HG--
branch : trunk
2010-05-13 00:15:21 +02:00
click
f60d534b73 Cleanup on some database-related files: merge some DB-related files, add some consistency to callhandles in sourcetree (M
+ combine MySQL-specific files into main database-files (click)
+ fix vcproj-files, adjust handler-function names for consistency (Machiavelli)

--HG--
branch : trunk
2010-05-08 05:03:32 +02:00
click
50ac994cf2 Revert changes done in re6b772bbb596137e7f83dabaab46fc501fb6a8f5 - reason: breaks readline-history capability on linux
This is essentially a bug in MySQLs InnoDB database storage engine where connectionhandlers does not decrement the servers threadcount
while trying to exit properly. Bugreport exists on mySQL bugtracker.

--HG--
branch : trunk
2010-04-20 19:51:20 +02:00
click
ed2e64af4c Add snippet to fix thread-hangs-on-exit on server exit
Closes issue #842

--HG--
branch : trunk
2010-04-19 18:15:41 +02:00
Spp
b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
XTZGZoReX
7c277c87d8 * Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor.

--HG--
branch : trunk
2010-04-05 13:08:47 +02:00
Spp
e1a8e1b2c9 Fix compile after 7548.
Also reorder the columns of account onlinelist command

--HG--
branch : trunk
2010-03-12 20:43:46 +01:00
Spp
2cac9671ca Add map and zone to account onlinelist command.
Closes issue 466

--HG--
branch : trunk
2010-03-12 18:55:41 +01:00
Xanadu
f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
Brian
6a3cd98529 * Fixed the console in Linux so the prompt doesn't get hung, that was so
* annoying. Original idea by stump

--HG--
branch : trunk
2010-01-30 09:26:56 -07:00
XTZGZoReX
a385ea64b0 * Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
2010-01-29 19:24:14 +01:00
Anubisss
d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
n0n4m3
99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
p0wer
7590479186 * Add support for different gmlevel's for different realms.
*
* Using the value -1 will add the same value for all realms.
* Make sure to apply the updates.
* Information regarding this patch will be posted on the database forums soon.
*
* Thanks to Sundark and the Ilixiuemu team(for original patch)

--HG--
branch : trunk
2009-12-21 21:08:29 -06:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
f2a22871a2 *More cleanup :)
--HG--
branch : trunk
2009-08-15 19:18:30 -07:00
maximius
53bc13fad8 *Cleanup
--HG--
branch : trunk
2009-08-15 19:16:47 -07:00
maximius
e581351794 *Replace every tab with 4 spaces, checked by hand
--HG--
branch : trunk
2009-08-15 19:08:39 -07:00
megamage
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage
9b9bf9f3fe *Fix broken windows console command. By CRAZyBUg
--HG--
branch : trunk
2009-06-17 12:07:28 -05:00
megamage
9049233629 *Merge.
--HG--
branch : trunk
2009-06-16 00:07:17 -05:00
raczman
dbdd87ec8c Fix build on windows.
--HG--
branch : trunk
2009-06-08 23:04:49 +02:00
raczman
5ae74c5b58 Added readline support into CLI.
Supports scrolling through past commands,
and tab-completion for commands (no subcommands, sorry).
Requires libreadline package to build from now on!
for debian/ubuntu: apt-get install libreadline5-dev
Linux only, windows users shouldnt notice any difference.

--HG--
branch : trunk
2009-06-08 20:19:13 +02:00
panaut0lordv
f6447e8f34 *Including style fixing - part 1
--HG--
branch : trunk
2009-06-04 21:41:07 +02:00
panaut0lordv
079189bcdb Fix typo. Pointed by Aokromes, thx :)
--HG--
branch : trunk
2009-05-21 19:06:09 +02:00
megamage
25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -05:00
megamage
7e275145e2 *Add new console command "server set logfilelevel".
--HG--
branch : trunk
2009-04-09 13:48:01 -05:00
megamage
2ab52aa2a1 [7565] Move all hardcoded strings used in .account onlinelist to DB. Author: VladimirMangos
Also update format as originally suggested by Cha0S2.

--HG--
branch : trunk
2009-03-28 17:31:27 -06:00
panaut0lordv
e409fb63e9 mangosd->trinitycore & realmd->trinityrealm
--HG--
branch : trunk
2009-03-20 22:17:39 +01:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
Blaymoira
c9f0d4292a *Cleaned up database queries - by XTZGZoReX
--HG--
branch : trunk
2009-01-04 17:20:23 +01:00
megamage
704be96b4c *Add console command "difftime" to change the interval to record diff time in log.
--HG--
branch : trunk
2009-01-01 19:32:44 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
megamage
bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*Big changes:
*[6858] Prevent cheating with ignore waiting in login queue.
*[6863] Arena team related clean ups and adding parts of w12x's arena patch.
*Some Config changes and guild changes.

--HG--
branch : trunk
2008-11-30 12:47:26 -06:00
megamage
1e997b95cc Re-commit 262 due to EOL issues. (no difference from 262)
--HG--
branch : trunk
2008-11-20 16:16:57 -06:00
megamage
8df6868fac [svn] DynamicObject should only be visible for caster if it is not in distance. However, I do not think this will fix the bug that dynamic object update freezes the server.
--HG--
branch : trunk
2008-11-15 11:56:59 -06:00
KingPin
a0f843a3eb [svn] * Merge CLI Commands with regular commands and give them level4 access. sec_console. Source mangos - thanks to ogeraisi for the amalgamated patch.
* Redid/Fixed/Added some lang strings.
* As usual remember this is a trunk rev so stability only guaranteed on northern countries of Mars and western parts of Pluto. No warranties outside the solar system, sorry :( . Check with your local government or dictator on regulations regarding export.

--HG--
branch : trunk
2008-10-26 13:32:42 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
KingPin
cdb7fd43ee [svn] * Minor code fixes
* Move account related functions from ObjectMgr to AccountMgr and drop duplicate functions - source mangos
* recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos
* added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos

--HG--
branch : trunk
2008-10-20 12:59:45 -05:00
KingPin
35f378aef9 [svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O

--HG--
branch : trunk
2008-10-20 12:23:56 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
XTZGZoReX
fdcf5cc406 [svn] * Random changes/fixes...
* Some fixes to MangChat, more coming.
* Cleaning up scripting part and preparing to merge it into the core.

--HG--
branch : trunk
rename : src/bindings/scripts/README.TXT => src/bindings/scripts/README
2008-10-12 17:35:16 -05:00
XTZGZoReX
054725122f [svn] * Various small changes here and there.
* Implementing MangChat IRC system.
* Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client.

--HG--
branch : trunk
2008-10-12 14:03:38 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00