Commit graph

103 commits

Author SHA1 Message Date
Salja
ab2c78ba59 Implemented Phase Definitions, Terrainswap and multiphasing
* fixes cataclysm aura effect SPELL_AURA_PHASE without phasemasks defined in miscValueA

NOTE:
 - Need some more test and feedback!

Thanks to:
 - Naios: Main Author
 - Cyberbrest: For the hard research work about multiphasing.
 - Venugh: He helped me with a lot of strange compile Errors.
 - Shauren: For the 4.3.4 phaseshift packet.
 - Booksize: He showed me how terrainswap works
 - Zakamurite: For Backporting some to MaNGOS
 - All other Author
2020-02-17 09:21:22 +00:00
billy1arm
30703e33e2 [m12650] Sync'd vs project files with zero 2020-02-17 09:04:49 +00:00
Schmoozerd
a7c5b48160 [c12604] Remove dropped SingletonImpl.h file from VC project files 2020-02-17 00:13:45 +00:00
Schmoozerd
ecdb00bd0d [12131] Improve support for game/ subdirectories
* Add game directory to AdditionalIncludes (VC90)
* Add game directory to AdditionalIncludes (VC100)
* Simplify #include macros for subdirectories

Thanks to Shyax, LordJZ and Zergtmn for testing cmake
2020-02-16 20:41:09 +00:00
rsa
de95d1d480 [12123] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's 2020-02-16 20:40:57 +00:00
kid10
0c752dbdbd [12109] Add file to handle vehicle related opcodes
Also fixed a stupid typo from recent commit. Thx to dbauz for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:10:42 +00:00
Salja
76264d8178 [0149] Typo from last Commit
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 19:57:51 +00:00
kid10
7954680365 [0147] Implement abstract classes for transporter
This includes class TransportBase as helper class for transporter
And class TransportInfo has helper class for passengers on a transporter

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 19:57:04 +00:00
kid10
c00c314639 [12105] Implement abstract classes for transporter
This includes class TransportBase as helper class for transporter
And class TransportInfo has helper class for passengers on a transporter

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 19:46:33 +00:00
stfx
81441da1ad [12097] Add Outdoor PvP placeholders and string texts 2020-02-16 18:58:23 +00:00
x3n
d861cd0d3a fixed another error in VC100 game project file filters :/
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 08:56:09 +00:00
x3n
4da5d91746 fixed error in VC100 game project file filters
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 08:56:08 +00:00
LordJZ
cd1bb3f9f4 Remove unused file MySQLDelayThread.h.
This file also contains at least two errors:
  bad override specifier
  invalid SqlDelayThread constructor call
2020-02-16 08:29:52 +00:00
Salja
a97b8311d2 [0007] Fix VC100 build.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:54:06 +00:00
Salja
3e5895f2f5 Fix CMSG_CHAR_ENUM
Note: VC80/VC90 need update =)

Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:25:26 +00:00
Salja
5424aed420 Added Support for DB2 Reader. Thanks to all Authors
NOTE: extractor need fix/update.
      support for VC80/VC90
      cmake need update

Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:25:24 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
zergtmn
af349b4bdd Move some methods from .h to .cpp 2012-08-03 20:12:15 +06:00
sixsixnine
86dd5cea19 [11907] Add files for MMaps Implementation 2012-02-06 23:17:16 +01:00
Schmoozerd
fbdd79141c [11827] Implement Creature Linking via database
Thanks to Silverice for feedback!

This system interprets the content of the table `creature_linking_template`. To trigger different actions on different events of the npcs that are linked together.
Possible event/ action combinations can be taken form the flags in CreatureLinkingMgr.h::CreatureLinkingFlags
2011-10-16 13:04:58 +02:00
zergtmn
3cb907051b [11796] Fix build in VS11 Developer Preview 2011-09-18 00:13:25 +06:00
antiroot
04581f36ce [11723] Auction House Bot (AHBot) patch applied
Thanks to Chris K, cyberium, Dolomit6, grether, Kerbe, Naicisum, Paradox, Xeross
and other contributers for creating, long time improvments and patch up-to-date state support.

AHBot disabled by default. For enable it you need have ahbot.conf
in same dir where mangosd.conf placed and enable options:
AuctionHouseBot.Seller.Enabled and/or AuctionHouseBot.Buyer.Enabled

Original version ahbot.conf can be found by path:
src/game/AuctionHouseBot/ahbot.conf.dist.in

Note: chat commands from patch not included in commits and will added later after
      additional work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-08 22:32:36 +04:00
SilverIce
9d566398ad [11720] Implement spline movement subsystem
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.

Technical changes:

 1. Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
 2. Precission increased. There are no more position desync issues since client's position calculation formulas used.
 3. Now possible to move by paths with multiple points, send whole path to client.
2011-07-08 17:25:13 +03:00
zergtmn
38a6d24809 [11626] Fix VC100 filters for g3dlite 2011-06-12 21:10:37 +06:00
zergtmn
85c8caee9c [11544] Disable automatic *.map file generation at build 2011-05-26 20:15:01 +06:00
zergtmn
c6b5064725 [11485] Move mail opcode handlers to separate file 2011-05-14 17:57:23 +06:00
zergtmn
6498941ead [11430] Introduce GuildMgr
Move all guild-related functions from our overpowered ObjectMgr to GuildMgr.
Thx leak for idea.
2011-05-06 19:27:36 +06:00
VladimirMangos
5cd9f234f5 [11400] Add missing file to shared.vc*proj 2011-04-26 22:36:06 +04:00
zergtmn
27445940f8 [11314] Fix typo in file name for generated PDB file 2011-04-05 01:14:38 +06:00
Ambal
40ef9cbf2f [11284] Implement prepared statements for INSERT+DELETE+UPDATE SQL requests. Should improve player save performance + lower MySQL server CPU usage.
Note: PostgreSQL does not have prepared statements implemented using native APIs.

