Commit Graph
100 Commits
Author SHA1 Message Date
Yehonal b24a2ea13e Bash: exec permission for bin files 2017-10-13 14:38:14 +02:00
Yehonal bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00
Yehonal 4df28fd29c Fixed valid arena condition
maybe we should remove it? (not blizzlike)
2017-10-12 16:25:04 +02:00
Yehonal 9c92f4f32e Fix achievement criteria sending correct race
in case of crossfaction enabled
2017-10-12 16:24:50 +02:00
Yehonal ac0e8438f9 Fixed a warning on windows 2017-10-12 16:17:07 +02:00
Yehonal 0f5ff1db7e Bash: Removed compilation type suffix on build/bin path
if you need to differentiate it you can add $CTYPE variable as suffix of bin/build path conf
2017-10-09 10:13:51 +00:00
Yehonal eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02:00
Yehonal c85b1b591e Continue to run server even without custom .conf
You should be able to run both authserver and worldserver with default
configurations

Also changed *DatabaseInfo to fit information defined in our bash installer
and create sql
2017-09-26 12:52:16 +02:00
Yehonal 30e6abf6ab Import pending sql 2017-09-26 01:27:22 +02:00
Yehonal 69b7d77161 Bash: Minor fixes for installer 2017-09-25 18:15:47 +02:00
Yehonal 0a03149432 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk
# Conflicts:
#	src/game/Warden/WardenWin.cpp
2017-09-25 15:18:08 +02:00
Yehonal 7a0e6e7da2 Fixed and optimized EXTRA_LOGS code
about 1700 lines of code manually checked
2017-09-25 15:09:21 +02:00
Yehonal dcdddf658b Fixed warnings when EXTRA_LOGS are off 2017-09-25 10:58:29 +02:00
Yehonal e687d223ff Revert "Cmake: Compiling with warnings by default"
It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.
2017-09-25 10:37:22 +02:00
Yehonal da45fbf75c Db_Assembler: hide mysql password in prompt 2017-09-25 02:21:18 +02:00
Yehonal 9bc0a3d383 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-25 02:15:41 +02:00
Yehonal c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal 61df6f7d44 Workaround to import sql with zero value in date on mysql 5.7
Maybe we need to fix those fields or find another better way
2017-09-25 02:14:42 +02:00
Yehonal 100da17e85 Fixed max heroic attempts ICC
it must be 50 instead of 25
2017-09-24 10:44:34 +02:00
Yehonal dc15319625 Installer: differentiate linux distro 2017-09-22 01:19:20 +02:00
Yehonal 68176367c1 updated doc 2017-09-21 23:32:00 +02:00
Yehonal 421def048f Bash: fixed mysql default conf 2017-09-21 21:52:17 +02:00
Yehonal 31848f9a66 Installer: minor fix 2017-09-21 18:59:29 +02:00
Yehonal 22c6ba9fa6 Bash: implemented installer script for server and modules (beta)
+ minor fixes
2017-09-21 18:52:20 +02:00
Yehonal ce6b9de51a Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-21 17:04:43 +02:00
Yehonal afebf1a1ca Improved db assembler, now can create DBs 2017-09-21 17:04:08 +02:00
Yehonal a738fb3e4d Improved travis compilation
it must give us errors on warnings allowing contributors to fix them
as soon as possible (best before accepting PR)
2017-09-21 12:04:58 +02:00
Yehonal 973259925b Fixed PCH compilation and gcc warnings fixed
+ removed some useless warning suppressions
2017-09-21 11:53:02 +02:00
Yehonal 343c88f0a4 Build without PCH to catch missing headers
+ changed to Debug build type
2017-09-21 01:07:20 +02:00
Yehonal 77340773be Fixed gcc warnings 2017-09-21 00:59:43 +02:00
Yehonal 8ad3c15d63 Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
2017-09-20 01:23:20 +02:00
Yehonal 70ab2a8771 Bash: Allow action non-interactive selection
You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts
2017-09-20 01:18:20 +02:00
Yehonal 477321be4d Bash: Fixed Quit option 2017-09-20 00:08:57 +02:00
Yehonal f63cb50568 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-20 00:02:33 +02:00
Yehonal c592aca103 Implemented sql importing for db_assembler script
It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)
2017-09-20 00:02:24 +02:00
Yehonal d19b61a755 Fixed other badges 2017-09-19 19:04:27 +02:00
Yehonal 64e6109779 Coverity badge 2017-09-19 19:03:06 +02:00
Yehonal 944cfd077e Cleaning unused variables 2017-09-19 11:23:07 +02:00
Yehonal 787a9238df Pending sql 2017-09-19 10:41:43 +02:00
Yehonal 9975fb5923 Fixed linux compilation error with linker
This was caused by a GNUC compiler optimization that removes
LFG.obj from binaries since its functions have never been called
by gamelib. So we had to call at least one of them on LFGMgr forcing
 compiler to include LFG.cpp in build. I can't find another way.
