Giter VIP home page Giter VIP logo

jps's People

Contributors

benphelps avatar gig3m avatar gocargo1 avatar gunnypatel avatar htordeux avatar jp-ganis avatar jpganis avatar jsmb768ypl avatar ju1cyfru1t avatar kirk24788 avatar kweiss avatar m3wt avatar mikedamm avatar mikesgman avatar nishikazuhiro avatar pcmdxx avatar peanutbird avatar psycho1666 avatar trixoxo avatar tropicdome avatar valve3 avatar vipersnake avatar walkistalki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jps's Issues

AoE Spells and groundClick() - CameraOrSelectOrMoveStop is protected while moving

Should mainly affect destruction locks - since Rain of Fire is cast every ~7 seconds, priests and death knights might notice this too:

[ADDON_ACTION_FORBIDDEN] AddOn "JPS" tried to call the protected function "CameraOrSelectOrMoveStop()".
!BugGrabber-r193-release\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
JPS\jpdata.lua:1014: in function "groundClick"
JPS\jpparse.lua:234: in function "Cast"
JPS\Rotations\warlock_destro.lua:196: in function "Rotation"
JPS\jps-1.2.0.r543.lua:769: in function "jps_Combat"
JPS\jps-1.2.0.r543.lua:726: in function <JPS\jps.lua:719>

I get this every time I cast an AoE Spell while moving / turning the camera ~30-40 times per boss fight.
Tried everything to get rid of it - it you have any smart ideas...else just close this issue ;)

need help testing?

stumbled across this via pg whole back, great work! I have at least 2 85s of every class let me know if you need help with testing out a class/spec.

Windwalker spec

Here is error given : WW monks do not function. Not a single spell.

Date: 2013-06-20 00:53:24
ID: 1
Error occured in: Global
Count: ∞
Message: ..\AddOns\JPS\Rotations\monk_windwalker.lua line 20:
attempt to call field 'buffID' (a nil value)
Debug:
JPS\Rotations\monk_windwalker.lua:20: Rotation()
JPS\jps.lua:769: jps_Combat()
JPS\jps.lua:726:
JPS\jps.lua:719
Locals:
self = nil
energy = 100
energyPerSec = 13
energyTimeToMax = 0
chi = 0
defensiveCDActive = false
tigerPowerDuration = 0
(_temporary) = nil
(_temporary) = 116740
(*temporary) = "attempt to call field 'buffID' (a nil value)"

