Ambal
190c5e6338
[8744] Fix 'warning: deleting ‘void*’ is undefined' in SqlOperations.h/SqlOperations.cpp, caused by [8736]. Thanks to Shendor for pointing the problem.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-27 11:41:58 +02:00
Ambal
b0ea8848a5
[8736] operator new[] based version of strdup() function to get bonuses from Intel Memory allocator mainly in DB code
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-26 01:05:12 +02:00
Ambal
b1888bb343
[8714] Fix compilation on Visual Studio 2010 Beta 2.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-23 14:51:35 +03:00
VladimirMangos
7974e1ebcb
Merge branch 'master' into 320
2009-09-10 05:46:08 +04:00
Ambal
7db230df55
[8473] Fixed a memory leak in 8441.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-05 13:45:10 +03:00
tomrus88
4a8431f581
Merge commit 'origin/master' into 320
...
Conflicts:
src/game/DBCStructure.h
src/game/DBCfmt.h
src/game/MiscHandler.cpp
src/game/ObjectMgr.cpp
2009-09-04 21:16:59 +04:00
XTZGZoReX
66ffd80ed2
[8463] Fixed race conditions in LockedQueue.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-04 10:36:14 +02:00
VladimirMangos
2e09244e57
[8453] Make more informative error output in case empty version tables.
2009-09-02 18:47:37 +04:00
tomrus88
9c8a0d615e
Merge commit 'origin/master' into 320
...
Conflicts:
src/game/WorldSession.cpp
2009-08-30 15:52:20 +04:00
VladimirMangos
8a7b77c088
[8441] Implement check DBs versions (required_* fields) at mangosd/realmd loading.
...
* git_id updated to generate revision_sql.h file with required_* fields strings.
* mangosd/realmd changed to include header and check this strings at startup.
* mangosd/realmd will terminated if related strings not match in DB content.
In most cases this meaning that not all expected sql updates applied.
Current required_* field stored in DB output in error to help find what last sql updates applied.
IMPORTNAT NOTE for mangos devs: please update used git_id before adding next commits with sql updates!
2009-08-30 15:02:10 +04:00
tomrus88
d24461e300
Merge commit 'origin/master' into 320
2009-08-07 23:48:00 +04:00
ApoC
82782779f7
[8319] Restore compile PGSQL support after last changes.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-08-05 21:35:54 +02:00
VladimirMangos
0f364bf00a
[8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks.
2009-08-05 20:22:54 +04:00
tomrus88
299f40ac0c
Merge commit 'origin/master' into 320
2009-07-26 10:52:21 +04:00
nos4r2zod
fd2eb3cfee
[8250] Cleanup code and data for spell_threat
...
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
* Drop from table not existed spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 05:49:17 +04:00
tomrus88
1a47420fe8
Merge commit 'origin/master' into 320
...
Conflicts:
src/game/Map.cpp
src/game/MapInstanced.cpp
src/game/Player.cpp
src/game/SpellEffects.cpp
src/game/Totem.cpp
2009-07-15 09:40:13 +04:00
VladimirMangos
c96f8e3d9f
[8176] Forbid using some monster movement flags (that can crash client) in creature*_addon tables.moveflag tables field.
...
Also refactoring creature addon tables loading.
2009-07-13 23:38:27 +04:00
tomrus88
02bcc56919
Added placeholders for new battlegrounds, some other stuff.
2009-06-25 19:08:53 +04:00
tomrus88
1f87157edf
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-06-07 21:42:02 +04:00
AlexDereka
dd09e6fdf7
[7962] Fixed compilation on OpenBSD.
...
Remove outdated options from configure.ac.
2009-06-05 15:08:18 +04:00
tomrus88
cffbb8661b
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
VladimirMangos
c3c7187841
[7935] Move seldom used access to query data by field names to independent object.
...
This let not do preparation code for unused later functionlity.
2009-06-01 10:24:14 +04:00
tomrus88
cae3f0a532
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
VladimirMangos
2a27a44e2a
[7918] Improve portability in work with uint64 string format specifiers and in code literals.
...
* 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
2009-05-30 22:44:20 +04:00
tomrus88
8d6b26b6ab
Fixed creature_template loading. Thanks to DrOverclock.
2009-05-29 19:31:36 +04:00
tomrus88
84ed071e16
Merged and fixed some whitespaces.
2009-05-29 10:40:13 +04:00
NoFantasy
84464e5f3f
[7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 05:51:17 +04:00
Seizerkiller
2fc277fdb6
[7904] Change creature damage calculation formula.
...
* 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.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-28 20:10:42 +04:00
AlexDereka
a32d2c5f5c
Fixed gameobject_template.
2009-05-27 22:09:59 +04:00
tomrus88
885d1256b2
Added new fields to database.
2009-05-27 16:44:50 +04:00
tomrus88
6734694a90
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-16 00:47:37 +04:00
VladimirMangos
803a815fa4
[7815] Apply mangos code style: Replace tabs by spaces in recent added code.
2009-05-13 15:48:23 +04:00
tomrus88
c86290fa50
Merge commit 'origin/master' into 310
2009-05-11 15:11:02 +04:00
Ambal
2aff48cc5d
[7810] Moved ZThread related code on ACE framework.
...
Remove ZThread source code from mangos.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-11 12:14:22 +04:00
tomrus88
55d6fbe3cb
Merge commit 'origin/master' into 310
2009-04-25 17:24:05 +04:00
AlexDereka
4a32920b9d
[7711] Removed Sqlite Code.
2009-04-24 21:28:16 +04:00
tomrus88
abae3cac91
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
NoFantasy
036a74b284
[7560] Implement IconName for gameobject
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also small fix for 7558 sql update (for re-apply support)
2009-03-28 05:59:55 +03:00
VladimirMangos
bb9e2ab658
Merge commit 'origin/master' into 310
2009-03-27 03:22:41 +03:00
VladimirMangos
c4d4bb5620
[7552] Move client version dependend DBC code to src/game.
2009-03-27 01:59:26 +03:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
VladimirMangos
59b7d05e8d
[7534] Fixed some problems in achievement messages broadcasting.
...
* 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)
2009-03-24 17:59:30 +03:00
tomrus88
ea96cf4e52
Updated to new client build 9722
2009-03-24 08:33:34 +03:00
VladimirMangos
f4482f247f
[7532] Avoid warnings at use size_t with printf fromat strings.
2009-03-24 06:03:22 +03:00
tomrus88
9debf4dfc0
Merge branch 'master' into 310
...
Conflicts:
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/shared/Database/DBCStores.cpp
2009-03-22 09:41:17 +03:00
VladimirMangos
54acc587da
[7513] Implement currencies tab work. Also check related item data at server startup.
2009-03-22 05:22:03 +03:00
VladimirMangos
38395ac07d
[7512] Implement checks of item bag mask at server startup.
2009-03-22 03:32:10 +03:00
VladimirMangos
695ceabe3e
[7509] Use defines instead explcit value for talent rank cound (in general and for pets)
2009-03-21 20:14:30 +03:00
tomrus88
28dc20c6e2
Small code cleanup and partial merge with dev branch
2009-03-21 19:07:38 +03:00
tomrus88
c3d9c3e7c3
Moved some code around
2009-03-21 18:08:59 +03:00