Commit Graph
944 Commits
Author SHA1 Message Date
Kandera 483f0a6a4e Core/Battlefield: attempt to fix vehicle counter when vehicle is killed. finish correcting alliance/horde siege engine 2012-08-20 13:52:00 -04:00
Kandera 81ba249c79 Core/Battlefield: correct siege vehicle faction types. attempt to fix vehicle creation cast time. 2012-08-20 13:52:00 -04:00
Kandera aa0ff294d2 Core/Battlefield: Correct previous commit 2012-08-20 13:51:58 -04:00
Kandera 9dd3789719 Core/Battlefield: correct wintergrasp faction for horde (thx kirkita), added grab passenger spell as per sniffs. 2012-08-20 13:51:58 -04:00
Kandera 17e2c3a800 Core/Battlefield: cleanup a magic number 2012-08-20 13:50:51 -04:00
Warpten 094f98d3a9 Battlefield/Wintergrasp:
* Use correct spells on losing and winning factions
* Enums renaming, lowerCamelCase wherever applicable
* Rename some methods and class attributes for them to sound more English and less Engrish or even Frenglish (\o/)
* Use correct spells when trying to build mechanical units at the Workshops.
2012-08-20 13:50:49 -04:00
Kandera d31902d858 Core/Battlefield: Fix issue with previous commit. codestyle cleanup and attempt to fix vehicle issues with worldstates. 2012-08-20 13:49:22 -04:00
Kandera 9c5b1b2bb6 Core/Battlefield: Correctly cast the teleport spell (data from sniffs). codestyle cleanup 2012-08-20 13:49:21 -04:00
Kandera b700f545c5 Core/Battlefield: fix issues with vehicles. return correct vehicle data when using getdata. small cleanups. codestyle 2012-08-20 13:49:19 -04:00
thomas33 7988edda1c Core/Battlefield: Cleanup 2012-08-20 13:49:17 -04:00
thomas33 c44a723ca0 Core/Battlefield: more cleanup 2012-08-20 13:49:17 -04:00
thomas33 7b0a7ef4f3 Core/Battlefield: cleanup 2012-08-20 13:49:16 -04:00
thomas33 2a4b976e41 Core/Battlefield: pPlayer -> player 2012-08-20 13:49:15 -04:00
Manuel Carrasco d7a7a9800b Battlefield: Make sBattlefieldMgr a pointer. By Subv. 2012-08-20 13:48:47 -04:00
Kandera 4c3692cc36 Battlefield/Wintergrasp/Scripts: removed a few unneeded casts. 2012-08-20 13:36:09 -04:00
Kandera 16f2c3a48e merge master into wintergrasp and fix build errors. yay me! 2012-08-20 13:34:04 -04:00
Shocker ff85ebe632 Fix Didn't Stand a Chance achievement 2012-08-20 13:29:52 -04:00
Nay afd9c28d8e - Rename scriptnames to keep naming consistent;
- Template updates and spells to WG vehicles;
- Cleanup SQL files a bit.
2012-08-20 13:29:22 -04:00
Vincent-Michael 302051da3d Core/Scripts: Fixed more uninitialized variables 2012-08-14 23:46:42 +02:00
Vincent-Michael c9f4866648 Scripts/Trial Of The Crusader:
* Fix typo
* Fix creature_text group id for King Varian Wrynn / Garrosh Hellscream
2012-08-14 00:01:39 +02:00
Vincent-Michael d1071d6e81 Scripts/Trial of the Crusader: Convert script_texts in creature_text 2012-08-13 22:15:22 +02:00
Shauren d1ed95faa5 Scripts: Fixed more uninitialized variables 2012-08-13 13:47:51 +02:00
kaelima f92946e128 Core/Misc: Fix some mem-leaks and uninitialized variables. 2012-08-12 20:06:12 +02:00
Shauren 666602e1aa Scripts: Fixed some unitialized variables 2012-08-12 13:56:43 +02:00
kaelima a3adf6a2b9 Scripts/Grizzly Hills: Fix uninitialized variable in npc_venture_co_straggler. minor cleanup 2012-08-11 16:54:08 +02:00
Spp 55ce180f28 Core/Logging: Add Asyncronous logging with Loggers ("What to log") and Appenders ("Where to log") system. Will allow to select to full log some parts of core while others are not even logged.
- Logging System is asyncronous to improve performance.
- Each msg and Logger has a Log Type and Log Level assigned. Each msg is assigned the Logger of same Log Type or "root" Logger is selected if there is no Logger configured for the given Log Type
- Loggers have a list of Appenders to send the msg to. The Msg in the Logger is not sent to Appenders if the msg LogLevel is lower than Logger LogLevel.
- There are three (at the moment) types of Appenders: Console, File or DB (this is WIP, not working ATM). Msg is not written to the resource if msg LogLevel is lower than Appender LogLevel.
- Appender and Console Log levels can be changed while server is active with command '.set loglevel (a/l) name level'

