sjobidoo
Newbie
Posts: 13
|
|
« on: August 18, 2018, 08:14:14 am » |
|
I'm trying to add a holyshit for my bard to click his epic if it is ready while fighting..but mq2 keeps crashing. Anyone know why? Here is my code: /if (!${Me.Song[One Man Band II].ID} && ${Cast.Ready[151015]}) /casting 151015 |item 151015 is the id of my bards primary weapon
|
|
|
Logged
|
|
|
|
Dimur
|
|
« Reply #1 on: August 18, 2018, 01:32:36 pm » |
|
No clue about the plugin crashing you since the plugin itself isn't allowed on EZ but your code looks fine. Does your bard click his epic if you just enter that line of code in a chat window and execute it?
|
|
|
Logged
|
|
|
|
sjobidoo
Newbie
Posts: 13
|
|
« Reply #2 on: August 19, 2018, 07:46:29 am » |
|
Oh my..that's awkward.. wasn't aware it isn't allowed...should've checked this first. I will find another way to handle the clickie through hotkeys and eqbc
|
|
|
Logged
|
|
|
|
sjobidoo
Newbie
Posts: 13
|
|
« Reply #3 on: August 19, 2018, 03:03:09 pm » |
|
If it is allowed to use mq2cast, how can we check if Cast.Ready on an epic augment? I've tried using ${Cast.Ready[item name]} and replacing item name with augment ID, primary weapon id..spell name of the epic spell, etc etc..but it always returns false
|
|
|
Logged
|
|
|
|
Dimur
|
|
« Reply #4 on: August 19, 2018, 08:21:17 pm » |
|
I'd use FindItem to check the timer on the item recast and see that it is zero then execute your command, not on the laptop atm to verify if the code works but I think it's something like:
/if (${FindItem[item name].TimerReady} == 0) /dosomething
|
|
|
Logged
|
|
|
|
sjobidoo
Newbie
Posts: 13
|
|
« Reply #5 on: September 06, 2018, 01:11:43 pm » |
|
It returns 0 even though it says "Spell recast time not yet met". This is the epic augment clickie. It's inserted into my bards primary weapon. I can click the weapon..says the weapon starts to glow, then tells me spell recast is not yet met.
|
|
|
Logged
|
|
|
|
Chieftan
|
|
« Reply #6 on: September 06, 2018, 05:27:18 pm » |
|
Dimur's code is sound, tried it on my benched bard and works fine
eg /if (${FindItem[132057].TimerReady} == 0) /itemnotify mainhand rightmouseup
132057 is the item ID of the epic aug
If you click the button and the spell timer is not 0, you will get the recast time not met message
|
|
|
Logged
|
|
|
|
sjobidoo
Newbie
Posts: 13
|
|
« Reply #7 on: September 07, 2018, 08:46:23 am » |
|
Hm... I'm currently trying : /echo ${FindItem[150501].TimerReady} 150501 = ID of my Bard class augment 4.0 It only echos "NULL"
|
|
|
Logged
|
|
|
|
WatchYouDie
|
|
« Reply #8 on: September 07, 2018, 04:33:25 pm » |
|
just use mq2twist it's allowed on the server and will give you less issues
|
|
|
Logged
|
|
|
|
spuddson
|
|
« Reply #9 on: September 08, 2018, 02:22:55 pm » |
|
Do not use any programs to attack npc's for loot or exp, or go afk pet farming. Players caught bot farming or playing to farm, and then AFK to loot a zone's worth of kills will still be considered botters. Addition: This includes using Twist to spam abilities. If you want to use Twist to maintain the hellish combination of spells on your Bard, that's fine. Any bard ability (and class aug click) is fine for twist. Using it on other classes (e.g. cleric, berserker, druid, shaman, etc) is NOT approved.
quote from rules
|
|
|
Logged
|
|
|
|
sjobidoo
Newbie
Posts: 13
|
|
« Reply #10 on: September 09, 2018, 01:36:39 am » |
|
Should be fine then seing this is my bard Just thought there should be some way of checking if the augment clicky was ready or not...weird if it's working for some reading from the above answers, but for me it keeps returning NULL
|
|
|
Logged
|
|
|
|
|