AddOns:
Swatter, v5.17.5413 (NeedyNoddy)
AtlasLootLoader, vv7.06.00
AucAdvanced, v5.17.5413 (NeedyNoddy)
AucFilterBasic, v5.17.5413 (NeedyNoddy)
AucFilterOutlier, v5.17.5413.5347(5.17/embedded)
AucMatchUndercut, v5.17.5413.5364(5.17/embedded)
AucStatHistogram, v5.17.5413 (NeedyNoddy)
AucStatiLevel, v5.17.5413 (NeedyNoddy)
AucStatPurchased, v5.17.5413 (NeedyNoddy)
AucStatSales, v5.17.5413.5376(5.17/embedded)
AucStatSimple, v5.17.5413 (NeedyNoddy)
AucStatStdDev, v5.17.5413 (NeedyNoddy)
AucStatWOWEcon, v5.17.5413.5323(5.17/embedded)
AucUtilAHWindowControl, v5.17.5413.5347(5.17/embedded)
AucUtilAppraiser, v5.17.5413.5393(5.17/embedded)
AucUtilAskPrice, v5.17.5413.5347(5.17/embedded)
AucUtilAutoMagic, v5.17.5413.5392(5.17/embedded)
AucUtilCompactUI, v5.17.5413.5400(5.17/embedded)
AucUtilEasyBuyout, v5.17.5413.5347(5.17/embedded)
AucUtilFixAH, v5.17.5413 (NeedyNoddy)
AucUtilItemSuggest, v5.17.5413.5365(5.17/embedded)
AucUtilPriceLevel, v5.17.5413.5365(5.17/embedded)
AucUtilScanButton, v5.17.5413.5403(5.17/embedded)
AucUtilScanFinish, v5.17.5413.5347(5.17/embedded)
AucUtilScanProgress, v5.17.5413.4979(5.17/embedded)
AucUtilScanStart, v5.17.5413.5347(5.17/embedded)
AucUtilSearchUI, v5.17.5413.5373(5.17/embedded)
AucUtilSimpleAuction, v5.17.5413.5388(5.17/embedded)
AucUtilVendMarkup, v5.17.5413.4828(5.17/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v5.3
BeanCounter, v5.17.5413 (NeedyNoddy)
Configator, v5.1.DEV.344(/embedded)
DBMCore, v
DBMMogushanVaults, v
DebugLib, v5.1.DEV.337(/embedded)
Enchantrix, v5.17.5413 (NeedyNoddy)
EnchantrixBarker, v5.17.5413 (NeedyNoddy)
Informant, v5.17.5413 (NeedyNoddy)
JPS, v
LibExtraTip, v5.12.DEV.350(/embedded)
MikScrollingBattleText, v5.7.129
Recount, v
SlideBar, v5.17.5413 (NeedyNoddy)
Stubby, v5.17.5413 (NeedyNoddy)
TidyPlates, v6.11.3
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TidyPlatesWidgets, v
TipHelper, v5.12.DEV.351(/embedded)
BlizRuntimeLib_enUS v5.3.0.50300
(ck=83d)

Warlock Fire and Brimstone suggestion

I see what you mean Kirk with the Fire and Brimstone issue. Kinda weird you can have the buff but no embers.

I would suggest though instead of you current code to cancel the effect, instead make it as a macro and cancel the effect buff instead with
/cancelaura Fire and Brimstone

like so

{"fire and brimstone", burningEmbers > 0 and not jps.buff("Fire and Brimstone") and jps.MultiTarget },
{ {"macro","/cancelaura Fire and Brimstone"}, jps.buff("Fire and Brimstone") and not jps.MultiTarget },

Taking donations?

Hey great job, was wondering if you're taking donations as i would like to contribute to the project.

Cheers

Combat dismounts

I thought at some point the issue was addressed (perhaps it was in CDO, I digress). If you are running through an area mounted and you get into combat, JPS will dismount you. It's annoying and a mount check should be all that is required.

Frost DK not reapplying Blood Plague

I can't put my finger on this exactly, but it's happening only sometimes. (The worst of bugs, I know.)

It doesn't seem to matter if Outbreak or Plague Strike are up or down, in all cases it happens that the rotation continues without applying the disease. I've noticed it more on bosses, but that could just be how many times I have to apply diseases per fight.

TimeToDie with percentage

TimeToDie could use a second parameter which sets the desired percentage - e.g you might to know how much time is left till 20% so you can prepare for the burst phase.

Holy pally issues?

may or may not be a problem but when i use jps to heal (holy spec) on my pally i get this error...
(updateded files as of 2:25pm CST 6/20)

The ret spec i get no errors>

LUA error

Message: Interface\AddOns\JPS\Lib\jpconfig.lua:311: bad argument #1 to 'lower' (string expected, got nil)
Time: Thu Jun 20 14:23:30 2013
Count: 3
Stack: [C]: in function lower' Interface\AddOns\JPS\Lib\jpconfig.lua:311: in functionnotifySettingChanged'
Interface\AddOns\JPS\Lib\jpconfig.lua:337: in function <Interface\AddOns\JPS\Lib\jpconfig.lua:330>

Locals: (_temporary) = nil
(_temporary) = "string expected, got nil"

Message: Interface\AddOns\JPS\Lib\jpconfig.lua:311: bad argument #1 to 'lower' (string expected, got nil)
Time: Thu Jun 20 14:27:18 2013
Count: 7
Stack: [C]: in function lower' Interface\AddOns\JPS\Lib\jpconfig.lua:311: in functionnotifySettingChanged'
Interface\AddOns\JPS\Lib\jpconfig.lua:337: in function <Interface\AddOns\JPS\Lib\jpconfig.lua:330>

Locals: (_temporary) = nil
(_temporary) = "string expected, got nil"

Pally: Ret AOE vs single dps

:: not sure if I am missing the multi-target aoe rotation ::
but in Ret spec there is no difference in dps from normal and multi and no casting of the spell "Divine Storm"

----------------RET--------------------

AoE Rotation

Seal: Seal of Truth and Seal of Righteousness
Hammer of the Righteous
Divine Storm
When dealing with multiple mobs, you will want to continue the single target rotation except use Hammer of the Righteous to replace Crusader Strike as a way to build Holy Power. Also, use Divine Storm instead of Templar's Verdict to consume your Holy Power. Seal of Righteousness should be used if > 7 targets are present.

::: CoolDowns ADD :::
Execution Sentence Use on cooldown. Try to stack with Avenging Wrath.

CotE for all warlock profiles

@kirk
Just opened this issue to continue some of the ideas about Curse of the Elements, since the other issue got merged and then closed :)

