Commit Graph

487 Commits

Author SHA1 Message Date
megamage
3fa3c8b098 *Add function Unit::OutDebugInfo for debug.
--HG--
branch : trunk
2009-08-11 10:53:29 -05:00
megamage
1165b889a0 [8328] Fixed problem with crash at startup in result destroy anti-freeze thread runnable. Author: VladimirMangos
* Destroy runnable only if no references.
    * Some code cleanups

--HG--
branch : trunk
2009-08-08 12:37:33 -05:00
megamage
f8a05d264f [8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. Author: VladimirMangos
[8319] Restore compile PGSQL support after last changes. Author: ApoC

--HG--
branch : trunk
2009-08-08 12:12:56 -05:00
megamage
e8556b879d [8311] Prevent multiline fake messages in chat. Author: horogandris
--HG--
branch : trunk
2009-08-06 17:42:44 -05:00
megamage
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage
ca271eb5dc [8272] Fixed typos in world 'height' by code. Author: Sorya
--HG--
branch : trunk
2009-07-31 11:25:28 +08:00
megamage
af2d5e3fd4 [8250] Cleanup code and data for spell_threat Author: nos4r2zod
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
    * Drop from table not existed spells.

--HG--
branch : trunk
2009-07-30 11:37:08 +08:00
megamage
bf8c0933c9 [8221] Removed trailing whitespaces
With excluded dep/ - as usual.

    Signed-off-by: freghar <compmancz@gmail.com>

--HG--
branch : trunk
2009-07-30 10:19:03 +08:00
QAston
06d0560f15 *Minor cleanup in Log::outDB - by XTZGZoReX.
--HG--
branch : trunk
2009-07-28 23:45:03 +02:00
Kudlaty
e1c2d50796 Fix build on windows and propably on centos
--HG--
branch : trunk
2009-07-25 14:36:42 +02:00
Kudlaty
6998d0185c Fix build with old ACE lib
But anyway, you should update your ACE lib

--HG--
branch : trunk
2009-07-25 02:19:16 +02:00
Kudlaty
def7d199dd Fix typo.
--HG--
branch : trunk
2009-07-24 22:44:30 +02:00
Kudlaty
261e75c9cf Merge [SD2]
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes
r1101 Correcting a few details and simplify call drakes for boss sartharion
      Add boss and mini-boss' abilities and add more common events to common drakes AI
r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865)
r1103 Added support for quest 6481 (summon npc 11920)
r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?)
r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune.

--HG--
branch : trunk
2009-07-24 22:42:17 +02:00
Kudlaty
4f7e94ace2 Merge [SD2]
r1095 Correct one spellId in hyjal - skip
r1096 Remove more grid search code from scripts and use functions.
r1097 Remove obsolete functions redefined in 1094
r1098 Added text for bosses in map 615
r1099 Added instance script for map 615

--HG--
branch : trunk
2009-07-24 06:16:31 +02:00
Kudlaty
607dfaf8c9 Merge [SD2]
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature.
r1089 Remove no longer needed grid search code and use function instead. - skip
r1090 Rename and clarify function variables - skip
r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class.
r1092 Remove more grid search code in scripts and use functions instead.
r1093 Remove obsolete grid search class and rename new to a more consistent name.
r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit

--HG--
branch : trunk
2009-07-24 05:27:49 +02:00
megamage
868ae26787 [8176] (skipped) Forbid using some monster movement flags (that can crash client) in creature*_addon tables.moveflag tables field.
Also refactoring creature addon tables loading.

Author: VladimirMangos

--HG--
branch : trunk
2009-07-16 10:47:44 +08:00
megamage
e1762e3e6d [8169] Implement new optional table spell_check and console command .debug spellcheck Author: VladimirMangos
* Table expected to be store data mirror same data in code:
      - explicit spell ids with related expected spell properties like effects, spell family or auras
      - implicit requirements for select some spell sets like spell family masks, icons or visual values
    * For check can be used .debug spellcheck _console_ only command.
    * Main purpose table and related command check code parts for outdated data at client switch.
      It also can be used for check data in patch writing time to be sure code correctness.

--HG--
branch : trunk
2009-07-16 10:13:12 +08:00
megamage
d1bb9c2821 [8166] Add support for 32-bit hex format in addition to 64-bit version Author: VladimirMangos
--HG--
branch : trunk
2009-07-16 09:05:18 +08:00
megamage
016f8bb6b3 [8156] Some mail show flags use.
[8155] Move unneeded include from header.
Author: VladimirMangos

--HG--
branch : trunk
2009-07-12 17:55:57 +08:00
megamage
5e22d496ae [8150] Provided short name for portable format specifier for size_t values Author: VladimirMangos
--HG--
branch : trunk
2009-07-12 17:51:26 +08:00
Kudlaty
63fd4eda99 Some work on PostgreSQL support
note: still don't work, so use mysql

