Commit graph

79 commits

Author SHA1 Message Date
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
VladimirMangos
696db0a3f0 [10135] Bump for 0.17.0 development. 2010-07-02 04:39:03 +04:00
VladimirMangos
b1321feabb [10134] MaNGOS 0.16 release. 2010-07-02 04:01:42 +04:00
Lynx3d
ae3ad10bcf [10097] Update G3D up to v8.0b4
+ Got rid of zip lib requirement in G3D...
  Still can re-enable code by defining _HAVE_ZIP...

+ Remove silly X11 lib dependency from G3D
  Code doesn't seem to do anything yet anyway, and even if, we don't want it :p

+ Fix another weird G3D build problem...

+ Remove some __asm usage in g3d, which is not available on Win64
  My editor also decided to remove a ton of trailing white spaces...tss...

+ Reapply G3D fixes for 64bit VC

+ not use SSE specific header when SSE not enabled in *nix

+ Updated project files

+ New vmap_assembler VC90/VC80 Project

+ vmap assembler binaries updates

NOTE: Old vmap fikes expected work (as tests show) with new library version.
      But better use new generated versions. Its different in small parts to bad or good...

(based on Lynx3d's repo commit 44798d3)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-23 06:45:25 +04:00
VladimirMangos
1eed65d5ac [10082] Drop now unused dotconfpp lib code. 2010-06-20 02:20:51 +04:00
SilverIce
e427ce80cc [10052] Camera System
(based on SilverIce's repo commit 4f2f4ab + next 3 more)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-14 07:23:03 +04:00
XTZGZoReX
28c3de5093 [9995] Move GridMap class (and related structs/enums) to separate cpp/h.
Also rename some structs/enums and fix some code style.
2010-05-28 13:34:14 +02:00
zergtmn
fe226f897b [9966] Add CharacterDatabaseCleaner to VS2010 filters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 19:50:23 +04:00
VladimirMangos
182fda8f3e [9954] Lost socket.vcxproj referecne in VS projects.
Thanks to j4r0d for catch this.
2010-05-22 15:59:10 +04:00
VladimirMangos
540edb5a81 [9939] Sockets library use finally dropped
Specially thanks to Derex for make this possible! :)
2010-05-20 02:57:46 +04:00
Derex
8a1fd9e086 [9935] ACE realmd, thanks to Zor and Vladimir for windows. 2010-05-19 23:37:35 +03:00
hunuza
d1130af777 [9849] Implement character database clean up.
This can be disabled by config option.

Flag for clean up can be set for example on client version change.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 23:08:24 +02:00
VladimirMangos
4fd4c1da3f [9815] Some cleanups in vc100 project files.
* More wide use $() for have same textual values for all build modes
* Fix NoPCH_Debug build.
2010-05-01 00:59:28 +04:00
VladimirMangos
b5347feeaa [9814] Add filter files to VC100 projects
Its store file groupping info into projects.
2010-04-30 21:11:48 +04:00
tomrus88
dc1bb13c72 [9721] Updated high guids. Renamed few files. Added some comments. 2010-04-10 16:59:30 +04:00
tomrus88
4e2c42799c Renamed HMACSHA1 to something that will not conflict with feature HMACSHA256 and HMACSHA512. 2010-04-04 17:57:06 +04:00
tomrus88
d131f137cc Merge remote branch 'origin/master' into 330 2010-04-03 11:33:45 +04:00
hunuza
6750ce9185 [9650] Some corpse related clean ups.
Old bones remove code anyway was dead, so remove it.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 16:40:47 +02:00
tomrus88
811f0e7ebf Merge remote branch 'origin/master' into 330 2010-03-25 22:46:09 +03:00
XTZGZoReX
21ff192866 [9617] Add WorldPacket.h to vcproj files. 2010-03-25 11:27:27 +01:00
tomrus88
bad00af71c Fixed VS2010 build after commits:
2e4a3ca5e6
0833a9c566
2010-03-14 13:23:27 +03:00
VladimirMangos
93ad67fc9d [9547] Implement ObjectGuid wrapper for guid value
Only one example (mostly) case converted to use it.
Need lot work for finally switch to class obly use, so old low-level defines still exist also (while used).
But some unused low-level defines dropped.
2010-03-08 00:46:04 +03:00
VladimirMangos
6487c24f29 [9545] Rename ObjectDefines.h -> ObjectGuid.h
Also move unrelated generic defines to Common.h
2010-03-07 20:05:32 +03:00
arrai
e520d8409e [9466] Implemented SOAP in MaNGOS
- removed deprecated code from RASocket
- allow more than one login at a time on the RA console
- added gsoap library for handling SOAP requests
- removed deprecated mangos_string entry

Thanks to:
- Derex for reporting a bug which occured if more than 1024
    players were connected  [poll() vs select()]
- caeruleaus for adding windowsbuild support
- vladimir for suggesting a different thread starting order
- fdb_ for suggesting SOAP in the first place
2010-02-27 10:52:07 +01:00
VladimirMangos
8997f0f240 [9336] Use single FD_SETSIZE define
* Remove unused framework/Network/SocketDefines.h
* Make sure that we have single FD_SETSIZE define in code
2010-02-09 02:38:58 +03:00