Quote:
"One suggestion, set Curse of the Elements only to be cast on bosses or mobs with a certain % hp. Often it is just a waste of time to cast it.

Also, perhaps make an ignore table, where you can put in mobs you do not want to put it on (or test for immunity event), e.g. the pylons on Elegon, I think it was those that were immune to it, so it would cast it over and over again (I think it was that fight, but in any case it can be a problem on some raid fights.)"

Actually I meant for the Destro profile, but of course it should perhaps be the same for alle warlock profiles.

JPS does not load

The new version does not load at all in game it shows in the list of addons but doesnt load in game

Cast something on yourself instead of on the mobs (holy prism paladin)

Hey, casting holy prism on yourself helps greatly with aoe threat right now, is there any easy way to cast a spell on yourself ? (different results if you cast it on the mob).

To clarify this spell can be cast on yoruself or on mobs, but for best results while tanking you want to cast it on yourself.

Thanks

Figured it, { {"macro","/cast [@player] Holy Prism"}},

jpconfig.lua error

The 'Rotation Dropdown Visible' checkbox is always visible (at least with multiple rotations).
Also jpconfig throws an error: (line numbers might be 1 line off - made a quick hack to remove the checkbox)

1x JPS\Lib\jpconfig.lua:253: bad argument #1 to "pairs" (table expected, got nil)
<in C code>
JPS\Lib\jpconfig.lua:253: in function "addSettingsFrame"

BM Hunter PVP Rotation - trap spells dont't fire!

Hmm....this rotation is wrong....

  • UnitIsFriend requires two targets
  • It keeps casting Aspect
  • No Traps
  • last and worst (and the only reason i found the errors above) it's called hunter_bm() and overwrites the actual hunter_bm() which switches depending on jps.PvP

Warlock Green Fire Quest Rotation

I've seen this on a HonorBuddy Plugin - One of those raid helperes has a specific rotation for the final warlock green fire quest.

I already have it on two locks with green...but since I'm currently leveling warlock number 3 it might come in handy...he shouldn't take longer than 2-3 weeks till he can make the quest.

Shaman_Resto

This requires a couple of changes to work properly but the general rotation. First you have to add shaman_resto.lua to toc.

Just a quick version but so far it seems decent in 85 dungeons. Not all spells are in the list.

function shaman_resto(self)
    local spell = nil
   local lsStacks = jps.buffStacks("lightning shield")
   local focus = "focus"
   local me = "player"
   local mh, _, _, oh, _, _, _, _, _ =GetWeaponEnchantInfo()
   local engineering ="/use 10"
   local r = RunMacroText
    local tank = nil

   -- Totems
   local _, fireName, _, _, _ = GetTotemInfo(1)
   local _, earthName, _, _, _ = GetTotemInfo(2)
   local _, waterName, _, _, _ = GetTotemInfo(3)
   local _, airName, _, _, _ = GetTotemInfo(4)

   local haveFireTotem = fireName ~= ""
   local haveEarthTotem = earthName ~= ""
   local haveWaterTotem = waterName ~= ""
   local haveAirTotem = airName ~= ""



    tank = jps.findMeATank()


    -- Check if we should Purify
    local cleanseTarget = nil
    cleanseTarget = jps.FindMeADispelTarget({"Curse"},{"Magic"})


    -- lowest friendly
    local defaultTarget = jps.lowestInRaidStatus()
    local defaultHP = jps.hpInc(defaultTarget)


    -- Priority Table
    local spellTable = {
            { "fire elemental totem",   jps.UseCDs },
            { "spiritwalker's grace", jps.Moving and defaultHP < 0.75 },

            { "water shield", not jps.buff("water shield"), me  },
            { "Earthliving Weapon",         not mh, me},

            { "earth shield",           tank ~= me and not jps.buff("earth shield",tank), tank },


            -- Heals
            { "riptide",                defaultHP < 0.95 and not jps.buff("RipTide"), defaultTarget },
            { "greater healing wave",       defaultHP < 0.4, defaultTarget },
            { "healing wave",               defaultHP < 0.8, defaultTarget },

            { "Purify spirit",          cleanseTarget~=nil, cleanseTarget },



    }

    return parseSpellTable( spellTable )
