Commit Graph

209 Commits

Author SHA1 Message Date
Xanadu
dfe5ae36d3 Created separate project file for scripts in order to properly utilize their own PCH and thus speed up compile. Sorry for making the IDE more cluttered.
--HG--
branch : trunk
2010-07-29 17:38:24 +02:00
click
969bf213b8 Fix windows-build and change some warnings if configuration-files can not be read properly
- Add proper warning about missing [authserver] -tag in authserver configuration file if not found.
- Add proper warning about missing [worldserver] -tag in worldserver configuration file if not found.
Thanks to Qaston for finding the redefininition of strdup!

--HG--
branch : trunk
2010-07-29 09:00:55 +02:00
Shauren
0849044f6f No need to compile the same file 3 times, once in shared will do.
--HG--
branch : trunk
2010-07-27 17:29:53 +02:00
click
bfc6dec072 Cut away DO_*-parts from buildsystem and specific files checking for it.
--HG--
branch : trunk
2010-07-27 05:40:21 +02:00
silinoron
5977a76d96 Move spell scripts from src/server/scripts/World to src/server/scripts/Spells
--HG--
branch : trunk
rename : src/server/scripts/World/spell_dk.cpp => src/server/scripts/Spells/spell_dk.cpp
rename : src/server/scripts/World/spell_druid.cpp => src/server/scripts/Spells/spell_druid.cpp
rename : src/server/scripts/World/spell_generic.cpp => src/server/scripts/Spells/spell_generic.cpp
rename : src/server/scripts/World/spell_hunter.cpp => src/server/scripts/Spells/spell_hunter.cpp
rename : src/server/scripts/World/spell_mage.cpp => src/server/scripts/Spells/spell_mage.cpp
rename : src/server/scripts/World/spell_paladin.cpp => src/server/scripts/Spells/spell_paladin.cpp
rename : src/server/scripts/World/spell_priest.cpp => src/server/scripts/Spells/spell_priest.cpp
rename : src/server/scripts/World/spell_rogue.cpp => src/server/scripts/Spells/spell_rogue.cpp
rename : src/server/scripts/World/spell_shaman.cpp => src/server/scripts/Spells/spell_shaman.cpp
rename : src/server/scripts/World/spell_warlock.cpp => src/server/scripts/Spells/spell_warlock.cpp
rename : src/server/scripts/World/spell_warrior.cpp => src/server/scripts/Spells/spell_warrior.cpp
2010-07-26 15:40:08 -07:00
QAston
2352fc7cdf *Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.
*Add hook for handling spell effects in new scripting system.

--HG--
branch : trunk
2010-07-24 22:41:42 +02:00
Shauren
6d6c82de64 Build is fixed NOW
... guess you cant trust VS to do all things 100% properly

--HG--
branch : trunk
2010-07-23 21:20:15 +02:00
Shauren
8c42a26045 Proper fix for windows build
--HG--
branch : trunk
2010-07-23 21:16:04 +02:00
Brian
f67689feb4 * Hopefully fix Windows post compile lib copy problem
* Please test and leave feedback

--HG--
branch : trunk
2010-07-23 11:45:40 -06:00
Shauren
ca9a8ac134 This should not have been commited
--HG--
branch : trunk
2010-07-23 13:36:39 +02:00
Shauren
0f71347d58 Fixed windows project files - added SOAP
Added project file for SOAP
Applied Trinity coding standards to TCSoap files

--HG--
branch : trunk
2010-07-23 11:27:04 +02:00
Brian
c8662c888b * Implemented DB cleaning on startup
* Must be enabled in conf AND set in worldstates for what you want to clean
* CLEANING_FLAG_ACHIEVEMENT_PROGRESS  = 0x1,
* CLEANING_FLAG_SKILLS                = 0x2,
* CLEANING_FLAG_SPELLS                = 0x4,
* CLEANING_FLAG_TALENTS               = 0x8
* Set to 0xF to clean all 4
* Patch by hunuza

--HG--
branch : trunk
2010-07-22 13:41:19 -06:00
Shauren
6a539270ec Added global disable system and moved all disable fields/tables/configs into it
NOTE: instance disables were not converted for new system! if you had some then you need to fix that using new system

