Commit Graph

81 Commits

Author SHA1 Message Date
tartalo
b19c7b0d85 Fix compile un *NIX, closes #53
--HG--
branch : trunk
2009-11-04 18:12:19 +01:00
tartalo
1eaf0396b2 Fix postgresql compilation on *nix, by itzamna. Fixes #33
--HG--
branch : trunk
2009-11-04 00:02:43 +01: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
b528d14e73 *Tried to combine a little too much code here I think :P
--HG--
branch : trunk
2009-09-26 16:56:35 -07:00
maximius
c66005ea06 *Should fix Linux build, thanks Drahy
--HG--
branch : trunk
2009-09-26 16:52:54 -07:00
maximius
ff3f556423 *Missed condition, thanks Zor :)
--HG--
branch : trunk
2009-09-26 13:00:40 -07:00
maximius
3416a6543d *Wintergrasp: Tenacity fixes by Spp
*Better Windows signal handling for services, by defacer
*Always hide triggers for players, by ogeraisi

--HG--
branch : trunk
2009-09-26 12:41:46 -07:00
Chaz Brown
15d85229fa Replace useless code with more useful code.
--HG--
branch : trunk
2009-09-19 00:51:47 -04:00
Chaz Brown
118e01a08e Fix some errors in last commit
--HG--
branch : trunk
2009-09-19 00:24:35 -04:00
Chaz Brown
9f23d8149f Make adding/removing realm builds easier for use in multirealm environments - original patch provided by Kudlaty
--HG--
branch : trunk
2009-09-18 22:58:37 -04:00
maximius
333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
Chaz Brown
755d0f5d21 Add Chinese 3.1.3 build to expected client builds, you will need to enter 10146 in the gamebuild column in realmd.realmlist for any realms allowing this client
--HG--
branch : trunk
2009-09-15 16:27:25 -04:00
Kudlaty
102069a3ef Change some variables from MANGOS to TRINITY
--HG--
branch : trunk
2009-09-14 00:18:47 +02:00
Chaz Brown
b8dc3f55f0 Remove the remaining obsolete Zthread code
--HG--
branch : trunk
2009-09-13 06:01:45 -04:00
Kudlaty
f55031b242 Add support for multirealm. Patch by streetrat.
--HG--
branch : trunk
2009-09-13 00:02:14 +02:00
megamage
790c5348a3 [8445] Fixed redundant calculation of v and s on every login Author: arrai
The SRP-6 specifications clearly say, that v and s are only to be
    calculated on registering a user and changing his password; calculating
    them on every login is plain waste.

--HG--
branch : trunk
2009-09-02 16:22:32 -05:00
Chaz Brown
2421d01f70 genrevision now generates revision and hash number #defines that are used in trinityrealm.rc and trinitycore.rc to correctly set the fileversion numbers in windows executables, major/minor numbers will be updated later.
--HG--
branch : trunk
2009-08-30 01:29:40 -04:00
Chaz Brown
2345c5ca8d Change default MOTD text in load from conf (how did this get overlooked?) comment out some nonsense in SetPlayerLimit that was causing the allowedSecurityLevel in realmd to be reset. (I think someone got confused between setting a limit on number of players allowed and the allowed security limit...) You can now Block Players from connecting to certain realms by setting the allowedSecurityLevel in the realmlist - Thanks, raczman for nudging me in the right direction
--HG--
branch : trunk
2009-08-29 05:17:55 -04:00
Chaz Brown
09682ed905 Change conf versions, check your conf files and make sure they have all the latest options, devs, don't forget to do this when adding/removing options.
--HG--
branch : trunk
2009-08-17 00:29:10 -04:00
megamage
24f906cfc0 *Do not allow to run the server if openssl lib is outdated.
--HG--
branch : trunk
2009-08-12 23:10:16 -05:00
megamage
1165b889a0 [8328] Fixed problem with crash at startup in result destroy anti-freeze thread runnable. Author: VladimirMangos
* Destroy runnable only if no references.
    * Some code cleanups

--HG--
branch : trunk
2009-08-08 12:37:33 -05:00
megamage
f8a05d264f [8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. Author: VladimirMangos
[8319] Restore compile PGSQL support after last changes. Author: ApoC

--HG--
branch : trunk
2009-08-08 12:12:56 -05:00
megamage
ed995581af *Fixed /played chat command. Author: tomrus88
--HG--
branch : trunk
2009-07-31 11:33:48 +08:00
megamage
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
Kudlaty
63fd4eda99 Some work on PostgreSQL support
note: still don't work, so use mysql

--HG--
branch : trunk
2009-07-12 04:32:34 +02:00
megamage
e4cfd63181 [8067] Fixed tabs and trailing whitespaces in code. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 17:10:17 -05:00
megamage
a49c2982ba *Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h
*mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting.

--HG--
branch : trunk
2009-06-18 19:27:17 -05:00
raczman
19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00
megamage
ee9c12b480 *Some fix of vehicles. Thanks to Seizerkiller.
--HG--
branch : trunk
2009-06-13 09:18:54 -05:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
panaut0lordv
f6447e8f34 *Including style fixing - part 1
--HG--
branch : trunk
2009-06-04 21:41:07 +02:00
megamage
81af115194 [7940] Print only warnings on SSLeay check. Author: XTZGZoReX
--HG--
branch : trunk
2009-06-02 17:44:47 -05:00
megamage
aa7a91ce90 [7937] Check OpenSSL lib at server start up. Author: AlexDereka
--HG--
branch : trunk
2009-06-02 17:40:22 -05: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
Chaz Brown
4403c50e53 Small fix to prevent unintended DB logging
--HG--
branch : trunk
2009-05-04 11:39:43 -04:00
XTZGZoReX
760e31b249 * Ensure 100% that DB logging is enabled/disabled as expected.
--HG--
branch : trunk
2009-04-07 18:42:20 +02:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
raczman
d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
XTZGZoReX
79d27da9ec * Fixed log levels.
--HG--
branch : trunk
2009-03-21 11:51:38 +01:00
panaut0lordv
e0aa64915b Final renames.
--HG--
branch : trunk
2009-03-21 02:02:01 +01:00
panaut0lordv
0bbee0330c Unwanted changes backed-out.
--HG--
branch : trunk
2009-03-21 01:42:46 +01:00
panaut0lordv
e409fb63e9 mangosd->trinitycore & realmd->trinityrealm
--HG--
branch : trunk
2009-03-20 22:17:39 +01:00
megamage
3e8d76087d *Merge.
--HG--
branch : trunk
2009-02-22 17:30:09 -06:00
raczman
6f7c53b7f5 fix cmake/ACE for freeBSD and Mac OSX
--HG--
branch : trunk
2009-02-20 18:22:39 -06: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
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage
df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00