What i meant was, on mentallys profile i could aoe switch at anytime out of combat but on the ret paladin i can only do it in combat, i think it has something to do with the button " only start on combat ", i was wondering if it was possible to make it where it only starts in combat but can still aoe switch out of combat.
My Ret Pally Aura-switching Test one does that i believe. You need to look what it would take for that to be possible. The only way to do that would be to have PQRotation running the rotation outside of combat but then I would have to rely on the iffy combat detection that some of the other profiles use. Using that way means anytime there is a non combat mob you'll need to add the name in the list if the thing your attacking isn't directly affecting combat. Now if Xelper wants to add a PQR_IsInCombat() which uses his combat checks that are built into PQR then we would be golden but I'm sure he's very busy since we already have a list of suggestions and we're still at version 1.1 (no offense intended, i know this isn't the only thing going on in his life)
So if you don't mind the not-so-perfect combat check then use my ret auraswitching one. I'll release a new version of that aura-switching one when i release my event driven one because i can use the PLAYER_REGEN_DISABLED event to catch when we're in combat and i'm just going to let the rotation wail on what ever is targeted. I might be able to move the code that keys for the CtrlKey press to a event but that does seem like a lot of work as opposed to just hitting ctrl when your in combat. Which reminds me, how often are you switching? You should only be using AOE if there is 4(FOUR) or more targets. Plus this is actually alot easier then the Ret Pally profile that came with PQR, that had two different profiles for Single Target and AOE so you had to switch profiles.
I switch when there is more than 4 mobs and switch back as soon as they hit 3 so i can apply dots, what i have issues with is after combat sometimes i forget which mode im on or after a big aoe or ect.. and then go into a boss fight with divine storm which is a dps loss because i have to switch back to single target. Its not a huge issue but being able to do it whenever would make it better.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Users\Ben\AppData\Local\Microsoft\PriorityQueueRotation.exe_Url_v5fdhrstjxvs oomw1fmrvloodynvnhha\1.1.0.0\user.config) ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSch emaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- End of inner exception stack trace ---
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
at System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigE ventArgs e)
at System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn ternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at PriorityQueueRotation.Properties.Settings.eval_bo()
at eval_c.eval_d(String A_0, String A_1)
at PriorityQueueRotation.frmMain.LoadRotations(String strClass)
at PriorityQueueRotation.frmMain.eval_ap(Object A_0, EventArgs A_1)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.239 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PriorityQueueRotation
Assembly Version: 1.1.0.0
Win32 Version: 1.1
CodeBase: file:///C:/Users/Ben/Desktop/Rotation/PriorityQueueRotation.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.235 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.236 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
BlackMagic
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Ben/Desktop/Rotation/BlackMagic.DLL
----------------------------------------
fasmdll_managed
Assembly Version: 1.0.3262.20709
Win32 Version:
CodeBase: file:///C:/Users/Ben/Desktop/Rotation/fasmdll_managed.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
What does that mean?![]()
About the problem with your DK profile sheuron it's working now with only your profiles in the folder.
@nebmyers
"System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Users\Ben\AppData\Local\Microsoft\PriorityQueueRotation.exe_Url_v5fdhrstjxvs oomw1fmrvloodynvnhha\1.1.0.0\user.config) ---> System.Xml.XmlException: Root element is missing."
re-download PQR you are missing a file or 2
Anyone can figure out how to make a time to die function? The plan is to calculate with actual dps on a boss the time left till he die and use smarty some spells or use combo points.
my only guess for now would be to have a statement that will call to use the ability when boss is etween 2 percentage levels like less than 25% but greater than 5% so you do not blow 5 min cd's and such when boss is about to die.
My coding skills are very limitied.... I can usnderstand it when looking at other people work. It clicks and makes sense but to create stuff I always get lost. This is why I modify/tweak profiles in PQR and in HB/GB
Hey, fmagretto!
The paladins' profile, i think, is awesome! But... i have a problem: rotations don't want work at all.
What I'm doing wrong? For example Xelper's profile works good, but there is wrong a bit rotation. I'm bad in programming, so I want your profile to work.
Also I'm not very good in English. Please, be patient.
Thanks
Are you saying that none of the rotations work? Are you a level 85 ret-specced pally? If you are not 85 the profile will not work since i did not add checks to see if you have learned the spells before trying to cast. You should be choosing 'Ret Raid' as the profile and the combat setting to 'Rotation Designated'. Are you using PQRInterface addon? if not (or if you are turn it off) and click 'Show Settings' in PQRotation and check the 'Debug Mode' option in the bottom left hand corner and it will show what spells it's trying to cast in your chat frame. Let me know what it's getting stuck on. Also if your client is not the enUS client there may be localization issues, if that's the case let me know and i'll make sure it's more universal in version i'm releasing today or tomorrow.
********Update on the event version**********
So i got the buff/debuff handler working using events (prints out message with spellLink when buff is gained/lost) and sets variables to use in the abilities so now i'm going to adapt the abilities. I also am moving the holy power checks to events to keep a variable live with the current holy power. I found out (averykey you'll like this) that i can catch the MODIFIER_STATE_CHANGED event to check if LCTRL is pressed and i'll make the event handler change the AOE switch boolean so you can change the AOE switch out of combat or even if PQR is off. Also I found the event PLAYER_CONTROL_LOST which is defined as Fires whenever the player is unable to control the character. Examples are when afflicted by fear, mind controlled, or when using a taxi which as long as you check to make sure you're in combat (to exclude the taxi condition) then you have an event that will tell you when to use a PVP Trinket or a racial that has a similar effect. I wanted to have Aura switching (crusader when mounted) but i didn't want to track combat myself so i found that being mounted is considered an AURA (there is an event for when you summon a mount but you see everyone's and it's a mess in town) so I'm going to do a IsMounted check in the UNIT_AURA event which will switch auras depending if you're mounted. I'm hoping to get this all done by my raid time tonight so i can test it there to make sure i haven't lowered DPS and there are no bugs.
I'm writing these functions (esp the lost control one as general as possible so they can be easily adapted to other profiles)
@Askali
Ur resto profile is very nice but it doesnt want to dispell. I have "Nature's Cure", added spells name to dispell in function ability, typed /decurse and still doesnt work. Anything more what i missed?
edit
From page 215+ u guys do so $#&* awsome codes ;o like pro programmers. But all profiles before are to very usefull. Great job.
Last edited by vorn10; 12-20-2011 at 05:06 PM.
Yes, I will rewrite profiles to match 3.3.5a I just need the offsets for 3.3.5a as I don't know how to get them. Still wondering if its possible to get them :/