end

Warlock Affliction Rotation - low DPS

This rotation is a mess...I tried to get a single rotation working yesterday, seemed nice...
but i still need to fiddle around a little until I find the right time in which to abort the channelings spells.

This might take some time...

Spells w/o Global Cooldown - warlock Burning Rush casts double

In earlier versions of JPS there was a Table with Instant Spells which should be ignored if cast by the user.
Instant Spells seem to work without it now (haven't take a look why and how) but Burning Rush seems to make still problems - maybe because it's off the global cooldown?

Rogue Vanish - All Specs (PvE)

Hmm....just tried my rogue an hour ago...and it seems all specs have an old "bug".
They use vanish, even when not in a group/raid...

GetNumGroupMembers()>0

should at least prevent venish from being cast while farming mobs...maybe >2is even better...
i guess best would be a range check for all units in the raid/group and check if your alone - after all you still might be in a raid but fighting something on your way to the instance...but maybe thats too dedicated

Rotation issues with some of the class's

  1. Warlock Affliction doesn’t apply Agony, looking through the rotation lua file there is a reference to Bane Of Agony/Bane of Doom which we haven't had in a while. Its also not applying curses.

  2. Warlock Destro only does 1 spell and just stands there, I am not sure what is needed here? JPS debug?

  3. DK Blood, there is actually very little wrong with this one as it mostly does everything except that it needs to prioritize Death Strike to keep up the shield and then blood boil to keep spreading diseases to new mobs. I also notice that it is using heart strike with 1 mob when it should only be using this for multiple mobs.

Shammy Enhance

function shaman_enhancement(self)
    --jpganis +simcraft
    local maelstromStacks = jps.buffStacks("maelstrom weapon")
    local shockCD = jps.cd("earth shock")
    local chainCD = jps.cd("chain lightning")

    -- Totems
    local _, fireName, _, _, _ = GetTotemInfo(1)
    local _, earthName, _, _, _ = GetTotemInfo(2)
    local _, waterName, _, _, _ = GetTotemInfo(3)
    local _, airName, _, _, _ = GetTotemInfo(4)

    local mh, _, _, oh, _, _, _, _, _ =GetWeaponEnchantInfo()

    local haveFireTotem = fireName ~= ""
    local haveEarthTotem = earthName ~= ""
    local haveWaterTotem = waterName ~= ""
    local haveAirTotem = airName ~= ""

    local spellTable =
    {
        { "fire elemental totem", jps.UseCDs },
        { "wind shear", jps.shouldKick("target") },
        { "wind shear", jps.shouldKick("focus"), "focus" },
        { "Windfury Weapon",         not mh},
        { "Flametongue Weapon",         not oh and mh},
        { "searing totem", GetTotemTimeLeft(1) < 2 },
        { "lightning shield", not jps.buff("lightning shield") },
        { "Stormstrike", "onCD"},
        { "lava lash", "onCD"},
        { "unleash elements", "onCD"},
        { "flame shock", not jps.myDebuff("flame shock") or jps.buff("unleash flame") },
        { "lightning bolt", maelstromStacks > 4 and (not jps.MultiTarget or chainCD > 0)},
        { "chain lightning", maelstromStacks > 4 and jps.MultiTarget and chainCD == 0},
        { "earth shock" },
        { "feral spirit" },
        --{ "earth elemental totem" }, 
        { "spiritwalker's grace", jps.Moving },
        { "lightning bolt", maelstromStacks > 4 and "onCD"},
    }

    return parseSpellTable( spellTable )
end

Arms warrior - Possible Error

As a whole the new update is great. But it seems that Heroic Strike isn't being used.

My Jps is working find but it seems to be sat waiting a good 2/3 seconds for Mortal Strike to reset and not dumping Heroic Strike or an Over Power Proc.

This is effecting the dps of the arms warrior.

I had a quick look at the coding but its above my knowledge an wasn't able to spot any errors.

Regards

Conteo

Sub rogue doesn't kick

Maybe it's something I'm doing wrong. Interrupts turned on. Levelling in subtlety and he just wont interrupt

toc file

Toc file needs to be updated with the combat rogue lines

Rotations\rogue_combat.lua
Rotations\rogue_combat_pve.lua
Rotations\rogue_combat_pvp.lua

Ground click spells

I was looking for were the ground click code was to add the following:

Lightwell
Holy Word: Sanctuary

Calculate Spell Lag

Since I merged to the current version of JPS it seems rather sluggish.

I don't know exactly what changed, but it waits too long before casting the next spell...which is a rather big loss of dps.

A change in jps_Combat:

if (not jps.Casting and jps.ThisCast ~= nil)  then

to

if not jps.Casting and jps.ThisCast ~= nil or jps.castTimeLeft("player") <= jps.Lag then

does work for me.
But jps.Lag is rather constant...other cast bar addons have much more dedicated ways of detecting the spell lag.
I'll take a look into Quartz and check it out, but the change above works pretty good for a start.

TimeToDie @ Iron Qon - reset timeToDie if target isn't attackable for a longer time

TimeToLive fails miserable at Iron Qon - since you see him first after the first Quilen is down but only start making real damge to him after the third Quilen is down.

I can't think of similar encounters...maybe Lei Shen (didn't have time to test the new TTL on him).

