Nay
972b418103
Merge remote-tracking branch 'origin/master' into mmaps
...
Conflicts:
src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-10-07 14:51:21 +01:00
Nay
99175e066c
Core/Utils: Add asserts to irand, urand and frand
...
max should always be higher or equal than min
notice that SFMT was already covering these cases and it would return 0, -1 or min
2012-10-07 12:55:51 +01:00
Nay
d27a3955f0
Core/Misc: Tabs to spaces and whitespace cleanup
2012-10-06 16:55:01 +01:00
Subv
f7d3600e7e
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
...
Conflicts:
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-10-04 19:39:09 -05:00
Subv
74707a08d3
Core/Misc: Fix a format error in ByteArrayToHexStr
...
Was appending an extra space.
Closes #7959
2012-10-04 19:13:39 -05:00
Spp
02d68e4610
Core: Fix build without PCH
2012-10-03 15:40:01 +02:00
Spp
7831ecdb18
Core: "Initial support for C++11 compilers"
2012-10-02 15:06:19 +02:00
Spp
380db44583
Core/Utilities: Use generic templates with AddPct, ApplyPct and CalculatePct
2012-10-02 12:17:42 +02:00
Spp
f8846cdeaf
Core/Utilities: Do not expose internal store structure in Tokens and rename it to Tokenizer
2012-10-02 11:54:41 +02:00
Nay
746252fe4e
Merge remote-tracking branch 'origin/master' into mmaps
2012-09-30 15:43:20 +01:00
Subv
a706b8027a
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
2012-09-28 17:56:08 -05:00
tibbi
187133bc0e
emptyline
2012-09-27 22:40:59 +01:00
tibbi
404a036fa9
adding Title converter to faction converter, original author Silinoron
2012-09-27 22:38:19 +01:00
Spp
f0f97ab851
Core/Logging: Fix crash when trying to log a message while config is being reloaded
...
Closes #7878
2012-09-26 13:42:53 +02:00
Nay
9b108fad85
Merge remote-tracking branch 'origin/master' into mmaps
2012-09-13 17:25:13 +01:00
Shauren
f03e650474
Core/Calendar: Fixed breaking calendar event UI after relogging
2012-09-13 16:38:18 +02:00
Nay
b1c4118a33
Merge remote-tracking branch 'origin/master' into mmaps
2012-09-11 01:13:41 +01:00
Spp
358c6a26d6
Core: Warning fixes (Also some -pedantic under game folder)
2012-09-10 13:04:31 +02:00
Nay
0522e50c86
Merge remote-tracking branch 'origin/master' into mmaps
...
Conflicts:
src/server/game/Spells/Spell.cpp
2012-09-06 18:01:51 +01:00
kaelima
7c971be3c5
Core/Misc: Fix some warnings and logic mistakes found by static code analysis
2012-09-05 17:18:05 +02:00
Nay
36b3e06a7e
Merge remote-tracking branch 'origin/master' into mmaps
...
Conflicts:
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-09-04 19:11:04 +01:00
Shauren
c4466facb1
Properly fixed one warning
2012-09-04 17:00:56 +02:00
Shauren
1e9fc84a12
Core: Warning fixes
...
C4100: 'x' : unreferenced formal parameter
C4310: cast truncates constant value
C4389: '==' : signed/unsigned mismatch
C4668: 'x' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C4701: potentially uninitialized local variable 'x' used
C4826: Conversion from 'HMODULE' to 'DWORD64' is sign-extended. This may cause unexpected runtime behavior.
C6067: Parameter '3' in call to 'sprintf' must be the address of the string
C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'
2012-09-04 14:40:41 +02:00
Nay
ffe8c75f17
Merge remote-tracking branch 'origin/master' into mmaps
2012-09-01 22:20:33 +01:00
Spp
7811e9100c
Core/Logging: Delete player filename will now use guid_name format like old log system. (was set to account_name by error)
2012-09-01 21:18:01 +02:00
Spp
5cafe0ca01
Core/Logging: Fix delete player crash having logging player enabled.
...
closes #7437
2012-09-01 21:15:20 +02:00
Subv
554e88dd63
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
2012-08-30 19:16:09 -05:00
Nay
5f1977cb1d
Core: Fix many "errors"/warnings and coding style (1)
...
Extractors, worldserver, authserver, shared and collision affected
Errors were found using Cppcheck, open-source static analysis tool
2012-08-30 19:07:59 +01:00
kaelima
bdfae83898
Core/Creature: Added DB support for UNIT_FIELD_FLAGS_2. Thanks cyberbrest
...
- Added more flags to UnitFlags2 enum (Thanks wpp)
2012-08-30 04:52:56 +02:00
Subv
9fe45d6870
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
2012-08-27 15:30:27 -05:00
Spp
5aee9433e1
Core/Logging: Minor optimization in ShouldLog
2012-08-27 12:56:45 +02:00
Nay
3e79dae545
Merge remote-tracking branch 'origin/master' into mmaps
2012-08-26 23:43:45 +01:00
Shauren
43cbb1e105
Core/DBLayer: Fixed memory leaks when query returned empty result set
2012-08-26 21:24:15 +02:00
Subv
dc95ce61b4
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
...
Conflicts:
dep/PackageList.txt
src/server/game/Movement/MotionMaster.cpp
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
src/server/game/Movement/Spline/MoveSplineInit.h
src/server/game/World/World.h
2012-08-22 17:26:53 -05:00
Spp
a566e3e58b
Core/Logging: Move more log messages to LOG_FILTER_SERVER_LOADING
2012-08-16 11:02:46 +02:00
Spp
3c42401d66
Core/Logging: Set config options to behave like old log system.
2012-08-16 00:56:58 +02:00
Spp
8a1e7dd070
Core/Loading: Re-enable Server loading log
2012-08-16 00:23:44 +02:00
Nay
ca2bc35713
Misc: CRLF to LF, whitespace cleanup and tabs to spaces
2012-08-15 21:30:55 +01:00
Spp
52a5991c12
Core/Logging: Added documentation about this system
...
- Restored old CharDump (LOG_FILTER_PLAYER_DUMP) but disabled by default.
- "%s" is now used to set dynamic file names, only used by GM commands and Player dump
2012-08-15 19:58:02 +02:00
Spp
b77d88ec51
Core/Logging: Fix crash on authserver shutdown
...
Closes #7365
Closes #7325
2012-08-15 15:59:11 +02:00
Shauren
ca0a54f357
Core/Logging: Fixed a possible crash with dynamic log file names
2012-08-09 14:31:09 +02:00
kaelima
78fdeca851
Core/Logging: Fix crash in AppenderFile deconstructor when logfile is uninitialized
2012-08-09 12:54:35 +02:00
Nay
429130522e
Core/Authserver: Fix logging crash at startup
2012-08-07 04:21:58 +02:00
kandera
5aa54ca0e9
Update src/server/shared/Logging/AppenderDB.cpp
...
Core/Appender: fix typo
2012-08-06 13:02:11 -03:00
Spp
4a5a077b65
Core/Logging: Use prepared statements in AppenderDB
2012-08-06 13:36:34 +02:00
Spp
156d1e7b3c
Core/SQL: Kill core if error 1064 is triggered (error code 1064 you have an error in your sql syntax). This means the sql has an build error and core fix is needed
2012-08-06 13:23:09 +02:00
Spp
6d21515939
Core/Logging: Implement logging to database
2012-08-06 13:20:24 +02:00
Spp
97c4b92eb0
Core/Logging: Try to simplify configuration of loggers and appenders
...
Changed multiple lines to a simple format:
- Logger.name=Type,LogLevel,Flags,AppenderList
- Appender.name=Type,LogLevel,Flags,optional1,optional2
* Type = File: optional1 = File name, optiona2 = Mode
* Type = Console: optional1 = Colors
Created a default set of loggers and appenders.
- Root logger defaults to Error, that means you will see nothing on console by default (not even loading)
- You need to add the loggers to Loggers options if you want to enable them, otherwise Root logger will be used for all types
Restored outSQLDriver (LOG_FILTER_SQL_DRIVER), outSQLDev (LOG_FILTER_SQL_DEV), outArena (LOG_FILTER_ARENA) and outChar (LOG_FILTER_CHARACTER) functionality by creating new types (LOG_FILTER_CHARACTER is a rename of LOG_FILTER_DELETE.
Note: You need to update your config file... again (yeah sorry... trying to make it simpler)
2012-08-06 12:10:33 +02:00
Spp
5746b688fa
Core/Logging: Reload Logging options when .reload config is used
2012-08-06 09:30:47 +02:00
Spp
483fb42306
Core/Logging: Move player delete logging to new type LOG_FILTER_PLAYER_DELETE (34). Also add missing sql from 55ce180f28
2012-08-06 08:49:31 +02:00