Commit Graph

8425 Commits

Author SHA1 Message Date
Shauren
8f97ba8440 Core/Pets: Improved hunter pet's scaling with stamina, values should now be closer to what retail has (but still not perfect)
Core/Pets: Fixed display of pet's spell bonus

--HG--
branch : trunk
2010-08-28 18:03:09 +02:00
azazel
71de9aa79f DB Scripts: Fix calling of DB scripts from spell_scripts table
--HG--
branch : trunk
2010-08-28 21:01:16 +06:00
Liberate
d91ec9d8dc Typo in r9b698bb399. Can this finally be over with? I'm being messy.
--HG--
branch : trunk
2010-08-28 16:10:07 +02:00
Liberate
2228a8f8d9 Change the Arena Rating system to reflect the official system more.
Under 1000 rating the max rating gained should be 48.
Between 1000 rating and 1300 rating the max rating gained should move from 48 to 24.
Above 1300 rating the max rating gained is 24.
Team Rating and Personal Rating use this formula now.

--HG--
branch : trunk
2010-08-28 13:31:13 +02:00
Shocker
f89a27dc98 Make sure crafting spells with non-random loot are not allowed to be casted if inventory is full. Fixes issue #2791
--HG--
branch : trunk
2010-08-28 02:20:26 +03:00
Shocker
e3b92f9630 Implement .reload all_gossips, .reload quest_poi, .reload locales_gossip_menu_option. Original code by VladimirMangos, ported by Ramus. Closes issue #3466, issue #3637 and issue #3477
--HG--
branch : trunk
2010-08-28 01:44:35 +03:00
QAston
e85df47749 *Send SMSG_SPELLINSTAKILLLOG on SPELL_EFFECT_INSTAKILL(1), thanks to Zor for base packet info.
--HG--
branch : trunk
2010-08-28 00:30:07 +02:00
QAston
5eb7e80fd5 *Send VICTIMSTATE_INTACT on melee attack miss.
*Rename VICTIMSTATE_NORMAL to VICTIMSTATE_HIT.
*Set default memory allocated in Spell::InitExecuteLogData to 32 bytes.

--HG--
branch : trunk
2010-08-27 23:12:52 +02:00
QAston
91233b9ba8 *Fix size of SMSG_SPELLHEALLOG and build (rage!!!)
--HG--
branch : trunk
2010-08-27 21:07:33 +02:00
QAston
6c3015a7e6 *Fix issues with negative dmg of periodic power burn and periodic power leech effects added recently.
*Minor cleanup.

--HG--
branch : trunk
2010-08-27 20:51:29 +02:00
QAston
36640c263a *Consistent parameter names of spell effect handlers - use effIndex instead of i or eff_idx or variations of it.
--HG--
branch : trunk
2010-08-27 19:36:27 +02:00
Spp
8333b1b23f Dungeon Finder: Fix incorrect use of guid
--HG--
branch : trunk
2010-08-27 19:27:50 +02:00
Liberate
a96d884bf8 Revert unintended change to UpdateFields.h. This file should NEVER be changed. My mistake.
--HG--
branch : trunk
2010-08-27 18:38:48 +02:00
Liberate
5b5055a6df Merge
--HG--
branch : trunk
2010-08-27 18:22:46 +02:00
Liberate
9bd804dece Updates the arena rating system to use Matchmaker Rating.
The arena_team_stats sql in this commit sets all ratings to 0.
You start with 0 Team Rating and 1500 Matchmaker Rating.
Personal rating is moved to character_arena_stats, and will not reset when disbanding an arena team.
This new system is based on all the info I could get, but Blizzard didn't leak much info about the new system.
At least this system is really close to the official system.
Any issues found should be reported in an issue.
Huge thanks go to Aokromes for the intensive testing he has done with me.
Also thanks to Parzival for hearing me out and giving his ideas.
Fixes issue #3189