A fix might be resetting the TTL if time0 is way older than time...

Mage fire spec

#1

Message: Interface\AddOns\JPS\jphealing.lua:335: attempt to call global 'GetNumRaidMembers' (a nil value)
Time: 09/08/12 20:28:55
Count: 1
Stack: Interface\AddOns\JPS\jphealing.lua:335: in function `SortRaidStatus'
Interface\AddOns\JPS\jps.lua:109: in function <Interface\AddOns\JPS\jps.lua:102>

Locals: group_type = "raid"
unit = nil
subgroup = nil
(_temporary) = nil
(_temporary) = "attempt to call global 'GetNumRaidMembers' (a nil value)"
#2

Message: Interface\AddOns\JPS\jps.lua:213: attempt to call global 'GetPrimaryTalentTree' (a nil value)
Time: 09/08/12 20:28:55
Count: 1
Stack: Interface\AddOns\JPS\jps.lua:213: in function `detectSpec'
Interface\AddOns\JPS\jps.lua:114: in function <Interface\AddOns\JPS\jps.lua:102>

Locals: (_temporary) = nil
(_temporary) = "attempt to call global 'GetPrimaryTalentTree' (a nil value)"

Used the last version.

lag after killing mobs

Not sure what is happening but after I kill mobs My frame rate goes to 10-11 fps. By process of elimination after I took out jps all was good no lag. I installed the older jps no problem either. As soon as I install the new jps the lag comes back. any help would be great.

Quick Shammy Elemental

function shaman_elemental(self)
    -- jpganis basics, thorshammer for all the good stuff :D
    -- thanks to thorshammer no need for simcraft!
   local spell = nil
   local lsStacks = jps.buffStacks("lightning shield")
   local focus = "focus"
   local me = "player"
   local mh, _, _, oh, _, _, _, _, _ =GetWeaponEnchantInfo()
   local engineering ="/use 10"
   local r = RunMacroText

   -- Totems
   local _, fireName, _, _, _ = GetTotemInfo(1)
   local _, earthName, _, _, _ = GetTotemInfo(2)
   local _, waterName, _, _, _ = GetTotemInfo(3)
   local _, airName, _, _, _ = GetTotemInfo(4)

   local haveFireTotem = fireName ~= ""
   local haveEarthTotem = earthName ~= ""
   local haveWaterTotem = waterName ~= ""
   local haveAirTotem = airName ~= ""


   -- Miscellaneous
   local feared = jps.debuff("fear","player") or jps.debuff("intimidating shout","player") or jps.debuff("howl of terror","player") or jps.debuff("psychic scream","player")

   local spellTable =
   {
      -- Set Me Up.
      { "lightning shield", not jps.buff("lightning shield")  },
      { "Flametongue Weapon",         not mh},

      -- Totems.
      { "searing totem",      not haveFireTotem },
      { "fire elemental totem",   jps.UseCDs },

      -- Kick.
      { "wind shear",   jps.shouldKick() },

     -- Basic Priority Spells
      { "flame shock", jps.debuffDuration("flame shock") < 2 },
      { "lava burst" },
      { "earth shock", lsStacks > 5 and jps.debuffDuration("flame shock") > 5 },
      { "spiritwalker's grace", jps.Moving },
      { "chain lightning", jps.MultiTarget },
      { "thunderstorm", jps.mana() < .6 and jps.UseCDs },
      { "lightning bolt" },
   }

   return parseSpellTable( spellTable )
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.