Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2009, 05:22 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

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.
Reply With Quote
  #2  
Old 04-30-2009, 05:59 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-30-2009, 07:58 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

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.
Reply With Quote
  #4  
Old 05-01-2009, 12:25 AM
Justsomeguy
Fire Beetle
 
Join Date: Apr 2005
Posts: 7
Default

it did work. maybe due to language being implemented with some things such as this not being updated.
Reply With Quote
  #5  
Old 05-01-2009, 03:08 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

Quote:
Originally Posted by neiv2 View Post
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.
Reply With Quote
  #6  
Old 05-01-2009, 05:52 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Variables work inside quotes.
Reply With Quote
  #7  
Old 05-01-2009, 11:05 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

I stand corrected.
Thanks joligario.
Reply With Quote
  #8  
Old 05-02-2009, 09:45 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Quote:
Originally Posted by nosfentora View Post
I stand corrected.
Thanks joligario.
Yeah, I think I can confirm quest::we(colorid, "text"); does not work--at least not on my server.
Reply With Quote
  #9  
Old 05-02-2009, 09:55 PM
Zeice
Sarnak
 
Join Date: Oct 2008
Location: USA
Posts: 92
Default

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.");
  
  }}
Reply With Quote
  #10  
Old 05-03-2009, 04:40 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

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.
Reply With Quote
  #11  
Old 05-03-2009, 07:09 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

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");
}
}
Reply With Quote
  #12  
Old 05-03-2009, 07:34 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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?
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #13  
Old 05-03-2009, 08:32 PM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Quote:
Originally Posted by neiv2 View Post
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.
Reply With Quote
  #14  
Old 05-03-2009, 08:33 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Does Eqemu23 sound right?
Reply With Quote
  #15  
Old 05-03-2009, 08:50 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

LOL no, it would be something like EQEmu 0.7.0.1129 Revision 559 for the current version.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:42 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3