|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Q&A This is the quest support section |
04-30-2009, 05:22 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
Can someone confirm this actually works?
quest::we(colorid, "Text") - Server wide emote.
I have not been able to get this to work on my server. Thanks.
|
04-30-2009, 05:59 PM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Try this example:
Code:
quest::we(15, "Testing!");
And you should see a yellow emote to the world. The 15 is a color. Just try different numbers for different colors.
|
04-30-2009, 07:58 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
My text is a bit longer, but otherwise identical:
Code:
quest::we(15, "You sense the ring has been found. It is now in the vicinity of $zoneln.");
Every other quest function in that block of script works fine. But this does not.
|
05-01-2009, 12:25 AM
|
Fire Beetle
|
|
Join Date: Apr 2005
Posts: 7
|
|
it did work. maybe due to language being implemented with some things such as this not being updated.
|
05-01-2009, 03:08 PM
|
Discordant
|
|
Join Date: Oct 2004
Location: In a house
Posts: 377
|
|
Quote:
Originally Posted by neiv2
My text is a bit longer, but otherwise identical:
Code:
quest::we(15, "You sense the ring has been found. It is now in the vicinity of $zoneln.");
Every other quest function in that block of script works fine. But this does not.
|
Did you get output:
You sense the ring has been found. It is now in the vicinity of $zoneln.?
at a quick glance, i think you need to have it
Code:
quest::we(15, "You sense the ring has been found. It is now in the vicinity of ".$zoneln.".");
the little i remember of quest scripting, the variables $zoneln need to be outside the text, and the '.' is the concatenator operator.
pls correct if i'm wrong.
|
05-01-2009, 05:52 PM
|
|
Developer
|
|
Join Date: Mar 2003
Posts: 1,490
|
|
Variables work inside quotes.
|
05-01-2009, 11:05 PM
|
Discordant
|
|
Join Date: Oct 2004
Location: In a house
Posts: 377
|
|
I stand corrected.
Thanks joligario.
|
05-02-2009, 09:45 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
Quote:
Originally Posted by nosfentora
I stand corrected.
Thanks joligario.
|
Yeah, I think I can confirm quest::we(colorid, "text"); does not work--at least not on my server.
|
05-02-2009, 09:55 PM
|
Sarnak
|
|
Join Date: Oct 2008
Location: USA
Posts: 92
|
|
I know this is sort of getting away from the topic of this post, but how are you calling the emote?
When I run it with a simple say event it works fine. I get the yellow text immediately. Granted I haven't tried it with anything else, but just curious as to how you are calling it.
Code:
sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::we(15, "You sense the ring has been found. It is now in the vicinity of $zoneln.");
}}
|
05-03-2009, 04:40 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
I have tried it with both a simple EVENT_SAY and an EVENT_ENTERZONE. Each one contains other quest functions that are at the same level as the emote. They all work fine, just not the emote.
|
05-03-2009, 07:09 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
I experimented a bit with this, and it appears that the functions in the event work only up to the quest::we() function. Then functionality stops. E.g., in the following, the "say" function works (the "we" function does not):
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::say("Hi there");
quest::we(15, "Testing!");
}
}
But in the following example, neither one works (i.e., the "we" function prevents the rest of it from working):
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::we(15, "Testing!");
quest::say("Hi there");
}
}
|
05-03-2009, 07:34 PM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
The new World and Zone emote quest commands were added quite a while ago and work fine. Which version of the server code are you running currently?
|
05-03-2009, 08:32 PM
|
Hill Giant
|
|
Join Date: Nov 2002
Location: NC, USA
Posts: 182
|
|
Quote:
Originally Posted by neiv2
I experimented a bit with this, and it appears that the functions in the event work only up to the quest::we() function. Then functionality stops. E.g., in the following, the "say" function works (the "we" function does not):
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::say("Hi there");
quest::we(15, "Testing!");
}
}
But in the following example, neither one works (i.e., the "we" function prevents the rest of it from working):
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::we(15, "Testing!");
quest::say("Hi there");
}
}
|
Just tested these on my server and they worked fine, :/
__________________
Hmm.
|
05-03-2009, 08:33 PM
|
Hill Giant
|
|
Join Date: Mar 2009
Location: CO
Posts: 183
|
|
Does Eqemu23 sound right?
|
05-03-2009, 08:50 PM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
LOL no, it would be something like EQEmu 0.7.0.1129 Revision 559 for the current version.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 10:05 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|