Quote:
Originally Posted by mwmdragon
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
|
I made sure there were two lines at the end of the quest files.
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:
Originally Posted by _Kerosh_
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 .
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 ^^
|
Uh, what are you talking about, I got those quests off the forums. That's why the developer doesn't say MarCrush!