Level restricting quest variables
I've been doing some modification to the standard buff bot scripts Vicar_Qadar, Illusionist_Nomaad and Dieffer_Wolfhugger that came with Angelox's Classic database. Specifically, I've been modifying them to cast more spells. However, I've noticed a glitch and I'm not quite sure what I can do to resolve this. Maybe one of the more experienced PERL scripters can shed some light for me?
Here is one of the sample scripts Code:
#zone:PoKnowledge |
try this one..
Code:
#zone:PoKnowledge made it look better nyways ;p |
yah cripp caught it.
remember: => is an assignment operator for hashes: e.g. %aHash = ( a => value_of_a ); using >= is much safer and removes ambiguity. == sfisque |
Duh.. I didn't even catch that.. Thanks for the heads up -- I did not create this script though. It came out of Angelox's Classic database files. I was just trying to modify it and noticed it wasn't working quite right. Angelox, if you read this you might want to update your source file. :)
|
I don't recall doing any for druid buffs, I guess someone copy/pasted mine, included my name.
My original Qadar and Nomaad NPC scripts worked as they were, probably because of the order the lines were in. Who ever did the druid script shuffled things up so my symbol mistake stands out now. I guess PEQ must have other buffer NPC's in POK nowadays. Always good to put your name in there even if its an update I like this; Code:
#zone:PoKnowledge You're welcome to fix, and post anything I've done. |
My bad Angelox, I posted the wrong script. I meant to post the Illusionist_Nomaad script which is included in ax_classic. The Dieffer_Wolfhugger was an exact copy of it with the text and cast spells changed to suit the druid buff bot in PoKnowledge. My appologies, I hadn't intended to post the cut-and-paste version of the druid script that had your name in it but it was your script. I'm still learning PERL and was up all night trying to get the scripts debugged.
When a PC hails Illusionist_Nomaad and is less than level 45 the text displayed is "Hello $name, I can buff you with Clarity for a fee of 5pp, and my friend over there has cleric buffs.". If the PC is greater than level 46 the text displayed is "Hello $name, I can buff you with KEI for a fee of 15pp..." If a PC less than level 45 gives the NPC 15pp he gets KEI. The script error caught by Cripp fixed it right up. Thanks Cripp! |
Is there an easy way to increase the event signal shouts with these scripts?
|
Code:
sub EVENT_SAY |
All times are GMT -4. The time now is 07:59 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.