--HG--
branch : trunk
2010-08-27 18:18:26 +02:00
Shauren
5fbc8f1de4 Scripts/Icecrown Citadel: Added hacky workaround for teleporting spells because their default target is not supported by current grid system
Scripts/Icecrown Citadel: Mark Gunship event as complete on Lady Deathwhisper's death (temporary, until transport system will fully allow scripting the event)

--HG--
branch : trunk
2010-08-27 18:11:21 +02:00
QAston
f1d4933dcb *Fix combat logging of many spell effects - thanks to kiper, Ssp, Cyrax, and manuel for providing data and to Zor for inspecting opcodes.
--HG--
branch : trunk
2010-08-27 17:49:32 +02:00
Shocker
9cf892b8f2 No need to hardcore spellid for arena visibility check
--HG--
branch : trunk
2010-08-27 10:24:20 +03:00
QAston
c1ac063ba1 *Remove m_currentBasePoints from spell class, use m_spellValue instead.
--HG--
branch : trunk
2010-08-27 06:40:23 +02:00
Shocker
55b09e7a9c Fix arena visibility (no more seeing opponents before arena starts, also fixes visibility for partners' pets)
--HG--
branch : trunk
2010-08-27 06:48:26 +03:00
Shocker
35066fdb6a Small cleanup/corrections
--HG--
branch : trunk
2010-08-27 04:55:49 +03:00
Shocker
c247de12a9 Fix arena unit frames, original code by A Metaphysical Drama
--HG--
branch : trunk
2010-08-27 04:49:04 +03:00
Shocker
8146cff934 Fix Gift of the Naaru heal
--HG--
branch : trunk
2010-08-27 04:48:15 +03:00
click
7686d6ee57 Core/Dependency: Upgrade G3d-library to v8.0-release (patched version!)
Note: Due to issues with G3D (normally requiring X11 and the ZIP-library),
the sourcetree version contains a modified version. The applied patch is
commited to the repository for future reference.

--HG--
branch : trunk
2010-08-27 01:52:05 +02:00
QAston
1d3deae555 *Send to client periodic heal absorbtion.
*Heal over time spells are updating healing achievement progress now.

--HG--
branch : trunk
2010-08-27 01:13:27 +02:00
Shocker
1bb14ba578 Remove unneeded line in .freeze so it won't bug players, fixes issue #3650
--HG--
branch : trunk
2010-08-27 00:55:51 +03:00
Shauren
7fcf55dfcc Scripts/Icecrown Citadel: Added Teleporter script
Scripts/Icecrown Citadel: Implemented achievements for Deathbringer Saurfang

--HG--
branch : trunk
2010-08-26 22:18:17 +02:00
QAston
3fcb7dd643 *Backout r9c4be12837.
--HG--
branch : trunk
2010-08-26 22:05:57 +02:00
Machiavelli
175fece073 Core/Logging:
- Implement sLog.outSQLDriver that will log SQL driver related events (non-content related).
- Queries will now be logged into this file as well instead of normal log file (requires debug build).
- Don´t forget to update your authserver.conf and worldserver.conf
Core/build:
- Fix non-PCH build

--HG--
branch : trunk
2010-08-26 21:50:54 +02:00
Machiavelli
11de1d4369 Merge
--HG--
branch : trunk
2010-08-26 21:02:39 +02:00
azazel
e3c2bdb722 Core/Cleanup: move repeating code for locale strings retrieval into separate method. Related code cleanup.
--HG--
branch : trunk
2010-08-27 00:57:49 +06:00
Machiavelli
082592034f Core/DBLayer:
- Add a better way to shutdown async threads in the threadpool (with thanks to Derex)
- Move mysql_library_end() to DatabaseWorkerPool destructor to prevent a crash accessing mysql context from other pools after closing one pool.
- Add some debug output to Init/End_MySQL_Connection functions

--HG--
branch : trunk
2010-08-26 20:55:09 +02:00
QAston
4b5b4afbe9 *Allow WorldObject::FindNearestGameOobject to search in distance bigger than grid size.
--HG--
branch : trunk
2010-08-26 19:41:48 +02:00
Shocker
23d1267689 Add possibility to ignore instant spells when checking if a spell is currently being casted. Fixes issue #2227
--HG--
branch : trunk
2010-08-26 20:40:18 +03:00
QAston
30d31ca40a *Fix usage of EffectValueMultiplier in spell code.
*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.

--HG--
branch : trunk
2010-08-26 19:07:55 +02:00
click
3c027962ba Buildsystem/Core: Adjust MySQL headers on relevant files to use simplified #include <mysql.h> instead of <mysql/mysql.h>
+ add support for compiling under MacOSX (thanks to elegos for the research)
NOTE: G3D requires a redefinition-hack under OSX, please see wiki for this info (dep-sources will not be changed)

--HG--
branch : trunk
2010-08-26 16:40:28 +02:00
Shauren
692779f283 Core/Scripts: Added possibility to disable default aura effects for the whole duration of aura (PreventDefaultAction works per script call, PreventDefaultEffect is global)
Scripts/Icecrown Citadel: Corrected aura scripts for new PreventDefaultEffect, thx QAston for pointing it out
SQL: Corrected name for 9599 vehicle accessory
SQL: Fixed import errors in 9600_world_script_texts.sql by Supabad

--HG--
branch : trunk
rename : sql/updates/9599_vehicle_accessory.sql => sql/updates/9599_world_vehicle_accessory.sql
2010-08-26 15:32:08 +02:00
Shauren
73d3f210a9 Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing alliance outro due to need of spawning and moving a transport)
Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly
Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts
Core/Scripts: Allow AuraScript to prevent default effects by effect index
Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man
Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET

