Question about updating existing Quests...
Hello,
I'm just new to setting up a server and as of now I have working setup using the latest files. I did create a character on EZ Server first and noticed that when speaking with NPCs the text from them was a different color and that the response text was clickable. I really like this idea. So, I did a bit of research, and I now know how to do this myself (using quest::saylink() ) I am wondering if anyone has taken the time, or wrote some kind of program to automatically update all the quest files to use saylink ? I could probably write a program to do this, but I was wondreing if it's been done already. Thanks, Kameko |
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 |
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 { Code:
my $jumjum_juice = quest::saylink("jumjum juice", 0, "jumjum juice"); 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 |
What language did you write it in? Any chance of releasing the source?
I worked a bit on something like this a few months ago in perl, just to change quest::say() into quest::say(,langid) to make different mobs talk different languages, but didn't go anywhere with it. |
Hello,
I wrote it in C++ two files... main.cpp Code:
#include <wx/wx.h> CDirTraverser.h Code:
#pragma once Code:
#include "CDirTraverser.h" It's messy right now... I just hacked this together over the last 2 days. I'll be cleaning it up soon. Been actually playing eq now that I can click on links and not have to type them in! oh, I have noticed just one thing that this code does affect, the npc quest journal in game isn't getting updated because npcs are now whispering to you... I'll look into this later on Enjoy Kameko |
All times are GMT -4. The time now is 04:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.