Commit Graph

18471 Commits

Author SHA1 Message Date
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
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
524a10d628 Typo fix... ¬¬ 2013-03-08 14:05:51 +01:00
Spp
987826bc0d Core/RBAC: Change default db permissions to behave like a server with default config before RBAC conversion
(Missing change from previous commit)

To enable any of the removed config option you should now add the proper role to the proper groups
IE:
AllowTwoSide.Interaction.Mail = 1 --> Add role 19 to group 1 (Add it to players)
2013-03-08 13:58:15 +01: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
Pitcrawler
f84c6cc9c6 DB/Quests: Fixes Chill out, mon
Really closes #5200
2013-03-07 09:32:42 +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
Nay
8ef1bda36b SQL: Update 2013_02_18_00_world_misc_equip.sql
Fix "column `id` in field list is ambiguous"
Thanks Guybrush

*Should* not have caused any issues but warnings are bad.
2013-03-07 01:48:34 +00: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
Shauren
856551c981 Core/Players: Corrected online flag set in database when logging out, spotted by e000
Closes #9310
2013-03-05 22:36:58 +01:00
Shauren
5ab537c06a Core/Items: Fixed a crash happening if items moved from bank were merged with items in inventory
Closes #9345
2013-03-05 22:06:33 +01:00
Vincent_Michael
5d4e657e91 Core: Whitespace cleanup 2013-03-04 19:14:58 +01:00
Shauren
226e0fdd1b Unbreak the build and renamed sql file to proper date 2013-03-04 17:08:07 +01:00
Shauren
ae4d2845c9 Core: Fixed compile warnings and errors 2013-03-04 16:47:39 +01:00
Shauren
6b37c8d9f3 Scripts/Eye of Eternity: Fixed some silly code 2013-03-04 16:47:12 +01:00
QAston
26cbf5f6ba Core/Entities: nullify m_uint32Values after object deletion for better detection of access to deleted objects. 2013-03-04 16:31:24 +01:00
Kinzcool
34d9478186 DB/Quests: Added a lot of factionchange quests 2013-03-04 10:12:21 -05:00
QAston
344eb8e31c Merge remote-tracking branch 'origin/refactoring' 2013-03-04 15:58:33 +01:00
QAston
4eec72c986 Core/Entities: Move complex function implementations from Player.h to Player.cpp 2013-03-04 15:56:00 +01:00
Shauren
f698753a57 Added missed change to previous commit 2013-03-04 14:28:57 +01:00
Shauren
f37e0ee838 Core/Players: Implemented converting quests on faction change (keeping old faction quests in disabled state - not loaded during login) and restoring them if changing back to original faction
Closes #890
Closes #9248
2013-03-04 14:15:52 +01:00
ZxBiohazardZx
e7d333f708 Commit: fuck mondays, i cba to fix it, its out 2013-03-04 13:22:32 +01:00
ZxBiohazardZx
56efb2df44 Commit: its monday....... 2013-03-04 13:05:03 +01:00
Kirkhammett
ce08d73fa4 DB/SAI: add SAI for quest: The Admiral Revealed (12852)
Closes #9094
2013-03-04 13:03:02 +01:00
ZxBiohazardZx
534bdae0c9 DB/Quest: fix some questrequirements in BE start zone by Praxious, Closes #9156
Commit: fix naming on previous file, fix typo in 2013_03_04_00
2013-03-04 13:00:03 +01:00
QAston
8012feee16 Fix build. 2013-03-04 13:00:02 +01:00
ZxBiohazardZx
e826e37815 DB/Waypoints: add waypoints for Doomsayer Jurim, thx Kelsarhu
Closes #8958
2013-03-04 12:55:56 +01:00
ZxBiohazardZx
6984fbe16b DB/Gameobject: Add missing Gameobject
Closes #8948
2013-03-04 12:52:52 +01:00
QAston
9fd6b7ee01 Core/Entities: Move complex function implementations from Creature.h to Creature.cpp 2013-03-04 12:41:17 +01:00
QAston
3439084082 Move complex functions from Object.h to Object.cpp 2013-03-04 11:45:57 +01:00
QAston
2e96f8192c Move complex functions from Unit.h to Unit.cpp 2013-03-04 09:38:38 +01:00
Shauren
bed73397b6 Core/Spells: Improved facing setting for creature casts 2013-03-03 23:15:54 +01:00
Vincent_Michael
600e7e8cfb SQL: Fix typo 2013-03-03 13:53:52 +01:00
Durotar
7a04d5ee82 DB/SAI: Add SAI for quest "A Worthy Weapon"
Closes #9250
2013-03-03 12:49:16 +01:00
ZxBiohazardZx
13568b1853 DB/Misc:
Add Missing Sunreaver Guardian Mage (thx aokromes) Closes #9311
Add SAI for Mission: The Abyssal Shelf (thx Kirkhammett)
2013-03-03 12:48:19 +01:00
Trista
a108a9026a Scripts/Eye of Eternity: Rewrite Arcane Barrage mechanic
* Note that even after last changes happens I'm not sure exactly how the timers are controlled. The wipe chance should be a lot smaller now.. Any further change I can think of is beyond what I see. The main problem is currently. In theory there is chance, If timers get to be same with delay lesser than 2 seconds and if target randomisations select same target for shit out of luck reason. And if starting different timers were matching you can be hit atleast 2-3 times and on 25 mode maybe more. The timers are not with fixed difference for sure is all I know.
2013-03-03 03:16:17 +02:00
Shauren
6be5bc71eb Core/GameObjects
* Removed long deprecated code for mining nodes (multiple uses, artifact of TBC)
* Made fishing pools generate use count only on spawn (and respawn) instead of randomizing use count on every fishing attempt - prevents early despawning in some cases
2013-03-02 23:59:42 +01:00
Shauren
1baaaf1bf0 Core/Vehicles: Defined known seat flag VEHICLE_SEAT_FLAG_IS_USING_VEHICLE_CONTROLS 2013-03-01 20:40:49 +01:00
Pitcrawler
f93d831fd3 DB/Quests: Fixes To Legion Hold (10563,10596). Closes #9153, #6909
Thanks @Kirkhammett for the initial work.
2013-03-01 16:26:59 +01:00
Trista
d1853f693b Scripts/Eye of Eternity: Remove some flags, fix some timers and some misc
* Starting timers were a bit slower
* Destroy platform proper timing for drake casting mount spell to player (trigger)
* Remove IMMUNITY_PC flag after Iris is triggered (thx to Expecto) and readd it on evade
* Remove NOT_SELECTABLE flag since shouldn't be present at starting event
* Fix misc of id of Static Field added to LOS attributes
2013-03-01 16:25:58 +02:00
Trista
4f40dad714 Scripts/Eye of Eternity: Surge of Power (25 man)
* I have no idea how these breaks were removed, but it was breaking the whole mechanic.
* Also fix some slight chance for fail of transitioning p II -> p III
* Surge of Power (25 man) still needs to get fixed some weird facing and warnings aren't always sent for some reason
2013-03-01 09:33:52 +02:00
Pitcrawler
3efe44eb85 DB/Quests: Fixes Through the Eye (13121), closes #9070
Thanks @Kirkhammet for inital work
2013-03-01 01:16:24 +01:00
Shauren
d069e1b6b4 Core/Spells: Defined spell attributes related to aura visibility 2013-02-28 21:20:40 +01:00