Timer issues
Is it possible to use summonitem(); inside a sub EVENT_TIMER routine based on a sub EVENT_ITEM routine? It just wont summon the item i want after the timer has expired.
Example: Code:
|
Pretty sure $theclient needs to be either declared such that it is accessible from EVENT_TIMER.
|
This totally works if i use:
Code:
$theclient->CastSpell(26,$theclienteid); But when i try to use: Code:
$theclient->summonitem(5555,$theclienteid); |
My mistake, I haven't done much work with perl yet.
The functions are case sensitive, it could be SummonItem() as opposed to summonitem(). |
You are using the Quest Object wrong. See this wiki page for the full list:
http://www.eqemulator.net/wiki/wikka...a=QuestObjects And here is the SummonItem() Object usages from that page: Code:
SummonItem(item_id, charges= 0) Code:
$theclient->SummonItem(5555, 1); |
It seems that while using Georges Tools, Quest Editor it changes my SummonItem to summonitem as soon as i step off the line of code.
I even tried Code:
quest::SummonItem(5555,1); Code:
summonitem(5555,1); |
just open your .pl file in ur quests folder and edit the quest to the uppercase version
|
I fixed the program to correct the case. Thanks for reporting it.
ver 1.2.4 GeorgeS |
All times are GMT -4. The time now is 01:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.