--HG--
branch : trunk
2010-07-21 12:14:23 +02:00
Xanadu
37c79360b4 Moved SpellEffects.cpp where it belongs.
--HG--
branch : trunk
rename : src/server/game/Spells/Auras/SpellEffects.cpp => src/server/game/Spells/SpellEffects.cpp
2010-07-20 05:21:15 +02:00
Shauren
4cd95932da Forgot to change included files after PCH rename (win projects)
--HG--
branch : trunk
2010-06-30 19:45:36 +02:00
Shauren
9a91e70f05 This should fix building game with windows projects
--HG--
branch : trunk
2010-06-30 19:29:48 +02:00
Machiavelli
b6e180c17c Add PreparedStatementHolder class that will be used for registering and calling prepared statements on the MySQL server.
Information about prepared statements can be found here: http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html
In short: better performance shall ensue.

--HG--
branch : trunk
2010-06-28 16:09:06 +02:00
Brian
af231fadeb * Missed updating the VS project from last commit
--HG--
branch : trunk
2010-06-25 03:53:16 -06:00
Xanadu
eb79fb91a6 Now that we know how to build mysql lib from sources on Win x64 thanks to Scazzato88, we can as well do it. Closes issue #2803.
Use with 8722_openssl_libs.zip from the download section, for details see the forum.

--HG--
branch : trunk
2010-06-25 06:57:32 +02:00
Xanadu
3051d245b7 Fixed win x64 build - it no longer tries to build mysql libs from the source but instead uses the lib binaries you supply - see the forum for details.
--HG--
branch : trunk
2010-06-25 01:11:19 +02:00
Machiavelli
0f7657b68c Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
Also get rid of unused CountedReference class that used Trinity threading pattern.

--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
Xanadu
ffaffe3fd7 * Renamed several VS projects and the executables they produce to reflect the new naming convention.
* Cleaned up some useless and redundant preprocessor definitions.
* Fixed the win build so that it correctly uses the mysql lib it built from the sources.
* Note that you still need to use 8615_mysql_openssl_libs.zip for the OpenSSL binaries.
* Also note that Win x64 build from the existing VS files is still fubar (mysql lib...).

--HG--
branch : trunk
2010-06-23 01:47:41 +02:00
Rat
c43ef87c34 use new mysql for win build
+small include fix

--HG--
branch : trunk
2010-06-20 17:14:52 +02:00
Xanadu
c2cdc9994e Reviewed and fixed smart heal and energize target selection:
* Implemented Divine Hymn and Hymn of Hope targeting. Closes issue #180. Closes issue #2538.
* Fixed CoH healing any monsters in your target.
* Removed obsolete hackfix of Wild Growth that attempted the above.
* Fixed Glyph of Holy Light target selection that had code in a wrong place.
* Removed too general check that gave smart targeting to spells that shouldn't have it.
* Implemented correct number of targets for Althor's Abacus heal proc.

--HG--
branch : trunk
2010-06-18 04:17:21 +02:00
Shauren
7ef4418d51 Fixed TrinityRealm build issues on windows x64
--HG--
branch : trunk
2010-06-17 21:37:21 +02:00
Xanadu
ec63820f56 * Fixed extraction tools windows compile and core windows compile for 32-bit targets. This should do until sufficiently good project files can be generated using cmake.
* Windows users need to download 8615_mysql_openssl_libs.zip from the project download page and unpack it to /externals.

--HG--
branch : trunk
2010-06-16 06:36:35 +02:00
Shauren
6520261ea6 Added _CRT_SECURE_NO_WARNINGS preprocessor definition to windows project files to reduce warning spam
Removed duplicate project file for map extractor

--HG--
branch : trunk
2010-06-13 13:05:25 +02:00
Shauren
61bc0dce35 Fixed windows compile for game and TrinityCore
NOTE: config renamed from TrinityCore.conf to worldserver.conf

--HG--
branch : trunk
2010-06-10 19:22:53 +02:00
Shauren
7195abfad0 Fixed TrinityRealm compile on windows
Fixed shared build on windows fully

NOTE: TrinityRealm config file has been renamed to authserver.conf!