--HG--
branch : trunk
2009-07-12 04:32:34 +02:00
megamage
7d24efd16d [8080] Portability fixes for some Unix platforms. Author: VladimirMangos
* Add #include <stdio.h> to some fiels where related functions call.
    * Avoid template dependent lookup for fields in class LockedQueue.

--HG--
branch : trunk
2009-06-27 17:54:03 -05:00
megamage
b9029be234 [8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h). Author: VladimirMangos
*I am not sure if something needs to be done for cmake.

--HG--
branch : trunk
2009-06-27 17:52:36 -05:00
megamage
e4cfd63181 [8067] Fixed tabs and trailing whitespaces in code. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 17:10:17 -05:00
QAston
1592fe9aa3 Backed out changeset 97d8a5f6449c
--HG--
branch : trunk
2009-06-27 17:59:57 +02:00
QAston
ab7e83a72c *Merge 1600 from tc1.
--HG--
branch : trunk
2009-06-27 17:15:38 +02:00
megamage
a49c2982ba *Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h
*mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting.

--HG--
branch : trunk
2009-06-18 19:27:17 -05:00
Machiavelli
3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
megamage
90e6a97d79 [8036] Move unneded defines from dotconfpp.h to dotconfpp.cpp Author: VladimirMangos
This will prevent unexpected redefines and unrelated files build problems.

--HG--
branch : trunk
2009-06-17 18:42:05 -05:00
raczman
19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00
megamage
c6d242c2b6 *Fix build in Linux.
--HG--
branch : trunk
2009-06-13 23:57:26 -05:00
megamage
e3b748206e [8001] Fixed display id checks for creature case. Author: VladimirMangos
--HG--
branch : trunk
2009-06-13 09:44:35 -05:00
Machiavelli
d48ec1752f * Attempted build fix for linux
--HG--
branch : trunk
2009-06-12 20:24:49 +02:00
megamage
9b949e2049 [7993] Generate StackTrace in ASSERT. Author: AlexDereka
--HG--
branch : trunk
2009-06-11 19:48:27 -05:00
megamage
eb812d52d1 [7991] Added platform names to server version define. Author: AlexDereka
--HG--
branch : trunk
2009-06-11 19:47:14 -05:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage
30cc6348f3 *Some merge of Mangos before update to 3.1.3. TC2 will update to 3.1.3 after about 10 hours.
--HG--
branch : trunk
2009-06-10 14:43:20 -05:00
megamage
0077a00852 *Again fix build. Remove files merged from TC1 which are no longer needed.
--HG--
branch : trunk
2009-06-07 15:45:34 -05:00
megamage
19f93c0d2a Backed out changeset: 70fff36a6db4
--HG--
branch : trunk
2009-06-07 15:43:45 -05:00
megamage
2b417fd79c *Again fix build. Remove files merged from TC1 which are no longer needed.
--HG--
branch : trunk
2009-06-07 15:30:45 -05:00
megamage
b18f35c699 Backed out changeset: 16b92e595ab9
--HG--
branch : trunk
2009-06-07 15:29:55 -05:00
megamage
3097b72ea2 *Fix build. Remove files merged from TC1 which are no longer needed.
--HG--
branch : trunk
2009-06-07 15:24:00 -05:00
megamage
79b76f10cd *Merge. A m_casttime check is added to prevent redundent check of canseeordetect.
--HG--
branch : trunk
2009-06-07 11:59:12 -05:00
megamage
9f9a9f8207 [7968] In packet compression use real writed data size. Author: VladimirMangos
--HG--
branch : trunk
2009-06-06 20:23:56 -05:00
megamage
7b3f9e2c38 [7962] Fixed compilation on OpenBSD. Author: AlexDereka
Remove outdated options from configure.ac.

--HG--
branch : trunk
2009-06-05 17:20:44 -05:00
megamage
0014b403eb [7956] Fixed possible runtime crash. Author: ApoC
--HG--
branch : trunk
2009-06-05 17:15:07 -05:00
krz
a319125b4f Change in SpellEntry structure to allow EffectBaseDice[] to store negative values - patch by thenecromancer.
--HG--
branch : trunk
2009-06-05 02:07:05 +02:00
panaut0lordv
b818884851 *Add missing includes allowing GCC 4.4 build
--HG--
branch : trunk
2009-06-04 18:09:58 +02:00
megamage
7344a5ef6f [7935] Move seldom used access to query data by field names to independent object. Author: VladimirMangos
This let not do preparation code for unused later functionlity.

--HG--
branch : trunk
2009-06-01 21:52:17 -05:00
megamage
2c350bcb80 *Merge.
--HG--
branch : trunk
2009-06-01 15:53:03 -05:00