This is awesome.
-->
Printable View
This is awesome.
Code:Mangos 9749 - 9756
Partly revert "[9736] Added more usable interface for grid visits"
In part related broadcasts by explicit provided Map pointer (in different
object GetMap() requested)
This is must fix recent crashes in Map::MessageBroadcast
Add structure of SMSG_REDIRECT_CLIENT (0x50D).
Thanks to TOM_RUS for help with research.
Add index by `spell` to `character_spell`
This is must fix porblem with long logins at
many broken spells in `character_spell` after client switch/etc.
Add storage for min/maxgold of gameobject
Add default value for parent-field in instance_template
Rename flight speed related auras and fix spell 40120
Possibility drop (hide infact) records from DBStore/SQLStorage.
Cleanups in `instance_template` and map entrance DBC data.
Fixed sql update version and related data
Avoid database query on tutorial save by caching tutorial state.
YTDB 317
+ switch 3.3.2 => 3.3.3a (templates/spawn/vendors)
+ all fixes from forum;
+ spawn;
+ quest scripts;
+ mob's gossip menues;
+ new templates from WDB
+ fix spawn: Utgarde Keep
+ fix spawn: Frozen Halls
+ fix spawn: Nexus
+ fix spawn: Azjol-Nerub
+ fix spawn: Ahn'kahet
+ fix spawn: Culling of Stratholme
+ fix spawn: Halls of Stone
+ fix spawn: Halls of Lightning
+ fix spawn: Hellfire Ramparts
+ processed 78 caches (3.3.3)
added
realmd 3.3.3
characters 3.3.3
Code:Mangos 9757 - 9774
Add triggered spell(strength buff) for 71904
Include SharedDefines.h to AchievementMgr.h for provided used enum
type definition.
Comment cleanups related to spell base points use.
Add missing argument causing crash using .list obj, after change in
[9663]
Restore .list object output.
No reason have different command output in chat and console
just because need fix crash.
Init client build at reconnect (logout back to char list)
This fix bug with show all realms as offline at view relam list after
logout.
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.
Remove outdated code for 15286
Prevent crash at use .npc delitem to item with multiply extanded
costs.
Remove outdated code for 54936
Add the posibility to keep deleted characters in the database for a
while and also add related commands.
Added commands:
* .character deleted list [$guid|$name]
* .character deleted restore $guid|$name [$newname]
* .character deleted delete $guid|$name
* .character deleted old [$keepdays]
Command .character delete renamed to .character erase
Fixed my last sec. fix problem :/
Also make $/# in consistence in new command help texts.
Fixed typo in characters.sql.
Use more proper std::istringstream for parse args.
This must fix build problem at *nix.
Fixed typos in mangosd.conf comments
Make GCC happy and restore buuild at *unix now really.
Just for note: this still look as not code problem but GCC bug in C++ std.
library.
Fixed typo in code comment.
Fix periodic damage combat log displaying
Thanks for your amazing work dude!.
Code:YTDB 319
+ All fixes from forum;
+ spawn;
+ quest scripts;
+ mob's gossip menues;
+ new templates from WDB
+ fix fields "item_template" by WDB
+ fix fields "gameobject_template" by WDB
+ fix fields "creature_template" by WDB
+ fix fields "quest_template" by WDB
+ fix spawn: The Culling of Stratholme
+ processed 112 caches (3.3.3)
Mangos 9775 - 9792
Cleanups in framework library.
* Removed last bits of threading in grid code.
* Removed some weird and unneeded declarations.
* General code style fixes.
* (Perhaps some things I forgot.)
Thanks to Lynx3d for the usual GCC-stabbing...
Set m_mover to NULL on remove SPELL_AURA_MOD_POSSESS by delete.
This should fix a related crash.
Fixed `instance_template` error output arg in one from cases.
Old gcc hash_map not have support for std::string keys.
In different from tr1 unordered_map
Drop trailing whitespaces.
Change CalcAbsorbResist/isBlocked to be called from target side
One more typo in instance_template loading error output.
Small clean up in 2 method names
Update 33851 and ranks according to 3.1.0 patch notes
Update 33851 and ranks according to 3.1.0 patch notes
Remove special dagger starting outfit amount.
Now DBC data provide special off-hand instead.
Also update structure comments.
Fixed crash at drop vendor items (anorther way).
Allow propertly remove attack speed buff/debuff at death.
Check wrong and redundent (not use in other similar auras).
If we use "debug bg" it must ignore that we are lonely on the bg.
Implement spell selection, for creatures in instances, based on map
difficulty
No reason lost time at other checks if spell diff id not provided.
Fixed problem with character deleting at some server platforms.
Fix wrong damage dealing from commit [9784]
This is awesome!!!
Code:Mangos 9793 - 9818
Add 'Logout Player' output to the Char.log
Implement ".account characters" command
Console/chat command output characters list for specific account.
Fixed sql update for avoid apply problems.
Implement CONDITION_INSTANCE_SCRIPT (mapid, some_id)
True if mapid fit to called instance map id and instance script confirm success
for some_id case.
Controlled unit should be a source of movement packets, not
player-controller.
Now movements of controlled unit are visible for nearby players,
even when controller too far from controlled unit
This new type of packet broadcasting used in HandleMovementOpcodes handler only,
maybe it can be used somewhere else.
(based on SilverIce's repo commit d2387ca)
Prevent interect with NPC/Gameobject player in non-react state
* (stun,confuse,fleeing).
* This also fix cheating with taxi use.
Implement basic splitting for caster/target part damage/heal bonus
calculations, periodic damage/heal over time auras will now store m_amount with
caster side bonuses applied and calculate target part on each tick. Currently
critical chance/bonus calculations are not affected by this change
Remove duplicate code causing next reset of daily/weekly quests to double
up
Not need explicit value numbering for internal server side enum
Typo in enum name.
Fix 17962 damage broken after [9798] commit
Fix typo in taken damage/healing bonus calculations and fix damage of
64085
Add script effect of spell 52941
Fixed lost flight mount/form for GM in old contentes.
Fixed player loading to transport.
Bug exist already some time but possible hide by another code way work or
client change maybe.
Add some missing (dummy) opcode handlers to the list.
Simplify TaxiPathNodes data use, specially for transport case.
Drop dead code after switch.
Move pre-switch sql updates (except realmd related) to subdir.
Update/fix some opcode names.
Fix a typo.
Add VS2010 project files to git_id
Add filter files to VC100 projects
Its store file groupping info into projects.
Some cleanups in vc100 project files.
* More wide use $() for have same textual values for all build modes
* Fix NoPCH_Debug build.
Add script effect of spell 44462
Add dummy effect of spell 53808
Fix display bug when spell with more than 1 persistent area aura effect
had several icons
YTDB 320
+ all fixes from forum;
+ spawn;
+ quest scripts;
+ mob's gossip menues;
+ new templates from WDB;
+ fix all fields "*_template" by WDB
+ fix loot of Archavon the Stone Watcher
+ processed 133 caches (3.3.3a)
Code:Mangos 9819 - 9842
Rename some more opcodes.
Also fix the name of some older opcodes that were marked as obsolete but no
longer are.
Fix some handlers (correctly use Handle_ServerSide).
Rename two more opcodes...
Fix link error in gcc after [9816] and include needed header
Really fixed link error in gcc after [9816].
Use in taxi flight movegen original taxipath data.
Rename one more opcode.
Fix spell 38736
Rename two more opcodes (related to projectiles).
Fix TARGET_AREAEFFECT_CUSTOM
Avoid redundent data copy in transport waypoints generation.
Implement taxi/transport event scripts support.
Fix type conversion in spell/healing bonus calculations
Move function to select an attacking target from EventAi to Creature
class
Also rename function to a more descriptive name, SelectAttackingTarget
Allow TARGET_AREAEFFECT_CUSTOM to target invisible/not targetable npc if
script target for them exists
Fix damage bonus applying from 49471 and ranks to 49143 and ranks
Fix broken compilation after [9831]. Thanks to VladimirMangos.
Make log output code more consistent for diff build modes.
* Make possible have debug output if build in release mode.
* But preserver current optimization in avoid debug output args
calculation if debug ouput disabled if done using DEBUG_LOG
* Implement in same way BASIC_LOG, DETAIL_LOG. Recommended use
its instead explicit access to sLog
* Use variadic macros for DEBUG_LOG and other new defines.
All supported VS/GCC have its support as C++ extension.
* Add DEBUG_FILTER_LOG and semilar defines for filered log output and use its.
* Also move recent added debug output for transport events under
LOG_FILTER_TRANSPORT_MOVES
Remove calls to Taken part when its not used for damage dealing and fix
HoT tick amount used in 18562 code(Thanks to insider42)
More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
Fix shadow damage part of 55090 and ranks
Include Timer.h for getMSTime in SendMonsterMoveByPath
Really fix invisible target selection for TARGET_AREAEFFECT_CUSTOM
Remove a line of whitespace
YTDB 321
+ all fixes from forum;
+ spawn;
+ quest scripts;
+ mob's gossip menues;
+ new templates from WDB;
+ loot from Lich-King in Icecrown Citadel - H10/H25 (now all the loot in Icecrown Citadel)
+ processed 151 caches (3.3.3a)
The Link List iss a nice work.
Code:Mangos 9843 - 9891
Restore need seelction show at loot roll.
Also some clanups including merge 2 roll type enum.
Fix some whitespace errors.
Fix dispel damage for 30108 and ranks
Restore work of 44745 and rank/s
Add dummy effect of spell 50546, 50547 and 50548
Add script effect of spell 47393, 47615 and 47638
Implement character database clean up.
This can be disabled by config option.
Flag for clean up can be set for example on client version change.
Fixed target selection for area spells casted from aura at enemy.
* Spell::GetCastingObject must be use for selection visual/point cast,
not for friend/enemy checks. Add extanded GetAffectiveCasterObject
for proper provide for referecned checks wild gameobject casted case.
* Also support chain damage spells casted by gameobjects.
Restore work of 1856 and ranks
Disable forced alteration of specialFlags in quest_template at startup.
This will allow quest 10162 to work properly with the expected data in
quest_template (no specialFlags is needed), but will still give a startup error
for spell 33824.
Add dummy effect of spell 61832
Fix negative amounts for spell base damage/healing and fix heal effects
to correctly benefit from heal increasing/reducing auras
Fix some sqls from prev. commit
Add dummy effect of spell 51840
Fix double damage dealing of 63625 and ranks. Thanks to Revils
Restore work of 1064 and ranks, broken in [9854]
Add dummy effect of spell 51964
Add script effect of spell 54182
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)
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.
Implement SPELL_EFFECT_BREAK_PLAYER_TARGETING (93)
Use proper arg for player name send.
Add support split damage for spells 66765, 67333.
Also small cleanup in mangos_spell_check.sql
More weapon damage split spells.
Prevent another potion drink until combat end.
Impliment glyph 42905.
Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as
source/target
Additional code cleanup and output script id in error messages.
Add script id to all remaining SCRIPT_COMMAND_* error message outputs.
Note that script id can be id from different DB tables. It will however make it
easier to find the source of any error.
More code cleanup and style corrections.
Implement movement impairing effects for spell 58875.
Replaced hardcoded value with enum.
Added some comments.
Drop outdated code for 18788
Fix auras with custom periodic damage not entering spell/melee bonus
damage done methods
Fix immunity ignoring for delayed spells
Fixed TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER work
TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER expected seelction friendly targets
for spell caster around spell caster (so ignore original caster faction).
This meaning that for begative spell also selected friendly targets for
spell caster object.
One more meteor-like spell.
Set for client battleground weekend event world state.
Update battleground weekend world state at start/stop event.
Prepare world state inint packet data in more clean way.
* Avoid use hardcoded field amount values
* Avoid use world state update packets just after world state init packet
* Attempt make code look less horrible in general.
Add additional fields to *_scripts tables for storage of more data.
Currently not in use by any SCRIPT_COMMAND_* but we have secret plans to be
revealed in the future!
Add support for mounts dependent from riding skill and location
Change SCRIPT_COMMAND_TALK to support CHAT_TYPE_* using enum ChatType
Making data consistent with other, similar tables like EventAI's text tables.
This convert existing data and also adds support for all chat types.
Code style fixes thx to hunuza & Wowka321
Added VS2010 projects for maps extractor.
(based on commit 211997d)
Implement new commands for account search
* .lookup account email, .lookup account ip, .lookup account name
* For new commands and for .lookup player versions use first arg as part of
email/ip/name search
* Use similar output format for player/account lists.
Fix special mounts using in Dalaran
Party restore IsKnowHowFlyIn and add area arg
Extend features available for SCRIPT_COMMAND_TALK
* Allow other than Creature to talk.
* Add "buddy-talk", using creature entry in datalong2 (the npc who will do the
talk instead of the original source). Value in datalong3 is how far to look for
the buddy.
* Add data_flags making it possible to have conversations between units,
controlling who does the talking and to whom, including make player do the
talking when player is not already the source.
Notes and details are added in the comments for SCRIPT_COMMAND_TALK
Add TYPEMASK_WORLDOBJECT to enum TypeMask
Check typemask and replace a few dynamic_cast with more simple casts.
Implement *_scripts for creature_movement
New field script_id in creature_movement can be filled for each waypoint point
and run the corresponding script from creature_movement_scripts.
Script_id can be any value and several points/creatures can share the same
script (with limits of course, such as script depending on location and other
factors).
DB projects are advised to move current text, spells and emotes data in
creature_movement fields as these fields are strictly no longer needed and may
be fully removed in the future.
YTDB 322
+ All fixes from forum;
+ fix spawn;
+ quest scripts;
+ mob's gossip menues;
+ new templates from WDB
+ fix loot in Vault of Archavon (Full)
+ processed 187 caches (3.3.3a)