• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - rog poisonclicky question(lua question)

Joined
Jan 25, 2023
RedCents
612¢
my rogue poisonclick still not work, so I tried to add some log into condition-function and wanna know why
i added the following code and got some logs.

[B]RGMercsLogger.log_info("ready1:(%s)", mq.TLO.FindItem(RGMercUtils.GetSetting('PoisonClicky')).Timer() == 0)[/B] RGMercsLogger.log_info("ready2:(%s)", mq.TLO.FindItem(RGMercUtils.GetSetting('PoisonClicky')).Timer == 0) RGMercsLogger.log_info("ready3:(%s)", mq.TLO.Me.ItemReady(RGMercUtils.GetSetting('PoisonClicky'))) [B]RGMercsLogger.log_info("ready4:(%s)", mq.TLO.Me.ItemReady(RGMercUtils.GetSetting('PoisonClicky'))())[/B]

[INFO ] ready1:(false) <------this is the reason I think... [INFO ] ready2:(false) [INFO ] ready3:(TRUE)[/FONT] [INFO ]ready4:(true) <------this works for me...

I dont know why "Timer() == 0" not work for me.
does Lua's result depends on the OS or platform? mine is windows 10.

another question, after I changed to ItemReady(and removed Timer() ==0) my rogue can use poisonclicky now
but, he will keep bite of shissar in his hand but doesn't affect anything...
 
Last edited:
@Derple

if its possible to check and change
from
mq.TLO.FindItem(RGMercUtils.GetSetting('PoisonClicky')).Timer() == 0
to
mq.TLO.Me.ItemReady(RGMercUtils.GetSetting('PoisonClicky'))()
?

RG forcibly turning me to a code writer now...
 
Question - rog poisonclicky question(lua question)

Users who are viewing this thread

Back
Top
Cart