Log in

View Full Version : i cant get quest::spawn working...need i any plugin?


Arex
10-19-2006, 07:54 PM
I have all quests working perfectly, but quest that spawn mobs like The_statue_of_Rallos_Zek.pl

# On death, spawns the Idol of Rallos Zek

sub EVENT_DEATH {
quest::shout("Protect the Idol of Zek!");
quest::spawn2(113341,0,0,1289,1300,-90,254.5);
}

# Quest by mystic414


The guy shot Protect the Idol of Zek, but idol dont get spawned :/ I already have checked it on list npc with listnpcs command and idol of Zek doesnt spawn. Any idea why could to be it? need i any aditional plugins? I have 2 plugins: check_handing.pl and soulbinder.pl

Thank You in advance!

Angelox
10-19-2006, 10:55 PM
I have all quests working perfectly, but quest that spawn mobs like The_statue_of_Rallos_Zek.pl

# On death, spawns the Idol of Rallos Zek

sub EVENT_DEATH {
quest::shout("Protect the Idol of Zek!");
quest::spawn2(113341,0,0,1289,1300,-90,254.5);
}

# Quest by mystic414


The guy shot Protect the Idol of Zek, but idol dont get spawned :/ I already have checked it on list npc with listnpcs command and idol of Zek doesnt spawn. Any idea why could to be it? need i any aditional plugins? I have 2 plugins: check_handing.pl and soulbinder.pl

Thank You in advance!

Quest Globals are enabled?

Arex
10-19-2006, 11:46 PM
how can i check if quests global are enabled?

Angelox
10-20-2006, 12:52 AM
how can i check if quests global are enabled?

It's in NPC_TYPES and it's called qglobal

Aramid
10-20-2006, 01:30 AM
Quest Globals would only allow that mob to use SETGLOBAL, TARGLOBAL and DELGLOBAL.

Double check your syntax.
Make sure you don't have another .pl file with the mobs #, IE: 113071.pl for The_Statue_Of_Rallos_Zek.

Can you do a #DBSPAWN 113341 and he spawns?

And Lastly, are you SURE it's not spawning? Those coordinates are not close to where the Statue is, plus it works on my test server...

John Adams
10-20-2006, 04:12 AM
I remember in one of my original databases, those NPCs were not even in the npc_types table. Check that it's there, too.