2017-09-19 10:40:27 +02:00
Yehonal af6fc3d873 Uncommented some utils functions for LFG 2017-09-18 19:36:26 +02:00
Yehonal 84d6011a3d Fixed some variable/parameters type issues 2017-09-18 19:35:32 +02:00
Yehonal 353d90f256 Solved cmake D9025 issue with MSVC 2017-09-18 15:23:00 +02:00
Yehonal 59eb9a56a8 Removed unused variables in WaypointMovementGenerator 2017-09-18 15:12:53 +02:00
Yehonal 2b2e299ccc Fixed all unused-parameters warnings
issue #121

used clang-tidy to achieve this
2017-09-18 14:23:26 +02:00
Yehonal aa87ec685b Fixed compilation 2017-09-18 13:24:34 +02:00
Yehonal 66ffadb087 Improved travis compilation
Including pending sql and enabling tools, core-debug, extra-logs and perftools
2017-09-18 03:38:16 +02:00
Yehonal 627f8412d1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-18 03:17:54 +02:00
Yehonal bea6f6b9fb uncommented releaseModelInstance to fix a warning 2017-09-18 03:17:35 +02:00
Yehonal 14f1c767ef Script: Fixed yogg saron Drive Me Crazy achievement 2017-09-18 03:17:20 +02:00
Yehonal 5ec07ef31f Removed more warnings, mostly related to unused-variable
issue #121

We still have to work on unused-parameter
2017-09-18 03:16:32 +02:00
Yehonal cf627d8327 Scripts: Step 4 - Fixed all warnings inside scripts
issue #121

Next step: enabling -DWITH_WARNINGS and fix
2017-09-17 04:07:32 +02:00
Yehonal 82be574cda Core: Step 3 - removed all warnings from core
related to #121

Next step: Scripts and extractor tools
2017-09-16 19:13:21 +02:00
Yehonal 247490dc84 Core: Step 2 - Fixed warnings with clang 3.9+
issue #121
2017-09-16 15:02:33 +02:00
Yehonal 3dde305068 Core: step 1 - starting to fix core warnings
expecially from headers and some cpp files

