|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Q&A This is the quest support section |
07-30-2007, 04:55 AM
|
Sarnak
|
|
Join Date: Jun 2007
Location: Finland
Posts: 65
|
|
quest::fanfare
Just a nostalgic thing, I know - a quest command to play that trumpeting fanfare you used to get on completing quests
- Stripes
|
07-30-2007, 09:48 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
you mean quest::ding?
|
07-30-2007, 05:09 PM
|
|
Dragon
|
|
Join Date: Mar 2004
Location: England
Posts: 776
|
|
in the words of the immortal Homer Simpson............DOH !
|
08-01-2007, 04:55 AM
|
Sarnak
|
|
Join Date: Jun 2007
Location: Finland
Posts: 65
|
|
Possibly - with a name like quest::ding() I just assumed it played the level "ding" rather than the trumpet fanfare... heh, and just tested the line:
quest::ding();
in a quest handin - doesn't seem to do anything right now...
If it does actually fanfare, it's fair cop :p
|
08-01-2007, 09:59 AM
|
Sarnak
|
|
Join Date: May 2007
Posts: 42
|
|
Never seems to work for me either
|
08-01-2007, 12:20 PM
|
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 12
|
|
Wear are you placing it in the script? It work fine on my server.
|
|
|
|
08-01-2007, 08:22 PM
|
Sarnak
|
|
Join Date: Jun 2007
Location: Finland
Posts: 65
|
|
Any NPC, usually in the sub EVENT_ITEM section where handins occur.
e.g. added ding to Zamel.pl in south qeynos when I originally wrote it, and then removed it as it didn't do anything (back in v0992).
Faction hits and exp appear correctly, however.
Feel free to shift this to the support section
Code:
sub EVENT_ITEM {
if($itemcount{13713} == 1){
quest::say("Yes, I do believe this was the child's dress. Here, take this as your share of the reward. Her father will be heartbroken..");
my $ZamelReward = int(rand(100));
if ($ZamelReward<=35){
quest::summonitem("10320","1");
}
else {
quest::summonitem("10018","1");
}
quest::givecash("0","4","0","0");
quest::faction(36,5); #Guards of Qeynos
quest::faction(9,5); #Antonius Bayle
quest::faction(53,-1); #Corrupt Guards of Qeynos
quest::faction(33,-1); #Circle Of Unseen Hands
quest::faction(217,5); #Merchants of Qeynos
quest::exp("100");
quest::ding();
}
}
Last edited by BWStripes; 08-02-2007 at 04:26 AM..
|
|
|
|
08-02-2007, 06:31 AM
|
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 12
|
|
Ok here it is tested it on my server works well, I all ways place it as the first (quest:: ) and remember it just ( quest::ding )nothing after ding.
Code:
Code:
sub EVENT_ITEM {
if($itemcount{13713} == 1){
quest::ding
quest::say("Yes, I do believe this was the child's dress. Here, take this as your share of the reward. Her father will be heartbroken..");
my $ZamelReward = int(rand(100));
if ($ZamelReward<=35){
quest::summonitem("10320","1");
}
else {
quest::summonitem("10018","1");
}
quest::givecash("0","4","0","0");
quest::faction(36,5); #Guards of Qeynos
quest::faction(9,5); #Antonius Bayle
quest::faction(53,-1); #Corrupt Guards of Qeynos
quest::faction(33,-1); #Circle Of Unseen Hands
quest::faction(217,5); #Merchants of Qeynos
quest::exp("100");
}
}
#End of updated file Zamel.pl
|
08-02-2007, 06:52 AM
|
Sarnak
|
|
Join Date: May 2007
Posts: 42
|
|
Thanks for the info DG, Ill test this on one of my scripts tonight!
|
08-02-2007, 12:05 PM
|
Sarnak
|
|
Join Date: May 2007
Posts: 42
|
|
Still no luck, I even copied and pasted your script on an NPC and did the hand in of the small dress after doing a #reloadpl and it did everything but make the sound.....
Im clueless at this point...
Edit:
Im using the titanium client as well.
Last edited by oghog; 08-02-2007 at 08:11 PM..
|
08-02-2007, 12:14 PM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
Quote:
Originally Posted by BWStripes
Feel free to shift this to the support section
|
Moved to Quest Q&A (until it turns out to be a bug )
|
08-03-2007, 09:44 PM
|
Sarnak
|
|
Join Date: Jun 2007
Location: Finland
Posts: 65
|
|
This does not work for me either. Will try the windows server version later, as I'm running my testbed on Linux.
Edit: Doesn't work against the latest windows server either.
Might be a client issue. Since I'm using a flat, unmodified titanium install, I'm stuck :/
Last edited by BWStripes; 08-04-2007 at 06:09 AM..
|
08-03-2007, 11:56 PM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 146
|
|
hehe wow i miss that fanfare sound! do doododododooo!
|
08-05-2007, 05:20 PM
|
Sarnak
|
|
Join Date: May 2007
Posts: 42
|
|
Quote:
Originally Posted by BWStripes
This does not work for me either. Will try the windows server version later, as I'm running my testbed on Linux.
Edit: Doesn't work against the latest windows server either.
Might be a client issue. Since I'm using a flat, unmodified titanium install, I'm stuck :/
|
Same here, running vanilla titanium.
|
08-11-2007, 04:18 AM
|
Sarnak
|
|
Join Date: Jun 2007
Location: Finland
Posts: 65
|
|
I should have started by looking at the obvious.
Anyone running titanium is out of luck. quest::ding uses the sendsound() function, which picks up an opcode (I know, what doesn't?).
Line 383 of patch_Titanium.conf:
OP_Sound=0x0000
Whereas anyone running 6.2 gets:
OP_Sound=0x4a1d
i.e. No opcode for Titanium, no ding/fanfare. Darnit :p
|
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 10:45 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|