Commit Graph
15204 Commits
Author SHA1 Message Date
Nay efdbc68cae Scripts/Commands: Fix "cannot pass objects of non-trivially-copyable type ‘std::string’ through ‘...’" 2013-03-15 23:39:51 +00:00
Vincent_Michael 3b9ab08029 Core: Fix non pch build 2013-03-15 23:02:11 +01:00
Nay 3a3f087b07 Merge pull request #9396 from thomas007788/Whispers
Allow reply to whispers if you are under CONFIG_CHAT_WHISPER_LEVEL_REQ
2013-03-15 13:42:43 -07:00
Gacko 59bc6ed0ae Core/Unit: Fall after exiting vehicle if is in air and can not fly 2013-03-15 19:36:50 +01:00
Gacko 44553d3fd4 Fix some engrish 2013-03-15 16:50:40 +01:00
Nefarion 46ba2d945a Allow reply to whispers if you are under CONFIG_CHAT_WHISPER_LEVEL_REQ, and implement feature for GMs to remove single players from their WhisperWhiteList. 2013-03-15 10:27:18 +01:00
Warpten 51b9e6d2c9 DB/Spells: Corrected playercreateinfo_spell records *for good*.
Also corrected load count and temporarily removed an error log. It needs better troubleshooting to avoid error'ing false positives.
2013-03-15 01:24:54 +01:00
Gigatotem fcd7e94291 Scripts/Pit of Saron: Very minor spelling error correction. 2013-03-14 17:58:35 +00:00
Warpten 1bab3073d2 DB/Spells: Fixed startup errors related to playercreateinfo_spell, and prevent logging spam when race mask or class mask 0 is used. 2013-03-13 23:23:45 +01:00
Shauren c47dceebff Core/Vehicles: Fixed a crash introduced in 2c169bcca5 2013-03-13 22:38:41 +01:00
Gacko 9ae1ef2cf8 Script/Spell: Unlocking Zuluhed's Chains
Closes #996
2013-03-13 18:45:31 +01:00
Shauren 2c169bcca5 Core/Vehicles
* Fixed crash happening when passenger died on vehicle he was controlling
* Fixed crash happening if vehicle control aura was removed before passenger is fully added to vehicle

Closes #7160
2013-03-13 11:34:58 +01:00
Warpten b684157695 *Correctly* fixed the build.
Sigh.
2013-03-11 21:42:45 +01:00
Warpten 33d573064b Fixed build. 2013-03-11 21:12:36 +01:00
Warpten a3e4f05e1a Core/Objects: Changed playercreateinfo_spell and playercreateinfo_spell_custom to use race and class masks.
Specifying a race mask of zero will provide the spell to every race.
Specifying a class mask of zero will provide the spell to every class that the race can be.

Note: As the SQL truncates `playercreateinfo_spell`, all your "custom" additions will be gone.
2013-03-11 20:57:52 +01:00
Spp 44ea9cbb25 Core/RBAC: Fix players not being able to reply GMs from the other faction (Partial revert of 377cfdb) 2013-03-11 10:52:43 +01:00
Shauren 535bda8f16 Core/Vehicles: Corrected an oversight in b3b66a8d02
Closes #9399
2013-03-10 14:16:35 +01:00
Trista df25ccb30d Scripts/Eye of Eternity: Last stability changes
* Release button bug should be now really fixed, if someone manage to get it due to some server delay, it can be hit by typing "RepopMe()" or "Reload". It's now only clientside issue that I couldn't reproduce.