Scripts and tools in next steps
2017-09-16 13:47:19 +02:00
Yehonal 4d8ae5fce3 Naming unknown data in Authsession and implemented some checks 2017-09-16 01:15:57 +02:00
Yehonal 502e2ad19a Fixed realmid on realmlist packet 2017-09-16 01:15:31 +02:00
Yehonal 9d2395e1d3 Restored behaviour about a vehicle.cpp condition
Fixing #602
2017-09-11 19:40:02 +02:00
Yehonal b450ba35d8 [CORE/Command] fixed wrong db worker for IP2NATION statement 2017-08-26 00:22:24 +02:00
Yehonal 7277e4f006 importing sql 2017-08-25 11:49:51 +02:00
Yehonal 3b90286571 [Script/SAI] Fixed Shattered Hand Blood Guard Event (#579) 2017-08-25 11:48:28 +02:00
Yehonal 5c7834d384 importing pending sql 2017-08-22 22:33:02 +02:00
Yehonal a8166c3868 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-21 11:51:27 +02:00
Yehonal 0c2d0cd9c0 removed duplicated update file 2017-08-21 11:51:17 +02:00
Yehonal 5bc39840a1 Fixed old auth updates 2017-08-21 11:50:44 +02:00
Yehonal f873100cab Revert changes to base account table
We MUST NOT change the base sql if we've the update sql file
otherwise db updating will fail
2017-08-21 11:50:11 +02:00
Yehonal 245d3f87f8 fixed linux compilation 2017-08-20 13:09:05 +02:00
Yehonal 620887fe61 fixed compilation with ENABLE_* defines disabled 2017-08-20 12:34:06 +02:00
Yehonal 0c50a6027c Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-20 06:04:27 +02:00
Yehonal 1ed98105a1 importing pending sql 2017-08-20 06:03:34 +02:00
Yehonal 41efb63b29 Update WorldSocket.cpp 2017-08-20 05:39:17 +02:00
Yehonal 69d35aed10 Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME 2017-08-20 05:27:50 +02:00
Yehonal c44dccb231 Merge branch 'master' into master 2017-08-20 05:04:58 +02:00
Yehonal c854b65882 Merge branch 'master' into master 2017-08-20 04:59:52 +02:00
Yehonal 0dd68dfbee Another huge compilation fix
please delete cache and re-run cmake
2017-08-20 04:48:07 +02:00
Yehonal bf80a43d78 Fixed travis build errors with Talamortis.
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/Calendar/CalendarMgr.cpp
#	src/game/Chat/Channels/Channel.cpp
#	src/game/Conditions/ConditionMgr.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/DungeonFinding/LFGScripts.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MailHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/NPCHandler.cpp
#	src/game/Handlers/PetHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Handlers/QuestHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSession.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-19 20:31:24 +02:00
Yehonal c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal 246826e002 import all pendings sql 2017-08-19 18:28:03 +02:00
Yehonal 562f41b10b Merge pull request #504 from PolarCookie/db_minor_quest_fixes_3
minor quest fixes 3
2017-08-19 16:15:59 +02:00
Yehonal 08d23bb7d4 Merge pull request #483 from PolarCookie/db_minor_quest_fixes
minor quest fixes
2017-08-19 16:14:34 +02:00
Yehonal 5e272e6c92 Merge pull request #474 from STARRHELD/master
DB: Minor Fixes
2017-08-19 15:01:54 +02:00
Yehonal 7cef10a653 importing peding sql 2017-08-19 13:05:33 +02:00
Yehonal 25d92a454d [Auth\DB] Set default expansion to 2 2017-08-19 11:43:44 +02:00
Yehonal 14a8088f86 import pending sql 2017-08-19 11:42:17 +02:00
Yehonal f26fcb49db Added GetBadges in Readme.md 2017-08-18 18:38:55 +02:00
Yehonal dbbd139a10 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-18 17:37:05 +02:00
Yehonal e197ffa1ef importing pedings (please it MUST be done right after accepting PR) 2017-08-18 17:36:52 +02:00
Yehonal abc01d62f6 added more info to run-engine conf file
+ added a function that could be useful
if you want shutdown a screened server
at restarter crash
2017-08-17 16:53:14 +02:00
Yehonal 2afb767616 Minor improvements for OnFirstLogin hook
it can be casted with AT_LOGIN_FIRST flag check
2017-08-17 16:51:10 +02:00
Yehonal 09e9012d14 DB: fixed ugly mistake in char db update files 2017-06-08 02:45:12 +02:00
Yehonal 1521451529 Bash: minor fixes to startup-scripts 2017-05-31 00:46:23 +02:00
yehonal d397d8c7de importing pending sql 2017-05-28 07:37:28 -04:00
Yehonal 22a5408999 Removed useless code from db_assembler 2017-05-01 21:53:03 +02:00
Yehonal 3a59e01dda Imported missing sql 2017-05-01 21:24:19 +02:00
Yehonal 67ff8761ab Imported pending sql
To Devs: please remember to run bin/db_pendings/import.sh script
after merging of PRs that include sql files.
2017-05-01 21:17:34 +02:00
Yehonal 8836d161ff Improved db_assembler simplifying updating process
Implemented a check for versioning column to skip already applied updates
In this way the script can combine all updates under a single sql file
that can be imported directly in any case
2017-05-01 21:17:26 +02:00
Yehonal 4fdaa4444e Hook for player data loading from db 2017-03-26 13:49:41 +02:00
Yehonal 945b35f5eb Missing arguments for OnAfterArenaRatingCalculation 2017-03-26 12:33:56 +02:00