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-10-2010, 05:45 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I don't think anyone has made anything to make saylinks for you. Some need to be made manually anyway for certain scenarios.

For the whispers from NPCs that are different colors and only go directly to the player, you can add this plugin:

http://www.eqemulator.org/forums/showthread.php?t=30448
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 04-14-2010, 02:01 PM
kameko
Sarnak
 
Join Date: Apr 2010
Posts: 30
Default

I did it!

I wrote a program to update all the quests.

What my program does is scan through the file and pick out everything between
[ and ].

Then I make a variable out of this and update the quest file. Kinda hard to explain, so I'll post a sample file...

Before:
Code:
sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("Oh hello. $name.  My name is Ilscent.   I am glad to see you. but I am in a bit of a [bind] right now.");
}
if($text=~/what bind/i){
quest::say("Well. I promised an ally of ours that I would send him a case of Jumjum juice for all the help he has given us.  I had planned on taking it to him myself but I have too many chores to do here on the farm. Will you take the [jumjum juice] to him?");
}
if($text=~/jumjum juice/i){
quest::say("Oh. thank you so much!  His name is Xanuusus and he lives in the Plains of Karana. in the foothills along their northern edge. actually.  We are most grateful for your help.  Xanuusus normally rewards messengers well.");
quest::summonitem("13411"); 
 }
}
#END of FILE Zone:rivervale  ID:19102 -- Ilscent_Tagglefoot
and After:

Code:
my $jumjum_juice = quest::saylink("jumjum juice", 0, "jumjum juice");
my $bind = quest::saylink("what bind", 0, "bind");
sub EVENT_SAY { 
if($text=~/Hail/i){
plugin::Whisper("Oh hello. $name.  My name is Ilscent.   I am glad to see you. but I am in a bit of a $bind right now.");
}
if($text=~/what bind/i){
plugin::Whisper("Well. I promised an ally of ours that I would send him a case of Jumjum juice for all the help he has given us.  I had planned on taking it to him myself but I have too many chores to do here on the farm. Will you take the $jumjum_juice to him?");
}
if($text=~/jumjum juice/i){
plugin::Whisper("Oh. thank you so much!  His name is Xanuusus and he lives in the Plains of Karana. in the foothills along their northern edge. actually.  We are most grateful for your help.  Xanuusus normally rewards messengers well.");
quest::summonitem("13411"); 
 }
}
#END of FILE Zone:rivervale  ID:19102 -- Ilscent_Tagglefoot
This program is not perfect! This is still a work in progress and I am hoping that some of you guys will download it and test it out yourself.

http://tigerstudios.net/QuestUpdater.zip

place the exe in the quest directory, and run it there. It will go through every file that ends in .pl in that directory, and every directory within that one.

I recommend making a backup of your quest files first.

If you are running windows vista or 7 it will need admin to run it, I'm not sure why it does, but I think it is due to file access. I'm looking into it.

I have tested this in rivervale with a new halfling and it works great so far.

It also changes quest::say to plugin::Whisper. I found this makes reading the text in game a bit easier.

If there is enough support and interest in this I will continue working on it and make a GUI for it with configurable options.

Just let me know.

Thanks,

Kameko
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 09:16 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3