--HG--
branch : trunk
2010-08-21 20:50:38 +02:00
Supabad
62bf0540c7 Core/scripts: proper core support for quest Trolls Is Gone Crazy
--HG--
branch : trunk
2010-08-26 13:12:28 +02:00
Supabad
9366110515 Core/scripts: core support for escort Stinkys Escape!
Thanks to Kiper

--HG--
branch : trunk
2010-08-26 13:06:13 +02:00
azazel
fd5ab90170 Scripts: fix area trigger scripts. Thanks yavi. Closes issue #3634
--HG--
branch : trunk
2010-08-26 16:22:59 +06:00
azazel
afa5f20e92 Scripts/ToCH: add missing scripts to loader. Thanks galax86@hotmail.it. Closes issue #3617
--HG--
branch : trunk
2010-08-26 16:02:37 +06:00
azazel
5fa14f58dc Core/Cleanup:
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know)
* fix 'signed/unsigned' warnings (at least in VS)
* fix some other warnings and cleanup relative code

--HG--
branch : trunk
2010-08-26 15:54:56 +06:00
Supabad
6036166716 Core/scripts: core support for escort Mark V is Alive!
Thanks to Schmoozerd from sd2

--HG--
branch : trunk
2010-08-26 11:36:26 +02:00
Supabad
267ee68406 Scripts/Ulduar: More work on Flame Leviathan (still WIP)
- Add support for shutdown and repair events

--HG--
branch : trunk
2010-08-26 11:08:42 +02:00
click
87a7560d5f Core: Remove include for ObjectMgr.h from... ObjectMgr.h
--HG--
branch : trunk
2010-08-26 09:25:02 +02:00
Shocker
87e3700981 Typo in previous commit, I apologize
--HG--
branch : trunk
2010-08-26 06:57:50 +03:00
Shocker
2748f86bdb Fix crash when using a pool template with an entry > 65535, fixes issue #3632
--HG--
branch : trunk
2010-08-26 06:49:31 +03:00
azazel
341e6303ef Core:
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)

--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Machiavelli
bb5f7b6492 More async queries in stable master opcode handlers instead of blocking queries
Please report any issues that pop up.

--HG--
branch : trunk
2010-08-25 21:03:28 +02:00