Commit graph

149 commits

Author SHA1 Message Date
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
VladimirMangos
e9bfc154d9 [11030] Document all CreatureDisplayInfoExtraEntry fields.
Thanks to Darkrulerz for pointing to data source.
2011-01-17 20:49:19 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
zergtmn
e1074c0ac1 [10907] Allow mounts on map 603 2010-12-22 21:31:09 +05:00
Darkrulerz
e34d73f6bd [10895] Description for found gender field in CreatureDisplayInfoExtraEntry.
Sign-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 20:00:26 +03:00
VladimirMangos
abb92f4224 [10891] Access for core/scripts to creature race info in model dbc 2010-12-18 17:18:38 +03:00
kb_z
1b4210e38c [10840] Implement server side part of SPELL_AURA_ADD_MECHANIC_ABILITIES (293) work.
Also fix stealth/invisibility visual affect flags changed at some 3.x switch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 09:12:44 +03:00
VladimirMangos
b6ea36192e [10829] Update SpellFamily check functions.
* Move SPELLFAMILY_* to DBCEnums.h and name it as SpellFamily
* Use enum in Unit::GetAura, move family mask code to new SpellEntry helper function.
* Avoid all auras scan in search of triggred spell for 20243.
2010-12-06 08:40:39 +03:00
Lynx3d
7026dc0d1b [10774] Implement more generic reputation spillover
* Also fixes factions 1037 and 1052
* More correct client output when reputation assigned to parent faction
* reputation_spillover_template can still be used to override spillover from dbc
2010-11-22 00:26:07 +01:00
Lynx3d
7663cf6329 [10755] Use class specific combat rating factors from gtOCTClassCombatRatingScalarStore.dbc
* Some classes had effect of melee haste buffed
* Change to armor penetration rating was hidden there too
2010-11-20 03:30:19 +01:00
VladimirMangos
98d19f4d07 [10734] Rename and clarify SummonPropertiesEntry.Type->Title field meaning.
This also show why we have some problems with sorting sumons by types base at this field.

Thanks to TOM_RUS for research.
2010-11-18 22:07:33 +03:00
NoFantasy
6e1605caef [10725] Add a few comments for SUMMON_PROP_TYPE_CRITTER
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-15 22:35:33 +01:00
tomrus88
76dfdd336f Backports from 400 branch. 2010-11-15 18:01:45 +03:00
tomrus88
ff66e20468 [10719] Implement proper calculation quest honor reward.
Now server side rewar same as reported at client side.

Also thanks to KiriX for patch prepering to commit and testing.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-10 23:50:33 +03:00
DasBlub
e9869e7470 [10693] Update SpellEntry based on the work of TOM_RUS 2010-11-07 21:08:34 +01:00
emsy
e78887e964 [10666] Implement ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_*_RATING
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 04:14:15 +03:00
emsy
3ada9f635f [10665] Allow use faction data for cases raceMask==0
Also some related code cleanup

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 04:04:40 +03:00
VladimirMangos
0236699b0a [10601] Amother attemp fix locale structures corruption.
Possible real source of problem: existing in code mixed
std:: structure templates instanting under pack pragma and out.
And this incompatible structure layouts wrongly mixed used by GCC.