--HG--
branch : trunk
2010-06-10 16:39:51 +02:00
Shauren
489785418e win build: fixed game pch, generating revision.h, realm source dirs (but it doesnt build yet)
--HG--
branch : trunk
2010-06-09 22:22:02 +02:00
Rat
4cdb5c78f2 added revision.h O.o
game.vcproj update , game.lib now buildable
todo: auth+world server

--HG--
branch : trunk
2010-06-09 14:05:50 +02:00
Rat
fb96f2b1d8 added game.vcproj for new dir struct, don't cry, its full of temp data atm
shared.vcproj was added accidentally two revs ago (bah its early in the morning)

--HG--
branch : trunk
2010-06-09 08:14:58 +02:00
Rat
bd544bae75 added new solution file with correct project linking
--HG--
branch : trunk
2010-06-09 08:10:06 +02:00
Rat
ce25918f4c removed old project files
new ones will be linked from externals

--HG--
branch : trunk
2010-06-09 08:05:53 +02:00
Rat
1767a2abf5 some vcproj fixes
(does not fix compile yet)

--HG--
branch : trunk
2010-06-06 00:55:29 +02:00
Rat
e81b40a099 fixed compile on win
--HG--
branch : trunk
2010-06-05 13:30:02 +02:00
Machiavelli
7289827b5a Update g3dlite build for windows.
--HG--
branch : trunk
2010-06-05 02:09:28 +02:00
Rat
1426c2970f HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISK
implemented Condition System
all systems should work like before
after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this
this revesion is not threated as stable!

--HG--
branch : trunk
2010-06-04 23:24:48 +02:00
click
7a13839178 Add support for random battlegrounds - port by n0n4me, original code by Vladimir and Griffonheart (Big thanks to all of you!)
--HG--
branch : trunk
2010-05-26 11:34:37 +02:00
Machiavelli
37e6aa3634 Add OpenSSL integration with ACE (5.6.6) for Windows. Will be used in the future.
*nix users will already have these files.
Credits to the original authors over at ACE.

--HG--
branch : trunk
2010-05-23 17:54:36 +02:00
John Holiver
bccd6fa652 Forgot Windows users on last rev. Sorry guys!
Tnx georgiosburnham for pointing out.

--HG--
branch : trunk
2010-05-22 15:59:13 -03:00
Machiavelli
fee834cb3c Remove some obsolete preprocessor definitions.
--HG--
branch : trunk
2010-05-22 11:52:14 +02:00
Spp
defd131970 Dungeon Finder: Initial setup and dungeon listing
--HG--
branch : trunk
2010-05-20 23:35:27 +02:00
Trazom62
d2cad4b14e Script HoR instance. 1st part.
Fixes issue #1311.

- Intro event.
- 10 waves including Falric and Marwyn.
- Script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC).

--HG--
branch : trunk
2010-05-20 20:09:18 +02:00
Anubisss
a5840e9286 Implement a signalhandler via ACE.
Thanks to Diver for test compiling under WIN.

--HG--
branch : trunk
2010-05-19 21:16:59 +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
Trazom62
d93e4079f7 Script Instance Forge of Souls.
Script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC).
Fix EventMap::DelayEvents
Fixes issue #1310.

--HG--
branch : trunk
2010-04-08 21:03:26 +02:00
Tartalo
aaa340fa25 Blackrock Spire: Implements Leroy Jenkins achievement, by Spichy.
Fixes issue #1073.
Please, post your contribution following our coding style, otherwise I have to
waste a lot of time cleaning up the code

--HG--
branch : trunk
2010-04-07 14:55:54 +02:00
Tartalo
48b1ecf08f Eastern Kingdoms, Alterac Valley: Scripts for Marshalls, Warmasters and bosses
Unknown author code contribution from issue #954.

--HG--
branch : trunk
2010-04-06 21:34:37 +02:00
Trazom62
6b6ee726dd Script Instance Pit of Saron.
First basic script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC).
Still WiP with lots of work. In particular, the faction based npc/mob will have to be fixed when they will be spawned in TDB.
Fixes issue #1308.

--HG--
branch : trunk
2010-04-03 09:04:02 +02:00