Commit Graph

129 Commits

Author SHA1 Message Date
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
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
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
XTZGZoReX
841625908c * Fixed CMakeLists after DBC move.
--HG--
branch : trunk
2009-03-27 17:38:44 +01:00
megamage
e5c0576f35 *Add and remove files.
--HG--
branch : trunk
2009-03-27 10:00:42 -06:00
megamage
bc2f2bc56a [7552] Move client version dependend DBC code to src/game. Author: VladimirMangos
--HG--
branch : trunk
2009-03-27 09:58:20 -06:00
megamage
1ac13728a7 [7545] Fixed exploration achievements for certian areas Author: DonTomika
[7546] move uptime table to Realm database, use realmid column. Author: Triply

--HG--
branch : trunk
2009-03-26 14:02:11 -06:00
megamage
ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage
3c10cc0635 [7534] Fixed some problems in achievement messages broadcasting. Author: VladimirMangos
* Send SMSG_CRITERIA_UPDATE to player itself only. This will fix bug when, for example near player death
      owerwrite another player death count in statistics until next death or relogin.
    * Send to near player  CHAT_MSG_ACHIEVEMENT instead CHAT_MSG_GUILD_ACHIEVEMENT
    * Not send CHAT_MSG_GUILD_ACHIEVEMENT to player itself.
    * Limit around broadcast of SMSG_ACHIEVEMENT_EARNED to CONFIG_LISTEN_RANGE_SAY (same as for CHAT_MSG_ACHIEVEMENT)

--HG--
branch : trunk
2009-03-24 17:43:16 -06:00
megamage
941e5b9dbd [7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:38:14 -06:00
megamage
b522a34247 [7513] Implement currencies tab work. Also check related item data at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 22:44:59 -06:00
megamage
40a03daf82 [7512] Implement checks of item bag mask at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 22:43:47 -06:00
megamage
ddb7265018 *Merge. Warning: I do not know if bg fix is still good for wlk.
--HG--
branch : trunk
2009-03-21 22:40:06 -06:00
megamage
7de6113d90 [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:10 -06:00
megamage
de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
raczman
6354da1eeb Added MySQL reconnect support, in case of mysql server dying while trinity's running - Thanks to Xeptor for that one.
--HG--
branch : trunk
2009-03-21 20:42:09 +01:00
XTZGZoReX
d1adac0d11 * Merge.
--HG--
branch : trunk
2009-03-20 15:17:58 +01:00
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
XTZGZoReX
9fe43fa9c0 * Implementing database logging:
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.

--HG--
branch : trunk
2009-03-19 21:13:52 +01:00
megamage
886b2a51e9 *Fix build.
--HG--
branch : trunk
2009-03-18 21:20:35 -06:00
megamage
73d13c4992 *Read dbc summon properties for future use.
--HG--
branch : trunk
2009-03-18 20:54:39 -06:00
megamage
1c87752584 [7485] Added support for PostgreSQL connection using Unix sockets. Author: ApoC
For using socket connection specify host name as . and port as
    path to Unix socket directory or . for default path specified
    in PostgreSQL compile time.

--HG--
branch : trunk
2009-03-18 20:39:21 -06:00