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

01-01-2014, 04:32 PM
|
Hill Giant
|
|
Join Date: Jun 2010
Posts: 231
|
|
What am I missing?
Text portion works just not the hand ins
Code:
#Borus.pl
my $cash;
sub EVENT_SAY {
my $show = quest::saylink ("show",1);
my $Terris = quest::saylink ("Terris",1);
my $Saryn = quest::saylink ("Saryn",1);
my $Tallon = quest::saylink ("Tallon",1);
my $Vallon = quest::saylink ("Vallon",1);
my $Bertox = quest::saylink ("Bertox",1);
my $Cazic = quest::saylink ("Cazic",1);
my $Inny = quest::saylink ("Inny",1);
my $Rallos = quest::saylink ("Rallos",1);
if ($text=~/Hail/i) {
plugin::Whisper ("Greetin's $name! I am the Time keeper. I know this is not what you were expecting but oh well. I can $show you a list of Gods you can fight, if your donation be generous enough."); }
if ($text=~/show/i) {
plugin::Whisper ("For a small fortune, you can fight $Terris , $Saryn , $Tallon or $Vallon , in that order. You must defeat one to move onto another."); }
if ($text=~/Terris/i) {
plugin::Whisper ("Absolutely! For the cost of 5,000 Platinum."); }
if ($text=~/Saryn/i) {
plugin::Whisper ("Absolutely! For the cost of 6,000 Platinum."); }
if ($text=~/Tallon/i) {
plugin::Whisper ("Absolutely! For the cost of 7,000 Platinum."); }
if ($text=~/Vallon/i){
plugin::Whisper ("Absolutely! For the cost of 8,000 Platinum."); }
}
sub EVENT_ITEM {
$cash = 0;
$cash = $platinum * 1000 + $gold * 100 + $silver * 10 + $copper;
if ($cash >= 50000000) {
quest::spawn2(223075,0,0,-310,307,365,95); #Terris Thule
}
if ($cash >= 60000000 && $qglobals{"terris"} == 1) {
quest::spawn2(223076,0,0,-320,-316,358,32.5); #Saryrn
}
if ($cash >= 70000000 && $qglobals{"saryn"} == 1) {
quest::spawn2(223077,0,0,405,-84,358,192); #Tallon Zek
}
if ($cash >= 80000000 && $qglobals{"tallon"} == 1) {
quest::spawn2(223078,0,0,405,75,358,192); #Vallon Zek
}
if ($cash >= 90000000 && $qglobals{"vallon"} == 1) {
quest::spawn2(223142,0,0,-299,-297,23.3,31); #Real Bertoxxulous
}
if ($cash >= 100000000 && $qglobals{"bert"} == 1) {
quest::spawn2(223166,0,0,-257,255,6,101.5); #Real Cazic
}
if ($cash >= 110000000 && $qglobals{"cazic"} == 1) {
quest::spawn2(223167,0,0,303.3,306,13.3,161.5); #Real Innoruuk
}
if ($cash >= 120000000 && $qglobals{"inny"} == 1) {
quest::spawn2(223168,0,0,264,-279,18.75,217.5); #Real Rallos
}
}
|
 |
|
 |

01-01-2014, 04:57 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Are you sure on the coords? (x,y vs y,x)
Does your npc have the qglobals flag enabled?
Do those npc ids exist?
|

01-01-2014, 05:37 PM
|
Hill Giant
|
|
Join Date: Jun 2010
Posts: 231
|
|
ID's exist and locs are pulled right from the plane of time script. His Qglobals are enabled.
|

01-01-2014, 06:23 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Are the qglobals set?
|

01-01-2014, 07:15 PM
|
Hill Giant
|
|
Join Date: Jun 2010
Posts: 231
|
|
yes they are. However even the first spawn is not working and that requires nothing but a cash turn in.
|

01-01-2014, 07:29 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Perhaps your calculations are off. To me it looks like you are asking for 50K instead of the 5K stated.
|

01-01-2014, 07:51 PM
|
Hill Giant
|
|
Join Date: Jun 2010
Posts: 231
|
|
yep that was the issue lol... just figured it out before I even checked this thought I would stop back in and say thanks and report my problem lol.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 05:34 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |