Commit Graph

155 Commits

Author SHA1 Message Date
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
tvaroh a3a7996fd1 Do not remove poison enchantment auras when entering arena battle.
--HG--
branch : trunk
2009-05-30 18:27:08 +02:00
megamage cc022341ac [7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template. Author: NoFantasy
--HG--
branch : trunk
2009-05-29 21:24:23 -05:00
megamage 451471d438 [7904] Change creature damage calculation formula. Author: Seizerkiller
* Add new creature_template field `dmg_multiplier`
    * Make attackpower include in creature damage not dependent from attack speed.

    NOTE: included in sql update recalculation for creature damage related fields only make
    temporary possible usable values. Real values need revisited by DB devs for correctness.

--HG--
branch : trunk
2009-05-28 18:29:59 -05:00
raczman 2ed9222ac9 Fixed build on linux.
Tested on Arch linux, still need someone to fixup .vcproj's for windows.

--HG--
branch : trunk
2009-05-14 13:25:35 +02:00
megamage 5457286416 [7815] Apply mangos code style: Replace tabs by spaces in recent added code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-13 18:28:21 -05:00
megamage 25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -05:00
megamage 8fc07d443a *Change waypoint data structure. Use creature db guid as path id. If a creature uses waypoint movement as default movement type, the path id should be DBGUID*10. For paths of script use, the path id should be DBGUID*10+1 ~ DBGUID*10+9.
*Two sql queries are included. Converter is used to convert the existing path id to new path id. "...creature_add..." is used to change table structure. You can first run the converter, then run the other one. Or run the other one directly and get the new data from the db team. Because it may take hours to run the converter.
*If you have custom data, you may need to run the converter. We suggest you use console to run it It is extremely slow to run the query. If you have multiple paths for a creature in your db, you need to do more work to convert it. However, if you know how to use multiple paths, you should already have more db knowledge than I do and you should know how to convert it.
*There may be a faster query to convert the db. If you know, please tell us. I am no sql expert.
*Backup your db first!
*Thanks to X-Savior and subhuman_bob.

--HG--
branch : trunk
2009-05-11 13:27:10 -05:00
megamage d003be4148 *Add back a mistakely deleted file.
--HG--
branch : trunk
2009-04-25 12:53:04 -05:00