Commit Graph

450 Commits

Author SHA1 Message Date
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
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
krz
38c6880d93 Detailed log of arena fights and arena team creation.
--HG--
branch : trunk
2009-06-01 20:44:23 +02:00
megamage
11456447da [7929] Some fixes and optimizations for work with packet guids. Author: VladimirMangos
* Allocate only minimal required buffer size for object packet guid cache, avoid it realocation.
    * At adding aboyher buffer content copy only until wpos (really writed to buffer data)
    * In appendPackGUID check buffer size before data write.

--HG--
branch : trunk
2009-06-01 12:15:43 -05:00
megamage
341101c171 [7925] Correct minor output format error inside ByteBuffer class Author: Naicisum
--HG--
branch : trunk
2009-05-31 16:26:06 -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
megamage
5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -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
megamage
35ba3ca653 [7897] Include function name in assertion fail output. Author: Ambal
--HG--
branch : trunk
2009-05-27 16:37:03 -05:00
megamage
0a5c465cdc [7858] Properly deallocate memory in tile assembler, and dereference memory when fread fails. Author: raczman
--HG--
branch : trunk
2009-05-21 10:11:36 -05:00
megamage
df866dd37b [7848] Fix set variable to zero on apply -100% mod Author: SeT
--HG--
branch : trunk
2009-05-18 15:15:22 -05:00
megamage
ff7f023ff1 *Merge.
--HG--
branch : trunk
2009-05-15 13:57:10 -05:00
raczman
419c448bc9 Fix one forgotten memory leak.
--HG--
branch : trunk
2009-05-14 23:48:41 +02: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
cd2857fc3f [7813] Fixed build x64 debug on win. Author: AlexDereka
--HG--
branch : trunk
2009-05-13 18:26:11 -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
raczman
5748c36621 Properly deallocate memory in tile assembler, and dereference memory when fread fails.
--HG--
branch : trunk
2009-05-13 13:22:43 +02: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
6fbebffbaf [7795] Added comments. Author: AlexDereka
--HG--
branch : trunk
2009-05-08 18:45:26 -05:00
megamage
ec8367d253 Backed out changeset: 7c8912b7d5c6
--HG--
branch : trunk
2009-05-06 16:27:07 -05:00
panaut0lordv
b3de9cdff7 Fix compile for gcc 4.4.
--HG--
branch : trunk
2009-05-06 19:30:34 +02:00
megamage
09af28301e [7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
megamage
d003be4148 *Add back a mistakely deleted file.
--HG--
branch : trunk
2009-04-25 12:53:04 -05:00
megamage
f89cd6318d *Fix build.
--HG--
branch : trunk
2009-04-25 11:31:57 -05:00
megamage
7901962074 [7711] Removed Sqlite Code. Author: AlexDereka
--HG--
branch : trunk
2009-04-25 09:05:42 -05:00
XTZGZoReX
c9c86b36df * Optimized Log::outDB by removing unneeded variadic argument parsing. Also use enum instead of explicit uint32.
--HG--
branch : trunk
2009-04-24 18:01:31 +02:00
megamage
d2301bdf9a *Fix a crash caused by chatlog.
--HG--
branch : trunk
2009-04-07 16:18:48 -05:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
XTZGZoReX
cdc6e7edbd * "CRASH ALARM" --> "CRASH ALERT" - makes more sense ;).
--HG--
branch : trunk
2009-04-05 00:46:53 +02:00
XTZGZoReX
6f5efa3c7a * Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging.

--HG--
branch : trunk
2009-03-31 09:18:03 +02:00
raczman
d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
megamage
783e4fd3ff *Add new creature_template column VehicleId
*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage
6dff0bfd5e [7560] Implement IconName for gameobject Author: NoFantasy
--HG--
branch : trunk
2009-03-28 16:28:36 -06:00
Drahy
d798162dca * Fixed typo
--HG--
branch : trunk
2009-03-27 18:42:35 +01:00
megamage
df555ec3c3 *Add a missing file.
--HG--
branch : trunk
2009-03-27 11:21:57 -06:00