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

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

wasted
a ghoul
a ghoul
Posts: 89
Joined: Thu Sep 02, 2004 10:10 am

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

Post by wasted » Thu Dec 15, 2005 11:54 am

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.
Last edited by wasted on Fri Dec 16, 2005 5:21 pm, edited 1 time in total.

Pennington01
a ghoul
a ghoul
Posts: 112
Joined: Fri Dec 17, 2004 4:54 pm

Post by Pennington01 » Fri Dec 16, 2005 12:10 pm

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.

User avatar
A_Enchanter_00
a snow griffon
a snow griffon
Posts: 473
Joined: Mon Dec 12, 2005 4:37 pm
Location: A server near you

Post by A_Enchanter_00 » Fri Dec 16, 2005 1:52 pm

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.
A_Enchanter_00

Author of:
MQ2AdvPath / ISXEQAdvPath
MQ2Cast ( Author also s0rcier )
MQ2CastTimer
MQ2VoiceCommand

[quote]
If you like my work and want to give somthing back, just click [url=https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=aenchanter00%40gmail%2ecom&item_name=A_Enchanter_00&no_shipping=2&no_note=1&tax=0&currency_code=USD&lc=DK&bn=PP%2dDonationsBF&charset=UTF%2d8][color=green]HERE[/color][/url] to use PAYPAL.
[/quote]

Pennington01
a ghoul
a ghoul
Posts: 112
Joined: Fri Dec 17, 2004 4:54 pm

Post by Pennington01 » Fri Dec 16, 2005 3:44 pm

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.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Fri Dec 16, 2005 11:16 pm

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]

Pennington01
a ghoul
a ghoul
Posts: 112
Joined: Fri Dec 17, 2004 4:54 pm

Post by Pennington01 » Sat Dec 17, 2005 2:34 am

Code: Select all

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

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Sat Dec 17, 2005 2:45 am

Ok, is that good? It is insta-click correct? Then a zero means its ready to cast.

Warauinu
a snow griffon
a snow griffon
Posts: 377
Joined: Fri Apr 15, 2005 9:21 am

Post by Warauinu » Sat Dec 17, 2005 4:24 am

That is not instant click, bit it is instant recast. But before it didn't work was returning 20something so yeah sounds good.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Sun Dec 18, 2005 5:14 pm

Fix is ready for next zip.

wasted
a ghoul
a ghoul
Posts: 89
Joined: Thu Sep 02, 2004 10:10 am

Fixed!

Post by wasted » Mon Dec 19, 2005 7:59 am

Thank you Swifty! The fix has indeed worked as intended. Just did DoD missions with my boys and all's well in paradise.

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jun 27, 2025 7:52 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jun 27, 2025 7:54 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jun 27, 2025 7:55 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jun 27, 2025 7:56 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

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

Post by xyilla » Fri Jun 27, 2025 7:57 pm