Page 1 of 3

${FindItem[Time's Antithesis].Timer} not working

Posted: Thu Dec 15, 2005 11:54 am
by wasted

Code: Select all

/echo ${FindItem[Time's Antithesis].Timer}
Returns 23 for me, everytime. doesn't matter if it is ready, mid cast, end cast, always, 23. Will retest with new zip when out. This has been happening as of the big patch we had a couple weeks ago. Will gladly volunteer info needed, I just don't know what it'd be. EDIT: As of December 16th, this still exhibit the same exact behavior with MQ2-20051215b.zip.

Posted: Fri Dec 16, 2005 12:10 pm
by Pennington01

Code: Select all

/echo ${FindItem[Serpent of Vindication].Timer}
This returns a 25 at all times before durring and after cast using the latest zip (MQ2-20051215b.zip). Thanks for the heads up this has been driving me crazy the last few weeks. The last zip that my slowstick worked was the 11-18 zip if that is any help.

Posted: Fri Dec 16, 2005 1:52 pm
by A_Enchanter_00
Pennington01 wrote:

Code: Select all

/echo ${FindItem[Serpent of Vindication].Timer}
This returns a 25 at all times before durring and after cast using the latest zip (MQ2-20051215b.zip). Thanks for the heads up this has been driving me crazy the last few weeks. The last zip that my slowstick worked was the 11-18 zip if that is any help.
That is true, but its no "big" deal, because this item have NO recast time

i dont know what excatly you want to do but.. could do it like this

IF you have item it use that, else it use spell..

Code: Select all

      /if ( ${FindItem[Serpent of Vindication].ID} ) { 
         /call Cast "Serpent of Vindication" item 15s 
      }  else { 
         /call Cast "slow spell you want to use" gem1 15s 
      }
but again since i am unsure what you are trying to do this might not be it. eather way as rswiders have said. TimerReady will be a good thing to have.
rswiders wrote:Try checking for...

Code: Select all

/if ( !${FindItem[Hammer of Delusions].Timer.TotalSeconds} && ${FindItem[Hammer of Delusions].ID} ) {
when it hits 0 totalseconds you can recast... but ill look at adding a TimerReady which will shortcircuit this type of check.

Posted: Fri Dec 16, 2005 3:44 pm
by Pennington01
Its the same issue I believe as the shaman slowstick, which used to work in macros as autobot but now do not. So no, its not a big deal just something that used to work but now does not.

Code: Select all

Sub DebuffCommon(int a, int i)
.
.
.
/if (!${RDPause} && !${${DebuffID[${i}]}Immune.Find[|${Spawn[${MobList[${a}]}].CleanName}|]} && !${Me.Casting.ID} && !${WaitTimer} && (${Spawn[${MobList[${a}]}].Distance}<${Spell[${DebuffID[${i}]}].Range} || !${Spell[${DebuffID[${i}]}].Range}) && ${Spawn[${MobList[${a}]}].LineOfSight} && (${WhichNuke}==${DebuffSpellSet${i}} || !${DebuffSpellSet${i}}) && ((${Me.PctMana}>${DebuffMana${i}} && !${Select[${DebuffGem${i}},item,alt]} && (!${SitTimer} || ${Me.Gem[${DebuffSpell${i}}]} || ${Me.Mount.ID})) || ${Me.AltAbilityReady[${DebuffSpell${i}}]} || (${FindItem[${DebuffSpell${i}}].ID} && !${FindItem[${DebuffSpell${i}}].Timer})) && ((${DoDebuffs} && !${SpellType${i}}) || (${DoDoTs} && ${SpellType${i}}==1) || (${DoManaTaps} && ${SpellType${i}}==3 && (${Spawn[${MobList[${a}]}].Class.CanCast} || ${Zone.ID}>=300))) && ${DebuffArray[${a},${i}]}<=${Macro.RunTime} && ${MobList[${a}]} && ${Spawn[${MobList[${a}]}].Standing} && (!${Me.Song[Gift of Mana].ID} || !${GoMFlag}) && (${NearestSpawn[npc named].ID}==${MobList[${a}]} || !${DebuffNamedOnly${i}})) /call DebuffStuff ${a} ${i}
.
/return
This is a clip of autobot...if I understand what you are saying I should be ablto replace

Code: Select all

(${FindItem[${DebuffSpell${i}}].ID} && !${FindItem[${DebuffSpell${i}}].Timer})
with

Code: Select all

(${FindItem[${DebuffSpell${i}}].ID})
Since there is no recast timer to worry about. I guess that wouldnt work if I had debuff items with timers, but since I don't it should be able to work for now. Thanks for the tip.

Posted: Fri Dec 16, 2005 11:16 pm
by SwiftyMUSE
Ok guys, I believe this might fix the problem with the insta-clicks. I need someone to test/verify this with the items mentioned in this post.

Change timer section to add new code (in red) below:

Code: Select all

    case Timer:
        if(pItem->Item->TimerID)
        {
            Dest.DWord=(GetItemTimer(pItem)+5)/6;
            Dest.Type=pTicksType;
            return true;
        }
[color=red]        if (pItem->Item->Clicky.SpellID!=-1)
        {
            Dest.DWord=0; // insta-clicky
            Dest.Type=pTicksType;
            return true;
        }[/color]

Posted: Sat Dec 17, 2005 2:34 am
by Pennington01

Code: Select all

/echo ${FindItem[Serpent of Vindication].Timer}
Returns a zero with that code added =)

Posted: Sat Dec 17, 2005 2:45 am
by SwiftyMUSE
Ok, is that good? It is insta-click correct? Then a zero means its ready to cast.

Posted: Sat Dec 17, 2005 4:24 am
by Warauinu
That is not instant click, bit it is instant recast. But before it didn't work was returning 20something so yeah sounds good.

Posted: Sun Dec 18, 2005 5:14 pm
by SwiftyMUSE
Fix is ready for next zip.

Fixed!

Posted: Mon Dec 19, 2005 7:59 am
by wasted
Thank you Swifty! The fix has indeed worked as intended. Just did DoD missions with my boys and all's well in paradise.

Re: ${FindItem[Time's Antithesis].Timer} not working

Posted: Fri Jun 27, 2025 7:52 pm
by xyilla

Re: ${FindItem[Time's Antithesis].Timer} not working

Posted: Fri Jun 27, 2025 7:54 pm
by xyilla

Re: ${FindItem[Time's Antithesis].Timer} not working

Posted: Fri Jun 27, 2025 7:55 pm
by xyilla

Re: ${FindItem[Time's Antithesis].Timer} not working

Posted: Fri Jun 27, 2025 7:56 pm
by xyilla

Re: ${FindItem[Time's Antithesis].Timer} not working

Posted: Fri Jun 27, 2025 7:57 pm
by xyilla