Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2008, 04:36 PM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default Need info on quests (soulbinder) Ect.

Hi its me guys . lol im trying to get my soulbinders and npcs working . And i added cavedudes work to plugins so once i restart server ill check and see if that did it . But what i would like to know is How does the plugins know what npcs are soulbinders i looked at the code i dont see a npc id in it


the code i want .#zone:PoKnowledge
#Angelox <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<DO I just change name?


sub EVENT_SAY {
if(($text=~/hail/i)&&($ulevel<= 45)){
$npc->SetAppearance(0);
quest::say("Hello $name, I can buff you with clarity for a fee of 5pp, and my friend over there has cleric buffs.");
quest::emote("waves at Qadar");
quest::doanim("29");
}
elsif(($text=~/hail/i)&&($ulevel=>46)){
$npc->SetAppearance(0);
quest::say("Hello $name, I can buff you with KEI for a fee of 15pp, and my friend over there has cleric buffs");
quest::emote("waves at Qadar");
quest::doanim("29");
}
}

sub EVENT_SPAWN
{
$x = $npc->GetX();
$y = $npc->GetY();
quest::set_proximity($x - 90, $x + 90, $y - 90, $y + 90);
}

sub EVENT_ENTER
{
$npc->SetAppearance(1);
my $random_result = int(rand(100));
if ($random_result<=15){
quest::shout("Casting KEI and Clarity for donations on the rock behind the main bank!");
}else{
#Do Nothing
}
}

sub EVENT_ITEM{
if (($platinum>=15)&&($ulevel=> 46)){
$npc->SetAppearance(0);
quest::selfcast(2570);
quest::say("Casting KEI, Good hunting!");
}elsif(($platinum>=5)&&($ulevel<= 45)){
$npc->SetAppearance(0);
$npc->CastSpell(174,$userid);
quest::say("Casting Clarity, Good hunting!");
}else{
quest::say("Thank you for your donation $name, it wasn't enough though ...");
}
}

sub EVENT_SIGNAL {
quest::shout("Casting KEI and Clarity for donations on the rock behind the main bank!");
}
Reply With Quote
  #2  
Old 02-26-2008, 04:41 PM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default

my post was to long sorry the code i want to put in is the buff for donations if i make a npc do i just change name of npc to make it work ? Also i the soulbinder code did not show in my #1 post but as long as it works it dont matter ill check soul Binders TY
Reply With Quote
  #3  
Old 02-26-2008, 05:20 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

At a quick glance, that quest looks fine to me for buffing. Try using GeorgeS tool for Quests. He has some nice examples.

As for Soulbinders, make sure you copy the plugins to your eqemu/plugins folder, or they won't work. Then just make an NPC named Soulbinder, and it should work fine.

You should have posted this in the Quests Q&A section and not Windows Server Support. I am sure a mod will move it when they see it, but just warning you. They don't like to have extra work like that.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 02-27-2008, 01:19 AM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default

K thinks and sorry guys about wrong spot for post still new and was not thinking . I was wondering how i put code into the perl new to it also ill try and find the guy you was talking abouts site or post ty once more
Reply With Quote
  #5  
Old 02-27-2008, 01:29 AM
ven-elexver
Banned
 
Join Date: Dec 2007
Posts: 64
Default

ok i did not know the site by that name im useing most of his tools wiht guides thay rock but ty for the Help i think i can do it now . Pls delete this post TY
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 01:26 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3