Explanation of use with Sample config:

Appender.Console.Type=1       (1 = Console)
Appender.Console.Level=2      (2 = Debug)

Appender.Server.Type=2        (2 = File)
Appender.Server.Level=3       (3 = Info)
Appender.Server.File=Server.log

Appender.SQL.Type=2           (2 = File)
Appender.SQL.Level=1          (1 = Trace)
Appender.SQL.File=sql.log

Appenders=Console Server      (NOTE: SQL has not been included here... that will make core ignore the config for "SQL" as it's not in this list)

Logger.root.Type=0            (0 = Default - if it's not created by config, server will create it with LogLevel = DISABLED)
Logger.root.Level=5           (5 = Error)
Logger.root.Appenders=Console

Logger.SQL.Type=26            (26 = SQL)
Logger.SQL.Level=3            (2 = Debug)
Logger.SQL.Appenders=Console Server SQL

Logger.SomeRandomName.Type=24 (24 = Guild)
Logger.SomeRandomName.Level=5 (5 = Error)
Loggers=root SQL SomeRandomName

* At loading Appender SQL will be ignored, as it's not present on "Appenders"

* sLog->outDebug(LOG_FILTER_GUILD, "Some log msg related to Guilds")
  - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomName is found but it's LogLevel = 5 and Msg LogLevel=2... Msg is not logged

* sLog->outError(LOG_FILTER_GUILD, "Some error log msg related to Guilds")
  - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomeName is found with proper LogLevel but Logger does not have any Appenders assigned to that logger... Msg is not logged

* sLog->outDebug(LOG_FILTER_SQL, "Some msg related to SQLs")
  - Msg is sent to Logger SQL (matches type), as it matches LogLevel the msg is sent to Appenders Console, Server and SQL
    - Appender Console has lower Log Level: Msg is logged to Console
    - Appender Server has higher Log Level: Msg is not logged to file
    - Appender SQL has lower Log Level: Msg is logged to file sql.log

* sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Some msg related to Battelgrounds")
  - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). As Logger has higher LogLevel msg is not sent to any appender

* sLog->outError(LOG_FILTER_BATTLEGROUND, "Some error msg related to Battelgrounds")
  - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). Msg has lower LogLevel and is sent to Appender Console
    - Appender Console has lower LogLevel: Msg is logged to Console
