freghar
74b9874fd8
[7356] Use tabs for indent in Makefiles
...
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-27 21:23:19 +01:00
VladimirMangos
9b3daf3933
[7330] Code warnings and style cleanups. Some bugs fixes.
...
1) comparison singed and unsigned values
2) redundent includes
3) wrong constructor :-part field initilization
4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
5) explicitly list not implemented achievement types.
Also bugs fixed:
1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.
2009-02-24 01:54:53 +03:00
VladimirMangos
1932ce1ae7
[7298] Switch to support client 3.0.9 (3551).
2009-02-18 21:27:05 +03:00
NoFantasy
0be9e35b7b
[7295] Make more static world data accessable for scripts use.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 15:38:44 +03:00
VladimirMangos
b052777f71
Implemented limit category check for item/gem at equip or gem inserting.
2009-02-14 12:17:04 +03:00
VladimirMangos
2d242c86a8
[7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
...
Note: `auctionhouse`.`location` field not used after this. But not removed to simplify backporting to mangos-0.12.
2009-02-12 04:52:02 +03:00
VladimirMangos
fdd8176d74
[7227] Implement prismatic sockets. Related code cleanups.
...
Big thanks to TOM_RUS for help in reseach!
2009-02-04 02:09:46 +03:00
VladimirMangos
0fd361a0a3
Switch to support client 3.0.8a (build 3506)
...
Merge commit 'origin/308'
2009-01-30 02:10:23 +03:00
Energy
fbe212d359
[7155] One more mount allowed instance.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 19:28:23 +03:00
begemot
9bede601a2
[7151] Startup log cleanup and beautification.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 04:29:35 +03:00
VladimirMangos
100801b713
[7147] Check creature template type/family at server startup.
2009-01-23 01:28:05 +03:00
freghar
11ed0e99a8
[7146] Trailing whitespace code cleanup
...
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
VladimirMangos
3afd542de2
[7143] Avoid selection quest taxi nodes for taxi master map.
...
Preper at loading more stricted taxi nodes mask for normal taxi network
with excliuded quest only nodes (used from spells with SPELL_EFFECT_SEND_TAXI.
Use prepered mask at search nearest to taxi master taxi node.
2009-01-22 05:14:26 +03:00
Energy
f26d6151c8
[7141] Implement heroic raid instance mode support.
...
* Heroic mode player amount for instances in DB. Can be used for any instances but added for heroic raid instance.
* Output transfer error at max playrs limit.
* FIXME notes ;) for raid required implementing store 2 reset time and do global reset for 2 modes. But currently raid have inmmap entry data
same reset time for both cases.
* Update instances list where mounts allowed.
* Simplify and fix code for SMSG_RAID_INSTANCE_INFO.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 03:27:59 +03:00
VladimirMangos
9e590f7ceb
[7114] Code cleanups.
...
Remove redundant `inline` for in-class function definitions.
Fixed float -> int implicit casts.
2009-01-19 15:13:57 +03:00
GriffonHeart
a5e948280b
[7109] Correct show percentes at DBC loading.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-18 23:02:53 +03:00
VladimirMangos
333395f90a
[7096] Fixed unexpected expirience gain in starting zones for expansion 1 races.
2009-01-17 19:39:50 +03:00
VladimirMangos
633cad5a56
[7089] Implement ITEM_ENCHANTMENT_TYPE_USE_SPELL support.
...
This allow cast spells at item used from engineering recipes 54999, 54736, 54998, 55002, 55016, 54793.
2009-01-15 03:08:45 +03:00
VladimirMangos
c0824b35c6
Fix item Unk0 field type as expected signed and related log output.
...
Also restore item class check at server loading but not subclass check. Problems only with subclass check case.
2009-01-15 03:08:25 +03:00
VladimirMangos
c7a5537bac
[7087] Use signed type as expected for item material field. This also fix -1 value output for it.
...
Also disable Class/Subclass item_template check by dbc data for avoid unexpected log spam (dbc have some wrong values for this fields).
2009-01-15 00:12:48 +03:00
VladimirMangos
d53b43024a
[7080] More item_template data checks at loading.
...
Not all checks can be 100% correct result possible. Plerase, report proved wrong output and this checks part will disabled.
2009-01-14 00:29:32 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
DiSlord
1f4b00a848
[7011] Add check Aura Spell req in Spell::CanCast
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 03:07:06 +03:00
arrai
01e4f069e2
[7000] Fixed creature target selection in case all possible targets have a low priority
2009-01-02 12:25:17 +01:00
hectolight
802b35fbb8
[6999] Implemented ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT
...
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 00:05:50 +01:00
GriffonHeart
2441c2a69f
[6997] Fixed: In 3.0.3 spell data have area group id instead area id.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-01 22:43:08 +03:00
freghar
d75812749f
[6922] Whitespace and newline fixes
...
This should fix the GCC "no newline at end of file" warnings.
Signed-off-by: freghar <compmancz@gmail.com>
2008-12-22 12:47:33 +03:00
tomrus88
4c258e20a1
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
Wyk3d
5ba3796480
[6920] Cleaned up DatabaseImpl and added support for async queries with 3 parameters passed to the callback.
2008-12-19 15:55:38 +02:00
tomrus88
71b1065c8b
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Chat.h
src/game/Player.h
src/game/World.h
src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
VladimirMangos
35f54d365d
Replace hardcoded client(100) and server side (255) level limtation values by defines.
...
(cherry picked from commit 389a1784e288f11587067d3a6d4b70cce9214cb9)
Conflicts:
src/game/Player.cpp
src/game/World.cpp
src/shared/Database/DBCStructure.h
2008-12-14 23:52:32 +03:00
VladimirMangos
5113af643e
Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
...
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
(cherry picked from commit f157c4e3d5e18878c7ab0dae383acb7704c3ed90)
2008-12-14 23:27:57 +03:00
VladimirMangos
c798318b7b
Replace hardcoded client(100) and server side (255) level limtation values by defines.
2008-12-14 22:18:52 +03:00
VladimirMangos
cb4d97ee1d
Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
...
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
2008-12-14 20:51:27 +03:00
DiSlord
fcc013071e
* Some work under Achievement (add names, enums, comments)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-13 01:29:23 +03:00
tomrus88
5d4d7292b9
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.h
2008-12-12 18:14:49 +03:00
tomrus88
857e7ae7ee
Updated opcodes enum.
2008-12-12 18:12:28 +03:00
hunuza
0f12997ef1
[6899] Pass const reference instead of value for some strings in some functions.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
tomrus88
0f7077546f
Implemented character customize future.
...
Not tested, but should work...
2008-12-12 01:44:52 +03:00
tomrus88
db64bf6b80
Merge branch 'master' into 303
...
I hope it merged correctly...
Conflicts:
contrib/extractor/ad.exe
src/game/MovementHandler.cpp
src/game/Player.h
2008-12-11 12:22:37 +03:00
DiSlord
9b842b6fdc
Work under spell mods
...
* Add support > 64 bit spellFamily mask
* Remove not used fields in SpellModifier
* Remove not used (and not correct work vs charges) GetTotalFlatMods, GetTotalPctMods
* Use DBC based data for spell_affect
* More better work SPELL_AURA_ADD_TARGET_TRIGGER aura
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:22:39 +03:00
tomrus88
a69bc59f1d
Fixed some typos, updated areaflags enum
2008-12-04 22:56:06 +03:00
tomrus88
700d3cf609
Some work on Runic Power and Milling Spell Effect
2008-11-30 13:53:33 +03:00
VladimirMangos
8dfbcf7ee6
[6861] Add and use function for more fast way to get areflag by area id.
2008-11-30 05:46:56 +03:00
VladimirMangos
bd3eca6904
Add and use function for more fast way to get areflag by area id.
2008-11-30 05:17:34 +03:00
arrai
82898a7922
Added structure for WorldMapOverlay.dbc
2008-11-28 22:35:27 +01:00
tomrus88
91984f83b5
Properly resolved merge conflict
2008-11-28 18:34:31 +03:00
tomrus88
93cf13acec
Merge branch 'master' into 303
...
Conflicts:
src/shared/Database/DBCStores.cpp
src/shared/Database/DBCfmt.cpp
2008-11-28 07:20:02 +03:00
VladimirMangos
9fc7dd9ead
[6853] [2008_11_27_01_mangos_playercreateinfo_item.sql] Use DBC data for creating initial character items.
...
Thanks to WCell team for DBC structure research.
`playercreateinfo_item` content removed from mangos.sql and table can be used now only for custom additional initial items.
2008-11-28 02:20:02 +03:00