So all std:: strcutures used moved out from pack pragma guards.
2010-10-10 23:14:40 +04:00
Fmut
41a82beb3f [10586] Update taxi mask size for 3.3.5a
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-08 03:02:42 +04:00
Laise
cebc77414a [10552] Add some vehicle flags, thanks to zergtmn and community 2010-09-27 11:25:13 +02:00
VladimirMangos
920a36b3fd [10384] Fixed reset time calculation for some cases.
Most real fix suggested by Schmoozerd and  Toinan67
and some my code style part coding ;)
2010-08-20 14:32:11 +04:00
Schmoozerd
3dd8c72a00 [10356] Drop unneeded groupFlag and rename it properly
(based on Schmoozerd's repo commit 1e8c842)

Also drop `achievement_criteria_requirement` data use at start timed achivement:
its will be checked at criteria update (and complete) case. So wrong criteria will
started maybe (timer set but always fail - progress not updated.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-14 00:14:47 +04:00
Schmoozerd
12aa1bc606 [10352] Implement support explcitly started timed achievements.
* Player::StartTimedAchievementCriteria can be used for activate timer
  for specific explicitly starting timed achievement by timedRequirementId
  in script.

* for ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST this done in core.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-12 23:28:18 +04:00
VladimirMangos
4c838a1c31 [10342] Cleanup achievement code and add new commands.
* .achievement - let see achievement state and list criteria with progress data.
                 It provide criteria ids/shift-links for other commands.
* .achievement add - let complete achivement (set all criteria progress to max) with related events.
* .achievement remove - let reset achievement  criteria progress and undo complete state for achievement.
                 Command also partly remove rewards (title part).
* .achievement criteria add - let increase criteria progress at specific amount or to complete state
* .achievement criteria remove - let reset/descrease criteria progress and undo criteria and related achivement complete state if need.
2010-08-11 07:49:46 +04:00
VladimirMangos
373f607a44 [10323] Implement achivement view commands.
This is fist part for achievement related command set.
Edition commands will added in some later commits when ready.

Two command added:

* .lookup achievment $partname - show fit achievements
  (id, shiftlink, complete date for selected player).
  shiftlink included similar data as generated by client for achievement shift-link
  (complete state, complete date, marked completed criteria).

* .character achievements [$playername] - show completed achievements for selected player
2010-08-06 02:15:09 +04:00
NoFantasy
30def33fed [10265] Add comments for fields in struct FactionEntry, related to rep spillover
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-24 20:31:29 +02:00
Lynx3d
5e89098a61 [10165] New collission system (vmap) implementation
Important:
* You have to re-extract and assemble vmaps
* Update your config file, new option 'vmap.enableIndoorCheck' added

New features:
* Include WMO+DBC area information for correct subarea identification and indoor check
* Support for WMO liquid (fishing/swimming in cities, instances and oterh WMO based environments)

Technical changes:
* New Bounding Interval Hierarchy (BIH) data structure for better performance
* Referenced model data for reduced memory usage,
  needs more files, but reduces overall file size from ~1.9GB to ~550MB

Additional Authors:
arrai (DBC handling and indoor detection)
faramir118 (windows support and bug investigation)
And of course thanks Vladimir for a lot of patience and support!
2010-07-08 23:17:26 +02:00
VladimirMangos
ebf27938fb [10145] Use better (but still hack) way for gameobject size calculation
* This is also hack because some float with unknown exactly value used as 'size'
* Another not resolved problem: go size used in creature target autoselection, so for large 'virtual' go
  creature can seelct strange points near in attempt select 'free' place near target.
2010-07-03 23:26:59 +04:00
VladimirMangos
c0d7e2a176 [10141] Fixed commented part of SpellRangeEntry structure 2010-07-03 07:15:18 +04:00
tomrus88
45ad804752 SpellRange.dbc struct update. 2010-06-30 14:52:40 +04:00
GriffonHeart
c4247ece32 [9878] Set for client battleground weekend event world state.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-12 06:24:06 +04:00
VladimirMangos
6fb07911f9 [9862] Defines for some spelentry arrays.
* Move and rename MAX_REAGENTS to DBC Strcuture.h.
  It used only afore access to SpellEntry field and so part of strcuture definition.
* Add MAX_SPELL_TOTEMS and MAX_SPELL_TOTEM_CATEGORIES for same reasons, and use in code.
2010-05-11 00:06:47 +04:00
tomrus88
ff2cda6af1 [9861] Backporting some code chnages from 400 branch.
(based on 400's commit 0f37423)
(based on 400's commit 636cfef)
(based on 400's commit 0bbe3a7)
(based on 400's commit ce86b56)
(based on 400's commit b74c6a8)
2010-05-10 23:45:49 +04:00
hunuza
68abd76c97 [9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
VladimirMangos
3f5eccd8a9 [9830] Implement taxi/transport event scripts support. 2010-05-03 19:39:53 +04:00
VladimirMangos
57dcc84940 [9824] Use in taxi flight movegen original taxipath data. 2010-05-02 06:14:26 +04:00
VladimirMangos
4910add486 [9808] Simplify TaxiPathNodes data use, specially for transport case. 2010-04-29 19:44:21 +04:00
VladimirMangos
7ee25008d3 [9794] Implement ".account characters" command
Console/chat command output characters list for specific account.
2010-04-26 07:13:39 +04:00
Laise
51546e1ff9 [9789] Implement spell selection, for creatures in instances, based on map difficulty 2010-04-24 20:08:18 +03:00
VladimirMangos
7b675219e7 [9785] Remove special dagger starting outfit amount.
Now DBC data provide special off-hand instead.
Also update structure comments.
2010-04-23 22:51:32 +04:00
VladimirMangos
b2fefc2ca9 [9763] Use min/max BG/arena levels from DBC. Update table content.
* Use min/mac level from dbc because anyway list real selectable
  for player level bg/arena backets set min/max range.
* Drop related fields and update per team min/max values.
2010-04-18 21:31:19 +04:00
VladimirMangos
48254e3879 Cleanups in instance_template and map entrance DBC data. 2010-04-17 15:24:49 +04:00
VladimirMangos
f225be06d3 [9740] Update in comment indexes for SpellEntry
No real code changes.
2010-04-13 01:57:05 +04:00
tomrus88
4535f78573 Added some info about realm list and auth response packets.
Added few dbc structs and updated related enums.
2010-04-04 01:14:16 +04:00
tomrus88
9836bcbbaa Added enum for SMSG_GROUP_JOINED_BATTLEGROUND opcode.
Use this enum where possible.
Some misc fixes.
2010-04-03 22:22:30 +04:00
tomrus88
b99f51a984 Fixed bug with professions in trainer list not being marked as known until trainer list re-opened. 2010-03-27 19:41:15 +03:00
tomrus88
e73c5d3b79 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Unit.cpp
2010-03-10 20:24:28 +03:00
hunuza
5d84477f7f [9564] Remove some trailing whitespace and add comment for last commit.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:45:41 +01:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
tomrus88
32168d697b Updated to 3.3.3.11573 client. 2010-02-23 08:08:33 +03:00