PDA

View Full Version : Quest -Remembering a player


DeletedUser
04-13-2004, 09:46 AM
Is there any way using the PERL Quest syststem that you can do the following.

Have an NPC remember a previous encounter or action.

Example. I have a Gnome ask you to kill another gnome and bring you his head. Once your bring you his head he gives you money, tell you to equip yourself from the merchants and asks you if you are ready to go on your next quest from which he points you to another NPC. I want to know, is there anyway the quest can check if an NPC has been killed, you have given him an item or anyway I can make it so when I have already brought him a gnome head, he doesn't ask for it again. He just says "Thanks again...now go to the fisherman and tell him i [sent you]"

-Wizzel

All you guys have been so helpful to a mediocre quester and I wanna thank you all for your help.

smogo
04-13-2004, 09:51 AM
use quest globals to store some information persistently.

Look details in this post :
http://www.eqemulator.net/forums/viewtopic.php?t=12773

DeletedUser
04-13-2004, 10:22 AM
does this work with 0.5.5?

Because in the post it says "Coming soon"

-Wizzel

m0oni9
04-13-2004, 10:24 AM
Also, if the quest is sequential, it may be appropriate to use faction to determine the step a player is on.

smogo
04-13-2004, 11:07 AM
yup, works since 0.5.3dr3 iirc

DeletedUser
04-13-2004, 11:45 AM
where do i get eqquestglobal.sql because when i tried the beggar quest, the game crashed...Thanks!

KhaN
04-13-2004, 12:08 PM
DROP TABLE IF EXISTS quest_globals;
CREATE TABLE quest_globals (
id int(11) NOT NULL auto_increment,
charid int(11) NOT NULL default 0,
npcid int(11) NOT NULL default 0,
zoneid int(11) NOT NULL default 0,
name varchar(65) NOT NULL,
value varchar(65) NOT NULL default "?",
expdate int(11) NOT NULL default 0,
PRIMARY KEY (id),
UNIQUE KEY qname (name,charid,npcid,zoneid)
) TYPE=MyISAM;

alter table npc_types add qglobal int(2) unsigned default '0';

Or topic found 6 posts under this one called "EQ Quest Global.sql ?" :P

DeletedUser
04-13-2004, 12:50 PM
thank you all very much!