* Before there was a chance for transition to phase III to break if hit at precise moment. On top of that, if SoP was to be executed there was no time for purple dimension change. (Note: If transiton happen while SoP is cast it will get specific client data and dimension light will stay changing that is hard to hit, but is blizz bug.)
2013-03-10 03:30:34 +02:00
Shauren b3b66a8d02 Core/Vehicles: Fixed a possible crash if vehicle is deleted before its passenger runs Abort on pending join event
Closes #9392
2013-03-09 23:42:54 +01:00
Vincent_Michael 4ee0a4a446 Revert "Core/Commands: Optimize for command .npc near"
This reverts commit 4e789d4c5c.
2013-03-09 23:28:32 +01:00
Vincent_Michael 4e789d4c5c Core/Commands: Optimize for command .npc near 2013-03-09 23:05:27 +01:00
Vincent_Michael 65b16a97be Core/Commands: Add unit flags 2 for .npc info 2013-03-09 22:34:46 +01:00
Vincent_Michael ce0add2121 Core/Commands: Add mmaps check for command .gps 2013-03-09 22:19:14 +01:00
Vincent_Michael 56daf736e4 Core/Spells: Fix logic in 20eeeaf597 2013-03-09 21:33:28 +01:00
Vincent_Michael 20eeeaf597 Core: Fix warnings 2013-03-09 20:15:11 +01:00
Nay ab088cf5ba SQL: Rename a SQL from PR 2013-03-09 18:48:17 +00:00
Nay bf17b7b3c0 Scripts/Commads: Fix non PCH build 2013-03-09 17:55:59 +00:00
Nay 6ab7de2dd8 Merge pull request #9388 from thomas007788/DeserterCmd
Implement .deserter commands
2013-03-09 09:45:43 -08:00
Nefarion 1b45bcd7b9 Add the following commands:
.deserter instance add $time (Adds the instance deserter debuff with $time duration to your target)
.deserter bg add $time (Adds the BG deserter debuff with $time duration to your target)
.deserter instance remove (Removes the instance deserter debuff)
.deserter instance remove (Removes the bg deserter debuff)
2013-03-09 18:43:09 +01:00
SgT-Fatality 8e8617cfe6 Scripts/Commands: Fix .mod rep faction not updating client side reputation
Closes #7939
Closes #9354
2013-03-09 15:58:25 +00:00
WyldePointer 47f7687bab Core: Remove unnecessary commas
Last element of enumerator does not need comma after it's value.

Closes #9367
2013-03-09 15:20:57 +00:00
Vincent_Michael d2024c5c05 Core: Fix build 2013-03-09 04:54:58 +01:00
Trista 8e44b2d4a6 Scripts/Eye of Eternity: Remove some uneeded check and last to do that is uneeded after last GO changes
* also repair some broken GO data for 3.3.5a.
2013-03-09 05:32:02 +02:00
Trista ed378ad63c Core/GameObjects: Implement support for HandleGameObjectUse from vehicle or mount 2013-03-09 05:24:33 +02:00
Vincent_Michael 83c98d6dff Core/SmartAI: Implement SMART_ACTION_SUMMON_CREATURE_GROUP (107) 2013-03-09 02:03:37 +01:00
Vincent_Michael 8aaaaedbdd Core: Fix warnings for msvc 2013-03-09 01:49:05 +01:00
Nay 41c7f35a31 Merge pull request #9385 from thomas007788/Doxygen
First step of comment style refactoring to doxygen-style.
2013-03-08 16:25:05 -08:00
Nay c7463c5f6c Buildsystem: Add support for compiling with MinGW on Windows
Tested with:
- Windows 8 x64
- MySQL 5.5.30 win32
- OpenSSL 1.0.1c (32 bits)
- No PCH
- MinGW with GCC 4.7.0

