Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2009, 07:53 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Okay, after hours of testing I found the problem. In the original, the final "elsif" looked like this:
Code:
elsif ($client->FindBuff(5257) || $client->FindBuff(3467) || $client->FindBuff(1447) || $client->FindBuff(3692) || $client->FindBuff(312)) 
	{
	$client->BuffFadeBySpellID(5257);
	$client->BuffFadeBySpellID(3467);
	$client->BuffFadeBySpellID(1447);
	$client->BuffFadeBySpellID(3692);
	$client->BuffFadeBySpellID(312);
	quest::setguild(0,1);		
	}
It needs to look like this instead:
Code:
elsif ($client->FindBuff(5257 || 3467 || 1447 || 3692 || 312))
	{
	$client->BuffFadeBySpellID(5257);
	$client->BuffFadeBySpellID(3467);
	$client->BuffFadeBySpellID(1447);
	$client->BuffFadeBySpellID(3692);
	$client->BuffFadeBySpellID(312);
	quest::setguild(0,1);
	}
Reply With Quote
  #2  
Old 07-26-2009, 08:09 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Scratch that last post--the original was right after all. It's just that the condition (if ($qglobals{kingdomfaction} == 1)) had not been met when I was testing it. Once I met the condition, and tested it with a character whose faction level was below acceptable, it worked like a charm.
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:21 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3