Help with Quests?!?
I viewed the whole forum (Quests::Q&A) and I searched the forums, no answer. I tested my server to see if it worked but, still a problem. YES I GOT THE PERL VERSION.
I recently added some quests today and they won't work when I hail the quest NPC, I have them in my quests directory under the server files are. Here is one quest I got off the forums: Exterminator_Qalantir.pl Code:
Code:
|
tried this for the location...
Hi,
I'm not that great with PERL myself yet, but have you put the npc_name.pl file into your quests dir under the correct zoneshortname dir? for instance, a quest that has it's npc in qeynos2 (zone shortname) called myname_isthis.pl would go into quests/qeynos2/myname_isthis.pl Hope this helps.. :) SR PS.. after placing the quest, target the npc and do a #reloadpl command.. (this clears and reloads the cached pl files), (I think.. LOL), it IS definetly necessary when working on a quest, in order for it to reload properly. SR |
woah, first
if($text=~/truth is good/i && $class == 'Paladin') that should be an elsif Also, you might want to re-format elsif(($text=~/truth is good/i) && ($class eq "Paladin")) Ya, you want to use eq when it is letters. " " works around Paladin, and ' ' works too. I always use " " after all functions, always use a ; to end it, such as: quest::say("Pleased to meet you."); Notice the ; at the end. Without that you will get a crap load of syntax errors. Do not use it after if statements, elsif statements, or else statements. This what you had: quest::say("Pleased to meet you $name, if you are a newcomer to Freeport then you can clearly see we are having quite the rat problem. If you are interested the militia has granted me some coin to reward those that bring me four rat whiskers.") Ok, next A possible problem could be else { } not sure as use that, I always use elsif, it much easier :D. Another problem, did you want the guy to spawn? I suggest making an origin spawn in some random GM Box (Origin Spawn is using the #spawn command), then spawning that origin spawn's NPC ID. That should be about it ^^ |
Quote:
|
bah
Just make sure ther is 2 empty lines at the end of each quests file.
Also the quests posted on this site are old and have been re-done but They will not be available to everyone until PEQ releases a new pack or until I finnish freeport. By the way those quests compiled perfectly in PerlIDE and ran in EQEmu. Just to defend the Newbie coding :P |
Quote:
When I put the quest files under freportw and I logged on my server, went to character select, click enter world and WTF the zoneserver crashed. So I replaced Zone.exe with a 4 MB (was 1MB) and now I get errors when I am in some zones (freportw, jaggedpine) on the computer the server is on and I have the option of Abort/Retry/Ignore (if I do nothing I will just crash). Clicking abort crashes the zoneserver, clicking retry zoneserver stays up for a while they it gives me an error that it needs to close (OK=Close, Cancel=Debug), clicking Ingore just does the same thing as retry (or most likely). I still don't know why I keep getting "Zone.exe encountered a problem and needed to close" on startup of Windows. Quote:
|
help
The only help I could suggest now is to re-download the Perl Enabled EQEmu server files. Do not use any of your old files. Start fresh and edit the files that need editing.
And try with ONLY these 2 quest scripts in your freportw folder in your quest directory, and then make sure your first zone that is logged into is west freeport. This is the newest code for Exterminator Qalantir and Guard Alayle, which has been used on a server and works. Code:
Code:
|
All times are GMT -4. The time now is 09:24 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.