Huge thanks to Undergarun, kero99 and Vinolentus.

Signed-off-by: Ambal <pogrebniak@gala.net>
2011-03-25 22:17:59 +02:00
DasBlub
d9374d936f [11283] Drop the no longer used Visual Leak Detector (VLD)
For leak detection you can also use tools like Valgrind.

If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h.
The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld
2011-03-25 19:04:39 +01:00
VladimirMangos
b3aa3c2b22 [11165] Fixed existed win projects for build not modified tbb sources.
Instead modify #include paths in TBB sources added expected include paths to VC projects
2011-02-14 12:54:33 +03:00
VladimirMangos
108feb993d [11127] Rename src/game/InstanceSaveMgr.* -> src/game/MapPersistentStateMgr.* 2011-02-10 05:35:07 +03:00
VladimirMangos
5f2aef756a [10970] Implement mass mail send infrastructure.
It expected to be used in 2 case: some gameevent must send mails at start/end,
and this can be useful in game commands. Both case wil implemented in later commits.

* New MassMailMgr can accept tasks for send mass mails in safe way for map update threads context/etc.
* It work in way:
   - By provided race mask or more generic SQL query string in async query selected affected characters
   - At query result ready at next world tick update in safe common part of tick code some from mails
     from queued mas mail tasks send.
   - Amount mails limited MassMailer.SendPerTick confir option (10 by default). This done for prevent
     high server load/lags at send too many mails in one tick (mail send all existed characters in DB
     who match to seelction criteria)
   - Manager not persistant for server shutdowns so any not send mails in queue lost at shutdown.
     But with default setting 10K mail send in 20 secs (10000/50/10). Adding more safe execution
     for this case will make related code lot more slow and req. many DB tables and code support.
2011-01-06 06:10:15 +03:00
zergtmn
ec6089bbd8 [10935] Move script calls to ScriptMgr
- Script library presence is now optional.
- Some script hooks have new names. Scripting libraries need to be adjusted accordingly.

Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-29 21:48:06 +05:00
zergtmn
0d6f990e4e [10912] Move scripting related functions from ObjectMgr to ScriptMgr 2010-12-24 00:23:37 +05:00
zerg
b8d773091a [10874] Update ACE to v5.8.3
(based on zergtmn's repo commit 3a8c259)
(based on zergtmn's repo commit 946c1a8)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-14 17:37:42 +03:00
Neo2003
695a64d42b [10828] Fix warnings for TBB projects compilation using Visual Studio 10
Also fix a small typo in prev commit.

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 11:26:31 +01:00
VladimirMangos
80712b928a [10825] Move specific SQLStorage defines to game dir
This let have in shared dir only generic declarations of class SQLStorage
Not game specific details.
2010-12-05 03:29:11 +03:00
Neo2003
4dd4576581 [10790] Moved vmap code from shared to game project
After this, realmd code does not contain anymore vmap code
Small cleanup in VC100 filter about vmap files

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-11-28 18:43:14 +01:00
Ambal
f67d89f109 [10727] Map system re-engineered. Special thanks to Blueboy for tests.
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-11-16 21:08:28 +02:00
zerg
9a5accf8a9 [10661] Update VC10 filers for new ACE
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-31 23:53:54 +03:00
Neo2003
23c920ca4b [10643] Update the ACE part we use to 5.8.2
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-10-25 20:36:51 +02:00
DasBlub
f441216aa0 [10464] Revert a part of [10463] and move them back to the .gitignore file in the sub-directory
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-09-10 22:11:35 +02:00
DasBlub
fb2f74e4c9 [10463] Clean up the .gitignore files.
* Move the settings for VS and CMake files to /.gitignore
* Drop now unused .gitignore files

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-09-10 19:29:52 +02:00
VladimirMangos
acdaac3587 [10370] Rename UnorderedMap.h -> UnorderedMapSet.h 2010-08-18 04:54:25 +04:00
zergtmn
ea90f4e8c7 [10194] Fix "Documentation" filter in ACE VC 10.0 project
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-15 05:24:11 +04:00
Lynx3d
5e89098a61 [10165] New collission system (vmap) implementation
Important:
* You have to re-extract and assemble vmaps
* Update your config file, new option 'vmap.enableIndoorCheck' added

New features:
* Include WMO+DBC area information for correct subarea identification and indoor check
* Support for WMO liquid (fishing/swimming in cities, instances and oterh WMO based environments)

Technical changes:
* New Bounding Interval Hierarchy (BIH) data structure for better performance
* Referenced model data for reduced memory usage,
  needs more files, but reduces overall file size from ~1.9GB to ~550MB

Additional Authors:
arrai (DBC handling and indoor detection)
faramir118 (windows support and bug investigation)
And of course thanks Vladimir for a lot of patience and support!
2010-07-08 23:17:26 +02:00
faramir118
d0b952c89e [10161] Add bzip2 2010-07-08 22:45:55 +02:00
Laise
a32b3063a2 [10156] Add shared object for auras of same spell and move spell proc code to its own file, also spread procs by auras and effect indexes. 2010-07-07 19:08:26 +03:00