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 02-20-2012, 04:03 AM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default Guild Message via Perl

I was working on a script that involved sending a particular guild who triggered the event an emote only (across all zones), anything think of a way that this could work?

$guildmessage = $entity_list->Message(1, 14, "emotehere");

This one does work, but it's only across the zone. I was really hoping to get it across all zones.
Reply With Quote
  #2  
Old 02-16-2013, 05:02 PM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default

Still after a way to get this to work!
Reply With Quote
  #3  
Old 02-16-2013, 05:07 PM
liquest
"Special" Member
 
Join Date: Jul 2007
Posts: 373
Default

Are you trying to get this so it sends the message within the guild chat?
__________________
Also Knows as Tavish

Liquest Auctions, WTB AA's up to the current compatable clients PST with offer.

"A casual stroll through a lunatic asylum shows that faith does not prove anything." ~Fredrick Nietzsche

"Insanity: doing the same thing over and over again and expecting different results.." ~Albert Einstein
Reply With Quote
  #4  
Old 02-16-2013, 05:17 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Should be easy to do with an interface to WorldServer::SendEmoteMessage()

I can't find a Perl function that does that, but I wouldn't know. I'm sure there must be one.
Reply With Quote
  #5  
Old 02-16-2013, 05:19 PM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default

More of an emote message, only if you are in a certain guild that activated the task.

So if player 1 activates a task in East Commons, the emote would be "The earth shakes and a huge hill giant appears"

But I would like to broadcast that emote to every single guild member, regardless of what zone they are in.

I've been thinking of ways of doing it but haven't had any luck yet.
Reply With Quote
  #6  
Old 02-16-2013, 09:58 PM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default

I'm assuming the latest commit tried to get this working, thanks for trying Derision :P
Reply With Quote
  #7  
Old 02-17-2013, 06:27 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

This feature is now in (we moved to github over the last few hours, so go here: https://github.com/EQEmu/Server/commits/master for the latest source).

The syntax is:
Code:
quest::gmsay(<messsage>, [color], [toworld], [guildid], [minstatus])
So to send a yellow message to the guild of the player:
Code:
quest::gmsay("The earth shakes and a huge hill giant appears", 15, 1, $client->GuildID(), 0);

Parameter 2,  15 = yellow
Parameter 3,   1 = send to all zones
Parameter 5,   0 = required admin status to receive the message
Reply With Quote
  #8  
Old 02-17-2013, 09:08 AM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default

Works great, thank you!
Reply With Quote
Reply


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 07:17 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