Commit Graph

163 Commits

Author SHA1 Message Date
XTZGZoReX
a66152215e * Add support for base armor values in creature_classlevelstats.
* Change the table structure to be more core-friendly.
* Remove armor field in creature_template and add Armor_mod field.
* Also add static CreatureBaseStats::GetBaseStats() function for scripts.

--HG--
branch : trunk
2010-01-10 22:02:03 +01:00
_manuel_
0e18bc37c2 Removed moveflags column from creature_addon and creature_template_addon. Thanks to Zor and raczman.
--HG--
branch : trunk
2010-01-02 19:52:08 -03:00
Brian
5300226fee * Added support for using a lookup table for creature mana / health
* As long as creature level, class, and the proper expansion they are from are
* set in creature_template, you will have 100% accurate health and mana.
* Research and base stats table done by Malcrom -- THANK YOU!
* Original patch by Kudlaty -- THANK YOU!
* Updated and enhanced by Machiavelli - THANK YOU!
* Optimizations by w12x, MrSmite, and XTZGZoReX -- THANK YOU!
* Final code updating for current rev by XTZGZoReX -- THANK YOU!

--HG--
branch : trunk
2009-12-20 20:23:18 -07:00
Rat
6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
win32
7c9f6b4bc3 Merge MaNGOS, Gossip System. Autor NoFantasy.
* DB support required
* Closes #859

--HG--
branch : trunk
2009-12-20 13:35:08 +02:00
n0n4m3
8b95981ed0 Update DataBase and Realm code for 322a
--HG--
branch : trunk
2009-12-17 12:42:53 +01:00
Brian
2547e5c109 * Removed all unneeded Makefile.am files that were leftover from merges with
* MaNGOS

--HG--
branch : trunk
2009-12-11 13:52:46 -07:00
Brian
7d754c3f7f * Added support for questItem5 and questItem6 in creature and gameobject
* templates.
*
* Thanks to Malcrom for doing the research.

--HG--
branch : trunk
2009-11-26 12:23:33 -07:00
maximius
85d7084e85 *Fix usage of grid removal state, thanks Sisif
--HG--
branch : trunk
2009-10-31 17:34:35 -07:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
9bb508ae19 *Proper data blob updating, thanks ogeraisi.
--HG--
branch : trunk
2009-10-02 01:26:36 -07:00
maximius
3c270f97ee *Fix typo, and try to avoid killing the dead..
--HG--
branch : trunk
2009-10-02 01:06:06 -07:00
maximius
340db23ea9 *Didn't mean to remove that.. there shouldn't be negative values in the data blob, unless I'm mistaken.
--HG--
branch : trunk
2009-10-01 13:35:39 -07:00
maximius
62ed2e0ef4 *Better support for signed input. I'm not sure if this will fix anything.
--HG--
branch : trunk
2009-10-01 13:34:06 -07:00
maximius
3c43ef7157 *Better support for negatives.
--HG--
branch : trunk
2009-09-30 04:18:07 -07:00
maximius
5737077371 *Fix linux build
--HG--
branch : trunk
2009-09-30 04:11:14 -07:00
maximius
1539ca3605 *Too many parameters.
--HG--
branch : trunk
2009-09-30 03:35:34 -07:00
maximius
f0d5924891 *Cleanup, add two new functions, attempt to fix arena point flushing for offline players.
--HG--
branch : trunk
2009-09-30 03:29:08 -07:00
maximius
0cf75ef9ea *Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
*Judgement of Light PPM based, not 100%. By Drevi.
*Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo.
*Correct Wintergrasp Tenacity formulas, by Gyullo.
*A Spirit Guide Escort Quest, code from SD2, patch by manuel.
*TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.

--HG--
branch : trunk
2009-09-19 12:13:08 -07:00
maximius
b4a13eff51 *Missed some changes
--HG--
branch : trunk
2009-09-11 13:42:39 -07:00
maximius
aed229dfe6 *[8463] Fixed race conditions in LockedQueue. Author: XTZGZoReX
--HG--
branch : trunk
2009-09-11 13:41:37 -07:00
Kudlaty
b287288888 Fix compatibility problems with PostgreSQL. Patch by Azuritus
--HG--
branch : trunk
2009-09-10 22:40:40 +02:00
Chaz Brown
ada432aa76 Fix some recently added tabs to spaces and fix mem leak - patch provided by Onkelz
--HG--
branch : trunk
2009-09-09 13:04:58 -04:00
megamage
4d94b923ef [8453] Make more informative error output in case empty version tables. Author: VladimirMangos
--HG--
branch : trunk
2009-09-02 18:32:29 -05:00
megamage
176a710e72 [8442] Fixed displaying return button in mails Author: arrai
--HG--
branch : trunk
2009-09-01 17:09:39 -05:00
QAston
94b8532c4f *Fix build with GCC.
--HG--
branch : trunk
2009-08-27 17:59:01 +02:00
QAston
6b703d600b *Add spell_dbc table to store dbc entries not present in client
*Remove workaround from Demonic Circle code and use the sql table instead.

--HG--
branch : trunk
2009-08-27 17:44:30 +02:00
QAston
5ffa85c858 *Fix server startup error from 5184.
--HG--
branch : trunk
2009-08-18 20:17:06 +02:00
QAston
ea98699187 *Fix a typo in xp bonus auras.
--HG--
branch : trunk
2009-08-18 18:47:20 +02: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
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29: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
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
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
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
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
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
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
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
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
e8fb84a4a2 *Skip "Do not remove poison enchantment auras when entering arena battle". There are two different fixes in TC1 and TC2. And use TC2 for now.
--HG--
branch : trunk
2009-06-01 15:32:24 -05:00
megamage
f92e8315cf [7918] Improve portability in work with uint64 string format specifiers and in code literals. Author: VladimirMangos
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
      I64FMTD renamed to UI64FMTD for more clear name.
    * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
      Please always use UI64LIT(0x00001) instead less portable 0x00001LL

--HG--
branch : trunk
2009-05-31 16:15:12 -05:00