2012-08-03 14:20:18 +02:00
Spp 5a99dfad14 Warning fixes + compile fix after the merge 2012-07-30 10:07:26 +02:00
Vincent-Michael 634b3645d5 Core/Misc: Use proper headers to optimize compile 2012-07-30 05:38:40 +02:00
w1sht0l1v3 f5edf4034d Core/Scripts: Fix Forgemaster Garfrost phases and equipment change. 2012-07-25 18:49:06 +03:00
David Klepáček d5dea1ca4e [Core\Quest] Fix Quest "The Aspirant's Challenge"
Credits goes to Valcorb
2012-07-24 03:28:36 +03:00
Exodius 27a59f3390 [Script/ICC] Properly fix Dark Nucleus aggro problems and them not following you when they should.
Closes #6589
Fix by @Marosa. Guidelines by @Kandera.
2012-07-06 22:28:03 +02:00
Subv 94d935ea8f Fixed build 2012-07-02 16:58:02 -05:00
Subv 1292b732f7 Core/Spells: Fixed Evasive Maneuvers and Stop Time, spells from the Oculus drakes.
Closes #6670
Closes #6675
2012-07-02 16:41:25 -05:00
Shauren f4ec8b033d Scripts/Icecrown Citadel: Fixed Frost Bomb ignoring line of sight checks 2012-07-01 01:15:13 +02:00
Shauren ee2252163f Scripts/Icecrown Citadel: Fixed visual and target selection of Sindragosa's Fury 2012-06-30 23:14:34 +02:00
Shauren c8d20004a5 Core: Minor code style corrections 2012-06-30 16:07:09 +02:00
Shauren e0997874f5 Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists 2012-06-29 21:53:35 +02:00
Shauren 1bddb4eaf4 Fixed compile without PCH 2012-06-26 01:31:55 +02:00
Shauren 12b46945db Scripts/Icecrown Citadel: Added floating souls visual in The Spire after teleport to The Lich King becomes available (killing 11/12 bosses) 2012-06-26 01:19:23 +02:00
Discover- e190a202ca Core/CreatureAI: Implement an OnSpellClick hook instead of the ugly way that uses DoAction with EVENT_SPELLCLICK.
Core/SmartAI: Implement SMART_EVENT_ON_SPELLCLICK. Parameter is the clicker.

If someone could update the wiki accordingly for SAI I would appreciate that. Thanks to @Shauren for some help!
2012-06-19 00:07:20 +02:00
Kandera c1a0148070 Core/Scripts: fix professor oozes being able to be knocked back. 2012-06-18 12:57:33 -04:00
Shauren 2cafa85daa Scripts/Icecrown Citadel: Minor correction for previous commit 2012-06-18 13:19:09 +02:00
Shauren 9938128932 Scripts/Icecrown Citadel
* Fixed position of summoned creatures (if supposed to be in air)
* Fixed casting Fury of Frostmourne initiating outro roleplay while casting something else at the same time
* Fixed outro visuals
2012-06-18 13:16:01 +02:00
Kandera 9d19be2ee5 Core/Spells: fix spell scripts from recent commit and cleanup scripts 2012-06-15 12:56:15 -04:00
Shauren 478de6298e Scripts/Icecrown Citadel: Fixed Sindragosa & her frost wyrms summoning - this time properly using constant db data (turns out creatures receive a new GUID when grid reloads in instance) 2012-06-15 15:19:31 +02:00
QAston e53b44b6ba Merge pull request #6491
Core/Spells: convert some spell effects to SpellScripts
Closes #6491
2012-06-14 19:12:03 +02:00
joschiwald 8ab6d578ce fix typos - i failed so hard :( 2012-06-08 22:25:33 +02:00
kaelima 8c841d12b3 Scripts/Ulduar: Fixed some various bugs with XT-002 Deconstructor.
He will now properly reset if he evades while being submerged.
He will not always die directly after heart phase.
Adds will now despawn on reset.
Heart will now change seat and set unit flags properly, but is still not attackable by melee (seems like a vehicle flag bug)
2012-06-05 20:44:30 +02:00
Shauren 295b1a00c8 Scripts/Icecrown Citadel: Fixed Sindragosa, Spinestalker and Rimefang flying in after related trash packs are dead - this solution is resistant to grid unload. 2012-06-05 14:53:18 +02:00
joschiwald 7e454b26ac more updates 2012-06-03 02:35:00 +02:00