TODO:
- Fix compile/link with PCH enabled
- Fix compile with WheatyExceptonionReport enabled (ignored for now)
- Fix compile of .rc files (ignored for now)
- Test with more platforms
2013-03-09 00:12:50 +00:00
Nefarion 49fd11ab5a First step of comment style refactoring to doxygen-style. 2013-03-08 21:55:37 +01:00
Trista 2dbe3d6cfe Scripts/Eye of Eternity: Fix not being able to press release button on death during phase III 2013-03-08 19:18:19 +02:00
Spp 377cfdb560 Core/RBAC: Fix multiple permissions and remove multiple config options that are currently implementes by RBAC
- Remove config options: CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT, CONFIG_ALLOW_TWO_SIDE_INTERACTION_MAIL, CONFIG_GM_LOG_TRADE, CONFIG_ALLOW_TWO_SIDE_ACCOUNTS, CONFIG_ALLOW_TWO_SIDE_WHO_LIST, CONFIG_ALLOW_GM_FRIEND, CONFIG_ALLOW_TWO_SIDE_ADD_FRIEND, CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL
- Fix RBAC_PERM_SKIP_CHECK_CHAT_SPAM (Was checking spam for those that had the permission)
- Only check RBAC_PERM_TWO_SIDE_INTERACTION_CHAT for sender of whispers (Restores GM being able to whisper players)
- Only check RBAC_PERM_TWO_SIDE_INTERACTION_MAIL for sender
- Fix .ticket assign <Player>, with last RBAC change it was changed by mistake from Player to Account
2013-03-08 13:15:25 +01:00
Vincent_Michael b4542c6504 Core: Fix non pch build 2013-03-08 06:20:38 +01:00
Trista c41b53605c Core/Vehicles: Give description to unknown seat flag
* There are 28 vehicles using for what is stated in the description  - it handles keeping specific emote states (animations) for passengers entering vehicles, I'm not 100% sure if is connected with the aura states that apply them. There are videos for every single known creature that is using it. 31583 - is clearest example since has only this flag as unknown on seat 0. Putting it here only to give direction to where researching should be made if someone dig into it more or can implement support for it.
2013-03-08 04:55:45 +02:00
Trista 17061cb9e5 Scripts/Icecrown: Add script* support for Borrowed Technology/Volatility quests
* There are heavy core problems that make it not fully functional for now.
1) Enter vehicle of 31578 is being overriding the vehicle aura of the accessory so it kicks it out. (both get applied to 1, but instead decoy should be to 0).
2) Even if mentioned above get fixed the accessory is supposed to implicitly hit another passenger with explosion
and no seat flags for it even unknown.
3) Armored Decoy doesn't keep emote from freeze mechanic when enter vehicle connected with a not supported flag.
4) Vehicle speed seems too fast (there is some general vehicle not correct speed problem with spline being involved).

Connected with: #5757
2013-03-08 04:55:44 +02:00
click 3a9c26225e Core: Fix non-PCH compile (missing headers on some of the scripts) 2013-03-07 22:21:21 +01:00
Trista 8993eef723 Scripts/Eye of Eternity: Fix vehicle crashes
* I tought if a spell would hit all targets on map then the force cast would be cast for each, apparently I was wrong since it had unlimited implicit targets.
* Remove a condition with target mask players since there is a attribute that takes care of that.

Closes #9365
2013-03-07 04:54:57 +02:00
QAston f32fa5464c Merge pull request #9357 from WyldePointer/patch-1
Remove extra ';' from SQLOperation class.
2013-03-06 13:14:49 -08:00
Trista 7508e8cf65 Scripts/Eye of Eternity: Correct failed approach for hook target handling
* thx to Shauren
2013-03-06 11:05:11 +02:00
WyldePointer 8c4dd52d45 Update SQLOperation.h
Extra ';'.
2013-03-06 13:48:49 +05:00
Trista a79143fc88 Scripts/Eye of Eternity: Fix Arcane Barrage handling and a lot other mechanics
* Nexus Lords had a bit imba timers on Arcane Shork, sorry for it wrong information. Now have retail timers.
* Scion of Eternity Arcane Barrage had wrong timers also for intial random cast and for each after. They were a bit lower.
* Implemented source mechanic that will always differ target of cast X to target of next cast. All rest is % chance based on various cases can happen.
* Removed condition for Arcane Overlaod bubbles now aura will never ("disappear"), if two are at one place they will override each other, but damage will never be leaked test enough times so don't bother stating opposite. Damage in ALL cases is reduced.
* Made Malygos range outside of platform a bit shorter to match retail real distance that also fixed timings of bubble mechanic, now they will always be there, if you are fast enough.
* And finally fixed some slight stuff on Malygos spell. Now all will work and Arcane Storm has it's correct visual mechanic again.

Closes #9321
2013-03-06 04:10:26 +02:00