Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #16  
Old 01-22-2004, 08:07 PM
Squiffy
Sarnak
 
Join Date: Oct 2002
Posts: 78
Default

Very nice work! Have yet to test it out, but even if it's buggy as hell, that's still a damned daunting task to undertake

Nice job
Reply With Quote
  #17  
Old 01-27-2004, 03:35 AM
mollymillions's Avatar
mollymillions
Hill Giant
 
Join Date: May 2003
Posts: 176
Default

Just thought i would post a couple of snippets that may or may not be useful examples (please correct me if any are bad examples).

Random handout and say
Code:
quest::summonitem("int(rand(7))+5019");
Code:
my @items = (5303,5304,5305,5313,6303,6311,6312,7300,7301,7311,7499);
quest::summonitem("$items[int(rand($#items+1))]");
Code:
sub EVENT_TIMER {
my $random = int(rand(4));	
if($random == 0){
	quest::say("Outta my way, ya big lummox!"); }
if($random == 1){
	quest::say("Time to drain the [dragon]..  If ya know what I mean..  Bwah ha ha ha."); }
if($random == 2){
	quest::say("You know you love me."); }
if($random == 3){
	quest::say("Hey Fishboy! You dropped something! Bwah ha ha ha!"); }	
}
Sometimes its required that an NPC moves away from another one, usually to allow one of them to be killed. You can't make an NPC walk or run to a particular location, as far as i know, so as a work around you can get the NPC to follow the PC for a short period -but If the NPC is not killed there is no easy way to return it to its spawn location.
Code:
sub EVENT_SAY { 
if($text=~/come/i){ 
	quest::follow($userid);
	quest::settimer(1,30); }
}
sub EVENT_TIMER {
quest::stoptimer(1);
quest::sfollow();
}
Recently i have found this query usefull for checking tradeskills
Code:
SELECT items.name product, skillneeded, i1.name i1
, i2.name i2, i3.name i3, i4.name i4, i5.name i5
, i6.name i6, i7.name i7, i8.name i8, i9.name i9
, i10.name i10, tradeskillrecipe.*
FROM tradeskillrecipe, items
LEFT JOIN items i1 ON tradeskillrecipe.i1 = i1.id
LEFT JOIN  items i2 ON tradeskillrecipe.i2 = i2.id
LEFT JOIN  items i3 ON tradeskillrecipe.i3 = i3.id
LEFT JOIN  items i4 ON tradeskillrecipe.i4 = i4.id
LEFT JOIN  items i5 ON tradeskillrecipe.i5 = i5.id
LEFT JOIN  items i6 ON tradeskillrecipe.i6 = i6.id
LEFT JOIN  items i7 ON tradeskillrecipe.i7 = i7.id
LEFT JOIN  items i8 ON tradeskillrecipe.i8 = i8.id
LEFT JOIN  items i9 ON tradeskillrecipe.i9 = i9.id
LEFT JOIN  items i10 ON tradeskillrecipe.i10 = i10.id
WHERE tradeskillrecipe.product = items.id
ORDER BY items.name
NPC's and loot:
Code:
select npc_types.id, left(npc_types.name,32), spawn2.zone, lootdrop_entries.item_id, items.name
from npc_types, spawnentry, spawn2
left join loottable_entries on npc_types.loottable_id = loottable_entries.loottable_id
left join lootdrop_entries on loottable_entries.lootdrop_id = lootdrop_entries.lootdrop_id
left join items on lootdrop_entries.item_id = items.id
where npc_types.id = spawnentry.npcid
and spawnentry.spawngroupid = spawn2.spawngroupid
and npc_types.name like '%Slixin_Klex%'
order by npc_types.name
Reply With Quote
  #18  
Old 01-27-2004, 06:26 AM
diolas
Fire Beetle
 
Join Date: Jan 2004
Posts: 27
Default FTP Connection Problems

I'm still having problems connecting to the ftp server.

The site name I'm using is:
ftp://ftp.phatcontroller.org/perl_quests.zip

login name:
anonymous@phatcontroller.org

also, I'm using WS_FTP LE

Specifically, I can't connect to the site.

Error message reads as follows:
! Can't Get "ftp://ftp.phatcontroller.org/perl_quests.zip" host entry
! Connection failed ftp://ftp.phatcontroller.org/perl_quests.zip

I've tried omitting the Perl_quests.zip as part of the ftp name, same problem.

Any help would be appreciated greatly.
Reply With Quote
  #19  
Old 01-27-2004, 09:00 AM
masticism
Fire Beetle
 
Join Date: Aug 2003
Posts: 9
Default Connection problem (READ THIS FOR FIX)

anyone having connections problems, try this link instead


ftp://anonymous%40phatcontroller.org...ontroller.org/


Just enter an empty password.

(Tested with Mozilla 1.6, Netscape 7.1) and IE (Thanks for pointing this out diolas)
Reply With Quote
  #20  
Old 01-27-2004, 11:58 AM
diolas
Fire Beetle
 
Join Date: Jan 2004
Posts: 27
Default Thanks

Thanks Masty, that one worked quit easily through explorer.
Reply With Quote
  #21  
Old 01-27-2004, 10:53 PM
mollymillions's Avatar
mollymillions
Hill Giant
 
Join Date: May 2003
Posts: 176
Default Re: FTP Connection Problems

Quote:
Originally Posted by diolas
The FTP site name is phatcontroller.org (I should have posted the site name and file name seperately).
Reply With Quote
  #22  
Old 02-02-2004, 12:07 PM
MacLeod
Sarnak
 
Join Date: Jan 2004
Posts: 33
Default

Is the FTP read only now? I can't upload files.

Been real busy but caught a few syntax errors in a couple files.
Reply With Quote
  #23  
Old 02-02-2004, 07:44 PM
mollymillions's Avatar
mollymillions
Hill Giant
 
Join Date: May 2003
Posts: 176
Default

Thanks for picking that up McLeod. The access rights definately were screwed up.
Reply With Quote
  #24  
Old 03-23-2004, 12:17 PM
Rolenar
Fire Beetle
 
Join Date: Mar 2004
Posts: 2
Default

Hmm, I can't seem to long on, (after a number of attempts), I am using the recomended user name, but it keeps giving this error:

Code:
USER anonymous@phatcontroller.org
331 Password required for anonymous@phatcontroller.org.
PASS (hidden)
530 Login incorrect.
I am unsure why, and WS_FTP will not allow blank password
Any tips/ideas would be appriciated
Reply With Quote
  #25  
Old 03-23-2004, 03:06 PM
ryder911
Hill Giant
 
Join Date: Jun 2002
Posts: 212
Default

I tried using IE and i get Page cannot be displayed any reason why? or anyone no a way i can fix this? Thanks any help is appreciated. Please no flaming i no im a noob ;P
__________________
Chris---
Reply With Quote
  #26  
Old 03-23-2004, 06:08 PM
Rolenar
Fire Beetle
 
Join Date: Mar 2004
Posts: 2
Default

IE won't be able to access the site, you must download an ftp client, there are a number of free (well, trial based) clients out there, including the chocie of mollymillions, WS_FTP
Reply With Quote
  #27  
Old 03-23-2004, 08:52 PM
mollymillions's Avatar
mollymillions
Hill Giant
 
Join Date: May 2003
Posts: 176
Default

I cancelled the site yesterday, it wasn't required anymore. There hasnt' been any submissions from users for long time (about a month and a half or so).
Reply With Quote
  #28  
Old 03-25-2004, 04:21 PM
shocker1322
Fire Beetle
 
Join Date: Mar 2004
Posts: 11
Default

Hey, I am new to EQEmu. I have spent the last 3 days reading as many forums as I can to get all the server stuff working. Now that I finally got it working, I cannot find any quests. Would it be possible to get a copy of the file perl_quests.zip? I just missed the server being pulled down, and I cannot find a mirror for it anywhere. Thanks. If you need an email address, I can give that too.
Reply With Quote
  #29  
Old 04-04-2004, 04:22 PM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

I have a perl_quests.zip, last modified 1/17/04. Send me a message with email, or find me in chat as 'bleh', and I'll be happy to send it.
Reply With Quote
  #30  
Old 04-17-2004, 12:30 PM
Xabob's Avatar
Xabob
Discordant
 
Join Date: Feb 2004
Location: On your desktop
Posts: 387
Default

This unsupported i would like a copy if anyone has it i know this is a very old post
__________________
[12:38] <RangerDown> I watched Napoleon Dynamite the other day
[12:39] <Xabob> omg
[12:39] <Xabob> want me to shoot you now?
[12:39] <RangerDown> and the first words out of my mouth at the start were:
[12:39] <RangerDown> Hey I bet Rog looks like that

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:24 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